Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Willy Tarreau
On Sat, Jul 04, 2020 at 01:02:51PM -0700, Dan Williams wrote: > +Non-inclusive terminology has that same distracting effect which is why > +it is a style issue for Linux, it injures developer efficiency. I'm personally thinking that for a non-native speaker it's already difficult to find the best

Re: ptrace: seccomp: Return value when the call was already invalid

2020-07-04 Thread Kees Cook
On Sat, Jul 04, 2020 at 01:33:56PM +0100, Will Deacon wrote: > On Fri, Jul 03, 2020 at 08:52:05AM -0700, Kees Cook wrote: > > On Fri, Jul 03, 2020 at 04:44:27PM +0100, Will Deacon wrote: > > > On Fri, Jul 03, 2020 at 08:17:19AM -0700, Kees Cook wrote: > > > > On Fri, Jul 03, 2020 at 09:39:14AM +010

Re: [PATCH 1/2] perf tools: ARM SPE code cleanup

2020-07-04 Thread Leo Yan
Hi Wei, On Tue, Jun 23, 2020 at 08:31:40PM +0800, Wei Li wrote: > Remove the useless check code to make it clear. > > Signed-off-by: Wei Li > --- > tools/perf/arch/arm/util/auxtrace.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/tools/perf/arch/arm/util/auxtra

Re: [PATCH 2/2] perf tools: Fix record failure when mixed with ARM SPE event

2020-07-04 Thread Leo Yan
On Fri, Jul 03, 2020 at 12:06:15PM +0800, liwei (GF) wrote: [...] Thanks for Mathieu's looping and agreed with his comments. > > Last but not least do you know where the memory allocated for array > > arm_spe_pmus > > is released? If you can't find it either then we have a memory leak and it >

Re: [PATCH v2 0/8] selftests/harness: Switch to TAP output

2020-07-04 Thread Kees Cook
On Mon, Jun 22, 2020 at 11:16:43AM -0700, Kees Cook wrote: > Hi, > > v2: > - switch harness from XFAIL to SKIP > - pass skip reason from test into TAP output > - add acks/reviews > v1: > https://lore.kernel.org/lkml/20200611224028.3275174-1-keesc...@chromium.org/ > > > I finally got around to c

Re: [PATCH v3 1/3] Correct asm VMXOFF side effects

2020-07-04 Thread Randy Dunlap
On 7/4/20 1:38 PM, David P. Reed wrote: > Tell gcc that VMXOFF instruction clobbers condition codes > and memory when executed. > Also, correct original comments to remove kernel-doc syntax > per Randy Dunlap's request. Looks good. Thanks. For the comment changes: Acked-by: Randy Dunlap > Sugge

Re: [PATCH v3 3/4] thermal: core: genetlink support for events/cmd/sampling

2020-07-04 Thread Zhang Rui
On Fri, 2020-07-03 at 10:53 +0200, Daniel Lezcano wrote: > Initially the thermal framework had a very simple notification > mechanism to send generic netlink messages to the userspace. > > The notification function was never called from anywhere and the > corresponding dead code was removed. It wa

[PATCH v2] phy: samsung: Use readl_poll_timeout function

2020-07-04 Thread Anand Moon
User readl_poll_timeout function instead of open coded handling in crport_handshake function. Fixes: d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800") Signed-off-by: Anand Moon --- Changes v2: --used the default timeout values. --Added missing Fixed tags. --- driver

Re: [PATCH V6] serial: msm_geni_serial_console : Add Earlycon support

2020-07-04 Thread kernel test robot
Hi Akash, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tty/tty-testing] [also build test WARNING on usb/usb-testing v5.8-rc3 next-20200703] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use a

[PATCH 1/3] selftests/harness: Clean up kern-doc for fixtures

2020-07-04 Thread Kees Cook
The FIXTURE*() macro kern-doc examples had the wrong names for the C code examples associated with them. Fix those and clarify that FIXTURE_DATA() usage should be avoided. Cc: Shuah Khan Cc: Jakub Kicinski Fixes: 74bc7c97fa88 ("kselftest: add fixture variants") Signed-off-by: Kees Cook --- too

[PATCH 3/3] selftests/seccomp: Check ENOSYS under tracing

2020-07-04 Thread Kees Cook
There should be no difference between -1 and other negative syscalls while tracing. Cc: Andy Lutomirski Cc: Will Drewry Cc: Will Deacon Cc: Keno Fischer Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 26 +++ 1 file changed, 26 insertions(+) diff

[PATCH 2/3] selftests/seccomp: Refactor to use fixture variants

2020-07-04 Thread Kees Cook
Now that the selftest harness has variants, use them to eliminate a bunch of copy/paste duplication. Cc: Andy Lutomirski Cc: Will Drewry Cc: Jakub Kicinski Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 199 -- 1 file changed, 42 insertions(+), 15

[PATCH for-next/seccomp 0/3] Check ENOSYS under tracing

2020-07-04 Thread Kees Cook
Hi, This expands the seccomp selftest to poke a architectural behavior corner that Keno Fischer noticed[1]. In the process, I took the opportunity to do the kselftest harness variant refactoring I'd been meaning to do, which made adding this test much nicer. I'd prefer this went via the seccomp t

[PATCH] riscv: Add STACKPROTECTOR supported

2020-07-04 Thread guoren
From: Guo Ren The -fstack-protector & -fstack-protector-strong features are from gcc. The patch only add basic kernel support to stack-protector feature and some arch could have its own solution such as ARM64_PTR_AUTH. After enabling STACKPROTECTOR and STACKPROTECTOR_STRONG, the .text size is ex

Hello

2020-07-04 Thread Gldm Schs
Good day I have a confidential business transaction I would like to discuss with you. Contact me on schs...@yandex.com for details.

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Andreas Dilger
On Jul 4, 2020, at 8:46 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com> wrote: > > On Sun, Jul 5, 2020 at 4:16 AM Matthew Wilcox wrote: >> >> On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: >>> Hello >>> >>> At first, I thought that the proposed system call is capable of >>> reading *multiple

[PATCH v8 2/4] mailbox: cmdq: variablize address shift in platform

2020-07-04 Thread Dennis YC Hsieh
Some gce hardware shift pc and end address in register to support large dram addressing. Implement gce address shift when write or read pc and end register. And add shift bit in platform definition. Signed-off-by: Dennis YC Hsieh --- drivers/mailbox/mtk-cmdq-mailbox.c | 57 ++

[PATCH v8 0/4] support gce on mt6779 platform

2020-07-04 Thread Dennis YC Hsieh
This patch support gce on mt6779 platform. Change since v7: - Rename cmdq_mbox_shift() to cmdq_get_shift_pa(). Change since v6: - Separate all helper function to another patchset. Change since v5: - spearate address shift code in client helper and mailbox controller - separate write_s/write_s_ma

[PATCH v8 3/4] mailbox: cmdq: support mt6779 gce platform definition

2020-07-04 Thread Dennis YC Hsieh
Add gce v4 hardware support with different thread number and shift. Signed-off-by: Dennis YC Hsieh Reviewed-by: CK Hu Reviewed-by: Matthias Brugger Reviewed-by: Bibby Hsieh --- drivers/mailbox/mtk-cmdq-mailbox.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mailbox/mtk-cmdq

[PATCH v8 1/4] dt-binding: gce: add gce header file for mt6779

2020-07-04 Thread Dennis YC Hsieh
Add documentation for the mt6779 gce. Add gce header file defined the gce hardware event, subsys number and constant for mt6779. Signed-off-by: Dennis YC Hsieh Reviewed-by: Rob Herring Reviewed-by: CK Hu Reviewed-by: Bibby Hsieh --- .../devicetree/bindings/mailbox/mtk-gce.txt|8 +

[PATCH v8 4/4] mailbox: mediatek: cmdq: clear task in channel before shutdown

2020-07-04 Thread Dennis YC Hsieh
Do success callback in channel when shutdown. For those task not finish, callback with error code thus client has chance to cleanup or reset. Signed-off-by: Dennis YC Hsieh Reviewed-by: CK Hu Reviewed-by: Bibby Hsieh --- drivers/mailbox/mtk-cmdq-mailbox.c | 38 +++

Re: [PATCH v5 0/6] arm64: add the time namespace support

2020-07-04 Thread Andrei Vagin
On Wed, Jun 24, 2020 at 01:33:15AM -0700, Andrei Vagin wrote: > Allocate the time namespace page among VVAR pages and add the logic > to handle faults on VVAR properly. > > If a task belongs to a time namespace then the VVAR page which contains > the system wide VDSO data is replaced with a namesp

[PATCH v2 6/8] soc: mediatek: cmdq: add write_s_mask value function

2020-07-04 Thread Dennis YC Hsieh
add write_s_mask_value function in cmdq helper functions which writes a constant value to address with mask and large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 21 + include/linux/soc/mediatek/mtk-cmdq.h | 15

[PATCH v2 8/8] soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api

2020-07-04 Thread Dennis YC Hsieh
Add clear parameter to let client decide if event should be clear to 0 after GCE receive it. Fixes: 2f965be7f9008 ("drm/mediatek: apply CMDQ control flow") Signed-off-by: Dennis YC Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c |2 +- drivers/soc/mediatek/mtk-cmdq-hel

[PATCH v2 3/8] soc: mediatek: cmdq: add write_s_mask function

2020-07-04 Thread Dennis YC Hsieh
add write_s_mask function in cmdq helper functions which writes value contains in internal register to address with mask and large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 23 +++ include/linux/mailbox/mtk-cmdq-mailbo

[PATCH v2 5/8] soc: mediatek: cmdq: add write_s value function

2020-07-04 Thread Dennis YC Hsieh
add write_s function in cmdq helper functions which writes a constant value to address with large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 14 ++ include/linux/soc/mediatek/mtk-cmdq.h | 13 + 2 files changed, 27

[PATCH v2 1/8] soc: mediatek: cmdq: add address shift in jump

2020-07-04 Thread Dennis YC Hsieh
Add address shift when compose jump instruction to compatible with 35bit format. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-cmdq-helper.c b/drivers/soc/mediatek/mtk-c

[PATCH v2 4/8] soc: mediatek: cmdq: add read_s function

2020-07-04 Thread Dennis YC Hsieh
Add read_s function in cmdq helper functions which support read value from register or dma physical address into gce internal register. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 15 +++ include/linux/mailbox/mtk-cmdq-mailbox.h |1 + include/l

[PATCH v2 7/8] soc: mediatek: cmdq: add jump function

2020-07-04 Thread Dennis YC Hsieh
Add jump function so that client can jump to any address which contains instruction. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 13 + include/linux/soc/mediatek/mtk-cmdq.h | 11 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/

Subject: [PATCH v1 0/8] support cmdq helper function on mt6779 platform

2020-07-04 Thread Dennis YC Hsieh
This patch support more gce helper function on mt6779 platform. depends on patch: support gce on mt6779 platform and depends on following applied patches soc: mediatek: cmdq: add set event function soc: mediatek: cmdq: export finalize function soc: mediatek: cmdq: add assign function Change sinc

[PATCH v2 2/8] soc: mediatek: cmdq: add write_s function

2020-07-04 Thread Dennis YC Hsieh
add write_s function in cmdq helper functions which writes value contains in internal register to address with large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 19 +++ include/linux/mailbox/mtk-cmdq-mailbox.h |1 + incl

Re: [PATCH] riscv: Add STACKPROTECTOR supported

2020-07-04 Thread Kees Cook
On Sun, Jul 05, 2020 at 06:24:15AM +, guo...@kernel.org wrote: > From: Guo Ren > > The -fstack-protector & -fstack-protector-strong features are from > gcc. The patch only add basic kernel support to stack-protector > feature and some arch could have its own solution such as > ARM64_PTR_AUTH.

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-04 Thread Greg Kroah-Hartman
On Sat, Jul 04, 2020 at 08:38:26PM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Sat, Jul 4, 2020 at 4:05 PM Greg Kroah-Hartman > wrote: > > Test the functionality of readfile(2) in various ways. > > > > Also provide a simple speed test program to benchmark using readfile() > > instead of us

[PULL REQUEST] i2c for 5.8

2020-07-04 Thread Wolfram Sang
Linus, I2C has some usual driver fixes and documentation updates. Please pull. Thanks, Wolfram The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28 15:00:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/

Re: [PATCH 1/5] nvme-pci: Fix some comments issues

2020-07-04 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH 2/5] nvme-pci: Add a blank line after declarations

2020-07-04 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

<    1   2   3   4