{"push_id":823669774,"size":15,"distinct_size":15,"ref":"refs/heads/next","head":"891121e6c02c6242487aa4ea1d5c75b7ecdc45ee","before":"2adc48a691866fbb3134dd3abd77647a8b5a9307","commits":[{"sha":"7d523187173294f6ae3b86a48e442122b1aecc38","author":{"email":"aa5b4d6ac057e7b0849afbbced06a03fc6c87d45@wanadoo.fr","name":"Christophe Jaillet"},"message":"powerpc/nvram: Add missing kfree in error path\n\nIf 'nvram_write_header' fails, then 'new_part' should be freed, otherwise,\nthere is a memory leak.\n\nSigned-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/7d523187173294f6ae3b86a48e442122b1aecc38"},{"sha":"b6080db4f4e8bf28717b832976efc421de25b86c","author":{"email":"aa5b4d6ac057e7b0849afbbced06a03fc6c87d45@wanadoo.fr","name":"Christophe Jaillet"},"message":"powerpc/nvram: Fix function name in some errors messages.\n\n'nvram_create_os_partition' should be 'nvram_create_partition'.\nUse __func__ to have it right, as done elsewhere in this file.\n\nSigned-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/b6080db4f4e8bf28717b832976efc421de25b86c"},{"sha":"5ada62b1070a57562664713bbf46a78d5dc4cb23","author":{"email":"0d18f8336f2f75f44655e0db45e62a88edb4ec0c@linux-powerpc.org","name":"Denis Kirjanov"},"message":"agp/uninorth: fix a memleak in create_gatt_table\n\nFix the memory leak in create_gatt_table:\nwe've lost a kfree on the exit path for the pages array allocated\nin uninorth_create_gatt_table\n\nSigned-off-by: Denis Kirjanov <kda@linux-powerpc.org>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/5ada62b1070a57562664713bbf46a78d5dc4cb23"},{"sha":"948ad1acaf456b7213731cd9eb58654930335070","author":{"email":"74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com","name":"Andy Shevchenko"},"message":"powerpc/pseries: extract of_helpers module\n\nExtract a new module to share the code between other modules.\n\nThere is no functional change.\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/948ad1acaf456b7213731cd9eb58654930335070"},{"sha":"dc85aaed64804205c476d06cebe4c94f66fd8a20","author":{"email":"74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com","name":"Andy Shevchenko"},"message":"powerpc/pseries: fix a potential memory leak\n\nIn case we have a full node name like /foo/bar and /foo is not found the\nparent_path left unfreed. So, free a memory before return to a caller.\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/dc85aaed64804205c476d06cebe4c94f66fd8a20"},{"sha":"a030e1e4bbd085bbcfd0a23f8d355fcd41f39bed","author":{"email":"74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com","name":"Andy Shevchenko"},"message":"powerpc/pseries: replace kmalloc + strlcpy\n\nThe helper kstrndup() will do the same in one line.\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/a030e1e4bbd085bbcfd0a23f8d355fcd41f39bed"},{"sha":"a46d9884096c15ec17505b9b3d19f5e0672deff3","author":{"email":"74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com","name":"Andy Shevchenko"},"message":"powerpc/pseries: handle nodes without '/'\n\nIn case we have node without '/' strrchr() returns NULL which might lead to\ncrash. Replace strrchr() by kbasename() and modify condition to avoid such\nbehaviour.\n\nSuggested-by: Segher Boessenkool <segher@kernel.crashing.org>\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/a46d9884096c15ec17505b9b3d19f5e0672deff3"},{"sha":"06bacefcbd5f91efb7ffedc17615fa188d6ce406","author":{"email":"74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com","name":"Andy Shevchenko"},"message":"powerpc/pseries: re-use code from of_helpers module\n\nThe derive_parent() has similar semantics to what we have in newly introduced\nof_helpers module. The replacement reduces code base and propagates the actual\nerror code to the caller.\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/06bacefcbd5f91efb7ffedc17615fa188d6ce406"},{"sha":"cb2d3883c6033831e2a93b396fcc43033108409c","author":{"email":"0d18f8336f2f75f44655e0db45e62a88edb4ec0c@linux-powerpc.org","name":"Denis Kirjanov"},"message":"powerpc/msi: Free the bitmap if it was slab allocated\n\nDuring the MSI bitmap test on boot kmemleak spews the following trace:\n\nunreferenced object 0xc00000016e86c900 (size 64):\n    comm \"swapper/0\", pid 1, jiffies 4294893173 (age 518.024s)\n    hex dump (first 32 bytes):\n\t00 00 01 ff 7f ff 7f 37 00 00 00 00 00 00 00 00\n\t.......7........\n\tff ff ff ff ff ff ff ff 01 ff ff ff ff\n\tff ff ff\n\t................\n\tbacktrace:\n\t[<c00000000003eebc>] .zalloc_maybe_bootmem+0x3c/0x380\n\t[<c000000000042d6c>] .msi_bitmap_alloc+0x3c/0xb0\n\t[<c000000000a9aff8>] .msi_bitmap_selftest+0x30/0x2b4\n\t[<c0000000000090f4>] .do_one_initcall+0xd4/0x270\n\t[<c000000000a8e250>] .kernel_init_freeable+0x1a0/0x280\n\t[<c000000000009b5c>] .kernel_init+0x1c/0x120\n\t[<c000000000007fbc>] .ret_from_kernel_thread+0x58/0x9c\n\nAdd a flag to msi_bitmap for tracking allocations from slab and memblock\nso we can properly free/handle memory in msi_bitmap_free().\n\nSigned-off-by: Denis Kirjanov <kda@linux-powerpc.org>\nReviewed-by: Catalin Marinas <catalin.marinas@arm.com>\n[mpe: Reword changelog & use bitmap_from_slab in the if]\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/cb2d3883c6033831e2a93b396fcc43033108409c"},{"sha":"255e8e046c3925ee45a869466221a48d38451b39","author":{"email":"4e2d3d12816ace76f1cfa36c1816509bd24cf089@c-s.fr","name":"Christophe Leroy"},"message":"powerpc/8xx: Shorten irq_chip name for the SIU\n\nshow_interrupts() expects the irq_chip name to be max 8 characters\notherwise everything get misaligned\n\n# cat /proc/interrupts\n           CPU0\n 17:          0   CPM PIC   0 Level     error\n 19:          0  MPC8XX SIU  15 Level     tbint\n 20:         90   CPM PIC   4 Level     cpm_uart\n 38:      29746  MPC8XX SIU   5 Level     fs_enet-mac\n 39:          0  MPC8XX SIU   7 Level     fs_enet-mac\n 47:        401   CPM PIC   5 Level     fsl_spi\n 68:          1  MPC8XX SIU   2 Level     phy_interrupt, phy_interrupt, phy_interrupt\nLOC:    7225485   Local timer interrupts for timer event device\nLOC:          9   Local timer interrupts for others\nSPU:          0   Spurious interrupts\nPMI:          0   Performance monitoring interrupts\nMCE:          0   Machine check exceptions\n\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/255e8e046c3925ee45a869466221a48d38451b39"},{"sha":"1b70386c99e997b359735c753ca1a27c6cf87847","author":{"email":"ce35fd21fe38dbd75c01124bec431654a5f8eea9@au1.ibm.com","name":"Samuel Mendoza-Jonas"},"message":"powerpc/kexec: Wait 1s for secondaries to enter OPAL\n\nAlways include a timeout when waiting for secondary cpus to enter OPAL\nin the kexec path, rather than only when crashing.\n\nSigned-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/1b70386c99e997b359735c753ca1a27c6cf87847"},{"sha":"f78f7ed72632a0794161f290b89e2cd752f55202","author":{"email":"f511f818e8a0748edef6b9ee378967da9ed0c78f@linux.vnet.ibm.com","name":"Aneesh Kumar K.V"},"message":"powerpc: Fix _ALIGN_* errors due to type difference.\n\nThis avoid errors like\n\n        unsigned int usize = 1 << 30;\n        int size = 1 << 30;\n        unsigned long addr = 64UL << 30 ;\n\n        value = _ALIGN_DOWN(addr, usize); -> 0\n        value = _ALIGN_DOWN(addr, size);  -> 0x1000000000\n\nSigned-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/f78f7ed72632a0794161f290b89e2cd752f55202"},{"sha":"c13e1c05b22b504bf0d72fc762a02be37df2d1b0","author":{"email":"d100aa70785e45ee8deab668147d941941915c21@canonical.com","name":"Colin Ian King"},"message":"powerpc/pseries/hvcserver: don't memset pi_buff if it is null\n\npi_buff is being memset before it is sanity checked. Move the\nmemset after the null pi_buff sanity check to avoid an oops.\n\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/c13e1c05b22b504bf0d72fc762a02be37df2d1b0"},{"sha":"ec2640b114d535ba7d895b6ee353791d542f2407","author":{"email":"f511f818e8a0748edef6b9ee378967da9ed0c78f@linux.vnet.ibm.com","name":"Aneesh Kumar K.V"},"message":"powerpc/mm: Disable hugepd for 64K page size.\n\nAfter commit e2b3d202d1dba8f3546ed28224ce485bc50010be\n(\"powerpc: Switch 16GB and 16MB explicit hugepages to a\ndifferent page table format\"), we don't need to support\nis_hugepd() for 64K page size.\n\nSigned-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/ec2640b114d535ba7d895b6ee353791d542f2407"},{"sha":"891121e6c02c6242487aa4ea1d5c75b7ecdc45ee","author":{"email":"f511f818e8a0748edef6b9ee378967da9ed0c78f@linux.vnet.ibm.com","name":"Aneesh Kumar K.V"},"message":"powerpc/mm: Differentiate between hugetlb and THP during page walk\n\nWe need to properly identify whether a hugepage is an explicit or\na transparent hugepage in follow_huge_addr(). We used to depend\non hugepage shift argument to do that. But in some case that can\nresult in wrong results. For ex:\n\nOn finding a transparent hugepage we set hugepage shift to PMD_SHIFT.\nBut we can end up clearing the thp pte, via pmdp_huge_get_and_clear.\nWe do prevent reusing the pfn page via the usage of\nkick_all_cpus_sync(). But that happens after we updated the pte to 0.\nHence in follow_huge_addr() we can find hugepage shift set, but transparent\nhuge page check fail for a thp pte.\n\nNOTE: We fixed a variant of this race against thp split in commit\n691e95fd7396905a38d98919e9c150dbc3ea21a3\n(\"powerpc/mm/thp: Make page table walk safe against thp split/collapse\")\n\nWithout this patch, we may hit the BUG_ON(flags & FOLL_GET) in\nfollow_page_mask occasionally.\n\nIn the long term, we may want to switch ppc64 64k page size config to\nenable CONFIG_ARCH_WANT_GENERAL_HUGETLB\n\nReported-by: David Gibson <david@gibson.dropbear.id.au>\nSigned-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/891121e6c02c6242487aa4ea1d5c75b7ecdc45ee"}]}