{"push_id":998524816,"size":1000,"distinct_size":5869,"ref":"refs/heads/vtpm-driver.v4","head":"09597e8fef760ca765013550ac1e8f49c0c162ad","before":"a31105bcfa5da7ed3cc4f9e8b47d1ad99dd0ea58","commits":[{"sha":"9fa686068a32ddf256df03982b3e3967c18654a8","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma\n\nPull dmaengine fixes from Vinod Koul:\n \"Here is my second pull request for this window:\n\n  A few driver fixes have piled up and one missed rcar bindings patch\n  which got somehow lost in for-linus branch so cherry-picked that one.\n\n  Fixes are for dw, at_hdmac, edma\"\n\n* tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma:\n  dmaengine: rcar-dmac: Document SoC specific bindings\n  dmaengine: at_xdmac: fix resume for cyclic transfers\n  dmaengine: dw: fix cyclic transfer callbacks\n  dmaengine: dw: fix cyclic transfer setup\n  dmaengine: edma: Fix paRAM slot allocation for entry channel 0","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/9fa686068a32ddf256df03982b3e3967c18654a8"},{"sha":"849674e4fb175e47b7504249f7367367b18fe6a1","author":{"email":"c0c0c8857ed6ec93282de3ee9d47e224acf995af@fb.com","name":"Shaohua Li"},"message":"MD: rename some functions\n\nThese short function names are hard to search. Rename them to make vim happy.\n\nSigned-off-by: Shaohua Li <shli@fb.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/849674e4fb175e47b7504249f7367367b18fe6a1"},{"sha":"c2f662ebb69fb48bf62881a456aa7fa53e38d771","author":{"email":"c0c0c8857ed6ec93282de3ee9d47e224acf995af@fb.com","name":"Shaohua Li"},"message":"MD: add myself as MD maintainer\n\nCc: NeilBrown <neilb@suse.com>\nSigned-off-by: Shaohua Li <shli@fb.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/c2f662ebb69fb48bf62881a456aa7fa53e38d771"},{"sha":"973abd30a14681543ea1edb80eb5ef04bf0bb021","author":{"email":"24f7fe9d205c8a9f6ade0c2894e14303ca16087f@intel.com","name":"Fengguang Wu"},"message":"MAINTAINERS: add git URL for swiotlb\n\nCC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\nSigned-off-by: Fengguang Wu <fengguang.wu@intel.com>\nSigned-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/973abd30a14681543ea1edb80eb5ef04bf0bb021"},{"sha":"386744425e35e04984c6e741c7750fd6eef1a9df","author":{"email":"3055038c414aef68bf32c33b8118623e7554e0f2@nvidia.com","name":"Thierry Reding"},"message":"swiotlb: Make linux/swiotlb.h standalone includible\n\nThis header file uses the enum dma_data_direction and struct page types\nwithout explicitly including the corresponding header files. This makes\nit rely on the includer to have included the proper headers before.\n\nTo fix this, include linux/dma-direction.h and forward-declare struct\npage. The swiotlb_free() function is also annotated __init, therefore\nrequires linux/init.h to be included as well.\n\nSigned-off-by: Thierry Reding <treding@nvidia.com>\nSigned-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/386744425e35e04984c6e741c7750fd6eef1a9df"},{"sha":"a72aea722f1b43442c9e219de824d5975dcdaa61","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"Merge branches 'acpica', 'acpi-video' and 'acpi-fan'\n\n* acpica:\n  ACPICA: Update version to 20160108\n  ACPICA: Silence a -Wbad-function-cast warning when acpi_uintptr_t is 'uintptr_t'\n  ACPICA: Additional 2016 copyright changes\n  ACPICA: Reduce regression fix divergence from upstream ACPICA\n\n* acpi-video:\n  ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Satellite R830\n  ACPI / video: Revert \"thinkpad_acpi: Use acpi_video_handles_brightness_key_presses()\"\n  ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit\n  ACPI / video: Fix using an uninitialized mutex / list_head in acpi_video_handles_brightness_key_presses()\n  ACPI / video: Revert \"ACPI / video: driver must be registered before checking for keypresses\"\n  ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Portege R700\n\n* acpi-fan:\n  ACPI / fan: Improve acpi_device_update_power error message","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/a72aea722f1b43442c9e219de824d5975dcdaa61"},{"sha":"6efd3f8cde1d6acc20a715ac6ea17e01421742df","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"Merge branch 'pm-core'\n\n* pm-core:\n  driver core: Avoid NULL pointer dereferences in device_is_bound()\n  platform: Do not detach from PM domains on shutdown\n  USB / PM: Allow USB devices to remain runtime-suspended when sleeping\n  PM / sleep: Go direct_complete if driver has no callbacks\n  PM / Domains: add setter for dev.pm_domain\n  device core: add device_is_bound()","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/6efd3f8cde1d6acc20a715ac6ea17e01421742df"},{"sha":"fa8bb4518771b19460a318fbab3eb36c81db3a50","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"Merge branch 'pm-devfreq'\n\n* pm-devfreq:\n  MAINTAINERS: Add devfreq-event entry\n  MAINTAINERS: Add missing git repository and directory for devfreq\n  PM / devfreq: Do not show statistics if it's not ready.\n  PM / devfreq: Modify the indentation of trans_stat sysfs for readability\n  PM / devfreq: Set the freq_table of devfreq device\n  PM / devfreq: Add show_one macro to delete the duplicate code\n  PM / devfreq: event: Fix the error and warning from script/checkpatch.pl\n  PM / devfreq: event: Remove the error log of devfreq_event_get_edev_by_phandle()","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/fa8bb4518771b19460a318fbab3eb36c81db3a50"},{"sha":"f11aef69b235bc30c323776d75ac23b43aac45bb","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"Merge branch 'pm-cpuidle'\n\n* pm-cpuidle:\n  cpuidle: menu: Avoid pointless checks in menu_select()\n  sched / idle: Drop default_idle_call() fallback from call_cpuidle()\n  cpuidle: Don't enable all governors by default\n  cpuidle: Default to ladder governor on ticking systems\n  time: nohz: Expose tick_nohz_enabled\n  cpuidle: menu: Fix menu_select() for CPUIDLE_DRIVER_STATE_START == 0","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/f11aef69b235bc30c323776d75ac23b43aac45bb"},{"sha":"db2b52f75250c88ee3c6ba3d91bef38f3f1a1e8c","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"Merge branch 'pm-tools'\n\n* pm-tools:\n  cpupower: Fix build error in cpufreq-info","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/db2b52f75250c88ee3c6ba3d91bef38f3f1a1e8c"},{"sha":"fb7a6ae7554f15b5b0b7f31b02ed4ef40a8c2eb6","author":{"email":"0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org","name":"Geert Uytterhoeven"},"message":"hisi_sas: SCSI_HISI_SAS should depend on HAS_DMA\n\nIf NO_DMA=y:\n\n    ERROR: \"dma_map_sg\" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!\n    ERROR: \"dma_pool_alloc\" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!\n    ERROR: \"dma_unmap_sg\" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!\n    ERROR: \"dma_unmap_sg\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_set_mask\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_map_sg\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_pool_destroy\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_free_coherent\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_pool_free\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_alloc_coherent\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_pool_alloc\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_supported\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n    ERROR: \"dma_pool_create\" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!\n\nAdd a dependency on HAS_DMA to fix this.\n\nSigned-off-by: Geert Uytterhoeven <geert@linux-m68k.org>\nReviewed-by: John Garry <john.garry@huawei.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/fb7a6ae7554f15b5b0b7f31b02ed4ef40a8c2eb6"},{"sha":"c142ce0d3c6b070c248cef4bbe3a0f58cfd61f3f","author":{"email":"0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org","name":"Geert Uytterhoeven"},"message":"hisi_sas: Restrict SCSI_HISI_SAS to arm64\n\nThe HiSilicon SAS HBA is available in HiSilicon arm64 SoCs only.\nRestrict it to arm64, unless compile-testing.\n\nSigned-off-by: Geert Uytterhoeven <geert@linux-m68k.org>\nReviewed-by: John Garry <john.garry@huawei.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/c142ce0d3c6b070c248cef4bbe3a0f58cfd61f3f"},{"sha":"d0eb20a863ba7dc1d3f4b841639671f134560be2","author":{"email":"0384aaef27f06874adbdb09a807bb339f4aff9fd@oracle.com","name":"Martin K. Petersen"},"message":"sd: Optimal I/O size is in bytes, not sectors\n\nCommit ca369d51b3e1 (\"block/sd: Fix device-imposed transfer length\nlimits\") accidentally switched optimal I/O size reporting from bytes to\nblock layer sectors.\n\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>\nReported-by: Christian Borntraeger <borntraeger@de.ibm.com>\nTested-by: Christian Borntraeger <borntraeger@de.ibm.com>\nFixes: ca369d51b3e1649be4a72addd6d6a168cfb3f537\nCc: stable@vger.kernel.org # 4.4+\nReviewed-by: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>\nReviewed-by: Ewan D. Milne <emilne@redhat.com>\nReviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/d0eb20a863ba7dc1d3f4b841639671f134560be2"},{"sha":"290e0e0f2b54b2eed5018f921c585bb694f9e68a","author":{"email":"efca98801f3398ebd7eeff805a2c18e6c49e84d4@suse.de","name":"Jean Delvare"},"message":"lib/libcrc32c.c: fix build warning\n\nFix the following build warning:\n\n  lib/libcrc32c.c:42:5: warning: no previous prototype for \"crc32c\" [-Wmissing-prototypes]\n   u32 crc32c(u32 crc, const void *address, unsigned int length)\n       ^\n\nSigned-off-by: Jean Delvare <jdelvare@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/290e0e0f2b54b2eed5018f921c585bb694f9e68a"},{"sha":"0b9b6fff7b4caf5838550151d15b389aaa217707","author":{"email":"eec72676ad9a62f2727dfed6d270d98c0d02adec@linux.intel.com","name":"Kirill A. Shutemov"},"message":"thp: fix interrupt unsafe locking in split_huge_page()\n\nsplit_queue_lock can be taken from interrupt context in some cases, but\nI forgot to convert locking in split_huge_page() to interrupt-safe\nprimitives.\n\nLet's fix this.\n\nlockdep output:\n\n  ======================================================\n  [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ]\n  4.4.0+ #259 Tainted: G        W\n  ------------------------------------------------------\n  syz-executor/18183 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire:\n   (split_queue_lock){+.+...}, at: free_transhuge_page+0x24/0x90 mm/huge_memory.c:3436\n\n  and this task is already holding:\n   (slock-AF_INET){+.-...}, at: spin_lock_bh include/linux/spinlock.h:307\n   (slock-AF_INET){+.-...}, at: lock_sock_fast+0x45/0x120 net/core/sock.c:2462\n  which would create a new lock dependency:\n   (slock-AF_INET){+.-...} -> (split_queue_lock){+.+...}\n\n  but this new dependency connects a SOFTIRQ-irq-safe lock:\n   (slock-AF_INET){+.-...}\n  ... which became SOFTIRQ-irq-safe at:\n     mark_irqflags kernel/locking/lockdep.c:2799\n     __lock_acquire+0xfd8/0x4700 kernel/locking/lockdep.c:3162\n     lock_acquire+0x1dc/0x430 kernel/locking/lockdep.c:3585\n     __raw_spin_lock include/linux/spinlock_api_smp.h:144\n     _raw_spin_lock+0x33/0x50 kernel/locking/spinlock.c:151\n     spin_lock include/linux/spinlock.h:302\n     udp_queue_rcv_skb+0x781/0x1550 net/ipv4/udp.c:1680\n     flush_stack+0x50/0x330 net/ipv6/udp.c:799\n     __udp4_lib_mcast_deliver+0x694/0x7f0 net/ipv4/udp.c:1798\n     __udp4_lib_rcv+0x17dc/0x23e0 net/ipv4/udp.c:1888\n     udp_rcv+0x21/0x30 net/ipv4/udp.c:2108\n     ip_local_deliver_finish+0x2b3/0xa50 net/ipv4/ip_input.c:216\n     NF_HOOK_THRESH include/linux/netfilter.h:226\n     NF_HOOK include/linux/netfilter.h:249\n     ip_local_deliver+0x1c4/0x2f0 net/ipv4/ip_input.c:257\n     dst_input include/net/dst.h:498\n     ip_rcv_finish+0x5ec/0x1730 net/ipv4/ip_input.c:365\n     NF_HOOK_THRESH include/linux/netfilter.h:226\n     NF_HOOK include/linux/netfilter.h:249\n     ip_rcv+0x963/0x1080 net/ipv4/ip_input.c:455\n     __netif_receive_skb_core+0x1620/0x2f80 net/core/dev.c:4154\n     __netif_receive_skb+0x2a/0x160 net/core/dev.c:4189\n     netif_receive_skb_internal+0x1b5/0x390 net/core/dev.c:4217\n     napi_skb_finish net/core/dev.c:4542\n     napi_gro_receive+0x2bd/0x3c0 net/core/dev.c:4572\n     e1000_clean_rx_irq+0x4e2/0x1100 drivers/net/ethernet/intel/e1000e/netdev.c:1038\n     e1000_clean+0xa08/0x24a0 drivers/net/ethernet/intel/e1000/e1000_main.c:3819\n     napi_poll net/core/dev.c:5074\n     net_rx_action+0x7eb/0xdf0 net/core/dev.c:5139\n     __do_softirq+0x26a/0x920 kernel/softirq.c:273\n     invoke_softirq kernel/softirq.c:350\n     irq_exit+0x18f/0x1d0 kernel/softirq.c:391\n     exiting_irq ./arch/x86/include/asm/apic.h:659\n     do_IRQ+0x86/0x1a0 arch/x86/kernel/irq.c:252\n     ret_from_intr+0x0/0x20 arch/x86/entry/entry_64.S:520\n     arch_safe_halt ./arch/x86/include/asm/paravirt.h:117\n     default_idle+0x52/0x2e0 arch/x86/kernel/process.c:304\n     arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:295\n     default_idle_call+0x48/0xa0 kernel/sched/idle.c:92\n     cpuidle_idle_call kernel/sched/idle.c:156\n     cpu_idle_loop kernel/sched/idle.c:252\n     cpu_startup_entry+0x554/0x710 kernel/sched/idle.c:300\n     rest_init+0x192/0x1a0 init/main.c:412\n     start_kernel+0x678/0x69e init/main.c:683\n     x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:195\n     x86_64_start_kernel+0x158/0x167 arch/x86/kernel/head64.c:184\n\n  to a SOFTIRQ-irq-unsafe lock:\n   (split_queue_lock){+.+...}\n   which became SOFTIRQ-irq-unsafe at:\n     mark_irqflags kernel/locking/lockdep.c:2817\n     __lock_acquire+0x146e/0x4700 kernel/locking/lockdep.c:3162\n     lock_acquire+0x1dc/0x430 kernel/locking/lockdep.c:3585\n     __raw_spin_lock include/linux/spinlock_api_smp.h:144\n     _raw_spin_lock+0x33/0x50 kernel/locking/spinlock.c:151\n     spin_lock include/linux/spinlock.h:302\n     split_huge_page_to_list+0xcc0/0x1c50 mm/huge_memory.c:3399\n     split_huge_page include/linux/huge_mm.h:99\n     queue_pages_pte_range+0xa38/0xef0 mm/mempolicy.c:507\n     walk_pmd_range mm/pagewalk.c:50\n     walk_pud_range mm/pagewalk.c:90\n     walk_pgd_range mm/pagewalk.c:116\n     __walk_page_range+0x653/0xcd0 mm/pagewalk.c:204\n     walk_page_range+0xfe/0x2b0 mm/pagewalk.c:281\n     queue_pages_range+0xfb/0x130 mm/mempolicy.c:687\n     migrate_to_node mm/mempolicy.c:1004\n     do_migrate_pages+0x370/0x4e0 mm/mempolicy.c:1109\n     SYSC_migrate_pages mm/mempolicy.c:1453\n     SyS_migrate_pages+0x640/0x730 mm/mempolicy.c:1374\n     entry_SYSCALL_64_fastpath+0x16/0x7a arch/x86/entry/entry_64.S:185\n\n  other info that might help us debug this:\n\n   Possible interrupt unsafe locking scenario:\n\n         CPU0                    CPU1\n         ----                    ----\n    lock(split_queue_lock);\n                                 local_irq_disable();\n                                 lock(slock-AF_INET);\n                                 lock(split_queue_lock);\n    <Interrupt>\n      lock(slock-AF_INET);\n\nSigned-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\nReported-by: Dmitry Vyukov <dvyukov@google.com>\nAcked-by: David Rientjes <rientjes@google.com>\nReviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/0b9b6fff7b4caf5838550151d15b389aaa217707"},{"sha":"f4be6153cca6c88eaf1e52931d9a010ad4ad940e","author":{"email":"eec72676ad9a62f2727dfed6d270d98c0d02adec@linux.intel.com","name":"Kirill A. Shutemov"},"message":"fs/proc/task_mmu.c: add workaround for old compilers\n\nFor THP=n, HPAGE_PMD_NR in smaps_account() expands to BUILD_BUG().\nThat's fine since this codepath is eliminated by modern compilers.\n\nBut older compilers have not that efficient dead code elimination.  It\ncauses problem at least with gcc 4.1.2 on m68k:\n\n   fs/built-in.o: In function `smaps_account':\n   task_mmu.c:(.text+0x4f8fa): undefined reference to `__compiletime_assert_471'\n\nLet's replace HPAGE_PMD_NR with 1 << compound_order(page).\n\nSigned-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\nReported-by: Geert Uytterhoeven <geert@linux-m68k.org>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/f4be6153cca6c88eaf1e52931d9a010ad4ad940e"},{"sha":"dcd6c87cc59af1b4fe7664b35c6344bbe1c9928f","author":{"email":"ba324ca7b1c77fc20bb970d5aff6eea9377918a5@roeck-us.net","name":"Guenter Roeck"},"message":"mm: arch: remove duplicate definitions of MADV_FREE\n\nCommits 21f55b018ba5 (\"arch/*/include/uapi/asm/mman.h: : let MADV_FREE\nhave same value for all architectures\") and ef58978f1eaa (\"mm: define\nMADV_FREE for some arches\") both defined MADV_FREE, but did not use the\nsame values.  This results in build errors such as\n\n  ./arch/alpha/include/uapi/asm/mman.h:53:0: error: \"MADV_FREE\" redefined\n  ./arch/alpha/include/uapi/asm/mman.h:50:0: note: this is the location of the previous definition\n\nfor the affected architectures.\n\nFixes: 21f55b018ba5 (\"arch/*/include/uapi/asm/mman.h: : let MADV_FREE have same value for all architectures\")\nFixes: ef58978f1eaa (\"mm: define MADV_FREE for some arches\")\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>\nCc: Chen Gang <gang.chen.5i5j@gmail.com>\nCc: Minchan Kim <minchan@kernel.org>\nAcked-by: Helge Deller <deller@gmx.de>\t[parisc]\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/dcd6c87cc59af1b4fe7664b35c6344bbe1c9928f"},{"sha":"c102f07ca0b04f2cb49cfc161c83f6239d17f491","author":{"email":"e78b489bb1ad4561c8e0b70045308856a13dbafc@lge.com","name":"Junil Lee"},"message":"zsmalloc: fix migrate_zspage-zs_free race condition\n\nrecord_obj() in migrate_zspage() does not preserve handle's\nHANDLE_PIN_BIT, set by find_aloced_obj()->trypin_tag(), and implicitly\n(accidentally) un-pins the handle, while migrate_zspage() still performs\nan explicit unpin_tag() on the that handle.  This additional explicit\nunpin_tag() introduces a race condition with zs_free(), which can pin\nthat handle by this time, so the handle becomes un-pinned.\n\nSchematically, it goes like this:\n\n  CPU0                                        CPU1\n  migrate_zspage\n    find_alloced_obj\n      trypin_tag\n        set HANDLE_PIN_BIT                    zs_free()\n                                                pin_tag()\n  obj_malloc() -- new object, no tag\n  record_obj() -- remove HANDLE_PIN_BIT           set HANDLE_PIN_BIT\n  unpin_tag()  -- remove zs_free's HANDLE_PIN_BIT\n\nThe race condition may result in a NULL pointer dereference:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 00000000\n  CPU: 0 PID: 19001 Comm: CookieMonsterCl Tainted:\n  PC is at get_zspage_mapping+0x0/0x24\n  LR is at obj_free.isra.22+0x64/0x128\n  Call trace:\n     get_zspage_mapping+0x0/0x24\n     zs_free+0x88/0x114\n     zram_free_page+0x64/0xcc\n     zram_slot_free_notify+0x90/0x108\n     swap_entry_free+0x278/0x294\n     free_swap_and_cache+0x38/0x11c\n     unmap_single_vma+0x480/0x5c8\n     unmap_vmas+0x44/0x60\n     exit_mmap+0x50/0x110\n     mmput+0x58/0xe0\n     do_exit+0x320/0x8dc\n     do_group_exit+0x44/0xa8\n     get_signal+0x538/0x580\n     do_signal+0x98/0x4b8\n     do_notify_resume+0x14/0x5c\n\nThis patch keeps the lock bit in migration path and update value\natomically.\n\nSigned-off-by: Junil Lee <junil0814.lee@lge.com>\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nAcked-by: Vlastimil Babka <vbabka@suse.cz>\nCc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>\nCc: <stable@vger.kernel.org> [4.1+]\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/c102f07ca0b04f2cb49cfc161c83f6239d17f491"},{"sha":"75339d825ae5b1cd5bd6d4b1db3b4b7c12d7b3e9","author":{"email":"6f29df8e90a57f1ba61ffd63b0468c86bb6d3a99@infradead.org","name":"Randy Dunlap"},"message":"misc: ibmasm: fix build errors\n\nFix build when CONFIG_SERIAL_8250=m and CONFIG_IBM_ASM=y.\n\nFixes these build errors:\n\n  drivers/built-in.o: In function `ibmasm_remove_one':\n  module.c:(.text+0xf6874): undefined reference to `ibmasm_unregister_uart'\n  drivers/built-in.o: In function `ibmasm_init_one':\n  module.c:(.text+0xf6c37): undefined reference to `ibmasm_register_uart'\n\nSigned-off-by: Randy Dunlap <rdunlap@infradead.org>\nCc: Max Asbock <masbock@us.ibm.com>\nCc: Vernon Mauery <vernux@us.ibm.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/75339d825ae5b1cd5bd6d4b1db3b4b7c12d7b3e9"},{"sha":"be17bddc6907f65b0a9f0ff77200a6d403ac41d1","author":{"email":"16a9a54ddf4259952e3c118c763138e83693d7fd@perches.com","name":"Joe Perches"},"message":"scripts/get_maintainer.pl: handle file names beginning with ./\n\nThe problem is that get_maintainer.pl doesn't work if you have a ./\nprefix on the filename.  For example, if you type:\n\n  ./scripts/get_maintainer.pl -f ./drivers/usb/usb-skeleton.c\n\nthen the current code only includes LKML and people from the git log, it\ndoesn't include Greg or the linux-usb list.\n\nReported-by: Dan Carpenter <dan.carpenter@oracle.com>\nCc: Joe Perches <joe@perches.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/stefanberger/linux/commits/be17bddc6907f65b0a9f0ff77200a6d403ac41d1"}]}