[PATCH v2 4/6] ASoC: qcom: dt-bindings: add bindings for lpass va macro codec

2020-10-29 Thread Srinivas Kandagatla
This binding is for LPASS has internal codec VA macro which is for connecting with DMICs. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound/qcom,lpass-va-macro.yaml | 67 +++ 1 file changed, 67 insertions(+) create mode 100644

[PATCH] drivers: staging: rtl8188eu: Fix spelling in two comments i.e defalut to default

2020-10-29 Thread Bhaskar Chowdhury
Fixed two spelling in two different comments. s/defalut/default/p Signed-off-by: Bhaskar Chowdhury --- Greg, I have included the driver name as you suggested. drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] power: supply: olpc_battery: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Hans de Goede
Hi, On 10/29/20 11:59 AM, Coiby Xu wrote: > Hi Hans, > > Thank you for reviewing this patch! > > On Thu, Oct 29, 2020 at 11:04:36AM +0100, Hans de Goede wrote: >> Hi, >> >> On 10/29/20 8:41 AM, Coiby Xu wrote: >>> SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. >> >> No it

Re: Possible bug in getdents64()?

2020-10-29 Thread Florian Weimer
* Alejandro Colomar via Libc-alpha: > [[ CC += linux-man, linux-kernel, libc-alpha, mtk ]] > > On 2020-10-28 20:26, Alejandro Colomar wrote: >> The manual page for getdents64() says the prototype should be the >> following: >>    int getdents64(unsigned int fd, struct linux_dirent64 *dirp,

[PATCH v2 3/6] ASoC: codecs: lpass-wsa-macro: add dapm widgets and route

2020-10-29 Thread Srinivas Kandagatla
This patch adds dapm widgets and routes on this codec Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/lpass-wsa-macro.c | 1006 1 file changed, 1006 insertions(+) diff --git a/sound/soc/codecs/lpass-wsa-macro.c b/sound/soc/codecs/lpass-wsa-macro.c index

Re: [PATCH v2 06/15] perf session: load data directory into tool process memory

2020-10-29 Thread Namhyung Kim
Hi Jiri, On Thu, Oct 29, 2020 at 12:40 AM Jiri Olsa wrote: > > On Wed, Oct 28, 2020 at 04:22:49PM +0900, Namhyung Kim wrote: > > On Tue, Oct 27, 2020 at 11:43 PM Alexey Budankov > > wrote: > > > > > > > > > On 27.10.2020 15:21, Jiri Olsa wrote: > > > > On Tue, Oct 27, 2020 at 10:37:58AM +0300,

Re: Possible bug in getdents64()?

2020-10-29 Thread Alejandro Colomar
On 2020-10-29 12:09, Florian Weimer wrote: * Alejandro Colomar via Libc-alpha: [[ CC += linux-man, linux-kernel, libc-alpha, mtk ]] On 2020-10-28 20:26, Alejandro Colomar wrote: The manual page for getdents64() says the prototype should be the following:    int getdents64(unsigned

[PATCH v2.2 4/4] cpufreq: schedutil: Always call driver if CPUFREQ_NEED_UPDATE_LIMITS is set

2020-10-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Because sugov_update_next_freq() may skip a frequency update even if the need_freq_update flag has been set for the policy at hand, policy limits updates may not take effect as expected. For example, if the intel_pstate driver operates in the passive mode with HWP

Re: [PATCHv2 1/3] software node: Power management operations for software nodes

2020-10-29 Thread Sakari Ailus
Moi Heikki, On Thu, Oct 29, 2020 at 01:59:39PM +0300, Heikki Krogerus wrote: > The software node specific PM operations make it possible to > handle most PM related quirks separately in their own > functions instead of conditionally in the device driver's > generic PM functions (and in some cases

Re: [PATCH 1/1] video: fbdev: fix divide error in fbcon_switch

2020-10-29 Thread Jani Nikula
On Thu, 29 Oct 2020, Greg KH wrote: > On Tue, Oct 27, 2020 at 10:12:49AM -0700, Saeed Mirzamohammadi wrote: >> Hi Greg, >> >> Sorry for the confusion. I’m requesting stable maintainers to cherry-pick >> this patch into stable 5.4 and 5.8. >> commit cc07057c7c88fb8eff3b1991131ded0f0bcfa7e3 >>

Re: [PATCH 2/2] pinctrl: qcom: Add SDX55 pincontrol driver

2020-10-29 Thread Vinod Koul
On 28-10-20, 11:35, Bjorn Andersson wrote: > On Wed 28 Oct 03:30 CDT 2020, Vinod Koul wrote: > > diff --git a/drivers/pinctrl/qcom/pinctrl-sdx55.c > > b/drivers/pinctrl/qcom/pinctrl-sdx55.c > [..] > > +static const struct msm_function sdx55_functions[] = { > [..] > > + FUNCTION(qdss_gpio), > >

Re: [PATCH] perf data: Allow to use stdio functions for pipe mode

2020-10-29 Thread Namhyung Kim
Hi Ian, On Thu, Oct 29, 2020 at 1:37 AM Ian Rogers wrote: > > On Wed, Oct 28, 2020 at 1:56 AM Namhyung Kim wrote: > > > > When perf data is in a pipe, it reads each event separately using > > read(2) syscall. This is a huge performance bottleneck when > > processing large data like in perf

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Valentin Schneider
Hi Vincent, On 28/10/20 17:44, Vincent Guittot wrote: > During fast wakeup path, scheduler always check whether local or prev cpus > are good candidates for the task before looking for other cpus in the > domain. With > commit b7a331615d25 ("sched/fair: Add asymmetric CPU capacity wakeup

Re: [PATCH] cpufreq: schedutil: set sg_policy->next_freq to the final cpufreq

2020-10-29 Thread zhuguangqing83
On 10/29/2020 15:19,Viresh Kumar wrote: > Your mail client is screwing the "In-reply-to" field of the message > and that prevents it to appear properly in the thread in mailboxes of > other people, please fix that. > I will try to fix that. > On 29-10-20, 09:43, zhuguangqing83 wrote: > > > diff

Re: [PATCH v3 1/4] firmware: arm_scmi: Add Voltage Domain Support

2020-10-29 Thread Etienne Carriere
On Wed, 28 Oct 2020 at 21:44, Cristian Marussi wrote: > > On Wed, Oct 28, 2020 at 03:29:57PM +0100, Etienne Carriere wrote: > > Hi Cristian, > > > > Some remaining minor comments see below. > > FYI I've successfully tested this series (the 4 patches). > > > > Hi > > Thanks a lot ! > > Replies

[PATCH -next] platform/x86/dell-wmi-sysman: Make some symbols static

2020-10-29 Thread Zou Wei
Fix the following sparse warnings: drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:38:23: warning: symbol 'po_is_pass_set' was not declared. Should it be static? drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:70:23: warning: symbol 'po_current_password' was not declared.

Re: [PATCH v2.2 4/4] cpufreq: schedutil: Always call driver if CPUFREQ_NEED_UPDATE_LIMITS is set

2020-10-29 Thread Viresh Kumar
On 29-10-20, 12:12, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Because sugov_update_next_freq() may skip a frequency update even if > the need_freq_update flag has been set for the policy at hand, policy > limits updates may not take effect as expected. > > For example, if the

[PATCH] opp: fix bad error check logic in the opp helper register

2020-10-29 Thread Tero Kristo
The error check is incorrectly negated causing the helper to never register anything. This causes platforms that depend on this functionality to fail always with any cpufreq transition, and at least TI DRA7 based platforms fail to boot completely due to warning message flood from

Re: [PATCH] Documentation: Add documentation for new platform_profile sysfs attribute

2020-10-29 Thread Rafael J. Wysocki
On Thu, Oct 29, 2020 at 2:53 AM Bastien Nocera wrote: > > Hey Hans, Mark, > > On Tue, 2020-10-27 at 12:42 -0400, Mark Pearson wrote: > > From: Hans de Goede > > > > On modern systems the platform performance, temperature, fan and > > other > > hardware related characteristics are often

Re: [PATCH] cpufreq: schedutil: set sg_policy->next_freq to the final cpufreq

2020-10-29 Thread Viresh Kumar
On 29-10-20, 19:17, zhuguangqing83 wrote: > I think your patch is ok for tackling this problem. Great. > > diff --git a/kernel/sched/cpufreq_schedutil.c > > b/kernel/sched/cpufreq_schedutil.c > > index 0c5c61a095f6..8991cc31b011 100644 > > --- a/kernel/sched/cpufreq_schedutil.c > > +++

[PATCH -next] platform/x86/dell-wmi-sysman: Make wmi_sysman_kobj_sysfs_ops static

2020-10-29 Thread Zou Wei
Fix the following sparse warning: drivers/platform/x86/dell-wmi-sysman/sysman.c:258:24: warning: symbol 'wmi_sysman_kobj_sysfs_ops' was not declared. Should it be static? wmi_sysman_kobj_sysfs_ops has only call within sysman.c It should be static Reported-by: Hulk Robot Signed-off-by: Zou Wei

[PATCH] kbuild: use -fmacro-prefix-map for .S sources compilation

2020-10-29 Thread Denys Zagorui
Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make __FILE__ a relative path") commit. Assembler sources also use __FILE__ macro so this flag should be also apllied to that sources. Signed-off-by: Denys Zagorui --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/1] video: fbdev: fix divide error in fbcon_switch

2020-10-29 Thread Greg KH
On Thu, Oct 29, 2020 at 01:13:01PM +0200, Jani Nikula wrote: > On Thu, 29 Oct 2020, Greg KH wrote: > > On Tue, Oct 27, 2020 at 10:12:49AM -0700, Saeed Mirzamohammadi wrote: > >> Hi Greg, > >> > >> Sorry for the confusion. I’m requesting stable maintainers to cherry-pick > >> this patch into

Re: [PATCH v2.2 4/4] cpufreq: schedutil: Always call driver if CPUFREQ_NEED_UPDATE_LIMITS is set

2020-10-29 Thread Rafael J. Wysocki
On Thu, Oct 29, 2020 at 12:23 PM Viresh Kumar wrote: > > On 29-10-20, 12:12, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Because sugov_update_next_freq() may skip a frequency update even if > > the need_freq_update flag has been set for the policy at hand, policy > > limits

Re: [PATCH] drivers: staging: rtl8188eu: Fix spelling in two comments i.e defalut to default

2020-10-29 Thread Greg KH
On Thu, Oct 29, 2020 at 04:36:00PM +0530, Bhaskar Chowdhury wrote: > Fixed two spelling in two different comments. > > s/defalut/default/p > > Signed-off-by: Bhaskar Chowdhury > --- > Greg, I have included the driver name as you suggested. Suggested when, is this a v2 patch? Remember, kernel

Re: [PATCH v22 08/12] landlock: Add syscall implementations

2020-10-29 Thread Mickaël Salaün
On 29/10/2020 02:06, Jann Horn wrote: > On Tue, Oct 27, 2020 at 9:04 PM Mickaël Salaün wrote: >> These 3 system calls are designed to be used by unprivileged processes >> to sandbox themselves: >> * landlock_create_ruleset(2): Creates a ruleset and returns its file >> descriptor. >> *

[PATCH 06/17] vt: keyboard, extract vt_kdgkbent and vt_kdskbent

2020-10-29 Thread Jiri Slaby
Split vt_do_kdsk_ioctl into three functions: * getter (KDGKBENT/vt_kdgkbent) * setter (KDSKBENT/vt_kdskbent) * switch-case helper (vt_do_kdsk_ioctl) This eliminates the need of ugly one-letter macros as we use parameters now: * i aka tmp.kb_index -> idx * s aka tmp.kb_table -> map * v aka

[PATCH 08/17] vt: keyboard, use DECLARE_BITMAP for key_down

2020-10-29 Thread Jiri Slaby
key_down is sued as a bitmap using test_bit, set_bit and similar. So declare it using DECLARE_BITMAP to make it obvious even from the declaration. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 5/5] i2c: stm32: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Fabrice Gasnier
On 10/29/20 8:46 AM, Coiby Xu wrote: > SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. > > Signed-off-by: Coiby Xu > --- > drivers/i2c/busses/i2c-stm32f7.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-stm32f7.c >

Re: [PATCH 10/15] iio: adc: stm32: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Fabrice Gasnier
On 10/29/20 8:49 AM, Coiby Xu wrote: > SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. > > Signed-off-by: Coiby Xu > --- > drivers/iio/adc/stm32-adc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c >

[PATCH 12/17] vt: keyboard, extract and simplify vt_kdskbsent

2020-10-29 Thread Jiri Slaby
Setting of function key strings is now very complex. It uses a global buffer 'func_buf' which is prefilled in defkeymap.c_shipped. Then there is also an index table called 'func_table'. So initially, we have something like this: char func_buf[] = "\e[[A\0" // for F1

[PATCH 09/17] vt: keyboard, use bool for rep

2020-10-29 Thread Jiri Slaby
rep is used as a bool in the code, so declare it as such. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index c4791f33c145..e47a1c6bfa44 100644 ---

[PATCH 11/17] vt: keyboard, reorder user buffer handling in vt_do_kdgkb_ioctl

2020-10-29 Thread Jiri Slaby
KDGKBSENT (the getter) needs only 'user_kdgkb->kb_func' from the userspace, i.e. the index. Then it needs a buffer for a local copy of 'kb_string'. KDSKBSENT (the setter) needs a copy up to the length of 'user_kdgkb->kb_string'. That means, we obtain the index before the switch-case and use it

[PATCH 01/17] vt: keyboard, remove ctrl_alt_del declaration

2020-10-29 Thread Jiri Slaby
ctrl_alt_del is already declared in linux/reboot.h which we include. So remove this second (superfluous) declaration. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index

[PATCH 02/17] vt: keyboard, include linux/spinlock.h

2020-10-29 Thread Jiri Slaby
We use spin locks, but don't include linux/spinlock.h in keyboards.c. So fix this up. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 69bbb6c1b3de..275093a15564 100644 ---

[PATCH 07/17] vt: keyboard, union perm checks in vt_do_kdsk_ioctl

2020-10-29 Thread Jiri Slaby
Do the permission check on a single place. That is where perm is really checked. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index c1709b8dbb52..823df9bb52b1

[PATCH 13/17] vt: keyboard, remove unneeded func_* declarations

2020-10-29 Thread Jiri Slaby
Now that we removed the ugly handling of func_buf, remove unneeded declarations of func_* variables. The definitions are in the generated defkeymap.c_shipped, so we cannot really remove them (but we would love to). Signed-off-by: Jiri Slaby --- include/linux/kbd_kern.h | 3 --- 1 file changed,

[PATCH 14/17] vt: keyboard, union perm checks in vt_do_kdgkb_ioctl

2020-10-29 Thread Jiri Slaby
Do the permission check on a single place. That is where perm is really checked. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 648bdfb05e25..1de0d5217aed

[PATCH 03/17] vt: keyboard, sort includes

2020-10-29 Thread Jiri Slaby
There are many includes and it is hard to check if something is there or not. So sort them alphabetically. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/tty/vt/keyboard.c

[PATCH 05/17] vt: keyboard, clean up max_vals

2020-10-29 Thread Jiri Slaby
Define one limit per line and index them by their index, so that it is clear what is what. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c

[PATCH 17/17] vt: keyboard, use tty_insert_flip_string in puts_queue

2020-10-29 Thread Jiri Slaby
'puts_queue' currently loops over characters and employs the full tty buffer machinery for every character. Do the buffer allocation only once and copy all the character at once. This is achieved using tty_insert_flip_string instead of loop+tty_insert_flip_char. Signed-off-by: Jiri Slaby ---

[PATCH 10/17] vt: keyboard, rename i to kb_func in vt_do_kdgkb_ioctl

2020-10-29 Thread Jiri Slaby
There are too many one-letter variables in vt_do_kdgkb_ioctl which is rather confusing. Rename 'i' to 'kb_func' and change its type to be the same as its originating value (struct kbsentry.kb_func) -- unsigned char. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 17 +

[PATCH 04/17] vt: keyboard, sort key types by their number

2020-10-29 Thread Jiri Slaby
KT_LETTER was numerically missorted. So sort all KT_* entries. Signed-off-by: Jiri Slaby --- include/uapi/linux/keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/keyboard.h b/include/uapi/linux/keyboard.h index 4846716e7c5c..36d230cedf12 100644

[PATCH 16/17] vt: keyboard, use find_next_bit in kbd_match

2020-10-29 Thread Jiri Slaby
Instead of a 'for' loop with 'test_bit's to find a bit in a range, use find_next_bit to achieve the same in a simpler and faster manner. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH 15/17] vt: keyboard, make HW_RAW a function

2020-10-29 Thread Jiri Slaby
Instead of a multiline macro, convert HW_RAW to an inline function. It allows for type checking of the parameter. And given we split the code into two tests, it is now more readable too. Signed-off-by: Jiri Slaby --- drivers/tty/vt/keyboard.c | 22 -- 1 file changed, 16

[PATCH -next] platform/surface: remove status assignment without reading

2020-10-29 Thread Zou Wei
The status local variable is assigned but never read: drivers/platform/surface/surface3-wmi.c:60:14: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] acpi_status status; ^~ Reported-by: Hulk Robot Signed-off-by: Zou Wei ---

Linux 5.8.17

2020-10-29 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.8.17 kernel. All users of the 5.8 kernel series must upgrade. The updated 5.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.8.y and can be browsed at the normal kernel.org git web browser:

Linux 5.9.2

2020-10-29 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.9.2 kernel. All users of the 5.9 kernel series must upgrade. The updated 5.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] powerpc: avoid broken GCC __attribute__((optimize))

2020-10-29 Thread Michael Ellerman
Ard Biesheuvel writes: > On Wed, 28 Oct 2020 at 09:04, Ard Biesheuvel wrote: >> >> Commit 7053f80d9696 ("powerpc/64: Prevent stack protection in early boot") >> introduced a couple of uses of __attribute__((optimize)) with function >> scope, to disable the stack protector in some early boot

[PATCH net-next] net: add in_softirq() debug checking in napi_consume_skb()

2020-10-29 Thread Yunsheng Lin
The current semantic for napi_consume_skb() is that caller need to provide non-zero budget when calling from NAPI context, and breaking this semantic will cause hard to debug problem, because _kfree_skb_defer() need to run in atomic context in order to push the skb to the particular cpu'

Re: [PATCH v22 12/12] landlock: Add user and kernel documentation

2020-10-29 Thread Mickaël Salaün
On 29/10/2020 02:07, Jann Horn wrote: > On Tue, Oct 27, 2020 at 9:04 PM Mickaël Salaün wrote: >> This documentation can be built with the Sphinx framework. >> >> Cc: James Morris >> Cc: Jann Horn >> Cc: Kees Cook >> Cc: Serge E. Hallyn >> Signed-off-by: Mickaël Salaün >> Reviewed-by:

Re: [PATCH v22 00/12] Landlock LSM

2020-10-29 Thread Mickaël Salaün
On 29/10/2020 02:05, Jann Horn wrote: > On Tue, Oct 27, 2020 at 9:04 PM Mickaël Salaün wrote: >> This new patch series improves documentation, cleans up comments, >> renames ARCH_EPHEMERAL_STATES to ARCH_EPHEMERAL_INODES and removes >> LANDLOCK_ACCESS_FS_CHROOT. > > Thanks for continuing to

Re: [PATCH v3 1/4] firmware: arm_scmi: Add Voltage Domain Support

2020-10-29 Thread Cristian Marussi
On Thu, Oct 29, 2020 at 12:21:56PM +0100, Etienne Carriere wrote: > On Wed, 28 Oct 2020 at 21:44, Cristian Marussi > wrote: > > > > On Wed, Oct 28, 2020 at 03:29:57PM +0100, Etienne Carriere wrote: > > > Hi Cristian, > > > > > > Some remaining minor comments see below. > > > FYI I've

[PATCH] MAINTAINERS: rectify DELL WMI SYSMAN DRIVERS section

2020-10-29 Thread Lukas Bulwahn
Commit e8a60aa7404b ("platform/x86: Introduce support for Systems Management Driver over WMI for Dell Systems") added a new section DELL WMI SYSMAN DRIVERS in MAINTAINERS, but slipped in a typo. Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: warning: no file matchesF:

[PATCH -next] drm/amdgpu/swsmu: Remove unused static struct 'navi10_i2c_algo'

2020-10-29 Thread Zou Wei
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2527:35: warning: ‘navi10_i2c_algo’ defined but not used [-Wunused-const-variable=] static const struct i2c_algorithm navi10_i2c_algo = { ^~~

Re: [PATCH 11/11] afs: Fix dirty-region encoding on ppc32 with 64K pages

2020-10-29 Thread David Howells
David Howells wrote: > +static inline unsigned int afs_page_dirty_resolution(void) > +{ > + long shift = PAGE_SHIFT - (__AFS_PAGE_PRIV_SHIFT - 1); This should be int, not long, in case we get an explicitly unsigned int number included in the mix (say from thp_order() with THP support).

AW: [PATCH] x86/unwind: remove unneeded initialization

2020-10-29 Thread Walter Harms
this looks like a reimplementation of bsearch() perhaps the maintainer can add a comment why the kernel implementation is not suitable here ? jm2c wh Von: Lukas Bulwahn [lukas.bulw...@gmail.com] Gesendet: Mittwoch, 28. Oktober 2020 13:21 An: Thomas

[RESEND PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-10-29 Thread Vignesh Raghavendra
J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node for the same. Signed-off-by: Vignesh Raghavendra --- Resending, after rebasing and testing on top of 5.10-rc1. No code change. v1: https://lore.kernel.org/r/20201013081650.26090-1-vigne...@ti.com

Re: [PATCHv2 1/3] software node: Power management operations for software nodes

2020-10-29 Thread Heikki Krogerus
On Thu, Oct 29, 2020 at 01:13:03PM +0200, Sakari Ailus wrote: > These functions are doing pretty much the same thing but with different > parameters. How about implementing a macro or a few, which would take all > the parameters as arguments and return the function to call? A few variants > may be

Re: [PATCH -next] platform/surface: remove status assignment without reading

2020-10-29 Thread Andy Shevchenko
On Thu, Oct 29, 2020 at 1:36 PM Zou Wei wrote: > > The status local variable is assigned but never read: ... > mutex_lock(_wmi_lock); > - status = wmi_query_block(guid, instance, ); What are you doing?! -- With Best Regards, Andy Shevchenko

Re: [PATCH -next] platform/x86/dell-wmi-sysman: Make some symbols static

2020-10-29 Thread Andy Shevchenko
On Thu, Oct 29, 2020 at 1:22 PM Zou Wei wrote: > > Fix the following sparse warnings: > > drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:38:23: > warning: symbol 'po_is_pass_set' was not declared. Should it be static? > drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:70:23:

Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring

2020-10-29 Thread Arnd Bergmann
On Thu, Oct 29, 2020 at 11:07 AM Vincent Whitchurch wrote: > > On Wed, Oct 28, 2020 at 04:50:36PM +0100, Arnd Bergmann wrote: > > I think we should try to do something on top of the PCIe endpoint subsystem > > to make it work across arbitrary combinations of host and device > > implementations, >

[PATCH] serial: 8250: 8250_omap: Disable RX interrupt after DMA enable

2020-10-29 Thread Vignesh Raghavendra
UARTs on TI SoCs prior to J7200 don't provide independent control over RX FIFO not empty interrupt (RHR_IT) and RX timeout interrupt. Starting with J7200 SoC, its possible to disable RHR_IT independent of RX timeout interrupt using bit 2 of IER2 register. So disable RHR_IT once RX DMA is started

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-29 Thread Lucas Stach
Am Montag, den 26.10.2020, 11:23 -0500 schrieb Adam Ford: > On Mon, Oct 26, 2020 at 10:44 AM Lucas Stach wrote: > > Am Montag, den 26.10.2020, 10:12 -0500 schrieb Adam Ford: > > > On Mon, Oct 26, 2020 at 9:55 AM Abel Vesa wrote: > > > > On 20-10-25 11:05:32, Adam Ford wrote: > > > > > On Sun,

Re: [PATCH 05/15] iio: accel: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Andy Shevchenko
On Thu, Oct 29, 2020 at 11:05 AM Coiby Xu wrote: > > SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Correct grammar and rethink about them. NAK for all of them. -- With Best Regards, Andy Shevchenko

Re: [PATCH] perf data: Allow to use stdio functions for pipe mode

2020-10-29 Thread Jiri Olsa
On Wed, Oct 28, 2020 at 05:56:32PM +0900, Namhyung Kim wrote: > When perf data is in a pipe, it reads each event separately using > read(2) syscall. This is a huge performance bottleneck when > processing large data like in perf inject. Also perf inject needs to > use write(2) syscall for the

[PATCH v1 1/6] scsi: ufs-mediatek: Assign arguments with correct type

2020-10-29 Thread Stanley Chu
In ufs_mtk_unipro_set_lpm(), use specific unsigned values as the argument to invoke ufshcd_dme_set(). In the same time, change the name of ufs_mtk_unipro_set_pm() to ufs_mtk_unipro_set_lpm() to align the naming convention in MediaTek UFS driver. Signed-off-by: Stanley Chu ---

[PATCH v1 0/6] scsi: ufs: Add some proprietary features in MediaTek UFS platforms

2020-10-29 Thread Stanley Chu
Hi, This patch series provides some features and fixes in MediaTek UFS platforms, 1. Support VA09 regulator operations 2. Support option to disable auto-hibern8 3. Support HS-G4 4. Decouple features from platform bindings 5. Misc fixes Stanley Chu (6): scsi: ufs-mediatek: Assign arguments

[PATCH v1 2/6] scsi: ufs-mediatek: Support VA09 regulator operations

2020-10-29 Thread Stanley Chu
Some MediaTek UFS platforms need to control VA09 power specifically. Provide such control according to the device tree binding. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 137 drivers/scsi/ufs/ufs-mediatek.h | 3 + 2 files changed, 108

[PATCH v1 4/6] scsi: ufs-mediatek: Support option to disable auto-hibern8

2020-10-29 Thread Stanley Chu
Support an option to allow users to disable auto-hibern8 feature. Instead, enable hibern8-during-clk-gating feature to keep similar power consumption. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 18 ++ drivers/scsi/ufs/ufs-mediatek.h | 1 + 2 files

[PATCH v1 3/6] scsi: ufs-mediatek: Decouple features from platform bindings

2020-10-29 Thread Stanley Chu
UFS proprietary features (including features introduced later) in MediaTek UFS platforms have complicated combinations among different platforms. To ease code readability and maintenance, decouple all proprietary features from platform bindings. Each feature would be enabled only if specific

[PATCH v1 6/6] scsi: ufs-mediatek: Add HS-G4 support

2020-10-29 Thread Stanley Chu
Provide HS-G4 support in MediaTek UFS platforms. To support HS-G4, introduce mechanism to get the MediaTek UFS controller version. With such information, driver can make right decision to apply different configurations in different controllers. Signed-off-by: Stanley Chu ---

[PATCH v1 5/6] scsi: ufs: Add enums for UniPro version higher than 1.6

2020-10-29 Thread Stanley Chu
Some vendors need newer UniPro version to decide if some features can be enabled or not. Simply add missing enums for the latest UniPro versions. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/unipro.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH -next] dma-buf: heaps: Make sys_heap static

2020-10-29 Thread Zou Wei
Fix the following sparse warning: drivers/dma-buf/heaps/system_heap.c:23:17: warning: symbol 'sys_heap' was not declared. Should it be static? sys_heap has only call within system_heap.c It should be static Reported-by: Hulk Robot Signed-off-by: Zou Wei ---

Re: [PATCH v5 10/21] perf arm_spe: Fixup top byte for data virtual address

2020-10-29 Thread Andre Przywara
On 29/10/2020 07:19, Leo Yan wrote: > To establish a valid address from the address packet payload and finally > the address value can be used for parsing data symbol in DSO, current > code uses 0xff to replace the tag in the top byte of data virtual > address. > > So far the code only fixups top

Re: [PATCH] x86/unwind: remove unneeded initialization

2020-10-29 Thread Peter Zijlstra
On Thu, Oct 29, 2020 at 11:49:50AM +, Walter Harms wrote: > this looks like a reimplementation of bsearch() > perhaps the maintainer can add a comment why the > kernel implementation is not suitable here ? If you look carefully it doesn't do an exact match, which is what bsearch() does.

[PATCH] Staging: rtl8723bs: core: rtw_cmd: Fixed four if-statement coding style issues

2020-10-29 Thread Manuel Palenzuela
Fixed four cases where the if-statement coding style wasn't following the guidelines. Signed-off-by: Manuel Palenzuela --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c

Re: [PATCH v3 3/4] nvmem: core: Add support for keepout regions

2020-10-29 Thread Srinivas Kandagatla
Thanks Evan for doing this, On 29/10/2020 00:28, Evan Green wrote: Introduce support into the nvmem core for arrays of register ranges that should not result in actual device access. For these regions a constant byte (repeated) is returned instead on read, and writes are quietly ignored and

Re: [PATCH v3 1/4] PM / EM: Add a flag indicating units of power values in Energy Model

2020-10-29 Thread Lukasz Luba
On 10/20/20 1:17 AM, Doug Anderson wrote: Hi, On Mon, Oct 19, 2020 at 7:06 AM Lukasz Luba wrote: There are different platforms and devices which might use different scale for the power values. Kernel sub-systems might need to check if all Energy Model (EM) devices are using the same

[PATCH v4 1/6] tiocl.h: Change/Add defines for mouse report

2020-10-29 Thread Tammo Block
Add additional defines for mouse event types. The change of the value of TIOCL_SELBUTTONMASK deserves a bit more explanation : The old value of 15 uses the first 4 bits and sends them unchanged back to userspace if requested by an application. But in fact only the first two bits have ever been

Re: [PATCH v7 0/4] Add mmc support for MT8192 SoC

2020-10-29 Thread Ulf Hansson
On Wed, 14 Oct 2020 at 05:08, Wenbin Mei wrote: > > Change in v7: > 1)add "unevaluatedProperties" in mtk-sd.yaml > 2)add Reviewed-by tag > > Change in v6: > 1)use devm_clk_get function for required clocks > > Change in v5: > 1)remove Reviewed-by tag > 2)use devm_clk_bulk_get_optional instead of

Re: [PATCH] mmc: mediatek: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-29 Thread Ulf Hansson
On Mon, 19 Oct 2020 at 02:42, Tian Tao wrote: > > The code has been in a irq-disabled context since it is hard IRQ. There > is no necessity to do it again. > > Signed-off-by: Tian Tao Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 5 ++--- > 1 file changed,

Re: [PATCH v3 3/3] mmc: rtsx: Add SD Express mode support for RTS5261

2020-10-29 Thread Ulf Hansson
On Thu, 29 Oct 2020 at 02:58, wrote: > > From: Rui Feng > > RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows. > 1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag. > 2.If card is plugged in, Host send CMD8 to ask card's PCIe availability. > 3.If the card has PCIe

[PATCH v4 0/6] vt: Add SRG mouse reporting features

2020-10-29 Thread Tammo Block
Hi everybody, this patchset adds xterm like mouse reporting features to the console. The linux virtual console has support for mouse reporting since 1994 or so, but the kernel only supports the original X10/X11 style standard protocols. To support more protocols these patches expand the kernel

[PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG

2020-10-29 Thread Willy Liu
Realtek single-port 2.5Gbps Ethernet PHY ids as below: RTL8226-CG: 0x001cc800(ES)/0x001cc838(MP) RTL8226B-CG/RTL8221B-CG: 0x001cc840(ES)/0x001cc848(MP) ES: engineer sample MP: mass production Since above PHYs are already in mass production stage, mass production id should be added.

[PATCH v4 4/6] vt/vt: Add SRG mouse reporting protocol

2020-10-29 Thread Tammo Block
The SRG protocol indicates a button release by appending a "m" to the report. In this case the button number is not 3 (RELEASEEVENT) but the number of the button that was released. As release events are only reported for the first three buttons (LOWBUTTON_MASK), we need to store the number on

[PATCH V2] drivers: staging: rtl8188eu: Fix spelling in two comments i.e defalut to default

2020-10-29 Thread Bhaskar Chowdhury
Fixed two spelling in two different comments. s/defalut/default/p Signed-off-by: Bhaskar Chowdhury --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c

[PATCH v4 3/6] vt/vt: Enable mode change via escape sequence

2020-10-29 Thread Tammo Block
This enables userspace to enable one of the mouse protocols and choose one of the new event types by escape sequences. And don't forget to reset protocol value also if resetting vc. Signed-off-by: Tammo Block --- drivers/tty/vt/vt.c | 17 +++-- 1 file changed, 15 insertions(+), 2

[PATCH v4 5/6] vt/vt: Add URXVT mouse reporting protocol

2020-10-29 Thread Tammo Block
The URXVT protocol easy, all data analog to the old X10. Signed-off-by: Tammo Block --- drivers/tty/vt/vt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index c884539aee22..bf7913652fd7 100644 --- a/drivers/tty/vt/vt.c +++

[PATCH v4 2/6] console_struct.h: Add members for mouse report

2020-10-29 Thread Tammo Block
We need two values to store the status of mouse reporting, both need at least two (vc_protocol_mouse) or three (vc_report_mouse) bits. Signed-off-by: Tammo Block --- include/linux/console_struct.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH v4 6/6] Documentation: Describe console mouse reporting

2020-10-29 Thread Tammo Block
This patch adds a description of the kernel interface(s) used for vt console mouse reporting and describes the protocols and bitmasks. Signed-off-by: Tammo Block --- .../admin-guide/console-mouse-reporting.rst | 88 +++ Documentation/admin-guide/index.rst | 1 + 2

[PATCH] ARM: configs: at91_dt: resync with media changes

2020-10-29 Thread Eugen Hristev
The media tree Kconfig has changed recently, and a lot of modules were built unintentionally, like the dvb frontends and encoders. Resync the defconfig to build the ISI drivers and tested sensors. Signed-off-by: Eugen Hristev --- Hello Alexandre, Right now for sam9x60 we only tested ov2640 and

Re: [PATCH v5 2/4] leds: Add driver for Qualcomm LPG

2020-10-29 Thread Andy Shevchenko
On Tue, Oct 20, 2020 at 7:29 AM Bjorn Andersson wrote: > On Sun 18 Oct 15:12 CDT 2020, Andy Shevchenko wrote: > > On Sat, Oct 17, 2020 at 8:41 AM Bjorn Andersson > > wrote: ... > > > +static int lpg_lut_store(struct lpg *lpg, struct led_pattern *pattern, > > > +size_t

[PATCH net-next 2/2] net: phy: realtek: Add support for RTL8221B-VB-CG/RTL8221B-VM-CG

2020-10-29 Thread Willy Liu
RTL8221B-VB-CG is the third generation 2.5Gbps single port PHY from Realtek, and RTL8221B-VM-CG is 2.5Gbps single port PHY with MACsec feature. This patch adds the minimal driver to manage these two transceivers. Signed-off-by: Willy Liu --- drivers/net/phy/realtek.c | 20

[tip: x86/apic] iommu/vt-d: Simplify intel_irq_remapping_select()

2020-10-29 Thread tip-bot2 for David Woodhouse
The following commit has been merged into the x86/apic branch of tip: Commit-ID: 79eb3581bcaae9b5677629d945e14da212aa76e2 Gitweb: https://git.kernel.org/tip/79eb3581bcaae9b5677629d945e14da212aa76e2 Author:David Woodhouse AuthorDate:Sat, 24 Oct 2020 22:35:30 +01:00

[tip: x86/apic] x86/apic: Support 15 bits of APIC ID in MSI where available

2020-10-29 Thread tip-bot2 for David Woodhouse
The following commit has been merged into the x86/apic branch of tip: Commit-ID: ab0f59c6f135289c7ea90b0e2471674bf289d884 Gitweb: https://git.kernel.org/tip/ab0f59c6f135289c7ea90b0e2471674bf289d884 Author:David Woodhouse AuthorDate:Sat, 24 Oct 2020 22:35:32 +01:00

[tip: x86/apic] x86: Kill all traces of irq_remapping_get_irq_domain()

2020-10-29 Thread tip-bot2 for David Woodhouse
The following commit has been merged into the x86/apic branch of tip: Commit-ID: ed381fca47122f0787ee53b97e5f9d562eec7237 Gitweb: https://git.kernel.org/tip/ed381fca47122f0787ee53b97e5f9d562eec7237 Author:David Woodhouse AuthorDate:Sat, 24 Oct 2020 22:35:29 +01:00

[tip: x86/apic] iommu/hyper-v: Implement select() method on remapping irqdomain

2020-10-29 Thread tip-bot2 for David Woodhouse
The following commit has been merged into the x86/apic branch of tip: Commit-ID: a491bb19f728cdb8cc1f4734ecc57c0afa099fac Gitweb: https://git.kernel.org/tip/a491bb19f728cdb8cc1f4734ecc57c0afa099fac Author:David Woodhouse AuthorDate:Sat, 24 Oct 2020 22:35:26 +01:00

[tip: x86/apic] x86/kvm: Use msi_msg shadow structs

2020-10-29 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/apic branch of tip: Commit-ID: 485940e0e691d6d7874fe1fe3b9453c5af41aace Gitweb: https://git.kernel.org/tip/485940e0e691d6d7874fe1fe3b9453c5af41aace Author:Thomas Gleixner AuthorDate:Sat, 24 Oct 2020 22:35:16 +01:00

[tip: x86/apic] x86/apic: Get rid of apic:: Dest_logical

2020-10-29 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/apic branch of tip: Commit-ID: e57d04e5fa00f7649d4c00796f8d12054799be4a Gitweb: https://git.kernel.org/tip/e57d04e5fa00f7649d4c00796f8d12054799be4a Author:Thomas Gleixner AuthorDate:Sat, 24 Oct 2020 22:35:07 +01:00

<    5   6   7   8   9   10   11   12   13   14   >