{"push_id":1909301207,"size":10,"distinct_size":10,"ref":"refs/heads/master","head":"de70be0ae3c9283a7d16fd5fbdc03840f01065cf","before":"623ce3456671ea842c0ebda79c38655c8c04af74","commits":[{"sha":"8addebc14a322fa8ca67cd57c6038069acde8ddc","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"scsi: bnx2fc: Plug CPU hotplug race\n\nbnx2fc_process_new_cqes() has protection against CPU hotplug, which relies\non the per cpu thread pointer. This protection is racy because it happens\nonly partially with the per cpu fp_work_lock held.\n\nIf the CPU is unplugged after the lock is dropped, the wakeup code can\ndereference a NULL pointer or access freed and potentially reused memory.\n\nRestructure the code so the thread check and wakeup happens with the\nfp_work_lock held.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nAcked-by: Chad Dupuis <chad.dupuis@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/8addebc14a322fa8ca67cd57c6038069acde8ddc"},{"sha":"2c2b66ae9d11d99f5f6d7010f0d46401ed9031ce","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"scsi: bnx2fc: Prevent recursive cpuhotplug locking\n\nThe BNX2FC module init/exit code installs/removes the hotplug callbacks with\nthe cpu hotplug lock held. This worked with the old CPU locking\nimplementation which allowed recursive locking, but with the new percpu\nrwsem based mechanism this is not longer allowed.\n\nUse the _cpuslocked() variants to fix this.\n\nReported-by: kernel test robot <fengguang.wu@intel.com>\nAcked-by: Chad Dupuis <chad.dupuis@cavium.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/2c2b66ae9d11d99f5f6d7010f0d46401ed9031ce"},{"sha":"2fa2fa1ae6b42fc4c4995fdbf8fd7df96bb25ba4","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"scsi: bnx2i: Prevent recursive cpuhotplug locking\n\nThe BNX2I module init/exit code installs/removes the hotplug callbacks with\nthe cpu hotplug lock held. This worked with the old CPU locking\nimplementation which allowed recursive locking, but with the new percpu\nrwsem based mechanism this is not longer allowed.\n\nUse the _cpuslocked() variants to fix this.\n\nReported-by: Steven Rostedt <rostedt@goodmis.org>\nAcked-by: Chad Dupuis <chad.dupuis@cavium.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/2fa2fa1ae6b42fc4c4995fdbf8fd7df96bb25ba4"},{"sha":"1937f8a29f4a650bc27e0311b43b53509a34fd22","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"scsi: bnx2fc: Simplify CPU hotplug code\n\nThe CPU hotplug related code of this driver can be simplified by:\n\n1) Consolidating the callbacks into a single state. The CPU thread can be\n   torn down on the CPU which goes offline. There is no point in delaying\n   that to the CPU dead state\n\n2) Let the core code invoke the online/offline callbacks and remove the\n   extra for_each_online_cpu() loops.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/1937f8a29f4a650bc27e0311b43b53509a34fd22"},{"sha":"f9f22a86912f9d36b50e9b3b383fabfb9f22dd46","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"scsi: bnx2i: Simplify cpu hotplug code\n\nThe CPU hotplug related code of this driver can be simplified by:\n\n1) Consolidating the callbacks into a single state. The CPU thread can be\n   torn down on the CPU which goes offline. There is no point in delaying\n   that to the CPU dead state\n\n2) Let the core code invoke the online/offline callbacks and remove the\n   extra for_each_online_cpu() loops.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nAcked-by: Chad Dupuis <chad.dupuis@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/f9f22a86912f9d36b50e9b3b383fabfb9f22dd46"},{"sha":"722477c4f2c50bc8d800d293a3bc5aa843f16e8d","author":{"name":"Thomas Bogendoerfer","email":"765b88bf94bb01445c8b5706aae89b04069ca5a9@suse.de"},"message":"scsi: qedf: Limit number of CQs\n\nFCOE offloading failed with:\n\n[qed_sp_fcoe_func_start:150(sp-0-3b:00.02)]Cannot satisfy CQ amount. CQs\n\t\t requested 8, CQs available 6. Aborting function start\n[qed_fcoe_start:821()]Failed to start fcoe\n[__qedf_probe:3041]:6: Cannot start FCoE function.\n\nThe reason is a newly introduced check in the qed main part. This change\nalso provides the information about how many CQs are available, so we\nsimply limit the number of requested CQs..\n\nFixes: 3c5da9427802 (\"qed: Share additional information with qedf\")\nSigned-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>\nReviewed-by: Johannes Thumshirn <jthumshirn@suse.de>\nAcked-by: Chad Dupuis <chad.dupuis@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/722477c4f2c50bc8d800d293a3bc5aa843f16e8d"},{"sha":"e6fd916a625110d75bd4d15b8488df44cf41c9fc","author":{"name":"Dan Carpenter","email":"60b2bf2bc0bec4ca4a4b046ca7ef9255248abff8@oracle.com"},"message":"scsi: aacraid: reading out of bounds\n\n\"qd.id\" comes directly from the copy_from_user() on the line before so\nwe should verify that it's within bounds.\n\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/e6fd916a625110d75bd4d15b8488df44cf41c9fc"},{"sha":"f930c7043663188429cd9b254e9d761edfc101ce","author":{"name":"Johannes Thumshirn","email":"d9c2033816690d520874e8fc0d5751e487468597@suse.de"},"message":"scsi: sg: only check for dxfer_len greater than 256M\n\nDon't make any assumptions on the sg_io_hdr_t::dxfer_direction or the\nsg_io_hdr_t::dxferp in order to determine if it is a valid request. The\nonly way we can check for bad requests is by checking if the length\nexceeds 256M.\n\nSigned-off-by: Johannes Thumshirn <jthumshirn@suse.de>\nFixes: 28676d869bbb (scsi: sg: check for valid direction before starting the\nrequest)\nReported-by: Jason L Tibbitts III <tibbs@math.uh.edu>\nTested-by: Jason L Tibbitts III <tibbs@math.uh.edu>\nSuggested-by: Doug Gilbert <dgilbert@interlog.com>\nCc: Doug Gilbert <dgilbert@interlog.com>\nCc: <stable@vger.kernel.org>\nReviewed-by: Hannes Reinecke <hare@suse.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/f930c7043663188429cd9b254e9d761edfc101ce"},{"sha":"51d96dc2e2dc2cf9b81cf976cc93c51ba3ac2f92","author":{"name":"Helge Deller","email":"1f1989f8847b0c866a7c344d7b6e7f5b396fbba1@gmx.de"},"message":"random: fix warning message on ia64 and parisc\n\nFix the warning message on the parisc and IA64 architectures to show the\ncorrect function name of the caller by using %pS instead of %pF. The\nmessage is printed with the value of _RET_IP_ which calls\n__builtin_return_address(0) and as such returns the IP address caller\ninstead of pointer to a function descriptor of the caller.\n\nThe effect of this patch is visible on the parisc and ia64 architectures\nonly since those are the ones which use function descriptors while on\nall others %pS and %pF will behave the same.\n\nCc: Theodore Ts'o <tytso@mit.edu>\nCc: Jason A. Donenfeld <Jason@zx2c4.com>\nSigned-off-by: Helge Deller <deller@gmx.de>\nFixes: eecabf567422 (\"random: suppress spammy warnings about unseeded randomness\")\nFixes: d06bfd1989fe (\"random: warn when kernel uses unseeded randomness\")\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/51d96dc2e2dc2cf9b81cf976cc93c51ba3ac2f92"},{"sha":"de70be0ae3c9283a7d16fd5fbdc03840f01065cf","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi\n\nPull SCSI fixes from James Bottomley:\n \"Two small fixes, one re-fix of a previous fix and five patches sorting\n  out hotplug in the bnx2X class of drivers. The latter is rather\n  involved, but necessary because these drivers have started dropping\n  lockdep recursion warnings on the hotplug lock because of its\n  conversion to a percpu rwsem\"\n\n* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:\n  scsi: sg: only check for dxfer_len greater than 256M\n  scsi: aacraid: reading out of bounds\n  scsi: qedf: Limit number of CQs\n  scsi: bnx2i: Simplify cpu hotplug code\n  scsi: bnx2fc: Simplify CPU hotplug code\n  scsi: bnx2i: Prevent recursive cpuhotplug locking\n  scsi: bnx2fc: Prevent recursive cpuhotplug locking\n  scsi: bnx2fc: Plug CPU hotplug race","distinct":true,"url":"https://api.github.com/repos/uniphier/linux/commits/de70be0ae3c9283a7d16fd5fbdc03840f01065cf"}]}
{"actor":{"display_login":"masahir0y"}}