Re: [PATCH v2 2/2] selftests/bpf: Select NUMA_NO_NODE to create map

2025-01-31 Thread Yonghong Song
On 1/30/25 11:05 PM, Saket Kumar Bhaskar wrote: On powerpc, a CPU does not necessarily originate from NUMA node 0. This contrasts with architectures like x86, where CPU 0 is not hot-pluggable, making NUMA node 0 a consistently valid node. This discrepancy can lead to failures when creating a

[PATCH bpf-next v4 11/14] selftests/bpf: Optionally select broadcasting flags

2025-01-30 Thread Bastien Curutchet (eBPF Foundation)
Broadcasting flags are hardcoded for each kind for protocol. Create a redirect_flags map that allows to select the broadcasting flags to use in the bpf_redirect_map(). The protocol ID is used as a key. Set the old hardcoded values as default if the map isn't filled by the BPF caller. Ack

[PATCH v2 2/2] selftests/bpf: Select NUMA_NO_NODE to create map

2025-01-30 Thread Saket Kumar Bhaskar
On powerpc, a CPU does not necessarily originate from NUMA node 0. This contrasts with architectures like x86, where CPU 0 is not hot-pluggable, making NUMA node 0 a consistently valid node. This discrepancy can lead to failures when creating a map on NUMA node 0, which is initialized by default, i

[PATCH bpf-next v3 11/14] selftests/bpf: Optionally select broadcasting flags

2025-01-28 Thread Bastien Curutchet (eBPF Foundation)
Broadcasting flags are hardcoded for each kind for protocol. Create a redirect_flags map that allows to select the broadcasting flags to use in the bpf_redirect_map(). The protocol ID is used as a key. Set the old hardcoded values as default if the map isn't filled by the BPF caller. Ack

Re: [PATCH] firmware: cs_dsp: FW_CS_DSP_KUNIT_TEST should not select REGMAP

2025-01-27 Thread Mark Brown
BUILD and this test suite on a system where REGMAP is not > enabled by default. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] firmware: cs_dsp: FW_CS_DSP_KUNIT_TEST should not select REGMAP commit: eb5c79828cfa72e8d

Re: [PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-27 Thread Saket Kumar Bhaskar
On Sat, Jan 25, 2025 at 09:02:37AM -0800, Alexei Starovoitov wrote: > On Sat, Jan 25, 2025 at 7:25 AM Saket Kumar Bhaskar > wrote: > > > > On powerpc, a CPU does not necessarily originate from NUMA node 0. > > This contrasts with architectures like x86, where CPU 0 is not > > hot-pluggable, makin

[PATCH] firmware: cs_dsp: FW_CS_DSP_KUNIT_TEST should not select REGMAP

2025-01-25 Thread Geert Uytterhoeven
mware: cs_dsp: Add KUnit testing of bin file download") Signed-off-by: Geert Uytterhoeven --- See also commits 70a640c0efa76674 ("regmap: REGMAP_KUNIT should not select REGMAP") and 47ee108a113c72e ("regmap: Provide user selectable option to enable regmap"). BTW, what&

Re: [PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-25 Thread Alexei Starovoitov
On Sat, Jan 25, 2025 at 7:25 AM Saket Kumar Bhaskar wrote: > > On powerpc, a CPU does not necessarily originate from NUMA node 0. > This contrasts with architectures like x86, where CPU 0 is not > hot-pluggable, making NUMA node 0 a consistently valid node. > This discrepancy can lead to failures

[PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-25 Thread Saket Kumar Bhaskar
On powerpc, a CPU does not necessarily originate from NUMA node 0. This contrasts with architectures like x86, where CPU 0 is not hot-pluggable, making NUMA node 0 a consistently valid node. This discrepancy can lead to failures when creating a map on NUMA node 0, which is initialized by default, i

[PATCH bpf-next v2 07/10] selftests/bpf: Optionally select broadcasting flags

2025-01-21 Thread Bastien Curutchet (eBPF Foundation)
Broadcasting flags are hardcoded for each kind for protocol. Create a redirect_flags map that allows to select the broadcasting flags to use in the bpf_redirect_map(). The protocol ID is used as a key. Set the old hardcoded values as default if the map isn't filled by the BPF caller. Signe

[PATCH bpf-next 07/10] selftests/bpf: Optionally select broadcasting flags

2025-01-21 Thread Bastien Curutchet (eBPF Foundation)
Broadcasting flags are hardcoded for each kind for protocol. Create a redirect_flags map that allows to select the broadcasting flags to use in the bpf_redirect_map(). The protocol ID is used as a key. Set the old hardcoded values as default if the map isn't filled by the BPF caller. Signe

Re: [PATCH v5 1/6] vhost: Add a new parameter in vhost_dev to allow user select kthread

2025-01-01 Thread Jason Wang
On Mon, Dec 30, 2024 at 8:45 PM Cindy Lu wrote: > > The vhost now uses vhost_task and workers as a child of the owner > thread. While this aligns with containerization principles, it confuses > some legacy userspace applications. Therefore, we are reintroducing > support for the kthread API. > > I

[PATCH v5 1/6] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-30 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles, it confuses some legacy userspace applications. Therefore, we are reintroducing support for the kthread API. Introduce a new parameter to enable users to choose between kth

Re: [PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-18 Thread Cindy Lu
On Wed, Dec 11, 2024 at 1:52 AM Stefano Garzarella wrote: > > On Wed, Dec 11, 2024 at 12:41:40AM +0800, Cindy Lu wrote: > >The vhost now uses vhost_task and workers as a child of the owner thread. > >While this aligns with containerization principles,it confuses some legacy > > nit: missing space

Re: [PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-10 Thread Stefano Garzarella
On Wed, Dec 11, 2024 at 12:41:40AM +0800, Cindy Lu wrote: The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles,it confuses some legacy nit: missing space in "principles,it" userspace app, Therefore, we are reintroducing k

[PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-10 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles,it confuses some legacy userspace app, Therefore, we are reintroducing kthread API support. Introduce a new parameter to enable users to choose between kthread and task mode

Re: [PATCH v3 1/9] vhost: Add a new parameter to allow user select kthread

2024-11-05 Thread Jason Wang
On Tue, Nov 5, 2024 at 3:27 PM Cindy Lu wrote: > > The vhost now uses vhost_task and workers as a child of the owner thread. > While this aligns with containerization principles,it confuses some legacy > userspace app, Therefore, we are reintroducing kthread API support. > > Introduce a new parame

[PATCH v3 1/9] vhost: Add a new parameter to allow user select kthread

2024-11-04 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles,it confuses some legacy userspace app, Therefore, we are reintroducing kthread API support. Introduce a new parameter to enable users to choose between kthread and task mode

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-13 Thread Cindy Lu
On Wed, 9 Oct 2024 at 16:20, Jason Wang wrote: > > On Wed, Oct 9, 2024 at 4:10 PM Stefano Garzarella wrote: > > > > On Wed, Oct 09, 2024 at 03:28:19PM GMT, Jason Wang wrote: > > >On Mon, Oct 7, 2024 at 9:31 PM Stefano Garzarella > > >wrote: > > >> > > >> On Fri, Oct 04, 2024 at 09:58:15AM GMT,

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-13 Thread Cindy Lu
ing back the previous > behavior when we had kthreads, but why do we want that? > Do you have examples where the new mechanism is causing problems? > > > > >Add a new module parameter to allow userspace to select behaviour > >between using kthread and task > > > &g

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-09 Thread Jason Wang
On Wed, Oct 9, 2024 at 4:10 PM Stefano Garzarella wrote: > > On Wed, Oct 09, 2024 at 03:28:19PM GMT, Jason Wang wrote: > >On Mon, Oct 7, 2024 at 9:31 PM Stefano Garzarella > >wrote: > >> > >> On Fri, Oct 04, 2024 at 09:58:15AM GMT, Cindy Lu wrote: > >> >The vhost is now using vhost_task and work

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-09 Thread Stefano Garzarella
On Wed, Oct 09, 2024 at 03:28:19PM GMT, Jason Wang wrote: On Mon, Oct 7, 2024 at 9:31 PM Stefano Garzarella wrote: On Fri, Oct 04, 2024 at 09:58:15AM GMT, Cindy Lu wrote: >The vhost is now using vhost_task and working as a child of the owner thread. >While this makes sense from containerizatio

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-09 Thread Jason Wang
On Mon, Oct 7, 2024 at 9:31 PM Stefano Garzarella wrote: > > On Fri, Oct 04, 2024 at 09:58:15AM GMT, Cindy Lu wrote: > >The vhost is now using vhost_task and working as a child of the owner thread. > >While this makes sense from containerization POV, some old userspace is > >confused, as previousl

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-07 Thread Stefano Garzarella
using problems? Add a new module parameter to allow userspace to select behaviour between using kthread and task Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 9ac25d08f473..a4a0bc34f59b 1

Re: [PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-05 Thread kernel test robot
use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Cindy-Lu/vhost-Add-a-new-modparam-to-allow-userspace-select-vhost_task/20241004-100307 base: https://git.kernel.org/pub/scm/linux/kern

[PATCH v2 1/7] vhost: Add a new modparam to allow userspace select vhost_task

2024-10-03 Thread Cindy Lu
a new module parameter to allow userspace to select behaviour between using kthread and task Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 9ac25d08f473..a4a0bc34f59b 100644 --- a

Re: [PATCH 2/2] remoteproc: qcom: select AUXILIARY_BUS

2024-06-26 Thread Chris Lew
@@ config QCOM_PIL_INFO config QCOM_RPROC_COMMON tristate + select AUXILIARY_BUS config QCOM_Q6V5_COMMON tristate Reviewed-by: Chris Lew

[PATCH 2/2] remoteproc: qcom: select AUXILIARY_BUS

2024-06-26 Thread Dmitry Baryshkov
ROC_COMMON tristate + select AUXILIARY_BUS config QCOM_Q6V5_COMMON tristate -- 2.39.2

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Mimi Zohar
On Tue, 2023-09-12 at 22:32 +0300, Jarkko Sakkinen wrote: > On Tue Sep 12, 2023 at 10:22 PM EEST, Mimi Zohar wrote: > > On Tue, 2023-09-12 at 12:49 +0300, Jarkko Sakkinen wrote: > > > On Tue Sep 12, 2023 at 10:41 AM EEST, Michal Suchánek wrote: > > > > On Mon, Sep 11, 2023 at 11:39:38PM -0400, Nayn

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Jarkko Sakkinen
On Tue Sep 12, 2023 at 10:22 PM EEST, Mimi Zohar wrote: > On Tue, 2023-09-12 at 12:49 +0300, Jarkko Sakkinen wrote: > > On Tue Sep 12, 2023 at 10:41 AM EEST, Michal Suchánek wrote: > > > On Mon, Sep 11, 2023 at 11:39:38PM -0400, Nayna wrote: > > > > > > > > On 9/7/23 13:32, Michal Suchánek wrote:

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Mimi Zohar
On Tue, 2023-09-12 at 12:49 +0300, Jarkko Sakkinen wrote: > On Tue Sep 12, 2023 at 10:41 AM EEST, Michal Suchánek wrote: > > On Mon, Sep 11, 2023 at 11:39:38PM -0400, Nayna wrote: > > > > > > On 9/7/23 13:32, Michal Suchánek wrote: > > > > Adding more CC's from the original patch, looks like get_m

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Jarkko Sakkinen
On Tue Sep 12, 2023 at 6:39 AM EEST, Nayna wrote: > > On 9/7/23 13:32, Michal Suchánek wrote: > > Adding more CC's from the original patch, looks like get_maintainers is > > not that great for this file. > > > > On Thu, Sep 07, 2023 at 06:52:19PM +0200, Michal Suchanek wrote: > >> No other platform

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Michal Suchánek
y/integrity/Kconfig > > > > +++ b/security/integrity/Kconfig > > > > @@ -68,8 +68,6 @@ config INTEGRITY_MACHINE_KEYRING > > > > depends on INTEGRITY_ASYMMETRIC_KEYS > > > > depends on SYSTEM_BLACKLIST_KEYRING > > > > depend

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Jarkko Sakkinen
On Tue Sep 12, 2023 at 10:41 AM EEST, Michal Suchánek wrote: > On Mon, Sep 11, 2023 at 11:39:38PM -0400, Nayna wrote: > > > > On 9/7/23 13:32, Michal Suchánek wrote: > > > Adding more CC's from the original patch, looks like get_maintainers is > > > not that great for this file. > > > > > > On Th

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Jarkko Sakkinen
> > index 232191ee09e3..b6e074ac0227 100644 > > > --- a/security/integrity/Kconfig > > > +++ b/security/integrity/Kconfig > > > @@ -68,8 +68,6 @@ config INTEGRITY_MACHINE_KEYRING > > > depends on INTEGRITY_ASYMMETRIC_KEYS > > > depends on S

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Michal Suchánek
NE_KEYRING > > depends on INTEGRITY_ASYMMETRIC_KEYS > > depends on SYSTEM_BLACKLIST_KEYRING > > depends on LOAD_UEFI_KEYS || LOAD_PPC_KEYS > > - select INTEGRITY_CA_MACHINE_KEYRING if LOAD_PPC_KEYS > > - select INTEGRITY_CA_MACHINE_KEYRING_MAX if LOAD_PPC_KEYS > &

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-12 Thread Michal Suchánek
integrity/Kconfig > > > +++ b/security/integrity/Kconfig > > > @@ -68,8 +68,6 @@ config INTEGRITY_MACHINE_KEYRING > > > depends on INTEGRITY_ASYMMETRIC_KEYS > > > depends on SYSTEM_BLACKLIST_KEYRING > > > depends on LOAD_UEFI

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-11 Thread Nayna
191ee09e3..b6e074ac0227 100644 --- a/security/integrity/Kconfig +++ b/security/integrity/Kconfig @@ -68,8 +68,6 @@ config INTEGRITY_MACHINE_KEYRING depends on INTEGRITY_ASYMMETRIC_KEYS depends on SYSTEM_BLACKLIST_KEYRING depends on LOAD_UEFI_KEYS || LOAD_PPC_KEYS -

Re: [PATCH] integrity: powerpc: Do not select CA_MACHINE_KEYRING

2023-09-11 Thread Jarkko Sakkinen
/integrity/Kconfig > @@ -68,8 +68,6 @@ config INTEGRITY_MACHINE_KEYRING > depends on INTEGRITY_ASYMMETRIC_KEYS > depends on SYSTEM_BLACKLIST_KEYRING > depends on LOAD_UEFI_KEYS || LOAD_PPC_KEYS > - select INTEGRITY_CA_MACHINE_KEYRING if LOAD_PPC_KEYS > - select INTEGRITY_CA_MA

[PATCH rcu v2 04/20] drivers/dax: Remove "select SRCU"

2023-01-12 Thread Paul E. McKenney
Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: Acked-by: Dan Williams Reviewe

Re: [PATCH rcu 11/27] drivers/dax: Remove "select SRCU"

2023-01-05 Thread Paul E. McKenney
On Thu, Jan 05, 2023 at 08:48:28AM -0800, Dan Williams wrote: > Paul E. McKenney wrote: > > Now that the SRCU Kconfig option is unconditionally selected, there is > > no longer any point in selecting it. Therefore, remove the "select SRCU" > > Kconfig statements.

RE: [PATCH rcu 11/27] drivers/dax: Remove "select SRCU"

2023-01-05 Thread Dan Williams
Paul E. McKenney wrote: > Now that the SRCU Kconfig option is unconditionally selected, there is > no longer any point in selecting it. Therefore, remove the "select SRCU" > Kconfig statements. > > Signed-off-by: Paul E. McKenney > Cc: Dan Williams > Cc: Visha

[PATCH rcu 11/27] drivers/dax: Remove "select SRCU"

2023-01-04 Thread Paul E. McKenney
Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: --- drivers/dax/Kconfig | 1

Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-03-22 Thread Zhenguo Yao
I thought about it carefully. Indeed, in my scenario(virtual machine which use optane as DRAM), device assignment can be performed in userspace at very early time after the system is started. This patch is not needed in my scenario. Thank you for your reply. Dan Williams 于2022年3月23日周三 10:01写道: >

Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-03-22 Thread Dan Williams
On Mon, Feb 28, 2022 at 1:50 AM Zhenguo Yao wrote: > > device_dax driver always match dax devices by default. The other > drivers only match devices by dax_id. There are situations which > need kmem drvier match all the dax device at boot time. So > adding a parameter to support this function. Wh

[PATCH v2] device-dax: Adding match parameter to select which driver to match dax devices

2022-03-02 Thread Zhenguo Yao
device_dax driver always match dax devices by default. The other drivers only match devices by dax_id. There is situations which need kmem drvier match all the dax device at boot time. So adding a parameter to support this function. Signed-off-by: Zhenguo Yao --- Changes: - v1->v2 fix bu

Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-02-28 Thread kernel test robot
umented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zhenguo-Yao/device-dax-Adding-match-parameter-to-select-which-driver-to-match-dax-devices/20220228-175040 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

[PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-02-28 Thread Zhenguo Yao
device_dax driver always match dax devices by default. The other drivers only match devices by dax_id. There are situations which need kmem drvier match all the dax device at boot time. So adding a parameter to support this function. Signed-off-by: Zhenguo Yao --- drivers/dax/device.c | 3 +++ d

Re: [PATCH net-next] net: enetc: automatically select IERB module

2021-04-20 Thread patchwork-bot+netdevbpf
ly it was possible that this module was disabled while the > enetc was enabled. Fix it by automatically select the enetc-ierb module. > > Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated > Endpoint Register Block") > Signed-off-by: Michael Walle &g

Re: [PATCH net-next] net: enetc: automatically select IERB module

2021-04-20 Thread Vladimir Oltean
e > enetc was enabled. Fix it by automatically select the enetc-ierb module. > > Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated > Endpoint Register Block") > Signed-off-by: Michael Walle > --- Acked-by: Vladimir Oltean

[PATCH v3 bpf-next 04/11] tcp: Add reuseport_migrate_sock() to select a new listener.

2021-04-20 Thread Kuniyuki Iwashima
mp_rmb() in reuseport_(select|migrate)_sock() */ smp_wmb(); reuse->num_socks++; } @@ -435,6 +435,23 @@ static struct sock *run_bpf_filter(struct sock_reuseport *reuse, u16 socks, return reuse->socks[index]; } +static struct sock *reuseport_select_sock_by_hash(stru

[PATCH net-next] net: enetc: automatically select IERB module

2021-04-20 Thread Michael Walle
Now that enetc supports flow control we have to make sure the settings in the IERB are correct. Therefore, we actually depend on the enetc-ierb module. Previously it was possible that this module was disabled while the enetc was enabled. Fix it by automatically select the enetc-ierb module. Fixes

Re: [PATCH] iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER

2021-04-18 Thread Jonathan Cameron
), then the IIO_TRIGGERED_BUFFER symbol isn't > > selected/enforced. > > > > Previously, each driver would enforce/select the IIO_TRIGGERED_BUFFER > > symbol. With this change the HID_SENSOR_IIO_TRIGGER (for the > > hid-sensor-trigger module) will enforce that IIO_TRI

[tip: sched/core] sched: Don't make LATENCYTOP select SCHED_DEBUG

2021-04-16 Thread tip-bot2 for Peter Zijlstra
Committer: Peter Zijlstra CommitterDate: Fri, 16 Apr 2021 17:06:33 +02:00 sched: Don't make LATENCYTOP select SCHED_DEBUG SCHED_DEBUG is not in fact required for LATENCYTOP, don't select it. Suggested-by: Mel Gorman Signed-off-by: Peter Zijlstra (Intel) Tested-by: Valentin Schneider L

Re: [PATCH] iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER

2021-04-15 Thread Srinivas Pandruvada
module. > > The above change works fine, if any of the sensors get built. > However, when > only the common hid-sensor-trigger module gets built (and none of the > drivers), then the IIO_TRIGGERED_BUFFER symbol isn't > selected/enforced. > > Previously, each driver would enf

[PATCH] iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER

2021-04-14 Thread Alexandru Ardelean
n only the common hid-sensor-trigger module gets built (and none of the drivers), then the IIO_TRIGGERED_BUFFER symbol isn't selected/enforced. Previously, each driver would enforce/select the IIO_TRIGGERED_BUFFER symbol. With this change the HID_SENSOR_IIO_TRIGGER (for the hid-sensor-trigg

Re: [PATCH] [v4] Input: Add "Select" button to Microsoft Xbox One controller.

2021-04-13 Thread Chris Ye
That line was using tab + 4 spaces on the left and was reformatted to use 2 tabs. If you don't like it I've uploaded patch v5 not touching that line. On Tue, Apr 13, 2021 at 5:34 AM Bastien Nocera wrote: > > On Tue, 2021-04-13 at 01:02 +, Chris Ye wrote: > > Add

[PATCH] [v5] Input: Add "Select" button to Microsoft Xbox One controller.

2021-04-13 Thread Chris Ye
Add "Select" button input capability and input event mapping for Microsoft Xbox One controller. From product site this is also referred as "Share" button. Fixed Microsoft Xbox One controller select button not working under USB connection. Signed-off-by: Chris Ye --- dr

Re: [PATCH] [v4] Input: Add "Select" button to Microsoft Xbox One controller.

2021-04-13 Thread Bastien Nocera
On Tue, 2021-04-13 at 01:02 +, Chris Ye wrote: > Add "Select" button input capability and input event mapping for > Microsoft Xbox One controller. From product site this is also > referred as > "Share" button. > Fixed Microsoft Xbox One controller se

[PATCH] [v4] Input: Add "Select" button to Microsoft Xbox One controller.

2021-04-12 Thread Chris Ye
Add "Select" button input capability and input event mapping for Microsoft Xbox One controller. From product site this is also referred as "Share" button. Fixed Microsoft Xbox One controller select button not working under USB connection. Signed-off-by: Chris Ye --- dr

[PATCH v2 3/9] sched: Dont make LATENCYTOP select SCHED_DEBUG

2021-04-12 Thread Peter Zijlstra
SCHED_DEBUG is not in fact required for LATENCYTOP, don't select it. Suggested-by: Mel Gorman Signed-off-by: Peter Zijlstra (Intel) --- lib/Kconfig.debug |1 - 1 file changed, 1 deletion(-) --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1670,7 +1670,6 @@ config LATEN

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-09 Thread David Hildenbrand
bool "Aspeed display driver" select DRM_WANT_CMA config DRM_WANT_CMA bool help Select this from any driver that benefits from CMA being enabled config DMA_CMA bool "Use CMA helpers for DRM" default DRM_WANT_C

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-09 Thread David Hildenbrand
On 08.04.21 15:19, Arnd Bergmann wrote: On Thu, Apr 8, 2021 at 2:50 PM Linus Walleij wrote: On Thu, Apr 8, 2021 at 2:01 PM David Hildenbrand wrote: This is something you could do using a hidden helper symbol like config DRMA_ASPEED_GFX bool "Aspeed display driver"

[PATCH 04/14] phy: cadence-torrent: Select register configuration based on PHY reference clock

2021-04-08 Thread Swapnil Jakhade
Add PHY input reference clock frequency as a new dimension to select proper register configuration. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 830 +++--- 1 file changed, 422 insertions(+), 408 deletions(-) diff --git a/drivers/phy/cadence

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Linus Walleij
On Thu, Apr 8, 2021 at 6:44 PM David Hildenbrand wrote: > > drivers/gpu/drm/mcde/Kconfig > > drivers/gpu/drm/pl111/Kconfig > > drivers/gpu/drm/tve200/Kconfig > > I was assuming these are "real" dependencies. Will it also work without > DMA_CMA? It will mostly work but that is only because the re

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
config DRMA_ASPEED_GFX > >>> bool "Aspeed display driver" > >>> select DRM_WANT_CMA > >>> > >>> config DRM_WANT_CMA > >>> bool > >>> help > >>>

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Jason Gunthorpe
On Thu, Apr 08, 2021 at 01:38:17PM +0200, Daniel Vetter wrote: > If you want to change this, we need automatic conflict resolution like apt > and other package managers have, with suggestions how to fix the config if > you want to enable a driver, but some of its requirements are missing. The > cu

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
On 08.04.21 14:49, Linus Walleij wrote: On Thu, Apr 8, 2021 at 2:01 PM David Hildenbrand wrote: This is something you could do using a hidden helper symbol like config DRMA_ASPEED_GFX bool "Aspeed display driver" select DRM_WANT_CMA config DRM_WANT_CMA

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
On Thu, Apr 8, 2021 at 2:50 PM Linus Walleij wrote: > > On Thu, Apr 8, 2021 at 2:01 PM David Hildenbrand wrote: > > > > This is something you could do using a hidden helper symbol like > > > > > > config DRMA_ASPEED_GFX > > > bool "Aspeed

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Linus Walleij
On Thu, Apr 8, 2021 at 2:01 PM David Hildenbrand wrote: > > This is something you could do using a hidden helper symbol like > > > > config DRMA_ASPEED_GFX > > bool "Aspeed display driver" > > select DRM_WANT_CMA > > > > c

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
which drivers are enabled? > > "Random drivers should not override a user configuration of core knobs > (e.g., CONFIG_DMA_CMA=n)." > > Let's assume I'm a distribution and want to set CONFIG_CMA=n or want to > set CONFIG_DMA_CMA=n with CONFIG_CMA=y; there is no wa

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
with e.g., DRMA_ASPEED_GFX=y because it will always override my (user!) setting -- even though it doesn't really always need it. Using "select" is the problem here. This is something you could do using a hidden helper symbol like config DRMA_ASPEED_GFX bool "Aspeed

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
eful default for DMA_CMA depending on which drivers are enabled? This is something you could do using a hidden helper symbol like config DRMA_ASPEED_GFX bool "Aspeed display driver" select DRM_WANT_CMA config DRM_WANT_CMA bool help Select this from

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Daniel Vetter
ect > > dependencies and manual overrides. > > > > "This is similar to "select" as it enforces a lower limit on another > > symbol except that the "implied" symbol's value may still be set to n > > from a direct dependency or wi

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
In particular, it does not prevent a configuration with 'DRM_CMA=m' I assume you meant "DRM_CMA=n" ? DRM_CMA cannot be built as a module. Ok, at least that makes it easier. and 'DRMA_ASPEED_GFX=y', or any build failures from such a configuration. I don't follow. "DRM_CMA=n" and 'DRMA_ASPEE

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
_DMA_CMA=n). Use "imply" instead, to still respect > >> dependencies and manual overrides. > >> > >> "This is similar to "select" as it enforces a lower limit on another > >> symbol except that the "implied" symbol's v

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
encies and manual overrides. "This is similar to "select" as it enforces a lower limit on another symbol except that the "implied" symbol's value may still be set to n from a direct dependency or with a visible prompt." Implying DRM_CMA should be sufficient

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
s is similar to "select" as it enforces a lower limit on another symbol except that the "implied" symbol's value may still be set to n from a direct dependency or with a visible prompt." Implying DRM_CMA should be sufficient, as that depends on CMA. Note: If this is

Re: [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

2021-04-08 Thread Eugen.Hristev
On 4/7/21 8:13 PM, Alexandre Belloni wrote: > Hi, > > On 07/04/2021 20:00:53+0300, Eugen Hristev wrote: >> From: Claudiu Beznea >> >> Select PLL, generic clock and UTMI support for SAMA7G5. >> >> Signed-off-by: Claudiu Beznea >> Signed-off-by:

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Arnd Bergmann
On Thu, Apr 8, 2021 at 11:22 AM David Hildenbrand wrote: > > Random drivers should not override a user configuration of core knobs > (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect > dependencies and manual overrides. > > "This is similar to &quo

Re: [PATCH v2 0/2] drivers: don't select DMA_CMA or CMA

2021-04-08 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 12:05:21PM +0200, David Hildenbrand wrote: > Trying to set CONFIG_CMA=y with CONFIG_DMA_CMA=n revealed that we have > three drivers that select these options. Random drivers should not > override user settings of such core knobs. Let's use "imply DMA_C

[PATCH v2 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
Random drivers should not override a user configuration of core knobs (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect dependencies and manual overrides. "This is similar to "select" as it enforces a lower limit on another symbol except that the "imp

[PATCH v2 1/2] drivers/video/fbdev: don't select DMA_CMA

2021-04-08 Thread David Hildenbrand
Random drivers should not override a user configuration of core knobs (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect dependencies and manual overrides. "This is similar to "select" as it enforces a lower limit on another symbol except that the "imp

[PATCH v2 0/2] drivers: don't select DMA_CMA or CMA

2021-04-08 Thread David Hildenbrand
Trying to set CONFIG_CMA=y with CONFIG_DMA_CMA=n revealed that we have three drivers that select these options. Random drivers should not override user settings of such core knobs. Let's use "imply DMA_CMA" instead, such that user configuration and dependencies are respected.

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
This is similar to "select" as it enforces a lower limit on another symbol except that the "implied" symbol's value may still be set to n from a direct dependency or with a visible prompt." Implying DRM_CMA should be sufficient, as that depends on CMA. ^

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 11:20:11AM +0200, David Hildenbrand wrote: > Random drivers should not override a user configuration of core knobs > (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect > dependencies and manual overrides. > > "This is similar to &

Re: [PATCH v1 1/2] drivers/video/fbdev: don't select DMA_CMA

2021-04-08 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 11:20:10AM +0200, David Hildenbrand wrote: > Random drivers should not override a user configuration of core knobs > (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect > dependencies and manual overrides. > > "This is similar to &

[PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread David Hildenbrand
Random drivers should not override a user configuration of core knobs (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect dependencies and manual overrides. "This is similar to "select" as it enforces a lower limit on another symbol except that the "imp

[PATCH v1 1/2] drivers/video/fbdev: don't select DMA_CMA

2021-04-08 Thread David Hildenbrand
Random drivers should not override a user configuration of core knobs (e.g., CONFIG_DMA_CMA=n). Use "imply" instead, to still respect dependencies and manual overrides. "This is similar to "select" as it enforces a lower limit on another symbol except that the "imp

[PATCH v1 0/2] drivers: don't select DMA_CMA or CMA

2021-04-08 Thread David Hildenbrand
Trying to set CONFIG_CMA=y with CONFIG_DMA_CMA=n revealed that we have three drivers that select these options. Random drivers should not override user settings of such core knobs. Let's use "imply DMA_CMA" instead, such that user configuration and dependencies are respected. Cc: J

Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

2021-04-08 Thread Robert Foss
Hey Zhang, On Thu, 8 Apr 2021 at 09:10, zhangjianhua (E) wrote: > > Hello Robert > > I am sorry that I make a mistake about the compiling error of lt8912b, > > the reason is that lt8912b miss the header file . > > Although there are many files reference gpiod_set_value_cansleep() and > > devm_gpi

Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

2021-04-08 Thread zhangjianhua (E)
Hello Robert I am sorry that I make a mistake about the compiling error of lt8912b, the reason is that lt8912b miss the header file . Although there are many files reference gpiod_set_value_cansleep() and devm_gpiod_get_optional(), they all include and not occur the compiling error like lt89

Re: [PATCH] MIPS: select ARCH_KEEP_MEMBLOCK unconditionally

2021-04-07 Thread Guenter Roeck
t; > Link: > https://lore.kernel.org/linux-kbuild/20210313194836.372585-11-masahi...@kernel.org/ > Fixes: commit a8c0f1c634507 ("MIPS: Select ARCH_KEEP_MEMBLOCK if s/commit // > DEBUG_KERNEL to enable sysfs memblock debug") > Cc: Masahiro Yamada > Reported-by: Guente

Re: [PATCH] MIPS: select ARCH_KEEP_MEMBLOCK unconditionally

2021-04-07 Thread Masahiro Yamada
; https://lore.kernel.org/linux-kbuild/20210313194836.372585-11-masahi...@kernel.org/ > Fixes: commit a8c0f1c634507 ("MIPS: Select ARCH_KEEP_MEMBLOCK if > DEBUG_KERNEL to enable sysfs memblock debug") > Cc: Masahiro Yamada Please replace it with: Reviewed-by: Masahiro Yama

[PATCH] MIPS: select ARCH_KEEP_MEMBLOCK unconditionally

2021-04-07 Thread Nick Desaulniers
. allnoconfig disables DEBUG_KERNEL and thus ARCH_KEEP_MEMBLOCK, which changes __init_memblock to be equivalent to __meminit triggering the above error. Link: https://lore.kernel.org/linux-kbuild/20210313194836.372585-11-masahi...@kernel.org/ Fixes: commit a8c0f1c634507 ("MIPS: Select ARCH_KEEP_MEMBLO

Re: [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

2021-04-07 Thread Alexandre Belloni
Hi, On 07/04/2021 20:00:53+0300, Eugen Hristev wrote: > From: Claudiu Beznea > > Select PLL, generic clock and UTMI support for SAMA7G5. > > Signed-off-by: Claudiu Beznea > Signed-off-by: Eugen Hristev > --- > arch/arm/mach-at91/Kconfig | 3 +++ > 1 file changed

[PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

2021-04-07 Thread Eugen Hristev
From: Claudiu Beznea Select PLL, generic clock and UTMI support for SAMA7G5. Signed-off-by: Claudiu Beznea Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index

Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

2021-04-07 Thread zhangjianhua (E)
Thanks, I will do that. 在 2021/4/7 16:03, Robert Foss 写道: Yes, you are right, there are many files reference gpiod_set_value_cansleep() and devm_gpiod_get_optional(). How about add config dependencies for all releated I think this is the way to go and roughly half of the drm bridge drivers see

Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

2021-04-07 Thread Robert Foss
> Yes, you are right, there are many files reference > gpiod_set_value_cansleep() and > > devm_gpiod_get_optional(). How about add config dependencies for all > releated I think this is the way to go and roughly half of the drm bridge drivers seem to need this change. Do you mind submitting a ser

Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

2021-04-07 Thread zhangjianhua (E)
/gpu/drm/bridge/Kconfig index dba62f92d051..caa9658ec933 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -67,6 +67,7 @@ config DRM_LONTIUM_LT8912B select DRM_PANEL_BRIDGE select DRM_KMS_HELPER select REGMAP_I2C + select GPIOLIB This

  1   2   3   4   5   6   7   8   9   10   >