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 disabled

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 c

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 i

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. > > E.g.

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 fil

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 > >> recog

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 latter,

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 AF_UNIX,

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 pa

[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 tags/x8

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 li

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 no

[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 100

[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 a/Documentation/devicetree/bindings/

[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 b/drivers/net/wireles

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 unconditiona

[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 dr

[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 diagram

[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 b/drivers/net/wireless

[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 10

[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 b/drivers/net

[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 b/drivers/n

[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 driv

[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 driver

[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 100644

[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(+) c

[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 100

[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 100644

[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 wrot

[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 tags/x86_

[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 b/drivers/net/w

[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 d

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 driv

[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 driv

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 b

[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 tag

[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. > > Since

[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 tags/

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 d

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: > >> > >>> O

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 fl

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 en

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

2020-10-12 Thread Christophe Leroy
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 6:39

[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 tags/x86_asm_for

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 i

[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 req

[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 act

[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 change

[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 befor

[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 r

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: Pawel

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 th

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 scri

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, ch

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 yo

[PATCH v6 1/3] dmaengine: ptdma: Initial driver for the AMD PTDMA

2020-10-12 Thread Sanjay R Mehta
From: Sanjay R Mehta Adding support for AMD PTDMA controller. It performs high-bandwidth memory to memory and IO copy operation. Device commands are managed via a circular queue of 'descriptors', each of which specifies source and destination addresses for copying a single buffer of data. Signed

[PATCH v6 2/3] dmaengine: ptdma: register PTDMA controller as a DMA resource

2020-10-12 Thread Sanjay R Mehta
From: Sanjay R Mehta Register ptdma queue to Linux dmaengine framework as general-purpose DMA channels. Signed-off-by: Sanjay R Mehta --- drivers/dma/ptdma/Kconfig | 2 + drivers/dma/ptdma/Makefile | 2 +- drivers/dma/ptdma/ptdma-dev.c | 32 ++ drivers/dma/ptdma/p

[PATCH v6 0/3] Add support for AMD PTDMA controller driver

2020-10-12 Thread Sanjay R Mehta
From: Sanjay R Mehta This patch series adds support for AMD PTDMA controller which performs high bandwidth memory-to-memory and IO copy operation, performs DMA transfer through queue based descriptor management. AMD Processor has multiple ptdma device instances with each controller having single

[PATCH v6 3/3] dmaengine: ptdma: Add debugfs entries for PTDMA information

2020-10-12 Thread Sanjay R Mehta
From: Sanjay R Mehta Expose data about the configuration and operation of the PTDMA through debugfs entries: device name, capabilities, configuration, statistics. Signed-off-by: Sanjay R Mehta --- drivers/dma/ptdma/Makefile| 2 +- drivers/dma/ptdma/ptdma-debugfs.c | 115 +

Re: SD_LOAD_BALANCE

2020-10-12 Thread Peter Zijlstra
On Sat, Oct 10, 2020 at 06:14:23PM +0200, Julia Lawall wrote: > Prior to v5.8 on my machine this was a rare event, because there were not > many of these background processes. But in v5.8, the default governor for > Intel machines without the HWP feature was changed from intel_pstate to > intel_cp

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 Johannes Berg
On Mon, 2020-10-12 at 14:18 +0300, Aleksandr Nogikh wrote: > > Currently we're injecting frames via mac80211_hwsim (by pretenting to > be wmediumd - > https://github.com/google/syzkaller/blob/4a77ae0bdc5cd75ebe88ce7c896aae6bbf457a29/executor/common_linux.h#L4922). Ah, ok, of course that works too

Re: [PATCH v2] arm64: dts: allwinner: beelink-gs1: Update LED power node

2020-10-12 Thread Maxime Ripard
Hi! On Sun, Oct 11, 2020 at 11:22:37PM +0200, Clément Péron wrote: > Beelink GS1 LED trigger a warning when running dtbs_check. > > Update the node with a valid pattern property. > > Also add the function and the color of the LED and drop the > label which is deprecated. > > Signed-off-by: Clém

[PATCH v2 RESEND 1/2] dt-bindings: clock: mediatek: add bindings for MT8167 clocks

2020-10-12 Thread Fabien Parent
Add binding documentation for topckgen, apmixedsys, infracfg, audsys, imgsys, mfgcfg, vdecsys on MT8167 SoC. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring --- ChangeLog: V2: no changes .../arm/mediatek/mediatek,apmixedsys.txt | 1 + .../bindings/arm/mediatek/mediatek,au

[PATCH v2 RESEND 2/2] clk: mediatek: Add MT8167 clock support

2020-10-12 Thread Fabien Parent
Add the following clock support for MT8167 SoC: topckgen, apmixedsys, infracfg, audsys, imgsys, mfgcfg, vdecsys. Signed-off-by: Fabien Parent --- ChangeLog: V2: removed unused variable reported by kernel test robot drivers/clk/mediatek/Kconfig | 48 + drivers/clk/mediatek

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

2020-10-12 Thread Greg KH
On Mon, Oct 12, 2020 at 07:10:22PM +0800, rickyniu wrote: > 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.

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

2020-10-12 Thread Greg KH
On Mon, Oct 12, 2020 at 07:10:24PM +0800, rickyniu wrote: > 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 Is this how you sign

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

2020-10-12 Thread Jiri Olsa
On Mon, Oct 12, 2020 at 12:15:04PM +0100, John Garry wrote: > 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/p

Re: [PATCH] MAINTAINERS: step down as maintainer of UniPhier SoCs and Denali driver

2020-10-12 Thread Masahiro Yamada
On Mon, Aug 31, 2020 at 1:10 PM Masahiro Yamada wrote: > > I am leaving Socionext. Orphan the UniPhier platform and Denali NAND > driver until somebody takes the role. > > Signed-off-by: Masahiro Yamada > --- > > I hope this can be applied to the ARM-SOC tree. Can you pick up this? > MAINTA

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

2020-10-12 Thread Greg KH
On Mon, Oct 12, 2020 at 07:10:22PM +0800, rickyniu wrote: > @@ -369,6 +372,13 @@ config USB_CONFIGFS_F_FS > implemented in kernel space (for instance Ethernet, serial or > mass storage) and other are implemented in user space. > > +config USB_CONFIGFS_F_ACC > + bool "Accessory

Re: [PATCH 0/3] f_accessory upstream

2020-10-12 Thread Greg KH
On Mon, Oct 12, 2020 at 07:10:21PM +0800, rickyniu wrote: > Below commit is to add log and send uevent: > 0003-ANDROID-usb-f_accessory-send-uevent-for-51-52-reques.patch I don't understand the text in this changelog, what does it mean? confused, greg k-h

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

2020-10-12 Thread Greg KH
On Mon, Oct 12, 2020 at 07:10:24PM +0800, rickyniu wrote: > 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/g

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-12 Thread Peter Zijlstra
On Mon, Oct 12, 2020 at 11:56:09AM +0200, Dietmar Eggemann wrote: > On 05/10/2020 16:57, Peter Zijlstra wrote: > > [...] > > > --- a/kernel/sched/rt.c > > +++ b/kernel/sched/rt.c > > @@ -1859,7 +1859,7 @@ static struct task_struct *pick_next_pus > > * running task can migrate over to a CPU that

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

2020-10-12 Thread Marco Elver
On Mon, 12 Oct 2020 at 12:54, 'SeongJae Park' via KUnit Development wrote: > > 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 thi

Re: SD_LOAD_BALANCE

2020-10-12 Thread Julia Lawall
On Mon, 12 Oct 2020, Peter Zijlstra wrote: > On Sat, Oct 10, 2020 at 06:14:23PM +0200, Julia Lawall wrote: > > Prior to v5.8 on my machine this was a rare event, because there were not > > many of these background processes. But in v5.8, the default governor for > > Intel machines without the

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

2020-10-12 Thread Rafael J. Wysocki
On Mon, Oct 12, 2020 at 1:14 PM Alexander Monakov wrote: > > 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 dee

Re: [PATCH v5 3/3] mfd: mt6397: Add support for MT6392 pmic

2020-10-12 Thread Fabien Parent
On Tue, Sep 8, 2020 at 3:53 PM Lee Jones wrote: > > On Mon, 07 Sep 2020, Fabien Parent wrote: > > > Update the MT6397 MFD driver to support the MT6392 PMIC. > > > > Signed-off-by: Fabien Parent > > --- > > > > V5: > > * Rebased > > * removed mt6392-regulator compatible. This will be s

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-12 Thread Coiby Xu
On Thu, Oct 08, 2020 at 08:22:44AM -0400, Willem de Bruijn wrote: On Thu, Oct 8, 2020 at 7:58 AM Coiby Xu wrote: Initialize devlink health dump framework for the dlge driver so the coredump could be done via devlink. Signed-off-by: Coiby Xu @@ -4556,6 +4559,13 @@ static int qlge_probe(str

Re: [PATCH] optee: remove address tag in check_mem_type()

2020-10-12 Thread Jens Wiklander
On Mon, Oct 12, 2020 at 11:26 AM Volodymyr Babchuk wrote: > > Before passing 'start' to find_vma() we need to remove > tags from it to get sane results. > > Signed-off-by: Volodymyr Babchuk > --- > drivers/tee/optee/call.c | 2 ++ > 1 file changed, 2 insertions(+) Would you mind giving a bit mo

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-12 Thread Coiby Xu
On Sat, Oct 10, 2020 at 10:48:55PM +0900, Benjamin Poirier wrote: On 2020-10-10 18:24 +0800, Coiby Xu wrote: On Sat, Oct 10, 2020 at 04:35:14PM +0900, Benjamin Poirier wrote: > On 2020-10-08 19:58 +0800, Coiby Xu wrote: > > Initialize devlink health dump framework for the dlge driver so the > >

RE: [PATCH V3 1/4] gpio: mxc: Support module build

2020-10-12 Thread Anson Huang
Hi, Shawn > Subject: Re: [PATCH V3 1/4] gpio: mxc: Support module build > > On Thu, Sep 17, 2020 at 7:40 AM Anson Huang > wrote: > > > Change config to tristate, add module device table, module author, > > description and license to support module build for i.MX GPIO driver. > > > > As this is

Re: [PATCH -v2 10/17] sched: Fix migrate_disable() vs set_cpus_allowed_ptr()

2020-10-12 Thread Peter Zijlstra
On Fri, Oct 09, 2020 at 01:22:00AM +0800, Tao Zhou wrote: > On Mon, Oct 05, 2020 at 04:57:27PM +0200, Peter Zijlstra wrote: > > +/* > > + * This function is wildly self concurrent, consider at least 3 times. > > + */ > > More than that Probably. I meant to write a coherent comment, but it got ver

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

2020-10-12 Thread Roger Quadros
Pawel, On 12/10/2020 14:12, Pawel Laszczak wrote: 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 drive

Re: [PATCH v2 1/5] arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()

2020-10-12 Thread Catalin Marinas
On Sat, Oct 10, 2020 at 05:12:31PM +0200, Nicolas Saenz Julienne wrote: > diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c > index f6902a2b4ea6..0eca5865dcb1 100644 > --- a/arch/arm64/mm/init.c > +++ b/arch/arm64/mm/init.c > @@ -196,14 +196,16 @@ static void __init zone_sizes_init(unsigned

Re: [PATCH v7 2/2] PCI: dwc: Fix MSI page leakage in suspend/resume

2020-10-12 Thread Robin Murphy
On 2020-10-09 08:55, Jisheng Zhang wrote: Currently, dw_pcie_msi_init() allocates and maps page for msi, then program the PCIE_MSI_ADDR_LO and PCIE_MSI_ADDR_HI. The Root Complex may lose power during suspend-to-RAM, so when we resume, we want to redo the latter but not the former. If designware b

[PATCH v6 1/3] dt-bindings: mfd: mt6397: Add bindings for MT6392 PMIC

2020-10-12 Thread Fabien Parent
Add the currently supported bindings for the MT6392 PMIC. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- V6: * No changes V5: * Rebased, removed regulator documentation because it will be send later on in another patch series V4:

[PATCH v6 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition

2020-10-12 Thread Fabien Parent
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring --- v6: * No changes v5: * rebased * Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when the list of support PMIC inc

Re: [PATCH v1 5/6] staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land

2020-10-12 Thread Coiby Xu
On Sat, Oct 10, 2020 at 10:40:55PM +0900, Benjamin Poirier wrote: On 2020-10-10 18:00 +0800, Coiby Xu wrote: [...] > > Please also update drivers/staging/qlge/TODO accordingly. There is still > a lot of debugging code IMO (the netif_printk statements - kernel > tracing can be used instead of tho

[PATCH v6 3/3] mfd: mt6397: Add support for MT6392 pmic

2020-10-12 Thread Fabien Parent
Update the MT6397 MFD driver to support the MT6392 PMIC. Signed-off-by: Fabien Parent --- V6: * Update copyrights V5: * Rebased * removed mt6392-regulator compatible. This will be send in another series to make this series easier to merge. V4: * Use DEFI

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