Re: [PATCHv4 06/10] arm64: add basic pointer authentication support

2018-05-22 Thread Adam Wallis
ot;, I am able to successfully overflow the stack and execute malicious code. Thanks Adam Tested-by: Adam Wallis -- Adam Wallis Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

Re: [PATCHv2 06/12] arm64: add basic pointer authentication support

2018-05-22 Thread Adam Wallis
hat a buffer overflow exploit results in a segfault with these PAC patches. When I compile the same binary without "-msign-return-address=none", I am able to successfully overflow the stack and execute malicious code. Thanks Adam Tested-by: Adam Wallis -- Adam Wallis Qualcomm Dat

Re: [PATCH 3.16 083/254] dmaengine: dmatest: move callback wait queue to thread context

2018-02-28 Thread Adam Wallis
Ben On 2/28/2018 10:20 AM, Ben Hutchings wrote: > 3.16.55-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Adam Wallis > > commit 6f6a23a213be51728502b88741ba6a10cda2441d upstream. > > Commit adfa54

Re: [PATCH] irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()

2018-02-01 Thread Adam Wallis
not this need to go >>> to -stable). >>> >> >> We've inspected the code because kernel was causing failures in >> scheduler/IPI_RESCHDULE. >> After some time of debugging, we landed in GIC driver and found that the >> issue was due >&

Re: [PATCH v2] dmaengine: dmatest: fix container_of member in dmatest_callback

2018-01-29 Thread Adam Wallis
g, struct dmatest_thread, done_wait); > + container_of(done, struct dmatest_thread, test_done); > if (!thread->done) { > done->done = true; > wake_up_all(done->wait); > Thanks again for the fix (and to Vinod for the cleanup) Acked-by: Adam

Re: [PATCH] dmaengine: dmatest: fix container_of member in dmatest_callback

2018-01-24 Thread Adam Wallis
Vinod, On 1/23/2018 8:47 PM, Yang, Shunyong wrote: > Hi, Adam > > On Tue, 2018-01-23 at 09:32 -0500, Adam Wallis wrote: >> On 1/22/2018 2:28 AM, Yang Shunyong wrote: >>> >>> The type of arg passed to dmatest_callback is struct dmatest_done. >>> It re

Re: [PATCH] dmaengine: dmatest: fix container_of member in dmatest_callback

2018-01-23 Thread Adam Wallis
ne); > if (!thread->done) { > done->done = true; > wake_up_all(done->wait); > Thanks for the catch Acked-by: Adam Wallis -- Adam Wallis Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

Re: [PATCH] Revert "async: simplify lowest_in_progress()"

2017-11-20 Thread Adam Wallis
uot;finite" cookie value. > > Cc: sta...@vger.kernel.org # 3.10+ Recommend adding "Fixes" notation here referencing the original broken commit. > Signed-off-by: Rasmus Villemoes > --- [..] -- Adam Wallis Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

[PATCH v2][for 4.15] dmaengine: dmatest: move callback wait queue to thread context

2017-11-15 Thread Adam Wallis
rnel.org # 4.13.x Cc: sta...@vger.kernel.org # 4.14.x Bug: https://bugzilla.kernel.org/show_bug.cgi?id=197605 Reviewed-by: Sinan Kaya Suggested-by: Shunyong Yang Signed-off-by: Adam Wallis --- changes from v1: Added pre-req patches for stable drivers/dma/dmatest.c | 37

Re: [PATCH v3 0/5] Switch arm64 over to qrwlock

2017-10-12 Thread Adam Wallis
| 86 +++-- > 9 files changed, 61 insertions(+), 272 deletions(-) > Will, I see the same performance improvements that I was getting in v2 of the patch. I will continue to run these patches on multiple systems over the next few weeks, months for stability/functionality testing a

Re: [PATCH 4.13 077/160] usb: host: xhci-plat: allow sysdev to inherit from ACPI

2017-10-11 Thread Adam Wallis
has any objections, please let me >> know. >> >> -- >> >> From: Adam Wallis >> >> commit c6b8e79306f515b5483eb11076e0fbfc140434a8 upstream. >> >> Commit 4c39d4b949d3 ("usb: xhci: use bus->sysdev for DMA configura

Re: [PATCH v2 0/5] Switch arm64 over to qrwlock

2017-10-10 Thread Adam Wallis
combinations of readers:writers . These patches help prevent writer starvation in every combination that I tested. Without these patches, when the reader:writer ratio is 2:1, it's trivial for me to see acquisitions of 250:1 (@ 2R:1W). After applying the qrwlock patches, I see the acquisition

Re: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd

2017-08-28 Thread Adam Wallis
On 8/25/2017 7:03 PM, Grygorii Strashko wrote: > > > On 08/25/2017 01:02 PM, Adam Wallis wrote: >> The dma ops from the parent DWC device are not getting passed to the >> child xhci-hcd device. This patch makes use of >> platform_device_register_full to set the

Re: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd

2017-08-28 Thread Adam Wallis
On 8/28/2017 9:05 AM, Felipe Balbi wrote: > > Hi, > > Adam Wallis writes: >> The dma ops from the parent DWC device are not getting passed to the >> child xhci-hcd device. This patch makes use of >> platform_device_register_full to set the DMA ops. For the DT/OF ca

[PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd

2017-08-25 Thread Adam Wallis
. Signed-off-by: Adam Wallis --- drivers/usb/dwc3/host.c | 39 +-- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c index 76f0b0d..662e9e2 100644 --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3

Re: [RFC PATCH 0/3] arm64: queued spinlocks and rw-locks

2017-04-12 Thread Adam Wallis
| 1 + > 8 files changed, 54 insertions(+), 11 deletions(-) > create mode 100644 arch/arm64/include/asm/qrwlock.h > create mode 100644 arch/arm64/include/asm/qspinlock.h > Thanks -- Adam Wallis Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

Re: [RFC 0/9] ARMv8.3 pointer authentication userspace support

2017-04-07 Thread Adam Wallis
; include/asm-generic/mm_hooks.h | 12 > include/uapi/linux/elf.h | 1 + > 21 files changed, 454 insertions(+), 7 deletions(-) > create mode 100644 Documentation/arm64/pointer-authentication.txt > create mode 100644 arch/arm64/includ