{"push_id":1365035179,"size":39,"distinct_size":39,"ref":"refs/heads/master","head":"07d9a380680d1c0eb51ef87ff2eab5c994949e69","before":"0c2b6dc4fd4fa13796b319aae969a009f03222c6","commits":[{"sha":"54f9c4d0778b3f9ab791b1b7eb1a5d2809f02f50","author":{"name":"Alistair Popple","email":"282a5e7894e60a826b2ef1473b1a0536b4a642df@popple.id.au"},"message":"ipmi: add an Aspeed BT IPMI BMC driver\n\nThis patch adds a simple device driver to expose the iBT interface on\nAspeed SOCs (AST2400 and AST2500) as a character device. Such SOCs are\ncommonly used as BMCs (BaseBoard Management Controllers) and this\ndriver implements the BMC side of the BT interface.\n\nThe BT (Block Transfer) interface is used to perform in-band IPMI\ncommunication between a host and its BMC. Entire messages are buffered\nbefore sending a notification to the other end, host or BMC, that\nthere is data to be read. Usually, the host emits requests and the BMC\nresponses but the specification provides a mean for the BMC to send\nSMS Attention (BMC-to-Host attention or System Management Software\nattention) messages.\n\nFor this purpose, the driver introduces a specific ioctl on the\ndevice: 'BT_BMC_IOCTL_SMS_ATN' that can be used by the system running\non the BMC to signal the host of such an event.\n\nThe device name defaults to '/dev/ipmi-bt-host'\n\nSigned-off-by: Alistair Popple <alistair@popple.id.au>\nSigned-off-by: Jeremy Kerr <jk@ozlabs.org>\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n[clg: - checkpatch fixes\n      - added a devicetree binding documentation\n      - replace 'bt_host' by 'bt_bmc' to reflect that the driver is\n        the BMC side of the IPMI BT interface\n      - renamed the device to 'ipmi-bt-host'\n      - introduced a temporary buffer to copy_{to,from}_user\n      - used platform_get_irq()\n      - moved the driver under drivers/char/ipmi/ but kept it as a misc\n        device\n      - changed the compatible cell to \"aspeed,ast2400-bt-bmc\"\n]\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\nAcked-by: Arnd Bergmann <arnd@arndb.de>\n[clg: - checkpatch --strict fixes\n      - removed the use of devm_iounmap, devm_kfree in cleanup paths\n      - introduced an atomic-t to limit opens to 1\n      - introduced a mutex to protect write/read operations]\nAcked-by: Rob Herring <robh@kernel.org>\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\nSigned-off-by: Corey Minyard <cminyard@mvista.com>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/54f9c4d0778b3f9ab791b1b7eb1a5d2809f02f50"},{"sha":"1a377a79211a08c5c8a05c0b6dee6d5b13ef4107","author":{"name":"Joel Stanley","email":"4a689f2c6015f1aa0842cb2cf7afeb81d6029c84@jms.id.au"},"message":"ipmi: Fix ioremap error handling in bt-bmc\n\ndevm_ioremap_resource returns ERR_PTR so we can't check for NULL.\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>\nAcked-by: Cédric Le Goater <clg@kaod.org>\nSigned-off-by: Corey Minyard <cminyard@mvista.com>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/1a377a79211a08c5c8a05c0b6dee6d5b13ef4107"},{"sha":"a3e6061bad6292f2d5be3c1c4ccf1fa136517dec","author":{"name":"Cédric Le Goater","email":"0e93dceb4ebc95d9a891cbe594a92d8743509c78@kaod.org"},"message":"ipmi/bt-bmc: add a dependency on ARCH_ASPEED\n\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\nSigned-off-by: Corey Minyard <cminyard@mvista.com>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/a3e6061bad6292f2d5be3c1c4ccf1fa136517dec"},{"sha":"d94655b405ba08838fb3db301dddb02a435ae16c","author":{"name":"Wei Yongjun","email":"cea121043064f325ec96cf17db61a214210a3ed7@huawei.com"},"message":"ipmi/bt-bmc: remove redundant return value check of platform_get_resource()\n\nRemove unneeded error handling on the result of a call\nto platform_get_resource() when the value is passed to\ndevm_ioremap_resource().\n\nSigned-off-by: Wei Yongjun <weiyongjun1@huawei.com>\nAcked-by: Cédric Le Goater <clg@kaod.org>\nSigned-off-by: Corey Minyard <cminyard@mvista.com>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/d94655b405ba08838fb3db301dddb02a435ae16c"},{"sha":"bd85f4b37ddf2da22ccf5b29d264b2459b6722df","author":{"name":"Xie XiuQi","email":"bb88de4360ee19c2cf6936f1b6859b84e1448bc6@huawei.com"},"message":"ipmi: fix crash on reading version from proc after unregisted bmc\n\nI meet a crash, which could be reproduce:\n1) while true; do cat /proc/ipmi/0/version; done\n2) modprobe -rv ipmi_si ipmi_msghandler ipmi_devintf\n\n[82761.021137] IPMI BT: req2rsp=5 secs retries=2\n[82761.034524] ipmi device interface\n[82761.222218] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x0007db, prod_id: 0x0001, dev_id: 0x01)\n[82761.222230] ipmi_si ipmi_si.0: IPMI bt interface initialized\n[82903.922740] BUG: unable to handle kernel NULL pointer dereference at 00000000000002d4\n[82903.930952] IP: [<ffffffffa030d9e8>] smi_version_proc_show+0x18/0x40 [ipmi_msghandler]\n[82903.939220] PGD 86693a067 PUD 865304067 PMD 0\n[82903.943893] Thread overran stack, or stack corrupted\n[82903.949034] Oops: 0000 [#1] SMP\n[82903.983091] Modules linked in: ipmi_si(-) ipmi_msghandler binfmt_misc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter\n...\n[82904.057285]  pps_core scsi_transport_sas dm_mod vfio_iommu_type1 vfio xt_sctp nf_conntrack_proto_sctp nf_nat_proto_sctp\n                nf_nat nf_conntrack sctp libcrc32c [last unloaded: ipmi_devintf]\n[82904.073169] CPU: 37 PID: 28089 Comm: cat Tainted: GF          O   ---- -------   3.10.0-327.28.3.el7.x86_64 #1\n[82904.083373] Hardware name: Huawei RH2288H V3/BC11HGSA0, BIOS 3.22 05/16/2016\n[82904.090592] task: ffff880101cc2e00 ti: ffff880369c54000 task.ti: ffff880369c54000\n[82904.098414] RIP: 0010:[<ffffffffa030d9e8>]  [<ffffffffa030d9e8>] smi_version_proc_show+0x18/0x40 [ipmi_msghandler]\n[82904.109124] RSP: 0018:ffff880369c57e70  EFLAGS: 00010203\n[82904.114608] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000024688470\n[82904.121912] RDX: fffffffffffffff4 RSI: ffffffffa0313404 RDI: ffff8808670ce200\n[82904.129218] RBP: ffff880369c57e70 R08: 0000000000019720 R09: ffffffff81204a27\n[82904.136521] R10: ffff88046f803300 R11: 0000000000000246 R12: ffff880662399700\n[82904.143828] R13: 0000000000000001 R14: ffff880369c57f48 R15: ffff8808670ce200\n[82904.151128] FS:  00007fb70c9ca740(0000) GS:ffff88086e340000(0000) knlGS:0000000000000000\n[82904.159557] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[82904.165473] CR2: 00000000000002d4 CR3: 0000000864c0c000 CR4: 00000000003407e0\n[82904.172778] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n[82904.180084] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\n[82904.187385] Stack:\n[82904.189573]  ffff880369c57ee0 ffffffff81204f1a 00000000122a2427 0000000001426000\n[82904.197392]  ffff8808670ce238 0000000000010000 0000000000000000 0000000000000fff\n[82904.205198]  00000000122a2427 ffff880862079600 0000000001426000 ffff880369c57f48\n[82904.212962] Call Trace:\n[82904.219667]  [<ffffffff81204f1a>] seq_read+0xfa/0x3a0\n[82904.224893]  [<ffffffff8124ce2d>] proc_reg_read+0x3d/0x80\n[82904.230468]  [<ffffffff811e102c>] vfs_read+0x9c/0x170\n[82904.235689]  [<ffffffff811e1b7f>] SyS_read+0x7f/0xe0\n[82904.240816]  [<ffffffff81649209>] system_call_fastpath+0x16/0x1b\n[82904.246991] Code: 30 a0 e8 0c 6f ef e0 5b 5d c3 66 0f 1f 84 00 00 00 00 00 0f 1f\n               44 00 00 48 8b 47 78 55 48 c7 c6 04 34 31 a0 48 89 e5 48 8b 40 50 <0f>\n\t       b6 90 d4 02 00 00 31 c0 89 d1 83 e2 0f c0 e9 04 0f b6 c9 e8\n[82904.267710] RIP  [<ffffffffa030d9e8>] smi_version_proc_show+0x18/0x40 [ipmi_msghandler]\n[82904.276079]  RSP <ffff880369c57e70>\n[82904.279734] CR2: 00000000000002d4\n[82904.283731] ---[ end trace a69e4328b49dd7c4 ]---\n[82904.328118] Kernel panic - not syncing: Fatal exception\n\nReading versin from /proc need bmc device struct available. So in this patch\nwe move add/remove_proc_entries between ipmi_bmc_register and ipmi_bmc_unregister.\n\nCc: Kefeng Wang <wangkefeng.wang@huawei.com>\nSigned-off-by: Xie XiuQi <xiexiuqi@huawei.com>\nSigned-off-by: Corey Minyard <cminyard@mvista.com>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/bd85f4b37ddf2da22ccf5b29d264b2459b6722df"},{"sha":"651e1c3b1576c5ffda6df01db1ef535eeb8b1a37","author":{"name":"Joe Perches","email":"d2ff8d83efb8d5aeb4f4e85388fa7e6f5a2df730@perches.com"},"message":"ext4: super.c: Update logging style using KERN_CONT\n\nRecent commit require line continuing printks to use PR_CONT.\n\nUpdate super.c to use KERN_CONT and use vsprintf extension %pV to\navoid a printk/vprintk/printk(\"\\n\") sequence as well.\n\nSigned-off-by: Joe Perches <joe@perches.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nReviewed-by: Jan Kara <jack@suse.cz>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/651e1c3b1576c5ffda6df01db1ef535eeb8b1a37"},{"sha":"559cce698eaf4ccecb2213b2519ea3a0413e5155","author":{"name":"Taesoo Kim","email":"7b1ed1528eae3c86badb986808d71576daf61203@gmail.com"},"message":"jbd2: fix incorrect unlock on j_list_lock\n\nWhen 'jh->b_transaction == transaction' (asserted by below)\n\n  J_ASSERT_JH(jh, (jh->b_transaction == transaction || ...\n\n'journal->j_list_lock' will be incorrectly unlocked, since\nthe the lock is aquired only at the end of if / else-if\nstatements (missing the else case).\n\nSigned-off-by: Taesoo Kim <tsgatesv@gmail.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nReviewed-by: Andreas Dilger <adilger@dilger.ca>\nFixes: 6e4862a5bb9d12be87e4ea5d9a60836ebed71d28\nCc: stable@vger.kernel.org # 3.14+","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/559cce698eaf4ccecb2213b2519ea3a0413e5155"},{"sha":"c4704a4fbe834eee4109ca064131d440941f6235","author":{"name":"Eric Biggers","email":"0106d512ed1cb672be29d4b167a07ead51709fba@google.com"},"message":"ext4: do not advertise encryption support when disabled\n\nThe sysfs file /sys/fs/ext4/features/encryption was present on kernels\ncompiled with CONFIG_EXT4_FS_ENCRYPTION=n.  This was misleading because\nsuch kernels do not actually support ext4 encryption.  Therefore, only\nprovide this file on kernels compiled with CONFIG_EXT4_FS_ENCRYPTION=y.\n\nNote: since the ext4 feature files are all hardcoded to have a contents\nof \"supported\", it really is the presence or absence of the file that is\nsignificant, not the contents (and this change reflects that).\n\nSigned-off-by: Eric Biggers <ebiggers@google.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/c4704a4fbe834eee4109ca064131d440941f6235"},{"sha":"fb4454376df9d820d95452d71dd83da6971f9338","author":{"name":"Eric Biggers","email":"0106d512ed1cb672be29d4b167a07ead51709fba@google.com"},"message":"fscrypto: make XTS tweak initialization endian-independent\n\nThe XTS tweak (or IV) was initialized differently on little endian and\nbig endian systems.  Because the ciphertext depends on the XTS tweak, it\nwas not possible to use an encrypted filesystem created by a little\nendian system on a big endian system and vice versa, even if they shared\nthe same PAGE_SIZE.  Fix this by always using little endian.\n\nThis will break hypothetical big endian users of ext4 or f2fs\nencryption.  However, all users we are aware of are little endian, and\nit's believed that \"real\" big endian users are unlikely to exist yet.\nSo this might as well be fixed now before it's too late.\n\nSigned-off-by: Eric Biggers <ebiggers@google.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/fb4454376df9d820d95452d71dd83da6971f9338"},{"sha":"199625098a18a5522b424dea9b122b254c022fc5","author":{"name":"Eric Biggers","email":"0106d512ed1cb672be29d4b167a07ead51709fba@google.com"},"message":"ext4: correct endianness conversion in __xattr_check_inode()\n\nIt should be cpu_to_le32(), not le32_to_cpu().  No change in behavior.\n\nFound with sparse, and this was the only endianness warning in fs/ext4/.\n\nSigned-off-by: Eric Biggers <ebiggers@google.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nReviewed-by: Jan Kara <jack@suse.cz>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/199625098a18a5522b424dea9b122b254c022fc5"},{"sha":"8906a8223ad4909b391c5628f7991ebceda30e52","author":{"name":"Eric Biggers","email":"0106d512ed1cb672be29d4b167a07ead51709fba@google.com"},"message":"fscrypto: lock inode while setting encryption policy\n\ni_rwsem needs to be acquired while setting an encryption policy so that\nconcurrent calls to FS_IOC_SET_ENCRYPTION_POLICY are correctly\nserialized (especially the ->get_context() + ->set_context() pair), and\nso that new files cannot be created in the directory during or after the\n->empty_dir() check.\n\nSigned-off-by: Eric Biggers <ebiggers@google.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nReviewed-by: Richard Weinberger <richard@nod.at>\nCc: stable@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/8906a8223ad4909b391c5628f7991ebceda30e52"},{"sha":"d74f3d25289aa9722cf777a7482eeee2eacdf46e","author":{"name":"Joe Perches","email":"d2ff8d83efb8d5aeb4f4e85388fa7e6f5a2df730@perches.com"},"message":"ext4: add missing KERN_CONT to a few more debugging uses\n\nRecent commits require line continuing printks to always use\npr_cont or KERN_CONT.  Add these markings to a few more printks.\n\nMiscellaneaous:\n\no Integrate the ea_idebug and ea_bdebug macros to use a single\n  call to printk(KERN_DEBUG instead of 3 separate printks\no Use the more common varargs macro style\n\nSigned-off-by: Joe Perches <joe@perches.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nReviewed-by: Andreas Dilger <adilger@dilger.ca>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/d74f3d25289aa9722cf777a7482eeee2eacdf46e"},{"sha":"667f4bab81ea8357d260aa14bb6fb1a4834248d5","author":{"name":"Chris Packham","email":"42e6e337918a04dcd020b3ae61cb2583f1f25ae5@alliedtelesis.co.nz"},"message":"hwmon: (adm9240) handle temperature readings below 0\n\nUnlike the temperature thresholds the temperature data is a 9-bit signed\nvalue. This allows and additional 0.5 degrees of precision on the\nreading but makes handling negative values slightly harder. In order to\nhave sign-extension applied correctly the 9-bit value is stored in the\nupper bits of a signed 16-bit value. When presenting this in sysfs the\nvalue is shifted and scaled appropriately.\n\nSigned-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/667f4bab81ea8357d260aa14bb6fb1a4834248d5"},{"sha":"94cdc5608b5561aeda80edda9c9223608a1da6fc","author":{"name":"Dan Carpenter","email":"60b2bf2bc0bec4ca4a4b046ca7ef9255248abff8@oracle.com"},"message":"hwmon: (max31790) potential ERR_PTR dereference\n\nWe should only dereference \"data\" after we check if it is an error\npointer.\n\nFixes: 54187ff9d766 ('hwmon: (max31790) Convert to use new hwmon registration API')\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/94cdc5608b5561aeda80edda9c9223608a1da6fc"},{"sha":"390975ac3978162ec9c6beca66f0fe83b0be33bb","author":{"name":"Richard Weinberger","email":"4683394d5200e728393f79e167a6ec890cd1fd9d@nod.at"},"message":"ubifs: Rename ubifs_rename2\n\nSince ->rename2 is gone, rename ubifs_rename2() to ubifs_rename().\n\nSuggested-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Richard Weinberger <richard@nod.at>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/390975ac3978162ec9c6beca66f0fe83b0be33bb"},{"sha":"843741c5778398ea67055067f4cc65ae6c80ca0e","author":{"name":"Richard Weinberger","email":"4683394d5200e728393f79e167a6ec890cd1fd9d@nod.at"},"message":"ubifs: Fix xattr_names length in exit paths\n\nWhen the operation fails we also have to undo the changes\nwe made to ->xattr_names. Otherwise listxattr() will report\nwrong lengths.\n\nCc: stable@vger.kernel.org\nSigned-off-by: Richard Weinberger <richard@nod.at>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/843741c5778398ea67055067f4cc65ae6c80ca0e"},{"sha":"a15cf34fed779d3d49d76e3a7e63bd0132b6a458","author":{"name":"Colin Ian King","email":"61b69653f478c16de27cbf2a77617b5a614a704a@canonical.com"},"message":"ubi: fix swapped arguments to call to ubi_alloc_aeb\n\nStatic analysis by CoverityScan detected the ec and pnum\narguments are in the wrong order on a call to ubi_alloc_aeb.\nSwap the order to fix this.\n\nFixes: 91f4285fe389a27 (\"UBI: provide helpers to allocate and free aeb elements\")\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\nReviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>\nSigned-off-by: Richard Weinberger <richard@nod.at>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/a15cf34fed779d3d49d76e3a7e63bd0132b6a458"},{"sha":"884a3b647809cb31cf6bd948f814e93753b38502","author":{"name":"Geert Uytterhoeven","email":"6ab3568c168343bc5fcca77fbd6a3d6e63ce9838@linux-m68k.org"},"message":"UBI: Fix crash in try_recover_peb()\n\n    drivers/mtd/ubi/eba.c: In function ‘try_recover_peb’:\n    drivers/mtd/ubi/eba.c:744: warning: ‘vid_hdr’ is used uninitialized in this function\n\nThe pointer vid_hdr is indeed not initialized, leading to a crash when\nit is dereferenced.\n\nFix this by obtaining the pointer from the VID buffer, like is done\neverywhere else.\n\nFixes: 3291b52f9ff0acc8 (\"UBI: introduce the VID buffer concept\")\nSigned-off-by: Geert Uytterhoeven <geert@linux-m68k.org>\nReviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>\nSigned-off-by: Richard Weinberger <richard@nod.at>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/884a3b647809cb31cf6bd948f814e93753b38502"},{"sha":"c83ed4c9dbb358b9e7707486e167e940d48bfeed","author":{"name":"Richard Weinberger","email":"4683394d5200e728393f79e167a6ec890cd1fd9d@nod.at"},"message":"ubifs: Abort readdir upon error\n\nIf UBIFS is facing an error while walking a directory, it reports this\nerror and ubifs_readdir() returns the error code. But the VFS readdir\nlogic does not make the getdents system call fail in all cases. When the\nreaddir cursor indicates that more entries are present, the system call\nwill just return and the libc wrapper will try again since it also\nknows that more entries are present.\nThis causes the libc wrapper to busy loop for ever when a directory is\ncorrupted on UBIFS.\nA common approach do deal with corrupted directory entries is\nskipping them by setting the cursor to the next entry. On UBIFS this\napproach is not possible since we cannot compute the next directory\nentry cursor position without reading the current entry. So all we can\ndo is setting the cursor to the \"no more entries\" position and make\ngetdents exit.\n\nCc: stable@vger.kernel.org\nSigned-off-by: Richard Weinberger <richard@nod.at>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/c83ed4c9dbb358b9e7707486e167e940d48bfeed"},{"sha":"02eb924fabc5b699c0d9d354491e6f0767e3c139","author":{"name":"Andy Grover","email":"84d4415a1877fc1bbf263d8e0772ed09a073ddc2@redhat.com"},"message":"target/user: Use sense_reason_t in tcmu_queue_cmd_ring\n\nInstead of using -ERROR-style returns, use sense_reason_t. This lets us\nremove tcmu_pass_op(), and return more correct sense values.\n\nSigned-off-by: Andy Grover <agrover@redhat.com>\nSigned-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nReviewed-by: Mike Christie <mchristi@redhat.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/mmayer/linux/commits/02eb924fabc5b699c0d9d354491e6f0767e3c139"}]}
{"actor":{"display_login":"mmayer"}}