Re: [PATCH v10 3/8] KVM: PPC: Shared pages support for secure guests

2019-11-06 Thread Bharata B Rao
On Wed, Nov 06, 2019 at 03:52:38PM +1100, Paul Mackerras wrote: > On Mon, Nov 04, 2019 at 09:47:55AM +0530, Bharata B Rao wrote: > > A secure guest will share some of its pages with hypervisor (Eg. virtio > > bounce buffers etc). Support sharing of pages between hypervisor and > > ultravisor. > >

Re: [PATCH v10 3/8] KVM: PPC: Shared pages support for secure guests

2019-11-06 Thread Bharata B Rao
On Wed, Nov 06, 2019 at 01:52:39PM +0530, Bharata B Rao wrote: > > However, since kvmppc_gfn_is_uvmem_pfn() returned true, doesn't that > > mean that pfn here should be a device pfn, and in fact should be the > > same as uvmem_pfn (possibly with some extra bit(s) set)? > > If secure page is being

Re: [PATCH v10 4/8] KVM: PPC: Radix changes for secure guest

2019-11-06 Thread Bharata B Rao
On Wed, Nov 06, 2019 at 04:58:23PM +1100, Paul Mackerras wrote: > On Mon, Nov 04, 2019 at 09:47:56AM +0530, Bharata B Rao wrote: > > - After the guest becomes secure, when we handle a page fault of a page > > belonging to SVM in HV, send that page to UV via UV_PAGE_IN. > > - Whenever a page is un

RE: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-11-06 Thread Xiaowei Bao
> -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年11月5日 20:38 > To: Kishon Vijay Abraham I > Cc: Andrew Murray ; Xiaowei Bao > ; gustavo.pimen...@synopsys.com; > bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; > lorenzo.pieral...@

RE: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-11-06 Thread Gustavo Pimentel
On Thu, Aug 29, 2019 at 6:13:18, Kishon Vijay Abraham I wrote: Hi, this email slip away from my attention... > Gustavo, > > On 27/08/19 6:55 PM, Andrew Murray wrote: > > On Sat, Aug 24, 2019 at 12:08:40AM +, Xiaowei Bao wrote: > >> > >> > >>> -Original Message- > >>> From: Andrew M

Re: [PATCH 26/50] powerpc: Add show_stack_loglvl()

2019-11-06 Thread Michael Ellerman
Dmitry Safonov writes: > Currently, the log-level of show_stack() depends on a platform > realization. It creates situations where the headers are printed with > lower log level or higher than the stacktrace (depending on > a platform or user). Yes, I've had bug reports where the stacktrace is mi

[RFC PATCH 03/12] macintosh: convert to i2c_new_scanned_device

2019-11-06 Thread Wolfram Sang
Move from the deprecated i2c_new_probed_device() to the new i2c_new_scanned_device(). Make use of the new ERRPTR if suitable. Signed-off-by: Wolfram Sang --- Build tested only. RFC, please comment and/or ack, but don't apply yet. drivers/macintosh/therm_windtunnel.c | 4 ++-- 1 file changed, 2

[RFC PATCH 00/12] i2c: replace i2c_new_probed_device with an ERR_PTR variant

2019-11-06 Thread Wolfram Sang
From: Wolfram Sang In the on-going mission to let i2c_new_* calls return an ERR_PTR instead of NULL, here is a series converting i2c_new_probed_device(). A new function called i2c_new_scanned_device() is introduced with the new retval, but for now, a compatibility helper is provided until all use

RE: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-11-06 Thread Xiaowei Bao
> -Original Message- > From: Gustavo Pimentel > Sent: 2019年11月6日 17:40 > To: Kishon Vijay Abraham I ; Andrew Murray > ; Xiaowei Bao ; > gustavo.pimen...@synopsys.com > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; > lorenzo.pieral...@a

Re: [RFC PATCH 00/12] i2c: replace i2c_new_probed_device with an ERR_PTR variant

2019-11-06 Thread Sean Young
On Wed, Nov 06, 2019 at 10:50:18AM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > In the on-going mission to let i2c_new_* calls return an ERR_PTR instead > of NULL, here is a series converting i2c_new_probed_device(). A new > function called i2c_new_scanned_device() is introduced with the n

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Petr Mladek
On Wed 2019-11-06 03:04:51, Dmitry Safonov wrote: > Add log level argument to show_stack(). > Done in three stages: > 1. Introducing show_stack_loglvl() for every architecture > 2. Migrating old users with an explicit log level > 3. Renaming show_stack_loglvl() into show_stack() > > Justification:

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Peter Zijlstra
On Wed, Nov 06, 2019 at 03:04:51AM +, Dmitry Safonov wrote: > Add log level argument to show_stack(). > Done in three stages: > 1. Introducing show_stack_loglvl() for every architecture > 2. Migrating old users with an explicit log level > 3. Renaming show_stack_loglvl() into show_stack() > >

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-11-06 Thread Aneesh Kumar K.V
Dan Williams writes: > On Wed, Oct 30, 2019 at 10:35 PM Aneesh Kumar K.V > wrote: > [..] >> > True, for the pfn device and the device-dax mapping size, but I'm >> > suggesting adding another instance of alignment control at the raw >> > namespace level. That would need to be disconnected from th

Re: [PATCH V2 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm

2019-11-06 Thread S.j. Wang
Hi Rob > > Hi > > > > On Wed, Oct 30, 2019 at 07:41:26PM +0800, Shengjiu Wang wrote: > > > In order to support the two asrc modules in imx8qm, we need to add > > > compatible string "fsl,imx8qm-asrc0" and "fsl,imx8qm-asrc1" > > > > Are the blocks different in some way? > > > > If not, why do you n

Re: [alsa-devel] [PATCH] ASoC: fsl_audmix: Add spin lock to protect tdms

2019-11-06 Thread Daniel Baluta
Hi Shengjiu, Comments inline. On Wed, Nov 6, 2019 at 9:30 AM Shengjiu Wang wrote: > > Audmix support two substream, When two substream start > to run, the trigger function may be called by two substream > in same time, that the priv->tdms may be updated wrongly. > > The expected priv->tdms is 0x

Re: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-11-06 Thread Kishon Vijay Abraham I
Gustavo, On 06/11/19 3:10 PM, Gustavo Pimentel wrote: > On Thu, Aug 29, 2019 at 6:13:18, Kishon Vijay Abraham I > wrote: > > Hi, this email slip away from my attention... > >> Gustavo, >> >> On 27/08/19 6:55 PM, Andrew Murray wrote: >>> On Sat, Aug 24, 2019 at 12:08:40AM +, Xiaowei Bao wro

[PATCH v2 00/10] Improvements for random.h/archrandom.h

2019-11-06 Thread Richard Henderson
During patch review for an addition of archrandom.h for arm64, it was suggeted that the arch_random_get_* functions should be marked __must_check. Which does sound like a good idea, since the by-reference integer output may be uninitialized when the boolean result is false. In addition, it turns o

[PATCH v2 01/10] x86: Remove arch_has_random, arch_has_random_seed

2019-11-06 Thread Richard Henderson
Use the expansion of these macros directly in arch_get_random_*. These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson --- arch/x86/include/asm/archrandom.h | 12 1 file changed, 4 inser

[PATCH v2 02/10] powerpc: Remove arch_has_random, arch_has_random_seed

2019-11-06 Thread Richard Henderson
These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson --- arch/powerpc/include/asm/archrandom.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/powerpc/include/asm/archrandom.h b/

[PATCH v2 03/10] s390: Remove arch_has_random, arch_has_random_seed

2019-11-06 Thread Richard Henderson
These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson --- arch/s390/include/asm/archrandom.h | 12 1 file changed, 12 deletions(-) diff --git a/arch/s390/include/asm/archrandom.h b/arch

[PATCH v2 04/10] linux/random.h: Remove arch_has_random, arch_has_random_seed

2019-11-06 Thread Richard Henderson
The arm64 version of archrandom.h will need to be able to test for support and read the random number without preemption, so a separate query predicate is not practical. Since this part of the generic interface is unused, remove it. Signed-off-by: Richard Henderson --- include/linux/random.h |

[PATCH v2 05/10] linux/random.h: Use false with bool

2019-11-06 Thread Richard Henderson
Keep the generic fallback versions in sync with the other architecture specific implementations and use the proper name for false. Suggested-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- include/linux/random.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[PATCH v2 06/10] linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check

2019-11-06 Thread Richard Henderson
We must not use the pointer output without validating the success of the random read. Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- include/linux/random.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/random.h b/include/linux/random

[PATCH v2 07/10] x86: Mark archrandom.h functions __must_check

2019-11-06 Thread Richard Henderson
We must not use the pointer output without validating the success of the random read. Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- arch/x86/include/asm/archrandom.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/include/asm/arch

[PATCH v2 08/10] powerpc: Use bool in archrandom.h

2019-11-06 Thread Richard Henderson
The generic interface uses bool not int; match that. Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- arch/powerpc/include/asm/archrandom.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/include/asm/archrandom.h b/arch/powerpc

[PATCH v2 09/10] powerpc: Mark archrandom.h functions __must_check

2019-11-06 Thread Richard Henderson
We must not use the pointer output without validating the success of the random read. Acked-by: Michael Ellerman Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- arch/powerpc/include/asm/archrandom.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ar

[PATCH v2 10/10] s390x: Mark archrandom.h functions __must_check

2019-11-06 Thread Richard Henderson
We must not use the pointer output without validating the success of the random read. Reviewed-by: Harald Freudenberger Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- arch/s390/include/asm/archrandom.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

2019-11-06 Thread Lorenzo Pieralisi
On Wed, Nov 06, 2019 at 03:46:17AM +, M.h. Lian wrote: > Hi Lorenzo, > > Sorry for the late reply. > > Acked-by: Minghuan Lian https://en.wikipedia.org/wiki/Posting_style#Top-posting Never top-post on kernel mailing lists. Thanks, Lorenzo > Thanks, > Minghuan > > > -Original Message

RE: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-11-06 Thread Gustavo Pimentel
On Wed, Nov 6, 2019 at 13:39:5, Kishon Vijay Abraham I wrote: Hi Kishon, > Gustavo, > > On 06/11/19 3:10 PM, Gustavo Pimentel wrote: > > On Thu, Aug 29, 2019 at 6:13:18, Kishon Vijay Abraham I > > wrote: > > > > Hi, this email slip away from my attention... > > > >> Gustavo, > >> > >> On 2

Re: [PATCH 26/50] powerpc: Add show_stack_loglvl()

2019-11-06 Thread Dmitry Safonov
On 11/6/19 9:52 AM, Michael Ellerman wrote: > Dmitry Safonov writes: >> Currently, the log-level of show_stack() depends on a platform >> realization. It creates situations where the headers are printed with >> lower log level or higher than the stacktrace (depending on >> a platform or user). >

Re: [PATCH v6 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

2019-11-06 Thread Lorenzo Pieralisi
On Mon, Sep 02, 2019 at 11:43:17AM +0800, Xiaowei Bao wrote: > Add the PCIe compatible string for LS1028A Sentences must be terminated with a period. > Signed-off-by: Xiaowei Bao > Signed-off-by: Hou Zhiqiang > Reviewed-by: Rob Herring > --- > v2: > - No change. > v3: > - No change. > v4: >

RE: [RFC v1 0/2] Enable IOMMU support for pseries Secure VMs

2019-11-06 Thread Ram Pai
On Wed, Nov 06, 2019 at 12:59:50PM +1100, Alexey Kardashevskiy wrote: > > > On 05/11/2019 08:28, Ram Pai wrote: > > This patch series enables IOMMU support for pseries Secure VMs. > > > > > > Tested using QEMU command line option: > > > > "-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4,

RE: [RFC v1 1/2] powerpc/pseries/iommu: Share the per-cpu TCE page with the hypervisor.

2019-11-06 Thread Ram Pai
On Wed, Nov 06, 2019 at 12:58:50PM +1100, Alexey Kardashevskiy wrote: > > > On 05/11/2019 08:28, Ram Pai wrote: > > The hypervisor needs to access the contents of the page holding the TCE > > entries while setting up the TCE entries in the IOMMU's TCE table. For > > SecureVMs, since this page is

Re: [PATCH v5 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-11-06 Thread Segher Boessenkool
On Tue, Nov 05, 2019 at 07:04:04AM +0100, Christophe Leroy wrote: > Le 04/11/2019 à 20:43, Segher Boessenkool a écrit : > >Please send this separately, to be committed right now? It is a bug fix, > >independent of the rest of the series. > > Patch 4/6 needs it, as it drops the function. > > Or d

[RFC PATCH v2] powerpc/pseries/mobility: notify network peers after migration

2019-11-06 Thread Thomas Falcon
After a migration, it is necessary to send a gratuitous ARP from all running interfaces so that the rest of the network is aware of its new location. However, some supported network devices are unaware that they have been migrated. To avoid network interruptions and other unwanted behavior, force a

Re: [RFC v1 0/2] Enable IOMMU support for pseries Secure VMs

2019-11-06 Thread Michael S. Tsirkin
On Wed, Nov 06, 2019 at 12:59:50PM +1100, Alexey Kardashevskiy wrote: > > > On 05/11/2019 08:28, Ram Pai wrote: > > This patch series enables IOMMU support for pseries Secure VMs. > > > > > > Tested using QEMU command line option: > > > > "-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4,

Re: [PATCH V8] mm/debug: Add tests validating architecture page table helpers

2019-11-06 Thread Vineet Gupta
On 11/5/19 7:03 PM, Anshuman Khandual wrote: > But should not pfn_pmd() be encapsulated inside HAVE_ARCH_TRANSPARENT_HUGEPAGE > at the minimum (but I would say it should be available always, nonetheless) > when > the platform subscribes to THP irrespective of whether THP is enabled or not. For AR

Re: [RFC v1 0/2] Enable IOMMU support for pseries Secure VMs

2019-11-06 Thread Michael Roth
Quoting Michael S. Tsirkin (2019-11-06 12:06:37) > On Wed, Nov 06, 2019 at 12:59:50PM +1100, Alexey Kardashevskiy wrote: > > > > > > On 05/11/2019 08:28, Ram Pai wrote: > > > This patch series enables IOMMU support for pseries Secure VMs. > > > > > > > > > Tested using QEMU command line option:

[Bug 205201] Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M

2019-11-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205201 --- Comment #6 from Christian Zigotzky (chzigot...@xenosoft.de) --- FYI because of the issue with some PCI cards (SCSI, TV cards etc): Christoph Hellwig wrote: Can you send me the .config and a dmesg? And in the meantime try the patch below? >F

Re: [PATCH v1 03/10] KVM: Prepare kvm_is_reserved_pfn() for PG_reserved changes

2019-11-06 Thread Sean Christopherson
On Wed, Nov 06, 2019 at 07:56:34AM +0100, David Hildenbrand wrote: > On 06.11.19 01:08, Dan Williams wrote: > >On Tue, Nov 5, 2019 at 4:03 PM Sean Christopherson > >>But David's proposed fix for the above refcount bug is to omit the patch > >>so that KVM no longer treats ZONE_DEVICE pages as reserv

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Dmitry Safonov
On 11/6/19 8:35 AM, Petr Mladek wrote: > On Wed 2019-11-06 03:04:51, Dmitry Safonov wrote: >> Add log level argument to show_stack(). >> Done in three stages: >> 1. Introducing show_stack_loglvl() for every architecture >> 2. Migrating old users with an explicit log level >> 3. Renaming show_stack_

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Dmitry Safonov
Hi Peter, On 11/6/19 9:20 AM, Peter Zijlstra wrote: > On Wed, Nov 06, 2019 at 03:04:51AM +, Dmitry Safonov wrote: >> Add log level argument to show_stack(). >> Done in three stages: >> 1. Introducing show_stack_loglvl() for every architecture >> 2. Migrating old users with an explicit log leve

Re: [PATCH 0/9] Fixes and Enablement of ibm,drc-info property

2019-11-06 Thread Tyrel Datwyler
On 11/5/19 9:03 AM, Thomas Falcon wrote: > > On 11/5/19 9:24 AM, Tyrel Datwyler wrote: > > Hi, just pointing out a few typos... Damn, I thought I squashed them all the second time around. >> There was a previous effort to add support for the PAPR >> architected ibm,drc-info property. This prope

Re: [PATCH 3/9] powerpc/pseries: Add cpu DLPAR support for drc-info property

2019-11-06 Thread Tyrel Datwyler
On 11/5/19 8:55 AM, Thomas Falcon wrote: > > On 11/5/19 9:24 AM, Tyrel Datwyler wrote: >> From: Tyrel Datwyler >> >> Older firmwares provided information about Dynamic Reconfig >> Connectors (DRC) through several device tree properties, namely >> ibm,drc-types, ibm,drc-indexes, ibm,drc-names, and

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Peter Zijlstra
On Wed, Nov 06, 2019 at 04:27:33PM +, Dmitry Safonov wrote: > Hi Peter, > > On 11/6/19 9:20 AM, Peter Zijlstra wrote: > > On Wed, Nov 06, 2019 at 03:04:51AM +, Dmitry Safonov wrote: > >> Add log level argument to show_stack(). > >> Done in three stages: > >> 1. Introducing show_stack_loglv

Re: [RFC PATCH] powerpc/pseries/mobility: notify network peers after migration

2019-11-06 Thread Nathan Lynch
Hi Tom, Thomas Falcon writes: > After a migration, it is necessary to send a gratuitous ARP > from all running interfaces so that the rest of the network > is aware of its new location. However, some supported network > devices are unaware that they have been migrated. To avoid network > interrup

RE: [RFC v1 0/2] Enable IOMMU support for pseries Secure VMs

2019-11-06 Thread Ram Pai
On Wed, Nov 06, 2019 at 12:52:02PM -0600, Michael Roth wrote: > Quoting Michael S. Tsirkin (2019-11-06 12:06:37) > > On Wed, Nov 06, 2019 at 12:59:50PM +1100, Alexey Kardashevskiy wrote: > > > > > > > > > On 05/11/2019 08:28, Ram Pai wrote: > > > > This patch series enables IOMMU support for pser

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-06 Thread Russell King - ARM Linux admin
On Wed, Nov 06, 2019 at 09:34:40PM +0100, Peter Zijlstra wrote: > I suppose I'm surprised there are backtraces that are not important. > Either badness happened and it needs printing, or the user asked for it > and it needs printing. Or utterly meaningless. > Perhaps we should be removing backtra

Re: [RFC PATCH] powerpc/pseries/mobility: notify network peers after migration

2019-11-06 Thread Michael Ellerman
Hi Thomas, Thomas Falcon writes: > After a migration, it is necessary to send a gratuitous ARP > from all running interfaces so that the rest of the network > is aware of its new location. However, some supported network > devices are unaware that they have been migrated. To avoid network > inter

Re: [PATCH v2 05/18] mm/gup: introduce pin_user_pages*() and FOLL_PIN

2019-11-06 Thread Ira Weiny
> > > ... > >> +This document describes the following functions: :: > >> + > >> + pin_user_pages > >> + pin_user_pages_fast > >> + pin_user_pages_remote > >> + > >> + pin_longterm_pages > >> + pin_longterm_pages_fast > >> + pin_longterm_pages_remote > >> + > >> +Basic description of FOLL_PIN > >>

Re: [PATCH v2 07/18] infiniband: set FOLL_PIN, FOLL_LONGTERM via pin_longterm_pages*()

2019-11-06 Thread Ira Weiny
On Mon, Nov 04, 2019 at 04:57:38PM -0400, Jason Gunthorpe wrote: > On Mon, Nov 04, 2019 at 12:48:13PM -0800, John Hubbard wrote: > > On 11/4/19 12:33 PM, Jason Gunthorpe wrote: > > ... > > >> diff --git a/drivers/infiniband/core/umem.c > > >> b/drivers/infiniband/core/umem.c > > >> index 24244a2f6

RE: [PATCH v6 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

2019-11-06 Thread Xiaowei Bao
> -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年11月7日 0:10 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; M.h. Lian ; Mingkai Hu > ; Roy Zang ; > linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-ker...@vger.ker

Re: [PATCH v3] powerpc: Support CMDLINE_EXTEND

2019-11-06 Thread Chris Packham
Hi All, On Fri, 2019-08-02 at 06:40 +0200, Christophe Leroy wrote: > > Le 02/08/2019 à 00:50, Chris Packham a écrit : > > Bring powerpc in line with other architectures that support extending or > > overriding the bootloader provided command line. > > > > The current behaviour is most like CMDLI

Re: [PATCH] selftests/powerpc: Add a test of spectre_v2 mitigations

2019-11-06 Thread Michael Ellerman
On Mon, 2019-05-20 at 10:55:20 UTC, Michael Ellerman wrote: > This test uses the PMU to count branch prediction hits/misses for a > known loop, and compare the result to the reported spectre v2 > mitigation. > > This gives us a way of sanity checking that the reported mitigation is > actually in e

Re: [PATCH v3] selftests/powerpc: Fixup clobbers for TM tests

2019-11-06 Thread Michael Ellerman
On Tue, 2019-10-29 at 09:53:24 UTC, Michael Ellerman wrote: > Some of our TM (Transactional Memory) tests, list "r1" (the stack > pointer) as a clobbered register. > > GCC >= 9 doesn't accept this, and the build breaks: > > ptrace-tm-spd-tar.c: In function 'tm_spd_tar': > ptrace-tm-spd-tar.c:31

Re: [PATCH] powerpc/ptrace: Add prototype for function pt_regs_check

2019-11-06 Thread Michael Ellerman
On Sat, 2018-12-08 at 15:46:23 UTC, Mathieu Malaterre wrote: > `pt_regs_check` is a dummy function, its purpose is to break the build > if struct pt_regs and struct user_pt_regs don't match. > > This function has no functionnal purpose, and will get eliminated at > link time or after init dependin

Re: [alsa-devel] [PATCH] ASoC: fsl_audmix: Add spin lock to protect tdms

2019-11-06 Thread S.j. Wang
Hi > > Hi Shengjiu, > > Comments inline. > > On Wed, Nov 6, 2019 at 9:30 AM Shengjiu Wang > wrote: > > > > Audmix support two substream, When two substream start to run, the > > trigger function may be called by two substream in same time, that the > > priv->tdms may be updated wrongly. > > > >

Re: Please add powerpc topic/kasan-bitops branch to linux-next

2019-11-06 Thread Stephen Rothwell
Hi Michael, On Thu, 07 Nov 2019 15:11:12 +1100 Michael Ellerman wrote: > > Can you please add the topic/kasan-bitops tree of the powerpc repository > to linux-next. > > powerpc git > git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git#topic/kasan-bitops > > See: > >

Re: [PATCH v7 2/4] powerpc: expose secure variables to userspace via sysfs

2019-11-06 Thread Greg Kroah-Hartman
On Wed, Nov 06, 2019 at 10:22:03PM -0600, Eric Richter wrote: > From: Nayna Jain > > PowerNV secure variables, which store the keys used for OS kernel > verification, are managed by the firmware. These secure variables need to > be accessed by the userspace for addition/deletion of the certificat

Re: [PATCH v10 1/8] mm: ksm: Export ksm_madvise()

2019-11-06 Thread Paul Mackerras
On Wed, Nov 06, 2019 at 12:15:42PM +0530, Bharata B Rao wrote: > On Wed, Nov 06, 2019 at 03:33:29PM +1100, Paul Mackerras wrote: > > On Mon, Nov 04, 2019 at 09:47:53AM +0530, Bharata B Rao wrote: > > > KVM PPC module needs ksm_madvise() for supporting secure guests. > > > Guest pages that become se