[PATCH v3 27/33] powerpc: Convert to printbuf

2022-06-05 Thread Kent Overstreet
This converts from seq_buf to printbuf. We're using printbuf in external buffer mode, so it's a direct conversion, aside from some trivial refactoring in cpu_show_meltdown() to make the code more consistent. Signed-off-by: Kent Overstreet Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel

Re: [PATCH 6/6] openrisc/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT

2022-06-05 Thread Anshuman Khandual
On 6/5/22 11:37, Stafford Horne wrote: > On Fri, Jun 03, 2022 at 03:44:11PM +0530, Anshuman Khandual wrote: >> This defines and exports a platform specific custom vm_get_page_prot() via >> subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX >> macros can be dropped which ar

Re: [PATCH 4/6] csky/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT

2022-06-05 Thread Anshuman Khandual
On 6/4/22 17:43, Guo Ren wrote: > Acked-by: Guo Ren I will resend this series with suggested changes. > > On Fri, Jun 3, 2022 at 6:15 PM Anshuman Khandual > wrote: >> >> This defines and exports a platform specific custom vm_get_page_prot() via >> subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subs

Re: [PATCH 2/6] s390/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT

2022-06-05 Thread Anshuman Khandual
On 6/3/22 17:55, Christophe Leroy wrote: > > > Le 03/06/2022 à 12:14, Anshuman Khandual a écrit : >> This defines and exports a platform specific custom vm_get_page_prot() via >> subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX >> macros can be dropped which are no lon

Re: [PATCH 1/6] mm/mmap: Restrict generic protection_map[] array visibility

2022-06-05 Thread Anshuman Khandual
On 6/3/22 17:48, Christophe Leroy wrote: > > > Le 03/06/2022 à 12:14, Anshuman Khandual a écrit : >> Restrict generic protection_map[] array visibility only for platforms which >> do not enable ARCH_HAS_VM_GET_PAGE_PROT. For other platforms that do define >> their own vm_get_page_prot() enabli

Re: [PATCH v1] kernel/reboot: Change registration order of legacy power-off handler

2022-06-05 Thread Dmitry Osipenko
Hi Michael, On 6/5/22 05:01, Michael Ellerman wrote: > Dmitry Osipenko writes: >> We're unconditionally registering sys-off handler for the legacy >> pm_power_off() callback, this causes problem for platforms that don't >> use power-off handlers at all and should be halted. Now reboot syscall >

Re: [PATCH 2/2] powerpc/mobility: disabling hard lockup watchdog during LPM

2022-06-05 Thread kernel test robot
onfig-r002-20220605 (https://download.01.org/0day-ci/archive/20220606/202206060910.ryntfqdi-...@intel.com/config) compiler: powerpc64-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

[PATCH V2] ASoC: imx-audmux: remove unnecessary check of clk_disable_unprepare/clk_prepare_enable

2022-06-05 Thread cgel . zte
From: Minghao Chi Because clk_disable_unprepare/clk_prepare_enable already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Reported-by: Zeal Robot Signed-off-by: Minghao Chi --- v1->v2: remove the check of audmux_clk before "clk_prepare_enable"