{"push_id":1107272761,"size":8,"distinct_size":8,"ref":"refs/heads/master","head":"50c73890d314921e2097d47e98c2ca59b3876ec7","before":"d32917eedc3b8a21f40206c8dd655beae5be8795","commits":[{"sha":"92dc20d83adec565378254c0630e839ff5674e14","author":{"email":"6f555c040af13451131a2610fd25bef517f71472@cogentembedded.com","name":"Andrey Vostrikov"},"message":"spi: spi-fsl-dspi: Fix cs_change handling in message transfer\n\nThere are use cases when chip select should be triggered between transfers\nin single SPI message. Current implementation does this only on last\ntransfer in message ignoring cs_change value provided in current transfer.\n\nSigned-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/92dc20d83adec565378254c0630e839ff5674e14"},{"sha":"8070954d7c9fffa527e785292e901867338f79a9","author":{"email":"3807cf899f217da549814bf6c330d3b6e6819ccf@gmail.com","name":"Akinobu Mita"},"message":"spi: omap2-mcspi: Undo broken fix for dma transfer of vmalloced buffer\n\nThis reverts commit 3525e0aac91c4de5d20b1f22a6c6e2b39db3cc96.\n\nThe DMA transfer for RX buffer was not handled correctly in this change.\n\nThe actual transfer length for DMA RX can be less than xfer->len in the\nspecific condition and the last words will be filled after the DMA\ncompletion, but the commit doesn't consider it and the dmaengine is\nstarted with rx_sg mapped by spi core.\n\nThe solution for this at least requires more lines than this commit\nhas inserted.  So revert it for now.\n\nSigned-off-by: Akinobu Mita <akinobu.mita@gmail.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/8070954d7c9fffa527e785292e901867338f79a9"},{"sha":"ea1b60fb085839a9544cb3a0069992991beabb7f","author":{"email":"a9aff6bdb06df0f1e86a184e2c263c6782eaee6c@codethink.co.uk","name":"Ben Hutchings"},"message":"spi: spi-ti-qspi: Fix FLEN and WLEN settings if bits_per_word is overridden\n\nEach transfer can specify 8, 16 or 32 bits per word independently of\nthe default for the device being addressed.  However, currently we\ncalculate the number of words in the frame assuming that the word size\nis the device default.\n\nIf multiple transfers in the same message have differing\nbits_per_word, we bitwise-or the different values in the WLEN register\nfield.\n\nFix both of these.  Also rename 'frame_length' to 'frame_len_words' to\nmake clear that it's not a byte count like spi_message::frame_length.\n\nSigned-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>\nSigned-off-by: Mark Brown <broonie@kernel.org>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/ea1b60fb085839a9544cb3a0069992991beabb7f"},{"sha":"1ff7760ff66b98ef244bf0e5e2bd5310651205ad","author":{"email":"a9aff6bdb06df0f1e86a184e2c263c6782eaee6c@codethink.co.uk","name":"Ben Hutchings"},"message":"spi: spi-ti-qspi: Handle truncated frames properly\n\nWe clamp frame_len_words to a maximum of 4096, but do not actually\nlimit the number of words written or read through the DATA registers\nor the length added to spi_message::actual_length.  This results in\nsilent data corruption for commands longer than this maximum.\n\nRecalculate the length of each transfer, taking frame_len_words into\naccount.  Use this length in qspi_{read,write}_msg(), and to increment\nspi_message::actual_length.\n\nSigned-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>\nSigned-off-by: Mark Brown <broonie@kernel.org>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/1ff7760ff66b98ef244bf0e5e2bd5310651205ad"},{"sha":"66ec246eb9982e7eb8e15e1fc55f543230310dd0","author":{"email":"ed47dfa4cd43d03d92ccc66ffdb9609c96fcf22b@linux.intel.com","name":"Jarkko Nikula"},"message":"spi: pxa2xx: Do not detect number of enabled chip selects on Intel SPT\n\nCertain Intel Sunrisepoint PCH variants report zero chip selects in SPI\ncapabilities register even they have one per port. Detection in\npxa2xx_spi_probe() sets master->num_chipselect to 0 leading to -EINVAL\nfrom spi_register_master() where chip select count is validated.\n\nFix this by not using SPI capabilities register on Sunrisepoint. They don't\nhave more than one chip select so use the default value 1 instead of\ndetection.\n\nFixes: 8b136baa5892 (\"spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals\")\nSigned-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/66ec246eb9982e7eb8e15e1fc55f543230310dd0"},{"sha":"9b1f189e6dfb0483b715e19364c782d2ddee96a0","author":{"email":"b51b9a92386687a9ac927cebfa0f978adeb8cea5@kernel.org","name":"Mark Brown"},"message":"Merge remote-tracking branches 'spi/fix/fsl-dspi', 'spi/fix/omap2-mcspi', 'spi/fix/pxa2xx' and 'spi/fix/ti-qspi' into spi-linus","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/9b1f189e6dfb0483b715e19364c782d2ddee96a0"},{"sha":"e0d09e32c9d34edafd790020222050d7701f986f","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge tag 'spi-fix-v4.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi\n\nPull spi fixes from Mark Brown:\n \"A bunch of small driver specific fixes that have come up, none of them\n  remarkable in themselves.  One fixes a regression introduced in the\n  merge window and another two are targetted at stable\"\n\n* tag 'spi-fix-v4.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:\n  spi: pxa2xx: Do not detect number of enabled chip selects on Intel SPT\n  spi: spi-ti-qspi: Handle truncated frames properly\n  spi: spi-ti-qspi: Fix FLEN and WLEN settings if bits_per_word is overridden\n  spi: omap2-mcspi: Undo broken fix for dma transfer of vmalloced buffer\n  spi: spi-fsl-dspi: Fix cs_change handling in message transfer","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/e0d09e32c9d34edafd790020222050d7701f986f"},{"sha":"50c73890d314921e2097d47e98c2ca59b3876ec7","author":{"email":"64568d9183dcfcdd0a6fb47964820a1cdaf94ecc@googlemail.com","name":"Mathias Krause"},"message":"x86/extable: ensure entries are swapped completely when sorting\n\nThe x86 exception table sorting was changed in commit 29934b0fb8ff\n(\"x86/extable: use generic search and sort routines\") to use the arch\nindependent code in lib/extable.c.  However, the patch was mangled\nsomehow on its way into the kernel from the last version posted at [1].\nThe committed version kind of attempted to incorporate the changes of\ncommit 548acf19234d (\"x86/mm: Expand the exception table logic to allow\nnew handling options\") as in _completely_ _ignoring_ the x86 specific\n'handler' member of struct exception_table_entry.  This effectively\nbroke the sorting as entries will only partly be swapped now.\n\nFortunately, the x86 Kconfig selects BUILDTIME_EXTABLE_SORT, so the\nexception table doesn't need to be sorted at runtime. However, in case\nthat ever changes, we better not break the exception table sorting just\nbecause of that.\n\n[ Ard Biesheuvel points out that BUILDTIME_EXTABLE_SORT applies to the\n  core image only, but we still rely on the sorting routines for modules\n  in that case - Linus ]\n\nFix this by providing a swap_ex_entry_fixup() macro that takes care of\nthe 'handler' member.\n\n[1] https://lkml.org/lkml/2016/1/27/232\n\nSigned-off-by: Mathias Krause <minipli@googlemail.com>\nFixes: 29934b0fb8f (\"x86/extable: use generic search and sort routines\")\nReviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: Andy Lutomirski <luto@kernel.org>\nCc: Borislav Petkov <bp@suse.de>\nCc: H. Peter Anvin <hpa@linux.intel.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Tony Luck <tony.luck@intel.com>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/50c73890d314921e2097d47e98c2ca59b3876ec7"}]}