Re: [PATCH] ARM: omap2: move platform-specific asm-offset.h to arch/arm/mach-omap2

2019-08-26 Thread Tony Lindgren
* Masahiro Yamada [190822 19:59]: > is only generated and included by > arch/arm/mach-omap2/, so it does not need to reside in the globally > visible include/generated/. > > I renamed it to arch/arm/mach-omap2/pm-asm-offsets.h since the prefix > 'ti-' is just redundant in mach-omap2/. > > My

Re: [RFC PATCH v3 02/16] sched: Fix kerneldoc comment for ia64_set_curr_task

2019-08-26 Thread mark gross
On Wed, May 29, 2019 at 08:36:38PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra NULL commit comment. --mark > > Signed-off-by: Peter Zijlstra (Intel) > --- > kernel/sched/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/sched/core.c

Re: [RFC PATCH v3 01/16] stop_machine: Fix stop_cpus_in_progress ordering

2019-08-26 Thread mark gross
On Wed, May 29, 2019 at 08:36:37PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra > > Make sure the entire for loop has stop_cpus_in_progress set. It is not clear how this commit comment matches the change. Please explain how adding 2 barrier's makes sure stop_cpus_in_progress is

Re: [PATCH 00/12] libperf: Add events to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 26, 2019 at 01:06:28PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sun, Aug 25, 2019 at 08:17:40PM +0200, Jiri Olsa escreveu: > > hi, > > as a preparation for sampling libperf interface, moving event > > definitions into the library header. Moving just the kernel > > non-AUX events

Re: [PATCH] PCI: Add missing link delays required by the PCIe spec

2019-08-26 Thread Matthias Andree
Am 26.08.19 um 16:42 schrieb Mika Westerberg: > According to PCI FW 3.2 the OS is responsible for those delays if the > platform firmware does not provide that _DSM. So simpler way would be > always do the delays if the _DSM is not there. Well, that is * unless we trip over delays that make

Re: [PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support

2019-08-26 Thread Takashi Iwai
On Mon, 26 Aug 2019 18:05:05 +0200, Sudo Kamikaze wrote: > > From: Sudokamikaze > > This patch adds quirk VID/PID IDs for Hiby R3 portable DSD player DSD support > > Signed-off-by: Sudokamikaze > --- > sound/usb/quirks.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

[PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support

2019-08-26 Thread ilya . pshonkin
From: Sudokamikaze This patch adds quirk VID/PID IDs for Hiby R3 portable DSD player DSD support Signed-off-by: Sudokamikaze --- sound/usb/quirks.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 78858918cbc1..f90418149e4e 100644 ---

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Nadav Amit
> On Aug 26, 2019, at 8:56 AM, Steven Rostedt wrote: > > On Mon, 26 Aug 2019 15:41:24 + > Nadav Amit wrote: > >>> Anyway, I believe Nadav has some patches that converts ftrace to use >>> the shadow page modification trick somewhere. >> >> For the record - here is my previous patch: >>

Re: [PATCH 00/12] libperf: Add events to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 25, 2019 at 08:17:40PM +0200, Jiri Olsa escreveu: > hi, > as a preparation for sampling libperf interface, moving event > definitions into the library header. Moving just the kernel > non-AUX events now. > > In order to keep libperf simple, we switch 'u64/u32/u16/u8' > types used

Re: numlist_push() barriers Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-26 Thread Andrea Parri
> > C S+ponarelease+addroncena > > > > { > > int *y = > > } > > > > P0(int *x, int **y, int *a) > > { > > int *r0; > > > > *x = 2; > > r0 = cmpxchg_release(y, a, x); > > } > > > > P1(int *x, int **y) > > { > > int *r0; > > > > r0 = READ_ONCE(*y); > > *r0 = 1; > > }

Re: [PATCH] perf script: Fix memory leaks in list_scripts()

2019-08-26 Thread Gustavo A. R. Silva
On 8/26/19 9:07 AM, Arnaldo Carvalho de Melo wrote: > Em Sun, Aug 25, 2019 at 11:06:25PM -0500, Gustavo A. R. Silva escreveu: >> Hi all, >> >> Friendly ping (second one after 4 months): >> >> Who can take this? > > Sorry for the delay, finally applied, thanks! > Awesome. :) Thanks, Arnaldo.

Re: [PATCH RT v2 1/3] rcu: Acquire RCU lock when disabling BHs

2019-08-26 Thread Sebastian Andrzej Siewior
On 2019-08-23 14:46:39 [-0500], Scott Wood wrote: > > > Before consolidation, RT mapped rcu_read_lock_bh_held() to > > > rcu_read_lock_bh() and called rcu_read_lock() from > > > rcu_read_lock_bh(). This > > > somehow got lost when rebasing on top of 5.0. > > > > so now rcu_read_lock_bh_held() is

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-26 Thread Trond Myklebust
On Mon, 2019-08-26 at 10:38 -0400, Jan Stancek wrote: > - Original Message - > > Hi Jan and Cyril, > > > > On Mon, 26 Aug 2019 at 16:35, Jan Stancek > > wrote: > > > > > > > > > - Original Message - > > > > Hi! > > > > > Do you see this LTP prot_hsymlinks failure on linux next

Re: [PATCH] ext4: change the type of ext4 cache stats to percpu_counter to improve performance

2019-08-26 Thread Theodore Y. Ts'o
On Mon, Aug 26, 2019 at 04:24:20PM +0800, Shaokun Zhang wrote: > > The other problem with this patch is that it initializes > > es_stats_cache_hits and es_stats_cache_miesses too late. They will > > get used when the journal inode is loaded. This is mostly harmless, > > I have checked it again,

Re: [PATCH v3 2/4] powerpc: expose secure variables to userspace via sysfs

2019-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2019 at 11:46:11AM -0400, Nayna wrote: > > > On 08/26/2019 10:56 AM, Greg Kroah-Hartman wrote: > > On Mon, Aug 26, 2019 at 09:23:36AM -0400, Nayna Jain wrote: > > > +static struct kobj_attribute size_attr = __ATTR_RO(size); > > Wait, why not just normal ATTR_RO()? > > Oh!!

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 03:41:24PM +, Nadav Amit wrote: > For the record - here is my previous patch: > https://lkml.org/lkml/2018/12/5/211 Thanks!

Re: [PATCH 2/7] firmware: add offset to request_firmware_into_buf

2019-08-26 Thread Takashi Iwai
On Mon, 26 Aug 2019 17:41:40 +0200, Scott Branden wrote: > > HI Takashi, > > On 2019-08-26 8:20 a.m., Takashi Iwai wrote: > > On Fri, 23 Aug 2019 21:44:42 +0200, > > Scott Branden wrote: > >> Hi Takashi, > >> > >> Thanks for review.  comments below. > >> > >> On 2019-08-23 3:05 a.m., Takashi

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Steven Rostedt
On Mon, 26 Aug 2019 15:41:24 + Nadav Amit wrote: > > Anyway, I believe Nadav has some patches that converts ftrace to use > > the shadow page modification trick somewhere. > > For the record - here is my previous patch: > https://lkml.org/lkml/2018/12/5/211 FYI, when referencing older

[PATCH 5/6] powerpc/32: drop CPU_FTR_UNIFIED_ID_CACHE

2019-08-26 Thread Christophe Leroy
Only 601 and e200 have unified I/D cache. Drop the feature and use CONFIG_PPC_BOOK3S_601 and CONFIG_E200. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 5 ++--- arch/powerpc/kernel/misc_32.S | 4 ++-- arch/powerpc/kernel/setup_32.c | 2 +- 3 files

[PATCH 2/6] powerpc/32s: get rid of CPU_FTR_601 feature

2019-08-26 Thread Christophe Leroy
Now that 601 is exclusive from other 6xx, CPU_FTR_601 and associated fixups are useless. Drop this feature and use #ifdefs instead. Signed-off-by: Christophe Leroy --- arch/powerpc/configs/pmac32_defconfig | 1 - arch/powerpc/include/asm/cputable.h | 14 --

[PATCH 3/6] powerpc/32s: drop CPU_FTR_USE_RTC feature

2019-08-26 Thread Christophe Leroy
CPU_FTR_USE_RTC feature only applies to powerpc601. Drop this feature and replace it with tests on CONFIG_PPC_BOOK3S_601. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 3 +-- arch/powerpc/include/asm/time.h | 6 +- arch/powerpc/kernel/vdso.c

[PATCH 6/6] powerpc/32: don't use CPU_FTR_COHERENT_ICACHE

2019-08-26 Thread Christophe Leroy
Only 601 and E200 have CPU_FTR_COHERENT_ICACHE. Just use #ifdefs instead of feature fixup. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/misc_32.S | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/kernel/misc_32.S

[PATCH 1/6] powerpc/32s: add an option to exclusively select powerpc 601

2019-08-26 Thread Christophe Leroy
Powerpc 601 is rather old powerpc which as some important limitations compared to other book3s/32 powerpcs: - No Timebase. - Common BATs for instruction and data. - No execution protection in segment registers. - No RI bit in MSR - ... It is starting to be difficult and cumbersome to maintain

[PATCH 4/6] powerpc/32s: use CONFIG_PPC_BOOK3S_601 instead of reading PVR

2019-08-26 Thread Christophe Leroy
Use CONFIG_PPC_BOOK3S_601 instead of reading PVR to know if it is a 601 or not. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.S | 49 +++ arch/powerpc/kernel/misc_32.S | 6 ++ 2 files changed, 24 insertions(+), 31 deletions(-) diff

Re: [PATCHv5] drivers/amba: add reset control to amba bus probe

2019-08-26 Thread Philipp Zabel
On Mon, 2019-08-26 at 10:42 -0500, Dinh Nguyen wrote: > The primecell controller on some SoCs, i.e. SoCFPGA, is held in reset by > default. Until recently, the DMA controller was brought out of reset by the > bootloader(i.e. U-Boot). But a recent change in U-Boot, the peripherals > that are not

[tip: x86/urgent] x86/apic: Do not initialize LDR and DFR for bigsmp

2019-08-26 Thread tip-bot2 for Bandan Das
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 9cfe98a6dbfb2a72ae29831e57b406eab7668da8 Gitweb: https://git.kernel.org/tip/9cfe98a6dbfb2a72ae29831e57b406eab7668da8 Author:Bandan Das AuthorDate:Mon, 26 Aug 2019 06:15:12 -04:00 Committer:

[tip: x86/urgent] x86/apic: Include the LDR when clearing out APIC registers

2019-08-26 Thread tip-bot2 for Bandan Das
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: cfa16294b1c5b320c0a0e1cac37c784b92366c87 Gitweb: https://git.kernel.org/tip/cfa16294b1c5b320c0a0e1cac37c784b92366c87 Author:Bandan Das AuthorDate:Mon, 26 Aug 2019 06:15:13 -04:00 Committer:

Re: [PATCH v2 6/8] sched/fair: use load instead of runnable load

2019-08-26 Thread Vincent Guittot
On Tue, 6 Aug 2019 at 18:07, Peter Zijlstra wrote: > > On Thu, Aug 01, 2019 at 04:40:22PM +0200, Vincent Guittot wrote: > > runnable load has been introduced to take into account the case > > where blocked load biases the load balance decision which was selecting > > underutilized group with huge

Re: [RESEND][PATCH v2-resend] MAINTAINERS: mark simple firmware interface (SFI) obsolete

2019-08-26 Thread Lukas Bulwahn
On Mon, Aug 26, 2019 at 5:12 PM Thomas Gleixner wrote: > > Lukas, > > On Sun, 25 Aug 2019, Lukas Bulwahn wrote: > > > Len Brown has not been active in this part since around 2010. The recent > > activity suggests that Thomas Gleixner and Jiang Lui were maintaining > > this part of the kernel

[PATCHv5] drivers/amba: add reset control to amba bus probe

2019-08-26 Thread Dinh Nguyen
The primecell controller on some SoCs, i.e. SoCFPGA, is held in reset by default. Until recently, the DMA controller was brought out of reset by the bootloader(i.e. U-Boot). But a recent change in U-Boot, the peripherals that are not used are held in reset and are left to Linux to bring them out

Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status

2019-08-26 Thread Jason Gunthorpe
On Mon, Aug 26, 2019 at 08:38:00AM -0700, Nathan Chancellor wrote: > Hi Jason, > > On Fri, Aug 23, 2019 at 11:24:27AM -0300, Jason Gunthorpe wrote: > > On Thu, Jul 11, 2019 at 10:30:30AM -0700, Nathan Chancellor wrote: > > > On Thu, Jul 11, 2019 at 02:18:08PM -0300, Jason Gunthorpe wrote: > > > >

[PATCH] PCI: hv: Make functions only used locally static in pci-hyperv.c

2019-08-26 Thread Krzysztof Wilczynski
Functions hv_read_config_block(), hv_write_config_block() and hv_register_block_invalidate() are not used anywhere else and are local to drivers/pci/controller/pci-hyperv.c, and do not need to be in global scope, so make these static. Resolve compiler warning that can be seen when building with

Re: [PATCH 00/12] libperf: Add events to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 25, 2019 at 08:17:40PM +0200, Jiri Olsa escreveu: > hi, > as a preparation for sampling libperf interface, moving event > definitions into the library header. Moving just the kernel > non-AUX events now. > > In order to keep libperf simple, we switch 'u64/u32/u16/u8' > types used

Re: [PATCH 2/7] firmware: add offset to request_firmware_into_buf

2019-08-26 Thread Scott Branden
HI Takashi, On 2019-08-26 8:20 a.m., Takashi Iwai wrote: On Fri, 23 Aug 2019 21:44:42 +0200, Scott Branden wrote: Hi Takashi, Thanks for review.  comments below. On 2019-08-23 3:05 a.m., Takashi Iwai wrote: On Thu, 22 Aug 2019 21:24:46 +0200, Scott Branden wrote: Add offset to

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Nadav Amit
> On Aug 26, 2019, at 4:33 AM, Steven Rostedt wrote: > > On Fri, 23 Aug 2019 11:36:37 +0200 > Peter Zijlstra wrote: > >> On Thu, Aug 22, 2019 at 10:23:35PM -0700, Song Liu wrote: >>> As 4k pages check was removed from cpa [1], set_kernel_text_rw() leads to >>> split_large_page() for all kernel

[PATCH v2 1/2] ASoC: es8316: fix headphone mixer volume table

2019-08-26 Thread Katsuhiro Suzuki
This patch fix setting table of Headphone mixer volume. Current code uses 4 ... 7 values but these values are prohibited. Correct settings are the following: -12dB 0001 -10.5dB 0010 -9dB 0011 -7.5dB 0100 -6dB 1000 -4.5dB 1001 -3dB 1010 -1.5dB 1011 0dB Signed-off-by:

[PATCH 0/2] remoteproc: stm32: allow wdg irq to be a wakeup source

2019-08-26 Thread Fabien Dessenne
The watchdog IRQ which notifies the remote processor crash is used by the remoteproc framework to perform a recovery procedure. Since this IRQ may be fired when the Linux system is suspended, this IRQ may be configured to wake up the system. Fabien Dessenne (2): dt-bindings: remoteproc: stm32:

[PATCH v2 2/2] ASoC: es8316: fix inverted L/R of headphone mixer volume

2019-08-26 Thread Katsuhiro Suzuki
This patch fixes inverted Left-Right channel of headphone mixer volume by wrong shift_left, shift_right values. Signed-off-by: Katsuhiro Suzuki --- sound/soc/codecs/es8316.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c

[PATCH 1/2] dt-bindings: remoteproc: stm32: add wakeup-source

2019-08-26 Thread Fabien Dessenne
Add the "wakeup-source" property: if the optional wdg interrupt is defined, then this property may be defined too. Signed-off-by: Fabien Dessenne --- Documentation/devicetree/bindings/remoteproc/stm32-rproc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 10/12] ARM: dts: imx7d: cl-som-imx7: add WiLink8 WLAN support

2019-08-26 Thread André Draszik
add / enable TI's WiLink8 WLAN module on SDIO2. Notes: * power is always enabled (because of bluetooth) * the downstream delay of 70ms after power-on doesn't seem to reliably work, hence it was bumped to 700ms Signed-off-by: André Draszik Cc: Ilya Ledvich Cc: Igor Grinberg Cc: Rob Herring

[PATCH 2/2] remoteproc: stm32: wakeup the system by wdg irq

2019-08-26 Thread Fabien Dessenne
If the device node defines the 'wakeup-source' property, use the WDG exti IRQ as a wakeup source of the system. Signed-off-by: Fabien Dessenne --- drivers/remoteproc/stm32_rproc.c | 47 1 file changed, 47 insertions(+) diff --git

[PATCH 04/12] ARM: dts: imx7d: cl-som-imx7: add emmicro,em3027 RTC

2019-08-26 Thread André Draszik
add/enable RTC support using the on-board EM3027 real time clock on i2c2. Signed-off-by: André Draszik Cc: Ilya Ledvich Cc: Igor Grinberg Cc: Rob Herring Cc: Mark Rutland Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc:

[PATCH] remoteproc: stm32: manage the get_irq probe defer case

2019-08-26 Thread Fabien Dessenne
Manage the -EPROBE_DEFER error case for "wdg" IRQ. Signed-off-by: Fabien Dessenne --- drivers/remoteproc/stm32_rproc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c index 1c95913..2cf4b29 100644 ---

[PATCH] remoteproc: stm32: clear MCU PDDS at firmware start

2019-08-26 Thread Fabien Dessenne
When remoteproc stops a firmware, it sets the MCU PDDS flag, allowing the platform to reach the Standby power mode if needed. Symmetrically, clear this flag before running a firmware. This fixes the issue where the system goes to Standby mode when the MCU crashes while MPU is in CSTOP mode.

[PATCH 11/12] ARM: dts: imx7d: cl-som-imx7: add WiLink Bluetooth support

2019-08-26 Thread André Draszik
add / enable TI's WiLink8 Bluetooth module on UART3. Signed-off-by: André Draszik Cc: Ilya Ledvich Cc: Igor Grinberg Cc: Rob Herring Cc: Mark Rutland Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: devicet...@vger.kernel.org Cc:

Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status

2019-08-26 Thread Nathan Chancellor
Hi Jason, On Fri, Aug 23, 2019 at 11:24:27AM -0300, Jason Gunthorpe wrote: > On Thu, Jul 11, 2019 at 10:30:30AM -0700, Nathan Chancellor wrote: > > On Thu, Jul 11, 2019 at 02:18:08PM -0300, Jason Gunthorpe wrote: > > > On Thu, Jul 11, 2019 at 10:16:44AM -0700, Nick Desaulniers wrote: > > > > On

Re: [RFC PATCH 0/7] Unify SMP stop generic logic to common code

2019-08-26 Thread Christoph Hellwig
On Fri, Aug 23, 2019 at 12:57:13PM +0100, Cristian Marussi wrote: > An architecture willing to rely on this SMP common logic has to define its > own helpers and set CONFIG_ARCH_USE_COMMON_SMP_STOP=y. > The series wire this up for arm64. > > Behaviour is not changed for architectures not adopting

Re: [RFC PATCH 5/7] arm64: smp: use generic SMP stop common code

2019-08-26 Thread Christoph Hellwig
> +config ARCH_USE_COMMON_SMP_STOP > + def_bool y if SMP The option belongs into common code and the arch code shoud only select it.

Re: [PATCH v4] bus: ti-sysc: Change return types of functions

2019-08-26 Thread Tony Lindgren
* Roger Quadros [190815 13:03]: > On 15/08/2019 08:46, Nishka Dasgupta wrote: > > Change return type of functions sysc_check_one_child() and > > sysc_check_children() from int to void as neither ever returns an error. > > Modify call sites of both functions accordingly. > > > > Signed-off-by:

Re: [RESEND PATCHv4 1/1] drivers/amba: add reset control to amba bus probe

2019-08-26 Thread Dinh Nguyen
Hi Philipp, On 8/26/19 3:57 AM, Philipp Zabel wrote: > Hi Dinh, Linus, > > On Fri, 2019-08-23 at 10:42 -0500, Dinh Nguyen wrote: >> >> On 8/23/19 4:19 AM, Linus Walleij wrote: >>> On Tue, Aug 20, 2019 at 4:58 PM Dinh Nguyen wrote: >>> @@ -401,6 +402,26 @@ static int

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-26 Thread Sebastian Andrzej Siewior
On 2019-08-23 23:10:14 [-0400], Joel Fernandes wrote: > On Fri, Aug 23, 2019 at 02:28:46PM -0500, Scott Wood wrote: > > On Fri, 2019-08-23 at 18:20 +0200, Sebastian Andrzej Siewior wrote: > > > > > > this looks like an ugly hack. This sleeping_lock_inc() is used where we > > > actually hold a

Re: [PATCH] ASoC: es8316: limit headphone mixer volume

2019-08-26 Thread Katsuhiro Suzuki
Hello Hans, Daniel, Thank you for reviewing and comment. On 2019/08/26 18:09, Hans de Goede wrote: Hi, On 26-08-19 04:53, Daniel Drake wrote: On Mon, Aug 26, 2019 at 1:38 AM Hans de Goede wrote: On 24-08-19 23:04, Katsuhiro Suzuki wrote: This patch limits Headphone mixer volume to 4 from

Re: [PATCH 2/7] firmware: add offset to request_firmware_into_buf

2019-08-26 Thread Takashi Iwai
On Fri, 23 Aug 2019 21:44:42 +0200, Scott Branden wrote: > > Hi Takashi, > > Thanks for review.  comments below. > > On 2019-08-23 3:05 a.m., Takashi Iwai wrote: > > On Thu, 22 Aug 2019 21:24:46 +0200, > > Scott Branden wrote: > >> Add offset to request_firmware_into_buf to allow for portions >

Re: [PATCH -next] drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT

2019-08-26 Thread Alex Deucher
On Mon, Aug 26, 2019 at 9:22 AM Harry Wentland wrote: > > > > On 2019-08-26 4:57 a.m., YueHaibing wrote: > > If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails: > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function > > dcn20_hw_sequencer_construct: > >

Re: kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

2019-08-26 Thread Josh Poimboeuf
On Mon, Aug 26, 2019 at 10:42:53PM +0800, He Zhe wrote: > Hi All, > > Since 3193c0836f20 ("bpf: Disable GCC -fgcse optimization for > ___bpf_prog_run()"), > We have got the following warning, > kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without > frame pointer

[PATCH 3/4] cdrom: remove REVISION/VERSION constants that are awfully out of date.

2019-08-26 Thread Diego Elio Pettenò
This driver changed significantly since 2003, there's no point in it pretending to still be that. Signed-off-by: Diego Elio Pettenò --- drivers/cdrom/cdrom.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index

[PATCH 1/4] cdrom: remove entering/exiting debug message logs.

2019-08-26 Thread Diego Elio Pettenò
Nowadays, ftrace function and function_graph tracers provide the same level of information, in a more standard and complete format. Cc: Joe Perches Signed-off-by: Diego Elio Pettenò --- drivers/cdrom/cdrom.c | 79 ++- 1 file changed, 3 insertions(+), 76

cdrom: debug info changes, Beurer glucometer support

2019-08-26 Thread Diego Elio Pettenò
Hello, I've been hacking around the cdrom driver so that I could get Linux to mount and access the virtual CD device used by the Beurer GL50 evo glucometer. The device is fairly quirky and goes into a reset cycle on a vanilla kernel. Since I had no idea how to get to the right changes at first,

[PATCH 2/4] cdrom: make debug logging rely on pr_debug and debugfs only.

2019-08-26 Thread Diego Elio Pettenò
The cdrom driver predates debugfs and most of the modern debugging facilities, so instead it has been includings a module parameter and an ioctl to enable debug messages. In 2019, debugfs and dynamic debug makes most of that redundant, and even confusing when trying to trace things in the dept of

[PATCH 4/4] cdrom: support Beurer GL50 evo CD-on-a-chip devices.

2019-08-26 Thread Diego Elio Pettenò
The Beurer GL50 evo uses a Cygnal/Cypress-manufactured CD-on-a-chip that only accepts a subset of SCSI commands. Most of the not-implemented commands are fine to fail, but a few, particularly around the MMC or Audio commands, will put the device into an unrecoverable state, so they need to be

Re: [PATCH] bus: imx-weim: remove __init from 2 functions

2019-08-26 Thread Nathan Chancellor
On Mon, Aug 26, 2019 at 12:58:28PM +0300, Ilie Halip wrote: > A previous commit removed __init from weim_probe(), but this attribute is > still present for other functions called from it. Thus, these warnings > are triggered: > WARNING: Section mismatch in reference from the function

[PATCH] PCI: Move static keyword to the front of declarations in pci-bridge-emul.c

2019-08-26 Thread Krzysztof Wilczynski
Move the static keyword to the front of declarations of pci_regs_behavior and pcie_cap_regs_behavior, and resolve compiler warning that can be seen when building with warnings enabled (W=1). Signed-off-by: Krzysztof Wilczynski --- drivers/pci/pci-bridge-emul.c | 4 ++-- 1 file changed, 2

Re: [RFC][PATCH 3/3] x86/ftrace: Use text_poke()

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 02:51:41PM +0200, Peter Zijlstra wrote: > Move ftrace over to using the generic x86 text_poke functions; this > avoids having a second/different copy of that code around. > > Cc: Daniel Bristot de Oliveira > Cc: Steven Rostedt > Signed-off-by: Peter Zijlstra (Intel)

Re: [PATCH] phy: qcom-qmp: Correct ready status, again

2019-08-26 Thread Bjorn Andersson
On Tue 20 Aug 17:23 PDT 2019, Kishon Vijay Abraham I wrote: > Hi Sasha, > > On 06/08/19 9:20 PM, Sasha Levin wrote: > > Hi, > > > > [This is an automated email] > > > > This commit has been processed because it contains a "Fixes:" tag, > > fixing commit: 885bd765963b phy: qcom-qmp: Correct

Re: [RESEND][PATCH v2-resend] MAINTAINERS: mark simple firmware interface (SFI) obsolete

2019-08-26 Thread Thomas Gleixner
Lukas, On Sun, 25 Aug 2019, Lukas Bulwahn wrote: > Len Brown has not been active in this part since around 2010. The recent > activity suggests that Thomas Gleixner and Jiang Lui were maintaining > this part of the kernel sources. Jiang Lui has not been active in the > kernel sources since

Re: [PATCH] mm/migrate: initialize pud_entry in migrate_vma()

2019-08-26 Thread Vlastimil Babka
On 7/20/19 1:32 AM, Ralph Campbell wrote: > When CONFIG_MIGRATE_VMA_HELPER is enabled, migrate_vma() calls > migrate_vma_collect() which initializes a struct mm_walk but > didn't initialize mm_walk.pud_entry. (Found by code inspection) > Use a C structure initialization to make sure it is set to

Re: kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

2019-08-26 Thread Greg KH
On Mon, Aug 26, 2019 at 10:42:53PM +0800, He Zhe wrote: > Hi All, > > Since 3193c0836f20 ("bpf: Disable GCC -fgcse optimization for > ___bpf_prog_run()"), > We have got the following warning, > kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without > frame pointer

Re: [PATCH] mm: replace is_zero_pfn with is_huge_zero_pmd for thp

2019-08-26 Thread Gerald Schaefer
On Mon, 26 Aug 2019 06:18:58 -0700 Matthew Wilcox wrote: > Why did you not cc Gerald who wrote the patch? You can't just > run get_maintainers.pl and call it good. > > On Sun, Aug 25, 2019 at 02:06:21PM -0600, Yu Zhao wrote: > > For hugely mapped thp, we use is_huge_zero_pmd() to check if it's

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Song Liu
> On Aug 26, 2019, at 2:23 AM, Peter Zijlstra wrote: > > So only the high mapping is ever executable; the identity map should not > be. Both should be RO. > >> kprobe (with CONFIG_KPROBES_ON_FTRACE) should work on kernel identity >> mapping. > > Please provide more information; kprobes

Re: [v5 1/2] mtd: nand: Add new Cadence NAND driver to MTD subsystem

2019-08-26 Thread Dmitry Osipenko
Hello Miquèl, 24.08.2019 13:49, Miquel Raynal пишет: > Hi Dmitry, > > Dmitry Osipenko wrote on Thu, 25 Jul 2019 18:11:43 > +0300: > >> 25.07.2019 18:00, Piotr Sroka пишет: >>> Add new Cadence NAND driver to MTD subsystem >>> >>> Signed-off-by: Piotr Sroka >>> --- >>> Changes for v5: >>> - fix

RE: [PATCH v3 0/8] AMD64 EDAC fixes

2019-08-26 Thread Ghannam, Yazen
> -Original Message- > From: linux-edac-ow...@vger.kernel.org On > Behalf Of Borislav Petkov > Sent: Monday, August 26, 2019 9:59 AM > To: Ghannam, Yazen > Cc: Adam Borowski ; linux-e...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 0/8] AMD64 EDAC fixes > >

Re: [PATCH v2 6/6] ASoC: atmel_ssc_dai: Enable shared FSYNC source in frame-slave mode

2019-08-26 Thread Codrin.Ciubotariu
On 24.08.2019 23:26, Michał Mirosław wrote: > SSC driver allows only synchronous TX and RX. In slave mode for BCLK > it uses only one of TK or RK pin, but for LRCLK it configured separate > inputs from TF and RF pins. Allow configuration with common FS signal. > > Signed-off-by: Michał Mirosław

Rewriting read_kmem()/write_kmem() ?

2019-08-26 Thread Tetsuo Handa
On 2019/08/26 20:19, Ingo Molnar wrote: > Basically making IO primitives interruptible is the norm and it's a > quality of implementation issue: it's only a historic accident that > /dev/mem read()s aren't. > > So let's try and make it interruptible as the #3 patch I sent did - of > course if

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-08-26 Thread Josh Poimboeuf
On Mon, Aug 26, 2019 at 03:44:21PM +0200, Nicolai Stange wrote: > Josh Poimboeuf writes: > > > On Wed, Aug 14, 2019 at 01:06:09PM +0200, Miroslav Benes wrote: > >> > Really, we should be going in the opposite direction, by creating module > >> > dependencies, like all other kernel modules do,

Re: [PATCH 0/2] coresight: Add barrier packet when moving offset forward

2019-08-26 Thread Mathieu Poirier
Hi Yabin, On Fri, 23 Aug 2019 at 18:30, Yabin Cui wrote: > > Thanks for fixing this problem. I didn't realize it because I usually use a > buffer size >= the default ETR buffer size, which is harder to reproduce the > problem. > The patches LGTM, maybe you also want to fix the problem commented

Re: [PATCH v3 0/8] AMD64 EDAC fixes

2019-08-26 Thread Borislav Petkov
On Mon, Aug 26, 2019 at 02:19:18PM +, Ghannam, Yazen wrote: > I was tracking down the failure with ECC disabled, and that seems to be it. > > So I think we should return 0 "if (!edac_has_mcs())", because we'd only get > there if ECC is disabled on all nodes and there wasn't some other >

Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER

2019-08-26 Thread Tycho Andersen
Hi, On Fri, Aug 23, 2019 at 05:30:53PM -0700, Paul Walmsley wrote: > On Thu, 22 Aug 2019, David Abdurachmanov wrote: > > > There is one failing kernel selftest: global.user_notification_signal > > Also - could you follow up with the author of this failing test to see if > we can get some more

[tip: x86/cleanups] x86/ftrace: Remove mcount() declaration

2019-08-26 Thread tip-bot2 for Jisheng Zhang
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 248d327ed7b6d3ebda2ac7b38482a306108bcd3e Gitweb: https://git.kernel.org/tip/248d327ed7b6d3ebda2ac7b38482a306108bcd3e Author:Jisheng Zhang AuthorDate:Mon, 26 Aug 2019 09:13:12 Committer:

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-08-26 Thread Josh Poimboeuf
On Fri, Aug 23, 2019 at 10:13:06AM +0200, Petr Mladek wrote: > On Thu 2019-08-22 17:36:49, Josh Poimboeuf wrote: > > On Fri, Aug 16, 2019 at 11:46:08AM +0200, Petr Mladek wrote: > > > On Wed 2019-08-14 10:12:44, Josh Poimboeuf wrote: > > > > On Wed, Aug 14, 2019 at 01:06:09PM +0200, Miroslav Benes

Re: [PATCH] leds: ti-lmu-common: Fix coccinelle issue in TI LMU

2019-08-26 Thread Dan Murphy
Jacek On 8/24/19 10:18 AM, Jacek Anaszewski wrote: Hi Dan, Thank you for the patch. On 8/23/19 9:55 PM, Dan Murphy wrote: Fix the coccinelle issues found in the TI LMU common code drivers/leds/leds-ti-lmu-common.c:97:20-29: WARNING: Unsigned expression compared with zero: ramp_down < 0

Re: [PATCH] cdrom: make debug logging rely on pr_debug and debugfs only.

2019-08-26 Thread Diego Elio Pettenò
On Sun, Aug 25, 2019 at 11:13 PM Joe Perches wrote: > > - cd_dbg(CD_OPEN, "entering register_cdrom\n"); > > + pr_debug("entering register_cdrom\n"); > > debut output for function tracing can also be removed > and ftrace used instead. Oh, nice! I have never had to go this deep into a

Re: [PATCH v5 1/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L1 EDAC

2019-08-26 Thread Hawa, Hanna
On 8/21/2019 10:17 PM, Rob Herring wrote: Why is this even in DT? AFAICT, this is all just CortexA57 core features (i.e. nothing Amazon specific). The core type and the ECC capabilities are discoverable. Added to the DT in order to easily enable/disable the driver. You are correct that

[RESEND PATCH V3 4/8] perf/x86/intel: Support per thread RDPMC TopDown metrics

2019-08-26 Thread kan . liang
From: Kan Liang With Icelake CPUs, the TopDown metrics are directly available as fixed counters and do not require generic counters, which make it possible to measure TopDown per thread/process instead of only per core. The metrics and slots values have to be saved/restored during context

[RESEND PATCH V3 5/8] perf/x86/intel: Export TopDown events for Icelake

2019-08-26 Thread kan . liang
From: Kan Liang Export new TopDown metrics events for perf that map to the sub metrics in the metrics register, and another for the new slots fixed counter. This makes the new fixed counters in Icelake visible to the perf user tools. Originally-by: Andi Kleen Signed-off-by: Kan Liang ---

[RESEND PATCH V3 6/8] perf/x86/intel: Disable sampling read slots and topdown

2019-08-26 Thread kan . liang
From: Kan Liang The slots event supports sampling. Users may sampling read slots and metrics events, e.g perf record -e '{slots, topdown-retiring}:S'. But the metrics event will reset the fixed counter 3 which will impact the sampling of the slots event. Add specific validate_group() support to

[RESEND PATCH V3 2/8] perf/x86/intel: Basic support for metrics counters

2019-08-26 Thread kan . liang
From: Kan Liang Metrics counters (hardware counters containing multiple metrics) are modeled as separate registers for each TopDown metric events, with an extra reg being used for coordinating access to the underlying register in the scheduler. Adds the basic infrastructure to separate the

[RESEND PATCH V3 8/8] perf, tools: Add documentation for topdown metrics

2019-08-26 Thread kan . liang
From: Andi Kleen Add some documentation how to use the topdown metrics in ring 3. Signed-off-by: Andi Kleen Signed-off-by: Kan Liang --- tools/perf/Documentation/topdown.txt | 223 +++ 1 file changed, 223 insertions(+) create mode 100644

[RESEND PATCH V3 0/8] TopDown metrics support for Icelake

2019-08-26 Thread kan . liang
From: Kan Liang Icelake has support for measuring the level 1 TopDown metrics directly in hardware. This is implemented by an additional METRICS register, and a new Fixed Counter 3 that measures pipeline SLOTS. Four TopDown metric events as separate perf events, which map to internal METRICS

[RESEND PATCH V3 7/8] perf, tools, stat: Support new per thread TopDown metrics

2019-08-26 Thread kan . liang
From: Andi Kleen Icelake has support for reporting per thread TopDown metrics. These are reported differently than the previous TopDown support, each metric is standalone, but scaled to pipeline "slots". We don't need to do anything special for HyperThreading anymore. Teach perf stat --topdown

[RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-26 Thread kan . liang
From: Kan Liang Intro = Icelake has support for measuring the four top level TopDown metrics directly in hardware. This is implemented by an additional "metrics" register, and a new Fixed Counter 3 that measures pipeline "slots". Events == We export four metric events as separate perf

[RESEND PATCH V3 1/8] perf/x86/intel: Set correct mask for TOPDOWN.SLOTS

2019-08-26 Thread kan . liang
From: Kan Liang TOPDOWN.SLOTS(0x0400) is not a generic event. It is only available on fixed counter3. Don't extend its mask to generic counters. Signed-off-by: Kan Liang --- arch/x86/events/intel/core.c | 6 -- arch/x86/include/asm/perf_event.h | 5 + 2 files changed, 9

kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

2019-08-26 Thread He Zhe
Hi All, Since 3193c0836f20 ("bpf: Disable GCC -fgcse optimization for ___bpf_prog_run()"), We have got the following warning, kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup If reverting the above commit, we will get the following warning,

Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-26 Thread Leonard Crestez
On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote: > From: Anson Huang > > Some platforms like i.MX8MQ has clock control for this module, > need to add clock operations to make sure the driver is working > properly. > > Signed-off-by: Anson Huang > Reviewed-by: Guido Günther This series looks

[PATCH] selftests/seccomp: fix build on older kernels

2019-08-26 Thread Tycho Andersen
The seccomp selftest goes to some length to build against older kernel headers, viz. all the #ifdefs at the beginning of the file. 201766a20e30 ("ptrace: add PTRACE_GET_SYSCALL_INFO request") introduces some additional macros, but doesn't do the #ifdef dance. Let's add that dance here to avoid:

Re: [PATCH] PCI: Add missing link delays required by the PCIe spec

2019-08-26 Thread Mika Westerberg
On Mon, Aug 26, 2019 at 09:07:12AM -0500, Bjorn Helgaas wrote: > On Mon, Aug 26, 2019 at 01:17:26PM +0300, Mika Westerberg wrote: > > On Fri, Aug 23, 2019 at 09:12:54PM -0500, Bjorn Helgaas wrote: > > > Hi Mika, > > > > Hi, > > > > > I'm trying to figure out specifically why we need this and

Re: [PATCH v2 5/6] misc: atmel-ssc: get LRCLK pin selection from DT

2019-08-26 Thread Codrin.Ciubotariu
On 24.08.2019 23:26, Michał Mirosław wrote: > Store LRCLK pin selection for use by ASoC DAI driver. > > Signed-off-by: Michał Mirosław Reviewed-by: Codrin Ciubotariu Thanks and best regards, Codrin > > --- >v2: split from ASoC implementation > > --- > drivers/misc/atmel-ssc.c | 9

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-26 Thread Jan Stancek
- Original Message - > Hi Jan and Cyril, > > On Mon, 26 Aug 2019 at 16:35, Jan Stancek wrote: > > > > > > > > - Original Message - > > > Hi! > > > > Do you see this LTP prot_hsymlinks failure on linux next 20190823 on > > > > x86_64 and i386 devices? > > > > > > > > test output

Re: [RESEND PATCH v3 14/20] mtd: spi_nor: Add a ->setup() method

2019-08-26 Thread Schrempf Frieder
On 26.08.19 16:02, Boris Brezillon wrote: > On Mon, 26 Aug 2019 13:38:48 + > Schrempf Frieder wrote: > >> On 26.08.19 14:40, Boris Brezillon wrote: >>> On Mon, 26 Aug 2019 12:08:58 + >>> wrote: >>> From: Tudor Ambarus nor->params.setup() configures the SPI NOR

Re: [PATCH 2/3] x86/alternatives: Move tp_vec

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 02:51:40PM +0200, Peter Zijlstra wrote: > +#define TP_VEC_MAX (PAGE_SIZE / sizeof(struct text_poke_loc)) > +extern struct text_poke_loc tp_vec[TP_VEC_MAX]; > +extern int tp_vec_nr; FWIW, that currently results in a batch size of 128, but I've not noticed any delay in

Re: [PATCH 00/14] per memcg lru_lock

2019-08-26 Thread Alex Shi
在 2019/8/24 上午9:59, Hugh Dickins 写道: > On Wed, 21 Aug 2019, Alex Shi wrote: >> 在 2019/8/21 上午2:24, Hugh Dickins 写道: >>> I'll set aside what I'm doing, and switch to rebasing ours to v5.3-rc >>> and/or mmotm. Then compare with what Alex has, to see if there's any >>> good reason to prefer one

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