Re: [PATCH] crypto: ccp -A value assigned to a variable is never used.

2021-03-31 Thread John Allen
On Tue, Mar 30, 2021 at 06:10:29PM +0800, Jiapeng Chong wrote: > Fix the following whitescan warning: > > Assigning value "64" to "dst.address" here, but that stored value is > overwritten before it can be used. > Thanks for reporting. Acked-by: John

[PATCH] linux-firmware: Update AMD SEV firmware

2020-11-20 Thread John Allen
Update AMD SEV firmware to version 0.17 build 44 for AMD family 17h processors with models in the range 00h to 0fh. Update AMD SEV firmware to version 0.24 build 7 for AMD family 17h processors with models in the range 30h to 3fh. Signed-off-by: John Allen --- WHENCE

Re: [PATCH] crypto: ccp - fix error handling

2020-09-22 Thread John Allen
On Mon, Sep 21, 2020 at 01:34:35PM +0200, Pavel Machek wrote: > Fix resource leak in error handling. > > Signed-off-by: Pavel Machek (CIP) Acked-by: John Allen > > diff --git a/drivers/crypto/ccp/ccp-ops.c b/drivers/crypto/ccp/ccp-ops.c > index bd270e66185e..40869ea1e

[PATCH] linux-firmware: Update AMD SEV firmware

2020-09-15 Thread John Allen
Update AMD SEV firmware to version 0.17 build 39 for AMD family 17h processors with models in the range 00h to 0fh. Add SEV firmware version 0.24 build 6 for AMD family 17h processors in the range 30h to 3fh. Signed-off-by: John Allen --- WHENCE | 4 ++-- amd

Re: [PATCH v2] crypto: ccp: sp-pci: use generic power management

2020-07-22 Thread John Allen
the generic framework, PCI Core takes care of the necessary operations, > and drivers are required to do only device-specific jobs. > > Signed-off-by: Vaibhav Gupta Acked-by: John Allen

[PATCH] linux-firmware: Update AMD SEV firmware

2020-07-20 Thread John Allen
Update AMD SEV firmware to version 0.17 build 30 for AMD family 17h processors with models in the range 00h to 0fh. Add SEV firmware version 0.24 build 4 for AMD family 17h processors in the range 30h to 3fh. Signed-off-by: John Allen --- amd/amd_sev_fam17h_model0xh.sbin | Bin 32576 -> 32

Re: [PATCH v2] crypto: ccp - Update CCP driver maintainer information

2020-06-26 Thread John Allen
On Fri, Jun 26, 2020 at 02:09:39PM -0500, Tom Lendacky wrote: > From: Tom Lendacky > > Add John Allen as a new CCP driver maintainer. Additionally, break out > the driver SEV support and create a new maintainer entry, with Brijesh > Singh and Tom Lendacky as maintainers. >

[PATCH] crypto: ccp - Fix use of merged scatterlists

2020-06-22 Thread John Allen
seen is equal to the DMA length of the current entry being processed in the DMA mapped representation. Fixes: 63b945091a070 ("crypto: ccp - CCP device driver and interface support") Signed-off-by: John Allen Cc: sta...@vger.kernel.org --- drivers/crypto/ccp/ccp-dev.h | 1 + drivers/

Infinite looping observed in __offline_pages

2018-07-25 Thread John Allen
Hi All, Under heavy stress and constant memory hot add/remove, I have observed the following loop to occasionally loop infinitely: mm/memory_hotplug.c:__offline_pages repeat: /* start memory hot removal */ ret = -EINTR; if (signal_pending(current)) goto fai

[RFC] cpu/hotplug: Modify lock status before making cpu hotplug callbacks

2017-06-07 Thread John Allen
ocked out at this point. Previous RFC for an alternate solution from Michael Bringmann with additional details about the bug can be seen here: https://patchwork.ozlabs.org/patch/771293/ Signed-off-by: John Allen --- diff --git a/kernel/cpu.c b/kernel/cpu.c index 9ae6fbe..fc19437 100644 --- a/kernel/

[PATCH v4] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2016-01-06 Thread John Allen
a block of memory with a single call to add_memory as opposed to looping through and adding each section individually. A single call to add_memory is protected by the mem_hotplug mutex which will prevent the udev rule from onlining memory until the reservation of the entire block is complete. Signed-o

[PATCH v3] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2016-01-06 Thread John Allen
a block of memory with a single call to add_memory as opposed to looping through and adding each section individually. A single call to add_memory is protected by the mem_hotplug mutex which will prevent the udev rule from onlining memory until the reservation of the entire block is complete. Signed-o

Re: [PATCH v2] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2015-11-24 Thread John Allen
Hi Michael, On 11/09/2015 07:21 PM, Michael Ellerman wrote: > Hi John, > > On Tue, 2015-11-03 at 11:21 -0600, John Allen wrote: >> This patch fixes a bug where a kernel warning is triggered when performing >> a memory hotplug on ppc64. This warning may also occur on any arc

[PATCH v2] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2015-11-03 Thread John Allen
upt the memory reservation process. This patch modifies memory_probe_store to take the hotplug sysfs lock to prevent the online of added memory before the completion of the probe. Signed-off-by: John Allen --- v2: Move call to unlock_device_hotplug under "out" label diff --git a/dri

Re: [PATCH] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2015-11-03 Thread John Allen
On 11/02/2015 02:51 PM, John Allen wrote: > This patch fixes a bug where a kernel warning is triggered when performing > a memory hotplug on ppc64. This warning may also occur on any architecture > that has multiple sections per memory block. > > [ 78.300767] ---

[PATCH] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2015-11-02 Thread John Allen
upt the memory reservation process. This patch modifies memory_probe_store to take the hotplug sysfs lock to prevent the online of added memory before the completion of the probe. Signed-off-by: John Allen --- diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 2804aed..baf7a22 100644