Re: [PATCH v2 3/5] libnvdimm/nvdimm/flush: Allow architecture to override the flush barrier

2020-05-22 Thread Michal Suchánek
On Thu, May 21, 2020 at 02:52:30PM -0400, Mikulas Patocka wrote: > > > On Thu, 21 May 2020, Dan Williams wrote: > > > On Thu, May 21, 2020 at 10:03 AM Aneesh Kumar K.V > > wrote: > > > > > > > Moving on to the patch itself--Aneesh, have you audited other persistent > > > > memory users in the

Re: [PATCH V3 0/3] arm64: Enable vmemmap mapping from device memory

2020-05-22 Thread Jia He
Hi On 2020/3/31 13:09, Anshuman Khandual wrote: This series enables vmemmap backing memory allocation from device memory ranges on arm64. But before that, it enables vmemmap_populate_basepages() and vmemmap_alloc_block_buf() to accommodate struct vmem_altmap based alocation requests. I

Re: [RESEND PATCH v7 4/5] ndctl/papr_scm, uapi: Add support for PAPR nvdimm specific methods

2020-05-22 Thread Vaibhav Jain
Michael Ellerman writes: > Ira Weiny writes: >> On Wed, May 20, 2020 at 12:30:57AM +0530, Vaibhav Jain wrote: >>> Introduce support for Papr nvDimm Specific Methods (PDSM) in papr_scm >>> modules and add the command family to the white list of NVDIMM command >>> sets. Also advertise support for

[PATCH] ASoC: fsl_asrc: Merge suspend/resume function to runtime_suspend/resume

2020-05-22 Thread Shengjiu Wang
With dedicated power domain for asrc, power can be disabled after probe and pm runtime suspend, then the value of all registers need to be restored in pm runtime resume. So we can merge suspend/resume function to runtime_suspend/resume function and enable regcache only in end of probe.

[powerpc:fixes-test] BUILD SUCCESS 8659a0e0efdd975c73355dbc033f79ba3b31e82c

2020-05-22 Thread kbuild test robot
x86_64 randconfig-a012-20200520 x86_64 randconfig-a014-20200520 x86_64 randconfig-a011-20200520 i386 randconfig-a013-20200522 i386 randconfig-a012-20200522 i386 randconfig-a015-20200522 i386

Re: [PATCH v2 3/5] libnvdimm/nvdimm/flush: Allow architecture to override the flush barrier

2020-05-22 Thread Mikulas Patocka
On Fri, 22 May 2020, Aneesh Kumar K.V wrote: > On 5/22/20 3:01 PM, Michal Suchánek wrote: > > On Thu, May 21, 2020 at 02:52:30PM -0400, Mikulas Patocka wrote: > > > > > > > > > On Thu, 21 May 2020, Dan Williams wrote: > > > > > > > On Thu, May 21, 2020 at 10:03 AM Aneesh Kumar K.V > > > >

Re: [PATCH v2 3/5] libnvdimm/nvdimm/flush: Allow architecture to override the flush barrier

2020-05-22 Thread Aneesh Kumar K.V
On 5/22/20 3:01 PM, Michal Suchánek wrote: On Thu, May 21, 2020 at 02:52:30PM -0400, Mikulas Patocka wrote: On Thu, 21 May 2020, Dan Williams wrote: On Thu, May 21, 2020 at 10:03 AM Aneesh Kumar K.V wrote: Moving on to the patch itself--Aneesh, have you audited other persistent memory

Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe

2020-05-22 Thread Mark Brown
On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote: > On Wed, May 20, 2020 at 8:38 PM Mark Brown wrote: > > Other drivers having problems means those drivers should be fixed, not > > that we should copy the problems. In the case of the PXA driver that's > > very old code which

Re: [RFC][PATCH 0/2] Add support for using reserved memory for ima buffer pass

2020-05-22 Thread Thiago Jung Bauermann
Hello Prakhar, Prakhar Srivastava writes: > On 5/12/20 4:05 PM, Rob Herring wrote: >> On Wed, May 06, 2020 at 10:50:04PM -0700, Prakhar Srivastava wrote: >>> Hi Mark, >> >> Please don't top post. >> >>> This patch set currently only address the Pure DT implementation. >>> EFI and ACPI

[PATCH v2] powerpc: Add ppc_inst_next()

2020-05-22 Thread Michael Ellerman
In a few places we want to calculate the address of the next instruction. Previously that was simple, we just added 4 bytes, or if using a u32 * we incremented that pointer by 1. But prefixed instructions make it more complicated, we need to advance by either 4 or 8 bytes depending on the actual

Re: [PATCH 09/29] arm64: use asm-generic/cacheflush.h

2020-05-22 Thread Catalin Marinas
On Fri, May 15, 2020 at 04:36:26PM +0200, Christoph Hellwig wrote: > ARM64 needs almost no cache flushing routines of its own. Rely on > asm-generic/cacheflush.h for the defaults. > > Signed-off-by: Christoph Hellwig Acked-by: Catalin Marinas

[GIT PULL] Please pull powerpc/linux.git powerpc-5.7-5 tag

2020-05-22 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.7: The following changes since commit 249c9b0cd193d983c3a0b00f3fd3b92333bfeebe: powerpc/40x: Make more space for system call exception (2020-05-12 21:22:11 +1000) are available in the git

Re: [PATCH v4 2/6] printk: honor the max_reason field in kmsg_dumper

2020-05-22 Thread Petr Mladek
On Fri 2020-05-15 11:44:30, Kees Cook wrote: > From: Pavel Tatashin > > kmsg_dump() allows to dump kmesg buffer for various system events: oops, > panic, reboot, etc. It provides an interface to register a callback call > for clients, and in that callback interface there is a field "max_reason"

Re: [PATCH v4 2/6] printk: honor the max_reason field in kmsg_dumper

2020-05-22 Thread Kees Cook
On Fri, May 22, 2020 at 06:51:20PM +0200, Petr Mladek wrote: > On Fri 2020-05-15 11:44:30, Kees Cook wrote: > > From: Pavel Tatashin > > > > kmsg_dump() allows to dump kmesg buffer for various system events: oops, > > panic, reboot, etc. It provides an interface to register a callback call > >

Re: [PATCH v3 0/2] PCI/ERR: Allow Native AER/DPC using _OSC

2020-05-22 Thread Derrick, Jonathan
On Fri, 2020-05-01 at 11:35 -0600, Jonathan Derrick wrote: > On Fri, 2020-05-01 at 12:16 -0500, Bjorn Helgaas wrote: > > On Thu, Apr 30, 2020 at 12:46:07PM -0600, Jon Derrick wrote: > > > Hi Bjorn & Kuppuswamy, > > > > > > I see a problem in the DPC ECN [1] to _OSC in that it doesn't give us a >

Re: [PATCH] kbuild: reuse vmlinux.o in vmlinux_link

2020-05-22 Thread Masahiro Yamada
+ Michael, and PPC ML. They may know something about the reason of failure. On Sat, May 23, 2020 at 2:41 AM Masahiro Yamada wrote: > > On Fri, May 22, 2020 at 5:27 AM Sami Tolvanen wrote: > > > > Instead of linking all compilation units again each time vmlinux_link is > > called, reuse

Re: [PATCH v4 1/6] printk: Collapse shutdown types into a single dump reason

2020-05-22 Thread Petr Mladek
On Fri 2020-05-15 11:44:29, Kees Cook wrote: > To turn the KMSG_DUMP_* reasons into a more ordered list, collapse > the redundant KMSG_DUMP_(RESTART|HALT|POWEROFF) reasons into > KMSG_DUMP_SHUTDOWN. The current users already don't meaningfully > distinguish between them, so there's no need to, as

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.7-5 tag

2020-05-22 Thread pr-tracker-bot
The pull request you sent on Sat, 23 May 2020 00:06:55 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.7-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c8347bbf19f265c1bd254ca148f27caa71e77d61 Thank you! --

Re: [PATCH v3 0/2] PCI/ERR: Allow Native AER/DPC using _OSC

2020-05-22 Thread Bjorn Helgaas
On Fri, May 22, 2020 at 05:23:31PM +, Derrick, Jonathan wrote: > On Fri, 2020-05-01 at 11:35 -0600, Jonathan Derrick wrote: > > On Fri, 2020-05-01 at 12:16 -0500, Bjorn Helgaas wrote: > > > On Thu, Apr 30, 2020 at 12:46:07PM -0600, Jon Derrick wrote: > > > > Hi Bjorn & Kuppuswamy, > > > > > >

Re: [v2 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 4:21 AM Biwen Li wrote: > > From: Biwen Li > > This removes interrupts property to drop warning as follows: > - $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > My case: > - RTC ds1339s INT pin

Re: [v2 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 4:21 AM Biwen Li wrote: > > From: Biwen Li > > This removes interrupts property to drop warning as follows: > - $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > My case: > - RTC ds1374's INT pin is

Re: [PATCH v3 0/2] PCI/ERR: Allow Native AER/DPC using _OSC

2020-05-22 Thread Kuppuswamy, Sathyanarayanan
Hi Bjorn, Derrick, On 5/22/20 12:46 PM, Bjorn Helgaas wrote: On Fri, May 22, 2020 at 05:23:31PM +, Derrick, Jonathan wrote: On Fri, 2020-05-01 at 11:35 -0600, Jonathan Derrick wrote: On Fri, 2020-05-01 at 12:16 -0500, Bjorn Helgaas wrote: On Thu, Apr 30, 2020 at 12:46:07PM -0600, Jon

Re: [PATCH] soc: fsl: qe: clean up an indentation issue

2020-05-22 Thread Li Yang
On Fri, Mar 27, 2020 at 11:15 AM Colin King wrote: > > From: Colin Ian King > > There is a statement that not indented correctly, remove the > extraneous space. > > Signed-off-by: Colin Ian King Applied for next. Thanks. > --- > drivers/soc/fsl/qe/ucc.c | 2 +- > 1 file changed, 1

Re: [PATCH -next] soc: fsl: dpio: Remove unused inline function qbman_write_eqcr_am_rt_register

2020-05-22 Thread Li Yang
On Fri, May 8, 2020 at 9:13 AM YueHaibing wrote: > > There's no callers in-tree anymore since commit > 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode > enqueue") > > Signed-off-by: YueHaibing Applied to next. Thanks. Regards, Leo > --- >

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 10:24 PM Kees Cook wrote: > > On Wed, May 20, 2020 at 06:52:21PM -0500, Li Yang wrote: > > On Mon, May 18, 2020 at 5:57 PM Kees Cook wrote: > > > Hm, looking at this code, I see a few other things that need to be > > > fixed: > > > > > > 1) drivers/tty/serial/ucc_uart.c

Re: [PATCH] treewide: Replace zero-length array with flexible-array

2020-05-22 Thread Li Yang
On Thu, May 7, 2020 at 1:49 PM Gustavo A. R. Silva wrote: > > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99:

Re: [PATCH] usb: gadget: fsl: Fix a wrong judgment in fsl_udc_probe()

2020-05-22 Thread Li Yang
On Tue, Apr 14, 2020 at 4:13 AM Tang Bin wrote: > > Hi > > On 2020/4/14 16:30, Dan Carpenter wrote: > > On Fri, Apr 10, 2020 at 04:05:06PM +0800, Tang Bin wrote: > >>> > Thus it must be fixed. > >>> Wording alternative: > >>> Thus adjust the error detection and corresponding exception

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-22 Thread Li Yang
On Mon, May 18, 2020 at 5:16 PM Gustavo A. R. Silva wrote: > > The current codebase makes use of one-element arrays in the following > form: > > struct something { > int length; > u8 data[1]; > }; > > struct something *instance; > > instance = kmalloc(sizeof(*instance) + size,

Re: [PATCH -next] soc: fsl: qbman: Remove unused inline function qm_eqcr_get_ci_stashing

2020-05-22 Thread Li Yang
On Fri, May 8, 2020 at 9:11 AM YueHaibing wrote: > > There's no callers in-tree anymore. > > Signed-off-by: YueHaibing Applied for next. Thanks. Regards, Leo > --- > drivers/soc/fsl/qbman/qman.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/drivers/soc/fsl/qbman/qman.c

Re: [PATCH] net/ethernet/freescale: rework quiesce/activate for ucc_geth

2020-05-22 Thread David Miller
From: Valentin Longchamp Date: Wed, 20 May 2020 17:53:50 +0200 > ugeth_quiesce/activate are used to halt the controller when there is a > link change that requires to reconfigure the mac. > > The previous implementation called netif_device_detach(). This however > causes the initial activation