linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] spi fixes for v3.15
@ 2014-04-11 10:56 Mark Brown
       [not found] ` <20140411105604.GR6518-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2014-04-11 10:56 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 7656 bytes --]

The following changes since commit 455c6fdbd219161bd09b1165f11699d6d73de11c:

  Linux 3.14 (2014-03-30 20:40:15 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v3.15-fixes

for you to fetch changes up to 6eadd8463101830d50e381185701d58f4ac3abb9:

  Merge remote-tracking branches 'spi/fix/complete', 'spi/fix/efm32', 'spi/fix/omap2-mcspi' and 'spi/fix/qup' into spi-linus (2014-04-10 23:39:52 +0100)

Same issue as on the regulator pull request with the entire diffstat for
the original pull request for this merge window has appeared - like I
say I will try to fix the scripts as it's annoying and unclear.

----------------------------------------------------------------

spi: Fixes for v3.15

A few driver specific fixes, the main one being the fix for handling of
complete callbacks that are open coded in individual drivers to allow
callers to omit the completion.  As we move things into the core that
sort of issue should become less and less common.

----------------------------------------------------------------
Axel Lin (3):
      spi: Always check complete callback before calling it
      spi: omap2-mcspi: Convert to use devm_kcalloc
      spi: efm32: Update binding document to make "efm32,location" property optional

Mark Brown (2):
      Merge tag 'spi-v3.15' into spi-linus
      Merge remote-tracking branches 'spi/fix/complete', 'spi/fix/efm32', 'spi/fix/omap2-mcspi' and 'spi/fix/qup' into spi-linus

Paul Bolle (1):
      spi: qup: Depend on ARCH_QCOM

 .../devicetree/bindings/spi/efm32-spi.txt          |  14 +-
 .../devicetree/bindings/spi/qcom,spi-qup.txt       |  85 +++
 Documentation/devicetree/bindings/spi/sh-hspi.txt  |  28 +-
 Documentation/devicetree/bindings/spi/sh-msiof.txt |  42 +-
 .../devicetree/bindings/spi/spi-fsl-dspi.txt       |   2 +
 Documentation/devicetree/bindings/spi/spi-rspi.txt |  61 ++
 .../devicetree/bindings/spi/spi-sun4i.txt          |  24 +
 .../devicetree/bindings/spi/spi-sun6i.txt          |  24 +
 .../devicetree/bindings/spi/spi-xtensa-xtfpga.txt  |   9 +
 Documentation/spi/spidev                           |   6 +
 Documentation/spi/spidev_fdx.c                     |   8 +-
 Documentation/spi/spidev_test.c                    |  45 +-
 MAINTAINERS                                        |   6 +
 drivers/base/power/Makefile                        |   3 +-
 drivers/base/power/runtime.c                       | 162 +++-
 drivers/spi/Kconfig                                |  55 +-
 drivers/spi/Makefile                               |   5 +-
 drivers/spi/spi-altera.c                           |   7 +-
 drivers/spi/spi-ath79.c                            |   1 -
 drivers/spi/spi-atmel.c                            |  34 +-
 drivers/spi/spi-au1550.c                           |  30 +-
 drivers/spi/spi-bcm2835.c                          |   1 -
 drivers/spi/spi-bcm63xx-hsspi.c                    |   8 +-
 drivers/spi/spi-bcm63xx.c                          |   6 +-
 drivers/spi/spi-bfin-sport.c                       |   1 -
 drivers/spi/spi-bfin-v3.c                          |   3 +-
 drivers/spi/spi-bfin5xx.c                          |   8 -
 drivers/spi/spi-bitbang.c                          |   5 +-
 drivers/spi/spi-butterfly.c                        |   3 +-
 drivers/spi/spi-clps711x.c                         | 227 +++---
 drivers/spi/spi-coldfire-qspi.c                    | 112 ++-
 drivers/spi/spi-davinci.c                          |  14 +-
 drivers/spi/spi-dw-mmio.c                          |   2 +-
 drivers/spi/spi-dw.c                               |  17 +-
 drivers/spi/spi-efm32.c                            |  46 +-
 drivers/spi/spi-ep93xx.c                           |  21 +-
 drivers/spi/spi-falcon.c                           |   5 -
 drivers/spi/spi-fsl-dspi.c                         |  94 ++-
 drivers/spi/spi-fsl-espi.c                         |   8 +-
 drivers/spi/spi-fsl-lib.c                          |  14 +-
 drivers/spi/spi-fsl-spi.c                          |  33 +-
 drivers/spi/spi-gpio.c                             |   8 +-
 drivers/spi/spi-imx.c                              |   7 +-
 drivers/spi/spi-mpc512x-psc.c                      |  20 +-
 drivers/spi/spi-mpc52xx-psc.c                      |   4 +-
 drivers/spi/spi-mpc52xx.c                          |  23 +-
 drivers/spi/spi-mxs.c                              |   7 +-
 drivers/spi/spi-nuc900.c                           |  28 +-
 drivers/spi/spi-oc-tiny.c                          |   3 -
 drivers/spi/spi-octeon.c                           |  80 +-
 drivers/spi/spi-omap-100k.c                        |  52 +-
 drivers/spi/spi-omap-uwire.c                       |  34 +-
 drivers/spi/spi-omap2-mcspi.c                      |  91 ++-
 drivers/spi/spi-orion.c                            |  80 +-
 drivers/spi/spi-pl022.c                            |  80 +-
 drivers/spi/spi-ppc4xx.c                           |   1 -
 drivers/spi/spi-pxa2xx-dma.c                       |   1 -
 drivers/spi/spi-pxa2xx-pxadma.c                    |   1 -
 drivers/spi/spi-pxa2xx.c                           |   3 +-
 drivers/spi/spi-qup.c                              | 779 +++++++++++++++++++
 drivers/spi/spi-rspi.c                             | 842 ++++++++++++++-------
 drivers/spi/spi-s3c24xx.c                          |  19 +-
 drivers/spi/spi-s3c64xx.c                          | 424 +++--------
 drivers/spi/spi-sc18is602.c                        |  29 +-
 drivers/spi/spi-sh-hspi.c                          |  43 +-
 drivers/spi/spi-sh-msiof.c                         | 385 +++++-----
 drivers/spi/spi-sh-sci.c                           |   8 +-
 drivers/spi/spi-sh.c                               |   6 +-
 drivers/spi/spi-sirf.c                             | 116 +--
 drivers/spi/spi-sun4i.c                            | 478 ++++++++++++
 drivers/spi/spi-sun6i.c                            | 484 ++++++++++++
 drivers/spi/spi-tegra114.c                         |  27 +-
 drivers/spi/spi-tegra20-sflash.c                   |  26 +-
 drivers/spi/spi-tegra20-slink.c                    |  20 +-
 drivers/spi/spi-ti-qspi.c                          |   5 +-
 drivers/spi/spi-ti-ssp.c                           | 378 ---------
 drivers/spi/spi-topcliff-pch.c                     |  47 +-
 drivers/spi/spi-txx9.c                             |  28 +-
 drivers/spi/spi-xcomm.c                            |  13 +-
 drivers/spi/spi-xilinx.c                           |  27 +-
 drivers/spi/spi-xtensa-xtfpga.c                    | 170 +++++
 drivers/spi/spi.c                                  | 247 +++++-
 drivers/spi/spidev.c                               |  23 +-
 include/linux/platform_data/spi-s3c64xx.h          |   9 +-
 include/linux/pm_runtime.h                         |   4 +
 include/linux/spi/spi.h                            |  31 +
 include/linux/spi/spi_bitbang.h                    |   2 +-
 include/uapi/linux/spi/spidev.h                    |  14 +-
 88 files changed, 4162 insertions(+), 2324 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
 create mode 100644 Documentation/devicetree/bindings/spi/spi-rspi.txt
 create mode 100644 Documentation/devicetree/bindings/spi/spi-sun4i.txt
 create mode 100644 Documentation/devicetree/bindings/spi/spi-sun6i.txt
 create mode 100644 Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt
 create mode 100644 drivers/spi/spi-qup.c
 create mode 100644 drivers/spi/spi-sun4i.c
 create mode 100644 drivers/spi/spi-sun6i.c
 delete mode 100644 drivers/spi/spi-ti-ssp.c
 create mode 100644 drivers/spi/spi-xtensa-xtfpga.c

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] spi fixes for v3.15
       [not found] ` <20140411105604.GR6518-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-04-11 20:41   ` Linus Torvalds
       [not found]     ` <CA+55aFxCubywWSLdhAva9dvj26=o4WkaVnhYjgEKrEuMuaFo+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2014-04-11 20:41 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux Kernel Mailing List, linux-spi-u79uwXL29TY76Z2rM5mHXA

On Fri, Apr 11, 2014 at 3:56 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>
> Same issue as on the regulator pull request with the entire diffstat for
> the original pull request for this merge window has appeared - like I
> say I will try to fix the scripts as it's annoying and unclear.

Yeah, looking at this, the problem does seem to be that extraneous
merge. I'm not sure why you did that "Merge tag 'spi-v3.15' into
spi-linus" at all, but it basically acts as an indirect back-merge
giving you two different merge bases.

You seem to start your development by doing a merge of that tag that
you sent me. Why? Why not just start *at* the tag you sent me, not at
that extraneous merge of that tag and v3.14.

               Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] spi fixes for v3.15
       [not found]     ` <CA+55aFxCubywWSLdhAva9dvj26=o4WkaVnhYjgEKrEuMuaFo+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-04-11 21:47       ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2014-04-11 21:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, linux-spi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]

On Fri, Apr 11, 2014 at 01:41:56PM -0700, Linus Torvalds wrote:
> On Fri, Apr 11, 2014 at 3:56 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:

> > Same issue as on the regulator pull request with the entire diffstat for
> > the original pull request for this merge window has appeared - like I
> > say I will try to fix the scripts as it's annoying and unclear.

> Yeah, looking at this, the problem does seem to be that extraneous
> merge. I'm not sure why you did that "Merge tag 'spi-v3.15' into
> spi-linus" at all, but it basically acts as an indirect back-merge
> giving you two different merge bases.

Indeed.

> You seem to start your development by doing a merge of that tag that
> you sent me. Why? Why not just start *at* the tag you sent me, not at
> that extraneous merge of that tag and v3.14.

What the script is doing is starting from your latest tag, merging any
tags I've sent you in the meantime and then merging any additional topic
branches.  I'm not doing any actual development on the resulting branch,
only on topic branches.  The tags get merged first to suppress repeated
merges of the same topic branch if I've sent a prior pull request been
tagged yet and I use your latest tag to pick up fixes from other trees
and make sure I'm not tripping over things I sent you before.

Usually this works fine since most of the time either your latest tag
contains the last thing I sent you or my tag contains your most recent
tag and either way there's no back merge.  What's gone wrong this time
around is that I sent you my initial pull requests based off the last
-rc rather than off the release tag, the script didn't cope well with
that and picked the wrong thing to base the merge off.

If I'd respun the merge before I sent the pull requests it'd all be
working as expected, I need to either just do that or teach the script
to be more sensible about picking where it starts building the merge
from.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [GIT PULL] SPI fixes for v3.15
@ 2014-05-14 16:08 Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2014-05-14 16:08 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 2028 bytes --]

The following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c:

  Linux 3.15-rc5 (2014-05-09 13:10:52 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git spi-v3.15-rc5

for you to fetch changes up to fd30c37331ad8ed7c7e0e4c21f5ee309fec21d7d:

  Merge remote-tracking branches 'spi/fix/pxa2xx' and 'spi/fix/qup' into spi-linus (2014-05-13 19:08:34 +0100)

----------------------------------------------------------------

spi: Fixes for v3.15

A few core fixes around outlying cases here, nothing that should affect
most users but useful fixes.  The diffstat is rather larger than one
might hope due some simple code motion in the fix for !CONFIG_DMA, the
actual meaningful change is much smaller.

 - Fix handling of unsupported dual and quad mode support on slave
   registration so that drivers that can degrade gracefully do so,
   preventing regressions for drivers this is added.
 - Fix build in !CONFIG_DMA cases following addition of generic DMA
   mapping support.
 - Fix error handling for queue creation which due to wider kernel
   changes can be triggered more easily.
 - A couple of driver specific fixes.

----------------------------------------------------------------
Axel Lin (1):
      spi: qup: Fix return value checking for pm_runtime_get_sync()

Geert Uytterhoeven (2):
      spi: core: Ignore unsupported Dual/Quad Transfer Mode bits
      spi: core: Protect DMA code by #ifdef CONFIG_HAS_DMA

Mark Brown (3):
      spi: core: Don't destroy master queue if we fail to create it
      Merge remote-tracking branch 'spi/fix/core' into spi-linus
      Merge remote-tracking branches 'spi/fix/pxa2xx' and 'spi/fix/qup' into spi-linus

Mika Westerberg (1):
      spi/pxa2xx: Prevent DMA from transferring too many bytes

 drivers/spi/spi-pxa2xx-dma.c |  16 ------
 drivers/spi/spi-qup.c        |   2 +-
 drivers/spi/spi.c            | 124 +++++++++++++++++++++++++++----------------
 3 files changed, 78 insertions(+), 64 deletions(-)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-14 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11 10:56 [GIT PULL] spi fixes for v3.15 Mark Brown
     [not found] ` <20140411105604.GR6518-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-04-11 20:41   ` Linus Torvalds
     [not found]     ` <CA+55aFxCubywWSLdhAva9dvj26=o4WkaVnhYjgEKrEuMuaFo+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-11 21:47       ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2014-05-14 16:08 [GIT PULL] SPI " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).