[PATCH] mm: Make allocator take care of memoryless numa node

2020-10-12 Thread Xianting Tian
In architecture like powerpc, we can have cpus without any local memory attached to it. In such cases the node does not have real memory. In many places of current kernel code, it doesn't judge whether the node is memoryless numa node before calling allocator interface. This patch is to use

Re: [PATCH 1/2] net: store KCOV remote handle in sk_buff

2020-10-12 Thread Aleksandr Nogikh
On Mon, 12 Oct 2020 at 10:12, Johannes Berg wrote: [...] > > @@ -233,6 +233,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t > > gfp_mask, > > skb->end = skb->tail + size; > > skb->mac_header = (typeof(skb->mac_header))~0U; > > skb->transport_header =

[GIT PULL] x86/platform updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the x86/platform queue. Thx. --- The following changes since commit a1b8638ba1320e6684aa98233c15255eb803fac7: Linux 5.9-rc7 (2020-09-27 14:38:10 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH 3/5] firmware: arm_scmi: add config dependency for smc transport

2020-10-12 Thread Etienne Carriere
On Fri, 9 Oct 2020 at 17:58, Sudeep Holla wrote: > > On Fri, Oct 09, 2020 at 02:33:41PM +0200, Etienne Carriere wrote: > > On Thu, 8 Oct 2020 at 23:08, Sudeep Holla wrote: > > > > > > On Thu, Oct 08, 2020 at 04:37:20PM +0200, Etienne Carriere wrote: > > > > Fix dependencies for configuration

Re: [PATCH] tracing: fix compile failure on RT with PREEMPT_RT off

2020-10-12 Thread Sebastian Andrzej Siewior
On 2020-10-10 16:45:54 [-0500], Clark Williams wrote: > This patch is against v5.9-rc8-rt14 > > Fix a compile issue when CONFIG_PREEMPT_RT is not defined. If > we're not on an RT kernel, just set the migration disabled > status to zero. Thank you. Let me fold it where it belongs. As of now, I

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Jiri Olsa
On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > I split out tools/lib/traceevent from the kernel tree using "git subtree", > which recreates all the commits of a directory and makes that directory a > stand alone. I then updated the Makefiles, and copied over some of the > header

Re: [PATCH] x86/alternative: don't call text_poke() in lazy TLB mode

2020-10-12 Thread Peter Zijlstra
On Fri, Oct 09, 2020 at 04:42:25PM +0200, Juergen Gross wrote: > When running in lazy TLB mode the currently active page tables might > be the ones of a previous process, e.g. when running a kernel thread. > > This can be problematic in case kernel code is being modified via > text_poke() in a

Re: [PATCH V6 RESEND] HID: ASUS: Add support for ASUS N-Key keyboard

2020-10-12 Thread Andy Shevchenko
On Mon, Oct 12, 2020 at 12:51 PM Hans de Goede wrote: > On 10/11/20 9:05 AM, Luke Jones wrote: > > On Fri, Oct 9, 2020 at 16:22, Hans de Goede wrote: ... > > All the DSL we've dumped are here: > > https://gitlab.com/asus-linux/reverse-engineering/-/tree/master/dsl > > > > I'm not sure where to

[GIT PULL] x86/pasid updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the x86/pasid pile. Thx. --- The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: linux-next: build failure after merge of the drm-misc tree

2020-10-12 Thread Paul Cercueil
Hi Stephen, Le lun. 12 oct. 2020 à 15:24, Stephen Rothwell a écrit : Hi all, On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell wrote: On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell wrote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig)

Re: SD_LOAD_BALANCE

2020-10-12 Thread Vincent Guittot
Hi Julia, On Sat, 10 Oct 2020 at 18:14, Julia Lawall wrote: > > Hello, > > Previously, I was wondering about why starting in Linux v5.8 my unblocking > threads were moving to different sockets more frequently than in previous > releases. Now, I think that I have found the reason. > > The first

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Zamir SUN
On Mon, Oct 12, 2020 at 6:12 PM Jiri Olsa wrote: > > On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > > I split out tools/lib/traceevent from the kernel tree using "git subtree", > > which recreates all the commits of a directory and makes that directory a > > stand alone. I then

-next: Kconfig asks about XFS formats when I don't have XFS enabled

2020-10-12 Thread Pavel Machek
Hi! I don't have XFS enabled, yet I'm asked if I want to support its old format: +config XFS_SUPPORT_V4 + bool "Support deprecated V4 (crc=0) format" + default y This needs to have dependence on XFS_FS. + This option will become default N in September 2025. Support for the

[PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static

2020-10-12 Thread Mark-PK Tsai
mst_intc_of_init is not intended to be used ouside of irq-mst-intc.c, declare it static. Reported-by: kernel test robot Signed-off-by: Mark-PK Tsai --- drivers/irqchip/irq-mst-intc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mst-intc.c

Re: [PATCH] x86/x86_64_defconfig: Enable the serial console

2020-10-12 Thread Guillaume Tucker
On 12/10/2020 04:58, Willy Tarreau wrote: > Hi Enric, > > On Sun, Oct 11, 2020 at 07:05:55PM +0200, Enric Balletbo i Serra wrote: >> For arm64 (i.e : arm64_defconfig): >> 1. Someone renames CONFIG_A to CONFIG_AB, sends a patch, and as he did a >> grep, the patch modifies all the defconfigs.

Re: [PATCH v2 1/3] objtool: check: Fully validate the stack frame

2020-10-12 Thread Julien Thierry
On 9/29/20 8:18 PM, Josh Poimboeuf wrote: On Mon, Sep 28, 2020 at 10:36:29AM +0100, Julien Thierry wrote: +++ b/tools/objtool/arch/x86/include/cfi_regs.h @@ -22,4 +22,7 @@ #define CFI_RA16 #define CFI_NUM_REGS 17 A few more naming nitpicks: +#define

[GIT PULL] x86/misc updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull some miscellaneous fixes. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-12 Thread Lukasz Luba
Hi Rob, On 10/9/20 3:01 PM, Rob Herring wrote: On Fri, Oct 09, 2020 at 12:10:03PM +0100, Nicola Mazzucato wrote: Hi Viresh, I'm glad it helped. Please find below my reply. On 10/9/20 6:39 AM, Viresh Kumar wrote: On 08-10-20, 17:00, Nicola Mazzucato wrote: On 10/8/20 4:03 PM, Ionela

[PATCH] drm/ingenic: Fix bad revert

2020-10-12 Thread Paul Cercueil
Fix a badly reverted commit. The revert commit was cherry-picked from drm-misc-next to drm-misc-next-fixes, and in the process some unrelated code was added. Fixes: a3fb64c00d44 "Revert "gpu/drm: ingenic: Add option to mmap GEM buffers cached"" Signed-off-by: Paul Cercueil ---

Re: [PATCH] mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for GL975x

2020-10-12 Thread Ulf Hansson
On Mon, 12 Oct 2020 at 10:41, Ben Chuang wrote: > > Hi Ulf, > > Regarding this patch, we also want to fix the EMI of one hardware > using the old version(such as v5.4). > Is there a chance to append a Fixes tag on this patch ? Unfortunately no. $subject patch is a part of the pull request with

Re: [PATCH] x86/alternative: don't call text_poke() in lazy TLB mode

2020-10-12 Thread Jürgen Groß
On 12.10.20 12:13, Peter Zijlstra wrote: On Fri, Oct 09, 2020 at 04:42:25PM +0200, Juergen Gross wrote: When running in lazy TLB mode the currently active page tables might be the ones of a previous process, e.g. when running a kernel thread. This can be problematic in case kernel code is

[PATCH 2/2] kunit: tool: Mark 'kunittest_config' as constant again

2020-10-12 Thread SeongJae Park
From: SeongJae Park 'kunit_kernel.kunittest_config' was constant at first, and therefore it used UPPER_SNAKE_CASE naming convention that usually means it is constant in Python world. But, commit e3212513a8f0 ("kunit: Create default config in '--build_dir'") made it modifiable to fix a use case

drivers/gpu/drm/rockchip/rockchip_rgb.c:71:22: warning: no previous prototype for 'rockchip_rgb_init'

2020-10-12 Thread kernel test robot
config: nds32-randconfig-r006-20201012 (attached as .config) compiler: nds32le-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

drivers/net/wireless/mediatek/mt76/mt7915/init.c:339:26: sparse: sparse: cast from restricted __le16

2020-10-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bbf5c979011a099af5dc76498918ed7df445635b commit: 00b2e16e006390069480e90478aa8b6e924996d7 mt76: mt7915: add TxBF capabilities date: 5 months ago config: parisc-randconfig-s032-20201012 (attached

[PATCH 1/2] kunit: tool: Fix LinuxSourceTree's missed handling of 'build_dir'

2020-10-12 Thread SeongJae Park
From: SeongJae Park Because commit d43c7fb05765 ("kunit: tool: fix improper treatment of file location") removed 'kunit_kernel.kunitconfig_path' modification for the '--builddir' argument, running kunit with '--build_dir' now fails with below error message: Traceback (most recent call

Re: [PATCH 0/4] powercap/dtpm: Add the DTPM framework

2020-10-12 Thread Daniel Lezcano
Hi Hans, On 07/10/2020 12:43, Hans de Goede wrote: > Hi, > > On 10/6/20 2:20 PM, Daniel Lezcano wrote: >> The density of components greatly increased the last decade bringing a >> numerous number of heating sources which are monitored by more than 20 >> sensors on recent SoC. The skin

Re: [PATCH] cpufreq: stats: Fix string format specifier mismatch

2020-10-12 Thread Rafael J. Wysocki
On Mon, Oct 12, 2020 at 6:50 AM Viresh Kumar wrote: > > Fix following warning: > > drivers/cpufreq/cpufreq_stats.c:63:10: warning: %d in format string (no. > 1) requires 'int' but the argument type is 'unsigned int' > > Fixes: 40c3bd4cfa6f ("cpufreq: stats: Defer stats update to >

Re: SD_LOAD_BALANCE

2020-10-12 Thread Julia Lawall
> > Would it be useful to always check whether prev is idle, perhaps in > > wake_affine_idle or perhaps in select_idle_sibling? > > Yes, that would make sense to add a condition in wake_affine_idle to > return prev if this cpu is not idle (or about to become idle) The case where this cpu is idle

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Jiri Olsa
On Mon, Oct 12, 2020 at 06:19:14PM +0800, Zamir SUN wrote: > On Mon, Oct 12, 2020 at 6:12 PM Jiri Olsa wrote: > > > > On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > > > I split out tools/lib/traceevent from the kernel tree using "git subtree", > > > which recreates all the

Re: [PATCH v2 2/4 RESEND] MIPS: Loongson64: Clean up numa.c

2020-10-12 Thread Thomas Bogendoerfer
On Sun, Oct 11, 2020 at 07:47:52AM +0800, Tiezhu Yang wrote: > (1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the > related useless code. > > (2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of > "end_pfn - start_pfn" to avoid the redundant calculation.

Re: [PATCH v2 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-12 Thread Thomas Bogendoerfer
On Thu, Oct 08, 2020 at 11:33:25PM +0200, Thomas Bogendoerfer wrote: > cpu-probe.c has grown when supporting more and more CPUs and there > are use cases where probing for all the CPUs isn't useful like > running on a R3k system. But still the fpu handling is nearly > the same. For sharing put the

Re: [PATCH v2 1/4 RESEND] MIPS: Loongson64: Select SMP in Kconfig to avoid build error

2020-10-12 Thread Thomas Bogendoerfer
On Sun, Oct 11, 2020 at 07:47:51AM +0800, Tiezhu Yang wrote: > In the current code, CONFIG_SMP can be set as N by user on the Loongson > platform, then there exists the following build error under !CONFIG_SMP: > > CC arch/mips/kernel/asm-offsets.s > In file included from

Re: [PATCH] MIPS: cpu-probe: remove MIPS_CPU_BP_GHIST option bit

2020-10-12 Thread Thomas Bogendoerfer
On Fri, Oct 09, 2020 at 02:26:48PM +0200, Thomas Bogendoerfer wrote: > MIPS_CPU_BP_GHIST is only set two times and more or less immediately > used in cpu-probe.c itself. Remove this option to make room in options > word. > > Signed-off-by: Thomas Bogendoerfer > --- >

Re: [PATCH v2] MIPS: replace add_memory_region with memblock

2020-10-12 Thread Thomas Bogendoerfer
On Fri, Oct 09, 2020 at 05:15:37PM +0300, Serge Semin wrote: > On Fri, Oct 09, 2020 at 02:07:52PM +0200, Thomas Bogendoerfer wrote: > > On Thu, Oct 08, 2020 at 06:20:06PM +0300, Serge Semin wrote: > > > > @@ -426,13 +387,14 @@ static int __init early_parse_memmap(char *p) > > > > > > > >

Re: [PATCH v2 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-12 Thread Thomas Bogendoerfer
On Sat, Oct 10, 2020 at 01:30:38AM +0100, Maciej W. Rozycki wrote: > On Thu, 8 Oct 2020, Thomas Bogendoerfer wrote: > > > + /* > > +* MAC2008 toolchain never landed in real world, so > > we're only > > +* testing whether it can be

Re: [PATCH RFC v4 13/13] perf vendor events: Add JSON metrics for imx8mm DDR Perf

2020-10-12 Thread John Garry
On 12/10/2020 11:03, Joakim Zhang wrote: --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/ddrc.json @@ -0,0 +1,39 @@ +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx8_ddr.cycles", Could you help

Re: [PATCH v3] MIPS: replace add_memory_region with memblock

2020-10-12 Thread Thomas Bogendoerfer
On Fri, Oct 09, 2020 at 02:14:46PM +0200, Thomas Bogendoerfer wrote: > add_memory_region was the old interface for registering memory and > was already changed to used memblock internaly. Replace it by > directly calling memblock functions. > > Signed-off-by: Thomas Bogendoerfer > --- > Changes

Re: [PATCH v2 3/4 RESEND] MIPS: Loongson64: Add /proc/boardinfo

2020-10-12 Thread Thomas Bogendoerfer
On Sun, Oct 11, 2020 at 07:47:53AM +0800, Tiezhu Yang wrote: > Add /proc/boardinfo to get mainboard and BIOS info easily on the Loongson > platform, this is useful to point out the current used mainboard type and > BIOS version when there exists problems related with hardware or firmware. > >

Re: [PATCH v2 2/2] MIPS: cpu-probe: introduce exclusive R3k CPU probe

2020-10-12 Thread Thomas Bogendoerfer
On Thu, Oct 08, 2020 at 11:33:26PM +0200, Thomas Bogendoerfer wrote: > Running a kernel on a R3k of machine definitly will never see one of > the newer CPU cores. And since R3k system usually are low on memory > we could save quite some kbytes: > >text data bss dec hex

Re: i8042_init: PS/2 mouse not detected with ACPIPnP/PnPBIOS

2020-10-12 Thread Rafael J. Wysocki
On Sun, Oct 11, 2020 at 1:08 AM Paul Menzel wrote: > > Dear Dmitry, dear Rafael, dear Len, > > > Am 08.10.20 um 00:16 schrieb Dmitry Torokhov: > > > On Wed, Oct 07, 2020 at 11:18:41PM +0200, Paul Menzel wrote: > > >> On the Asus F2A85-M PRO Linux 5.9-rc8 (and previous versions) does not > >>

Re: [PATCH] sched/features: Fix !CONFIG_JUMP_LABEL case

2020-10-12 Thread Valentin Schneider
Hi, On 12/10/20 06:39, Juri Lelli wrote: > Commit 765cc3a4b224e ("sched/core: Optimize sched_feat() for > !CONFIG_SCHED_DEBUG builds") made sched features static for > !CONFIG_SCHED_DEBUG configurations, but overlooked the CONFIG_ > SCHED_DEBUG enabled and !HAVE_JUMP_LABEL cases. For the

Re: [PATCH net] net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid

2020-10-12 Thread Dominique Martinet
Anant Thazhemadam wrote on Mon, Oct 12, 2020: > You mentioned how a fully zeroed address isn't exactly faulty. By extension, > wouldn't that > mean that an address that simply begins with a 0 isn't faulty as well? That is correct. If you have a look at the unix(7) man page that describes

Re: [PATCH] mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for GL975x

2020-10-12 Thread Ben Chuang
Hi Ulf, On Mon, Oct 12, 2020 at 6:25 PM Ulf Hansson wrote: > > On Mon, 12 Oct 2020 at 10:41, Ben Chuang wrote: > > > > Hi Ulf, > > > > Regarding this patch, we also want to fix the EMI of one hardware > > using the old version(such as v5.4). > > Is there a chance to append a Fixes tag on this

[GIT PULL] x86/fsgsbase updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull some small x86/fsgsbase updates. Thx. --- The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-12 Thread Ondrej Zary
On Monday 12 October 2020, Jakub Kicinski wrote: > On Sat, 10 Oct 2020 16:00:46 +0200 Ondrej Zary wrote: > > When the router is rebooted without a power cycle, the USB device > > remains connected but its configuration is reset. This results in > > a non-working ethernet connection with messages

Re: [PATCH] x86/alternative: don't call text_poke() in lazy TLB mode

2020-10-12 Thread Peter Zijlstra
On Mon, Oct 12, 2020 at 12:26:06PM +0200, Jürgen Groß wrote: > > > @@ -807,6 +807,15 @@ static inline temp_mm_state_t > > > use_temporary_mm(struct mm_struct *mm) > > > temp_mm_state_t temp_state; > > > lockdep_assert_irqs_disabled(); > > > + > > > + /* > > > + * Make sure

[PATCH 02/23] wfx: add Makefile/Kconfig

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/Kconfig | 8 drivers/net/wireless/silabs/wfx/Makefile | 25 2 files changed, 33 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/Kconfig create mode

[PATCH 01/23] dt-bindings: introduce silabs,wfx.yaml

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- .../bindings/net/wireless/silabs,wfx.yaml | 125 ++ 1 file changed, 125 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml diff --git

[PATCH 03/23] wfx: add wfx.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/wfx.h | 166 ++ 1 file changed, 166 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/wfx.h diff --git a/drivers/net/wireless/silabs/wfx/wfx.h

Re: [PATCH v2 09/17] mm: Add unsafe_follow_pfn

2020-10-12 Thread Marek Szyprowski
Hi Jason, On 09.10.2020 14:48, Jason Gunthorpe wrote: > On Fri, Oct 09, 2020 at 02:37:23PM +0200, Mauro Carvalho Chehab wrote: > >> I'm not a mm/ expert, but, from what I understood from Daniel's patch >> description is that this is unsafe *only if* __GFP_MOVABLE is used. > No, it is

[PATCH 04/23] wfx: add main.c/main.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/main.c | 489 + drivers/net/wireless/silabs/wfx/main.h | 44 +++ 2 files changed, 533 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/main.c create mode 100644

[PATCH 00/23] wfx: get out from the staging area

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller I think the wfx driver is now mature enough to be accepted in the drivers/net/wireless directory. As requested by Kalle[1], I send one file per patch. At the end, all the patches will be squashed (therefore, I didn't bother to write real commit messages). Here is a

[PATCH 05/23] wfx: add bus.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus.h | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus.h diff --git a/drivers/net/wireless/silabs/wfx/bus.h

[PATCH 15/23] wfx: add data_rx.c/data_rx.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_rx.c | 93 +++ drivers/net/wireless/silabs/wfx/data_rx.h | 18 + 2 files changed, 111 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_rx.c create mode

[PATCH 06/23] wfx: add bus_spi.c

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_spi.c | 271 ++ 1 file changed, 271 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_spi.c diff --git a/drivers/net/wireless/silabs/wfx/bus_spi.c

[PATCH 07/23] wfx: add bus_sdio.c

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bus_sdio.c | 269 + 1 file changed, 269 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bus_sdio.c diff --git a/drivers/net/wireless/silabs/wfx/bus_sdio.c

[PATCH 09/23] wfx: add fwio.c/fwio.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/fwio.c | 405 + drivers/net/wireless/silabs/wfx/fwio.h | 15 + 2 files changed, 420 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/fwio.c create mode 100644

[PATCH 10/23] wfx: add bh.c/bh.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/bh.c | 333 +++ drivers/net/wireless/silabs/wfx/bh.h | 33 +++ 2 files changed, 366 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/bh.c create mode 100644

[PATCH 08/23] wfx: add hwio.c/hwio.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hwio.c | 352 + drivers/net/wireless/silabs/wfx/hwio.h | 75 ++ 2 files changed, 427 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hwio.c create mode

[PATCH 11/23] wfx: add hif_api_*.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_api_cmd.h | 553 ++ .../net/wireless/silabs/wfx/hif_api_general.h | 267 + drivers/net/wireless/silabs/wfx/hif_api_mib.h | 343 +++ 3 files changed, 1163 insertions(+)

[PATCH 23/23] wfx: get out from the staging area

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller The wfx driver is now mature enough to leave the staging area. Signed-off-by: Jérôme Pouiller --- MAINTAINERS | 3 ++- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile| 1 + drivers/net/wireless/silabs/Kconfig

[PATCH 17/23] wfx: add data_tx.c/data_tx.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_tx.c | 585 ++ drivers/net/wireless/silabs/wfx/data_tx.h | 67 +++ 2 files changed, 652 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_tx.c create mode

[PATCH 16/23] wfx: add queue.c/queue.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/queue.c | 304 drivers/net/wireless/silabs/wfx/queue.h | 45 2 files changed, 349 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/queue.c create mode

[PATCH 14/23] wfx: add hif_rx.c/hif_rx.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_rx.c | 415 +++ drivers/net/wireless/silabs/wfx/hif_rx.h | 18 + 2 files changed, 433 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/hif_rx.c create mode 100644

[PATCH 12/23] wfx: add hif_tx*.c/hif_tx*.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/hif_tx.c | 523 +++ drivers/net/wireless/silabs/wfx/hif_tx.h | 60 +++ drivers/net/wireless/silabs/wfx/hif_tx_mib.c | 324 drivers/net/wireless/silabs/wfx/hif_tx_mib.h

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-12 Thread Rafael J. Wysocki
On Mon, Oct 12, 2020 at 12:23 PM Lukasz Luba wrote: > > Hi Rob, > > On 10/9/20 3:01 PM, Rob Herring wrote: > > On Fri, Oct 09, 2020 at 12:10:03PM +0100, Nicola Mazzucato wrote: > >> Hi Viresh, I'm glad it helped. > >> > >> Please find below my reply. > >> > >> On 10/9/20 6:39 AM, Viresh Kumar

[GIT PULL] x86/fpu updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull two clearcpuid= improvements. Thx. --- The following changes since commit f4d51dffc6c01a9e94650d95ce0104964f8ae822: Linux 5.9-rc4 (2020-09-06 17:11:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

[PATCH 21/23] wfx: add traces.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/traces.h | 501 +++ 1 file changed, 501 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/traces.h diff --git a/drivers/net/wireless/silabs/wfx/traces.h

[PATCH 20/23] wfx: add debug.c/debug.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/debug.c | 359 drivers/net/wireless/silabs/wfx/debug.h | 19 ++ 2 files changed, 378 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/debug.c create mode 100644

Re: i8042_init: PS/2 mouse not detected with ACPIPnP/PnPBIOS

2020-10-12 Thread Paul Menzel
Dear Rafael, Am 12.10.20 um 12:39 schrieb Rafael J. Wysocki: On Sun, Oct 11, 2020 at 1:08 AM Paul Menzel wrote: Dear Dmitry, dear Rafael, dear Len, Am 08.10.20 um 00:16 schrieb Dmitry Torokhov: On Wed, Oct 07, 2020 at 11:18:41PM +0200, Paul Menzel wrote: On the Asus F2A85-M PRO Linux

[PATCH 19/23] wfx: add scan.c/scan.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/scan.c | 132 + drivers/net/wireless/silabs/wfx/scan.h | 22 + 2 files changed, 154 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/scan.c create mode 100644

[PATCH 13/23] wfx: add key.c/key.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/key.c | 241 ++ drivers/net/wireless/silabs/wfx/key.h | 20 +++ 2 files changed, 261 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/key.c create mode 100644

[PATCH 18/23] wfx: add sta.c/sta.h

2020-10-12 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/sta.c | 807 ++ drivers/net/wireless/silabs/wfx/sta.h | 73 +++ 2 files changed, 880 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/sta.c create mode 100644

Re: [PATCH] perf jevents: Fix event code for events referencing std arch events

2020-10-12 Thread Jiri Olsa
On Thu, Oct 08, 2020 at 11:19:28PM +0800, John Garry wrote: > The event code for events referencing std arch events is incorrectly > evaluated in json_events(). > > The issue is that je.event is evaluated properly from try_fixup(), but > later NULLified from the real_event() call, as "event" may

[GIT PULL] x86/cleanups updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull maybe the easiest branch of all. :-) Thx. --- The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

[PATCH] Documentation: kunit: Update Kconfig parts for KUNIT's module support

2020-10-12 Thread SeongJae Park
From: SeongJae Park If 'CONFIG_KUNIT=m', letting kunit tests that do not support loadable module build depends on 'KUNIT' instead of 'KUNIT=y' result in compile errors. This commit updates the document for this. Fixes: 9fe124bf1b77 ("kunit: allow kunit to be loaded as a module") Signed-off-by:

Re: [PATCH] intel_idle: mention assumption that wbinvd is not needed

2020-10-12 Thread Rafael J. Wysocki
On Sun, Oct 11, 2020 at 1:13 AM Alexander Monakov wrote: > > Intel SDM does not explicitly say that entering a C-state via MWAIT will > implicitly flush CPU caches as appropriate for that C-state. However, > documentation for individual Intel CPU generations does mention this > behavior. > >

[GIT PULL] x86/cache updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the resctrl pile this time around. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-12 Thread Ionela Voinescu
On Monday 12 Oct 2020 at 11:22:57 (+0100), Lukasz Luba wrote: [..] > > > I thought about it and looked for other platforms' DT to see if can reuse > > > existing opp information. Unfortunately I don't think it is optimal. The > > > reason > > > being that, because cpus have the same opp table it

Re: i8042_init: PS/2 mouse not detected with ACPIPnP/PnPBIOS

2020-10-12 Thread Rafael J. Wysocki
On Mon, Oct 12, 2020 at 12:50 PM Paul Menzel wrote: > > Dear Rafael, > > > Am 12.10.20 um 12:39 schrieb Rafael J. Wysocki: > > On Sun, Oct 11, 2020 at 1:08 AM Paul Menzel wrote: > >> > >> Dear Dmitry, dear Rafael, dear Len, > >> > >> > >> Am 08.10.20 um 00:16 schrieb Dmitry Torokhov: > >> > >>>

Re: [PATCH 1/2] kunit: Support for Parameterized Testing

2020-10-12 Thread Marco Elver
On Sat, 10 Oct 2020 at 16:54, Arpitha Raghunandan <98.a...@gmail.com> wrote: > Implementation of support for parameterized testing in KUnit. > > Signed-off-by: Arpitha Raghunandan <98.a...@gmail.com> > --- > include/kunit/test.h | 29 + > lib/kunit/test.c | 44

Re: [PATCH 00/35] Enhance memory utilization with DMEMFS

2020-10-12 Thread Joao Martins
On 10/10/20 9:15 AM, yulei zhang wrote: > On Fri, Oct 9, 2020 at 7:53 PM Joao Martins wrote: >> On 10/9/20 12:39 PM, yulei zhang wrote: >>> Joao, thanks a lot for the feedback. One more thing needs to mention >>> is that dmemfs also support fine-grained >>> memory management which makes it more

Re: [PATCH] spi: imx: Revert "spi: imx: enable runtime pm support"

2020-10-12 Thread Christian Eggers
Hi Sascha, On Friday, 9 October 2020, 09:39:44 CEST, Sascha Hauer wrote: > On Fri, Oct 09, 2020 at 06:27:38AM +0200, Christian Eggers wrote: > > This reverts commit 525c9e5a32bd7951eae3f06d9d077fea51718a6c. > > > > If CONFIG_PM is disabled, the system completely freezes on probe as > > nothing

Re: [PATCH -next v2] powerpc/mm: ptdump: Convert to DEFINE_SHOW_ATTRIBUTE

2020-10-12 Thread Christophe Leroy
(as of linux-next 20201012) I think now, bats_show_603() should simply be renamed bats_show() Christophe arch/powerpc/mm/ptdump/bats.c | 24 +++- arch/powerpc/mm/ptdump/hashpagetable.c | 12 +--- arch/powerpc/mm/ptdump/ptdump.c| 13

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-12 Thread Lukasz Luba
On 10/12/20 11:50 AM, Rafael J. Wysocki wrote: On Mon, Oct 12, 2020 at 12:23 PM Lukasz Luba wrote: Hi Rob, On 10/9/20 3:01 PM, Rob Herring wrote: On Fri, Oct 09, 2020 at 12:10:03PM +0100, Nicola Mazzucato wrote: Hi Viresh, I'm glad it helped. Please find below my reply. On 10/9/20

[GIT PULL] x86/asm updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull two asm wrapper fixes. Thx. --- The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b: Linux 5.9-rc3 (2020-08-30 16:01:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH] arm:traps: Don't print stack or raw PC/LR values in backtraces

2020-10-12 Thread Russell King - ARM Linux admin
On Mon, Oct 12, 2020 at 12:03:18PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-10-11 22:32:38 [+0100], Russell King - ARM Linux admin wrote: > > I don't have a problem getting rid of the hex numbers in [< >] > > although then I will need to convert the symbol back to an address > > using the

Re: SD_LOAD_BALANCE

2020-10-12 Thread Vincent Guittot
On Mon, 12 Oct 2020 at 12:34, Julia Lawall wrote: > > > > Would it be useful to always check whether prev is idle, perhaps in > > > wake_affine_idle or perhaps in select_idle_sibling? > > > > Yes, that would make sense to add a condition in wake_affine_idle to > > return prev if this cpu is not

[PATCH 0/3] f_accessory upstream

2020-10-12 Thread rickyniu
Below commit is to add log and send uevent: 0003-ANDROID-usb-f_accessory-send-uevent-for-51-52-reques.patch Benoit Goby (1): ANDROID: usb: gadget: f_accessory: Add Android Accessory function Vijayavardhan Vennapusa (1): ANDROID: USB: f_accessory: Check dev pointer before decoding ctrl

[PATCH 1/3] ANDROID: usb: gadget: f_accessory: Add Android Accessory function

2020-10-12 Thread rickyniu
From: Benoit Goby USB accessory mode allows users to connect USB host hardware specifically designed for Android-powered devices. The accessories must adhere to the Android accessory protocol outlined in the http://accessories.android.com documentation. This allows Android devices that cannot

[PATCH 3/3] ANDROID: usb: f_accessory: send uevent for 51,52 requests

2020-10-12 Thread rickyniu
Add more log between accessory device and host to help debug. Send the uevent when the host gets ctrl_request 51 and 52 to user space. Let user space know the current connect status. Signed-off-by: rickyniu --- drivers/usb/gadget/function/f_accessory.c | 30 +++ 1 file

[PATCH 2/3] ANDROID: USB: f_accessory: Check dev pointer before decoding ctrl request

2020-10-12 Thread rickyniu
From: Vijayavardhan Vennapusa In case of poweroff charging mode, accessory function instance is not created and due to this, _acc_dev will be NULL. If target is connected to Accessory dock in poweroff charging mode, there is a chance dev pointer is accessed, which is NULL. Hence add a check

[GIT PULL] x86/core updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull a single fix making the error message when the opcode bytes at rIP cannot be accessed during an oops, more precise. Thx. --- The following changes since commit a1b8638ba1320e6684aa98233c15255eb803fac7: Linux 5.9-rc7 (2020-09-27 14:38:10 -0700) are available in the Git

RE: [PATCH v2] usb: cdns3: Rids of duplicate error message

2020-10-12 Thread Pawel Laszczak
Hi Roger, On 12/10/2020 09:42, Pawel Laszczak wrote: > On failure, the platform_get_irq_byname prints an error message > so, patch removes error message related to this function from > core.c file. > > A change was suggested during reviewing CDNSP driver by Chunfeng Yun. > > Signed-off-by:

Re: [PATCH] intel_idle: mention assumption that wbinvd is not needed

2020-10-12 Thread Alexander Monakov
On Mon, 12 Oct 2020, Rafael J. Wysocki wrote: > > @@ -20,7 +20,11 @@ > > * All CPUs have same idle states as boot CPU > > * > > * Chipset BM_STS (bus master status) bit is a NOP > > - * for preventing entry into deep C-stats > > + * for preventing entry into deep C-states > > + * >

Re: [PATCH 23/25] ASoC: sun8i-codec: Generalize AIF clock control

2020-10-12 Thread Maxime Ripard
On Mon, Oct 05, 2020 at 11:51:08PM -0500, Samuel Holland wrote: > On 10/5/20 7:04 AM, Maxime Ripard wrote: > > Hi, > > > > On Wed, Sep 30, 2020 at 09:11:46PM -0500, Samuel Holland wrote: > >> The AIF clock control register has the same layout for all three AIFs. > >> The only difference between

Re: [PATCH v2 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-12 Thread Sergei Shtylyov
Hello! On 10/10/20 3:11 PM, Maciej W. Rozycki wrote: >>> Umm, this has formatting issues with lines extending beyond column #80. >> >>80 columns are no longer a line length limit -- 100 is, IIRC. > > I don't think anything has changed here: Oh, it did! Look for max_line_length in

Re: SD_LOAD_BALANCE

2020-10-12 Thread Julia Lawall
On Mon, 12 Oct 2020, Vincent Guittot wrote: > On Mon, 12 Oct 2020 at 12:34, Julia Lawall wrote: > > > > > > Would it be useful to always check whether prev is idle, perhaps in > > > > wake_affine_idle or perhaps in select_idle_sibling? > > > > > > Yes, that would make sense to add a condition

Re: [PATCH] perf jevents: Fix event code for events referencing std arch events

2020-10-12 Thread John Garry
On 12/10/2020 11:54, Jiri Olsa wrote: ff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c index 99df41a9543d..e47644cab3fa 100644 --- a/tools/perf/pmu-events/jevents.c +++ b/tools/perf/pmu-events/jevents.c @@ -505,20 +505,15 @@ static char *real_event(const char *name,

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-12 Thread Aleksandr Nogikh
On Sun, 11 Oct 2020 at 21:50, Johannes Berg wrote: [...] > Also, unrelated to that (but I see Dmitry CC'ed), I started wondering if > it'd be helpful to have an easier raw 802.11 inject path on top of say > hwsim0; I noticed some syzbot reports where it created raw sockets, but > that only gets

<    1   2   3   4   5   6   7   8   9   10   >