Re: [PATCH] locking/arch: Move qrwlock.h include after qspinlock.h

2021-02-11 Thread Paolo Bonzini
On 10/02/21 17:19, Thomas Bogendoerfer wrote: arch/arm64/include/asm/spinlock.h | 2 +- arch/mips/include/asm/spinlock.h | 2 +- arch/xtensa/include/asm/spinlock.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) which tree should this go through ? I can take it via mips-next,

Re: [PATCH] Fix jump parsing for C++ code.

2021-02-11 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 11, 2021 at 01:37:55PM +0100, Martin Liška escreveu: > Considering the following testcase: Cool, applied, next time please use a Summary like: Subject: Re: [PATCH] perf annotate: Fix jump parsing for C++ code. So that it stands out more clearly in my inbox, this time I saw your

[PATCH v4 1/2] staging: rtl8723bs: fix function comments to follow kernel-doc

2021-02-11 Thread karthik alapati
there are some good function comments not following kernel-doc. Make them follow kernel-doc style Signed-off-by: karthik alapati --- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 185 +++--- 1 file changed, 73 insertions(+), 112 deletions(-) diff --git

Re: [PATCH 1/3] regulator: pca9450: Add SD_VSEL GPIO for LDO5

2021-02-11 Thread Mark Brown
On Thu, Feb 11, 2021 at 11:55:28AM +0100, Schrempf Frieder wrote: > + if (IS_ERR(pca9450->sd_vsel_gpio)) { > + dev_err(>dev, "Failed to get SD_VSEL GPIO\n"); Not critical but it's generally better to display the error code when logging an error to aid in diagnostics.

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-11 Thread Geert Uytterhoeven
Hi Saravana, On Thu, Feb 11, 2021 at 2:00 PM Geert Uytterhoeven wrote: > - Disabling CONFIG_RCAR_DMAC works for most devices, except for > sound: Please ignore. DMA is mandatory for sound, and thus fails in the same way on v5.11-rc5. Gr{oetje,eeting}s,

Re: [PATCH] platform/surface: aggregator: Fix access of unaligned value

2021-02-11 Thread Andy Shevchenko
On Thu, Feb 11, 2021 at 12:58:48PM +0100, Maximilian Luz wrote: > On 2/11/21 11:22 AM, Andy Shevchenko wrote: > > On Thu, Feb 11, 2021 at 12:04:11AM +0100, Maximilian Luz wrote: > > > The raw message frame length is unaligned and explicitly marked as > > > little endian. It should not be accessed

Re: add a new dma_alloc_noncontiguous API v2

2021-02-11 Thread Christoph Hellwig
On Thu, Feb 11, 2021 at 10:08:18AM +0100, Ricardo Ribalda wrote: > Hi Christoph > > What are your merge plans for the uvc change? > http://git.infradead.org/users/hch/dma-mapping.git/commit/3dc47131f8aacc2093f68a9971d24c754e435520 > > Are you going to remove the patch on your Merge request and

Re: [v7 PATCH 12/12] mm: vmscan: shrink deferred objects proportional to priority

2021-02-11 Thread Vlastimil Babka
On 2/9/21 6:46 PM, Yang Shi wrote: > The number of deferred objects might get windup to an absurd number, and it > results in clamp of slab objects. It is undesirable for sustaining > workingset. > > So shrink deferred objects proportional to priority and cap nr_deferred to > twice > of cache

Re: [PATCH v3 1/2] s390/kvm: extend kvm_s390_shadow_fault to return entry pointer

2021-02-11 Thread David Hildenbrand
On 11.02.21 13:57, Claudio Imbrenda wrote: On Thu, 11 Feb 2021 10:18:56 +0100 David Hildenbrand wrote: On 09.02.21 16:43, Claudio Imbrenda wrote: Extend kvm_s390_shadow_fault to return the pointer to the valid leaf DAT table entry, or to the invalid entry. Also return some flags in the

Re: possible deadlock in start_this_handle (2)

2021-02-11 Thread Dmitry Vyukov
On Thu, Feb 11, 2021 at 1:57 PM Matthew Wilcox wrote: > > > > > > Hello, > > > > > > > > > > > > added mm guys to CC. > > > > > > > > > > > > On Wed 10-02-21 05:35:18, syzbot wrote: > > > > > > > HEAD commit:1e0d27fc Merge branch 'akpm' (patches from Andrew) > > > > > > > git tree:

Re: [RFC PATCH 12/12] platform/x86/of: add support for PC Engines APU v2/3/4 boards

2021-02-11 Thread Enrico Weigelt, metux IT consult
On 09.02.21 01:06, Rob Herring wrote: Hi, +/ { +apu2x { +compatible = "virtual,dmi-board"; +dmi-sys-vendor = "PC engines"; +dmi-board-name = + "APU2", + "apu2", + "PC engines apu2", + "APU3", + "apu3", + "PC

Re: [RFC PATCH v4 08/17] af_vsock: update comments for stream sockets

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:16:29PM +0300, Arseny Krasnov wrote: This replaces 'stream' to 'connect oriented' in comments as SEQPACKET is also connect oriented. I'm not a native speaker but maybe is better 'connection oriented' or looking at socket(2) man page 'connection-based' is also fine.

Re: [PATCH 13/24] perf daemon: Allow only one daemon over base directory

2021-02-11 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 08, 2021 at 09:08:57PM +0100, Jiri Olsa escreveu: > Add 'lock' file under daemon base and flock it, so only one > perf daemon can run on top of it. > > Each daemon tries to create and lock BASE/lock file, if it's > successful we are sure we're the only daemon running over > the BASE.

Re: add a new dma_alloc_noncontiguous API v2

2021-02-11 Thread Ricardo Ribalda
HI Christoph On Thu, Feb 11, 2021 at 2:06 PM Christoph Hellwig wrote: > > On Thu, Feb 11, 2021 at 10:08:18AM +0100, Ricardo Ribalda wrote: > > Hi Christoph > > > > What are your merge plans for the uvc change? > >

Re: [PATCH v2] drm/msm: a6xx: Make sure the SQE microcode is safe

2021-02-11 Thread Akhil P Oommen
On 2/10/2021 6:22 AM, Jordan Crouse wrote: Most a6xx targets have security issues that were fixed with new versions of the microcode(s). Make sure that we are booting with a safe version of the microcode for the target and print a message and error if not. v2: Add more informative error

RE: [EXT] Re: [PATCH v13 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-02-11 Thread Stefan Chulski
> Ditto. > > I don't think these need to be fixed in the net tree, but it would still be > nice > to fix the problem. Please do so, as an initial patch in your series - so we > can > then backport if it turns out to eventually be necessary. > > Thanks. My series already has 15 patches and

Re: possible deadlock in start_this_handle (2)

2021-02-11 Thread Matthew Wilcox
On Thu, Feb 11, 2021 at 02:07:03PM +0100, Michal Hocko wrote: > On Thu 11-02-21 12:57:17, Matthew Wilcox wrote: > > > current->flags should be always manipulated from the user context. But > > > who knows maybe there is a bug and some interrupt handler is calling it. > > > This should be easy to

Re: [PATCH -next] staging: ks7010: Macros with complex values

2021-02-11 Thread Fatih YILDIRIM
Ok, thanks! On Thu, Feb 11, 2021 at 3:52 PM Greg KH wrote: > > On Thu, Feb 11, 2021 at 03:23:24PM +0300, Fatih Yildirim wrote: > > On Thu, Feb 11, 2021 at 12:10:44PM +0100, Greg KH wrote: > > > On Thu, Feb 11, 2021 at 01:57:04PM +0300, Fatih YILDIRIM wrote: > > > > On Thu, Feb 11, 2021 at

Re: [EXT] Re: [PATCH v13 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-02-11 Thread Russell King - ARM Linux admin
On Thu, Feb 11, 2021 at 01:02:14PM +, Stefan Chulski wrote: > > On Thu, Feb 11, 2021 at 12:48:55PM +0200, stef...@marvell.com wrote: > > > diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > > b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > > index 761f745..8b4073c 100644 >

RE: [PATCH v4] staging: gdm724x: Fix DMA from stack

2021-02-11 Thread David Laight
> Stack allocated buffers cannot be used for DMA > on all architectures so allocate hci_packet buffer > using kmalloc. I wonder if the usb stack ought/could support a short bounce buffer within the memory is already has to allocate? For hci and lengths less than 8 the immediate data can be

Re: [PATCH net-next] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-11 Thread Arnd Bergmann
On Thu, Feb 11, 2021 at 4:03 AM wrote: > > From: Min Li > > This driver supports 1588 related functions of ClockMatrix(TM) > and 82P33xxx families of timing and synchronization devices. The > supported functons are: > > - set combomode > - get dpll's state > - get dpll's ffo > > Please note that

Re: [EXT] Re: [PATCH v13 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-02-11 Thread Russell King - ARM Linux admin
On Thu, Feb 11, 2021 at 01:22:35PM +, Stefan Chulski wrote: > > Ditto. > > > > I don't think these need to be fixed in the net tree, but it would still be > > nice > > to fix the problem. Please do so, as an initial patch in your series - so > > we can > > then backport if it turns out to

Re: [PATCH v5 2/4] lib: vsprintf: Fix handling of number field widths in vsscanf

2021-02-11 Thread Petr Mladek
On Thu 2021-02-11 13:55:26, Petr Mladek wrote: > On Mon 2021-02-08 17:38:29, Richard Fitzgerald wrote: > > On 08/02/2021 15:18, Andy Shevchenko wrote: > > > On Mon, Feb 08, 2021 at 02:01:52PM +, Richard Fitzgerald wrote: > > > A nit-pick: What if we rewrite above as > > > > > > static

RE: [PATCH v5 3/6] misc: Add Synopsys DesignWare xData IP driver to Kconfig

2021-02-11 Thread Gustavo Pimentel
On Thu, Feb 11, 2021 at 11:29:43, Krzysztof Wilczyński wrote: > Hi Gustavo, > > [...] > > +config DW_XDATA_PCIE > > + depends on PCI > > + tristate "Synopsys DesignWare xData PCIe driver" > > + help > > + This driver allows controlling Synopsys DesignWare PCIe traffic > > +

Re: [PATCH] arm64: Fix warning in mte_get_random_tag()

2021-02-11 Thread Ard Biesheuvel
On Thu, 11 Feb 2021 at 13:57, Vincenzo Frascino wrote: > > The simplification of mte_get_random_tag() caused the introduction of the > warning below: > > In file included from arch/arm64/include/asm/kasan.h:9, > from include/linux/kasan.h:16, > from

[PATCH v2 2/6] perf arm-spe: Store memory address in packet

2021-02-11 Thread James Clark
From: Leo Yan This patch is to store virtual and physical memory addresses in packet, which will be used for memory samples. Signed-off-by: Leo Yan Signed-off-by: James Clark Reviewed-by: James Clark Tested-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo

[PATCH v2 1/6] perf arm-spe: Enable sample type PERF_SAMPLE_DATA_SRC

2021-02-11 Thread James Clark
From: Leo Yan This patch is to enable sample type PERF_SAMPLE_DATA_SRC for Arm SPE in the perf data, when output the tracing data, it tells tools that it contains data source in the memory event. Signed-off-by: Leo Yan Signed-off-by: James Clark Reviewed-by: James Clark Tested-by: James

[PATCH v2 5/6] perf arm-spe: Synthesize memory event

2021-02-11 Thread James Clark
From: Leo Yan The memory event can deliver two benefits: - The first benefit is the memory event can give out global view for memory accessing, rather than organizing events with scatter mode (e.g. uses separate event for L1 cache, last level cache, etc) which which can only display a

[PATCH v2 3/6] perf arm-spe: Store operation type in packet

2021-02-11 Thread James Clark
From: Leo Yan This patch is to store operation type in packet structure. Signed-off-by: Leo Yan Signed-off-by: James Clark Reviewed-by: James Clark Tested-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri

[PATCH v2 4/6] perf arm-spe: Fill address info for samples

2021-02-11 Thread James Clark
From: Leo Yan To properly handle memory and branch samples, this patch divides into two functions for generating samples: arm_spe__synth_mem_sample() is for synthesizing memory and TLB samples; arm_spe__synth_branch_sample() is to synthesize branch samples. Arm SPE backend decoder has passed

[PATCH v2 6/6] perf arm-spe: Set sample's data source field

2021-02-11 Thread James Clark
From: Leo Yan The sample structure contains the field 'data_src' which is used to tell the data operation attributions, e.g. operation type is loading or storing, cache level, it's snooping or remote accessing, etc. At the end, the 'data_src' will be parsed by perf mem/c2c tools to display

Re: [PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu onlining

2021-02-11 Thread Alexey Klimov
On Fri, Feb 5, 2021 at 11:22 AM Qais Yousef wrote: > > On 02/04/21 10:46, Peter Zijlstra wrote: > > On Thu, Feb 04, 2021 at 01:01:57AM +, Alexey Klimov wrote: > > > @@ -1281,6 +1282,11 @@ static int cpu_up(unsigned int cpu, enum > > > cpuhp_state target) > > > err = _cpu_up(cpu, 0,

Re: [PATCH 1/8] perf arm-spe: Enable sample type PERF_SAMPLE_DATA_SRC

2021-02-11 Thread James Clark
On 22/01/2021 14:51, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 19, 2021 at 04:46:51PM +0200, James Clark escreveu: >> From: Leo Yan >> >> This patch is to enable sample type PERF_SAMPLE_DATA_SRC for Arm SPE in >> the perf data, when output the tracing data, it tells tools that it >>

[PATCH v1 6/9] x86/platform/intel-mid: Get rid of intel_scu_ipc_legacy.h

2021-02-11 Thread Andy Shevchenko
The header is used by a single user. Move header content to that user. Signed-off-by: Andy Shevchenko Reviewed-by: Mika Westerberg --- arch/x86/include/asm/intel_scu_ipc.h| 2 -- arch/x86/include/asm/intel_scu_ipc_legacy.h | 18 --

[PATCH v1 2/9] cpufreq: sfi-cpufreq: Remove driver for deprecated firmware

2021-02-11 Thread Andy Shevchenko
SFI-based platforms are gone. So does this driver. Signed-off-by: Andy Shevchenko Acked-by: Linus Walleij --- drivers/cpufreq/Kconfig.x86 | 10 --- drivers/cpufreq/Makefile | 1 - drivers/cpufreq/sfi-cpufreq.c | 127 -- 3 files changed, 138

[PATCH v1 7/9] x86/platform/intel-mid: Drop unused __intel_mid_cpu_chip and Co.

2021-02-11 Thread Andy Shevchenko
Since there is no more user of this global variable and associated custom API, we may safely drop this legacy reinvented a wheel from the kernel sources. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/intel-mid.h| 23 ---

[PATCH v1 5/9] x86/PCI: Describe @reg for type1_access_ok()

2021-02-11 Thread Andy Shevchenko
Describe missed parameter in documentation of type1_access_ok(). Otherwise "make W=1 arch/x86/pci/" produces the following warning: CHECK arch/x86/pci/intel_mid_pci.c CC arch/x86/pci/intel_mid_pci.o arch/x86/pci/intel_mid_pci.c:152: warning: Function parameter or member 'reg' not

[PATCH v1 4/9] x86/PCI: Get rid of custom x86 model comparison

2021-02-11 Thread Andy Shevchenko
Switch the platform code to use x86_id_table and accompanying API instead of custom comparison against x86 CPU model. This is one of the last users of custom API for that and following changes will remove it for the good. Signed-off-by: Andy Shevchenko --- arch/x86/pci/intel_mid_pci.c | 17

[PATCH v1 3/9] sfi: Remove framework for deprecated firmware

2021-02-11 Thread Andy Shevchenko
SFI-based platforms are gone. So does this framework. This removes mention of SFI through the drivers and other code as well. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede Acked-by: Linus Walleij --- Documentation/ABI/testing/sysfs-firmware-sfi | 15 -

Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

2021-02-11 Thread Xi Ruoyao
Hi all, The latest GNU assembler (binutils-2.36.1) is removing unused section symbols like Clang [1]. So linux-5.10.15 can't be built with binutils-2.36.1 now. It has been reported as https://bugzilla.kernel.org/show_bug.cgi?id=211693. I can confirm this commit fixes the issue. It should be

[PATCH v1 1/9] media: atomisp: Remove unused header

2021-02-11 Thread Andy Shevchenko
sfi.h is not anyhow used by the driver. Remove it. Signed-off-by: Andy Shevchenko Acked-by: Sakari Ailus Acked-by: Linus Walleij --- drivers/staging/media/atomisp/include/linux/atomisp_platform.h | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v1 8/9] x86/platform/intel-mid: Remove unused header inclusion in intel-mid.h

2021-02-11 Thread Andy Shevchenko
After the commit f1be6cdaf57c ("x86/platform/intel-mid: Make intel_scu_device_register() static") the platform_device.h is not being used anymore by intel-mid.h. Remove it. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/intel-mid.h | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v1 9/9] x86/platform/intel-mid: Update Copyright year and drop file names

2021-02-11 Thread Andy Shevchenko
Update Copyright year and drop file names from files themselves. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/intel-mid.h| 4 ++-- arch/x86/platform/intel-mid/intel-mid.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/intel-mid.h

[PATCH v1 0/9] x86/platform: Remove SFI framework and users

2021-02-11 Thread Andy Shevchenko
This is last part of Intel MID (SFI based) removal. We have no more users of it in the kernel and since SFI has been marked Obsolete for a few years already, Remove all the stuff altogether. Note, the more recent platforms (Intel Merrifield and Moorefield) still work as long as they provide

arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared

2021-02-11 Thread kernel test robot
Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files date: 10 weeks

Re: [PATCH v6 3/4] lib: test_scanf: Add tests for sscanf number conversion

2021-02-11 Thread Petr Mladek
On Tue 2021-02-09 15:56:03, Richard Fitzgerald wrote: > Adds test_sscanf to test various number conversion cases, as > number conversion was previously broken. > > This also tests the simple_strtoxxx() functions exported from > vsprintf.c. > > Signed-off-by: Richard Fitzgerald > Acked-by: Andy

Re: [PATCH v1] clang_tools:gen_compile_commands: Change the default source directory

2021-02-11 Thread Stephen Zhang
Nathan Chancellor 于2021年2月11日周四 上午2:24写道: > > On Wed, Feb 10, 2021 at 08:15:27PM +0800, Stephen Zhang wrote: > > Nathan Chancellor 于2021年2月10日周三 上午3:27写道: > > > > > Just as an FYI, your email was HTML, which means it won't hit LKML. > > > > > > Thanks for pointing that out. The existence of a

Re: [PATCH v6 2/4] lib: vsprintf: Fix handling of number field widths in vsscanf

2021-02-11 Thread Petr Mladek
On Tue 2021-02-09 15:56:02, Richard Fitzgerald wrote: > The existing code attempted to handle numbers by doing a strto[u]l(), > ignoring the field width, and then repeatedly dividing to extract the > field out of the full converted value. If the string contains a run of > valid digits longer than

[PATCH 0/2] Enable usage of Marvell FW SIP services

2021-02-11 Thread kostap
From: Konstantin Porotchkin These patches enable usage of Arm Trusted Firmware SIP services on Marvell Armada plaforms for accessing system registers that are not normally accessible from kernel or user space (EL1/EL0), like DFX registers group. v2: * use separate legacy/smc regmap functions

[PATCH 2/2] clk: mvebu: use firmware SiP service for accessing dfx register set

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for cpu clk driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing cpu clk registers, which are part of dfx register set, will not be possible from non-secure world. The ARM Trusted Firmware exposes

[PATCH 1/2] thermal: armada: ap806: use firmware SiP services for thermal operations

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for ap806 thermal driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing thermal registers, which are part of dfx register set, will not be possible from non-secure world. Due to above the ARM Trusted

RE: [PATCH v5 05/15] dmaengine: dw-edma: Add PCIe VSEC data retrieval support

2021-02-11 Thread Gustavo Pimentel
On Thu, Feb 11, 2021 at 12:59:48, Krzysztof Wilczyński wrote: > Hi Gustavo, > > > + /* > > +* Tries to find if exists a PCIe Vendor-Specific Extended Capability > > +* for the DMA, if exists one, then reconfigures with the new data > [...] > > What about "if one exists" and "then

Re: [PATCH v5 1/6] misc: Add Synopsys DesignWare xData IP driver

2021-02-11 Thread Leon Romanovsky
On Thu, Feb 11, 2021 at 01:32:13PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 11, 2021 at 01:42:43PM +0200, Leon Romanovsky wrote: > > On Thu, Feb 11, 2021 at 10:08:38AM +0100, Gustavo Pimentel wrote: > > > Add Synopsys DesignWare xData IP driver. This driver enables/disables > > > the PCI

Re: [PATCH v4] staging: gdm724x: Fix DMA from stack

2021-02-11 Thread gre...@linuxfoundation.org
On Thu, Feb 11, 2021 at 01:28:41PM +, David Laight wrote: > > Stack allocated buffers cannot be used for DMA > > on all architectures so allocate hci_packet buffer > > using kmalloc. > > I wonder if the usb stack ought/could support a short bounce > buffer within the memory is already has to

[PATCH v2] timekeeping: Allow runtime PM from change_clocksource()

2021-02-11 Thread Niklas Söderlund
The struct clocksource callbacks enable() and disable() are described as a way to allow clock sources to enter a power save mode [1]. But using runtime PM from these callbacks triggers a cyclic lockdep warning when switching clock source using change_clocksource(). This change allows the new

[PATCH v2] Updated locking documentation for transaction_t

2021-02-11 Thread Alexander Lochmann
Some members of transaction_t are allowed to be read without any lock being held if accessed from the correct context. We used LockDoc's findings to determine those members. Each member of them is marked with a short comment: "no lock needed for jbd2 thread". Signed-off-by: Alexander Lochmann

Re: [RFC PATCH v4 09/17] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:16:46PM +0300, Arseny Krasnov wrote: This adds transport callback and it's logic for SEQPACKET dequeue. Callback fetches RW packets from rx queue of socket until whole record is copied(if user's buffer is full, user is not woken up). This is done to not stall sender,

arch/powerpc/lib/sstep.c:1172:21: error: variable 'suffix' set but not used

2021-02-11 Thread kernel test robot
Hi Jordan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 650b55b707fdfa764e9f2b81314d3eb4216fb962 powerpc: Add prefixed instructions to instruction data type date:

Re: [PATCH] staging: wfx: avoid defining array of flexible struct

2021-02-11 Thread Muhammad Usama Anjum
> I think that "#include " is no more necessary. Good catch. I'll send another patch. Thanks, Usama

Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

2021-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 09:32:03PM +0800, Xi Ruoyao wrote: > Hi all, > > The latest GNU assembler (binutils-2.36.1) is removing unused section symbols > like Clang [1]. So linux-5.10.15 can't be built with binutils-2.36.1 now. It > has been reported as

Re: phy_attach_direct()'s use of device_bind_driver()

2021-02-11 Thread Andrew Lunn
> Yeah, I plan to fix this. So I have a few more questions. In the > example I gave, what should happen if the gpios listed in the phy's DT > node aren't ready yet? There are four different use cases for GPIO. 1) The GPIO is used to reset all devices on the MDIO bus. When the bus is registered

RE: [EXT] Re: [PATCH v2 01/12] fix: arm64: dts: replace wrong regulator on ap emmc

2021-02-11 Thread Kostya Porotchkin
> -- > On Wed, Feb 10, 2021 at 04:09:38PM +0200, kos...@marvell.com wrote: > > From: Konstantin Porotchkin > > > > Replace wrong regulator in AP0 eMMC definition on MacchiatoBIN board > > with 3.3V regulator. > > The

[PATCH] staging: vt6656: Fixed alignment with issue in rf.c

2021-02-11 Thread Pritthijit Nath
This change fixes a checkpatch CHECK style issue for "Alignment should match open parenthesis". Signed-off-by: Pritthijit Nath --- drivers/staging/vt6656/rf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index

Re: add a new dma_alloc_noncontiguous API v2

2021-02-11 Thread Laurent Pinchart
Hi Ricardo, On Thu, Feb 11, 2021 at 02:20:30PM +0100, Ricardo Ribalda wrote: > On Thu, Feb 11, 2021 at 2:06 PM Christoph Hellwig wrote: > > On Thu, Feb 11, 2021 at 10:08:18AM +0100, Ricardo Ribalda wrote: > > > Hi Christoph > > > > > > What are your merge plans for the uvc change? > > >

Re: [RFC PATCH v4 10/17] virtio/vsock: fetch length for SEQPACKET record

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:17:08PM +0300, Arseny Krasnov wrote: This adds transport callback which tries to fetch record begin marker from socket's rx queue. It is called from af_vsock.c before reading data packets of record. Signed-off-by: Arseny Krasnov --- include/linux/virtio_vsock.h

Re: [EXT] Re: [PATCH v2 01/12] fix: arm64: dts: replace wrong regulator on ap emmc

2021-02-11 Thread Russell King - ARM Linux admin
On Thu, Feb 11, 2021 at 01:57:25PM +, Kostya Porotchkin wrote: > > > -- > > On Wed, Feb 10, 2021 at 04:09:38PM +0200, kos...@marvell.com wrote: > > > From: Konstantin Porotchkin > > > > > > Replace wrong regulator in AP0

Re: [PATCH v5 1/6] misc: Add Synopsys DesignWare xData IP driver

2021-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 03:50:19PM +0200, Leon Romanovsky wrote: > On Thu, Feb 11, 2021 at 01:32:13PM +0100, Greg Kroah-Hartman wrote: > > On Thu, Feb 11, 2021 at 01:42:43PM +0200, Leon Romanovsky wrote: > > > On Thu, Feb 11, 2021 at 10:08:38AM +0100, Gustavo Pimentel wrote: > > > > Add Synopsys

[PATCH v3 0/2] Enable usage of Marvell FW SIP services

2021-02-11 Thread kostap
From: Konstantin Porotchkin These patches enable usage of Arm Trusted Firmware SIP services on Marvell Armada plaforms for accessing system registers that are not normally accessible from kernel or user space (EL1/EL0), like DFX registers group. v2: * use separate legacy/smc regmap functions

[PATCH v3 1/2] thermal: armada: ap806: use firmware SiP services for thermal operations

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for ap806 thermal driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing thermal registers, which are part of dfx register set, will not be possible from non-secure world. Due to above the ARM Trusted

Re: phy_attach_direct()'s use of device_bind_driver()

2021-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2021 at 10:21:03AM +, Jon Hunter wrote: > > On 10/02/2021 22:56, Andrew Lunn wrote: > > On Wed, Feb 10, 2021 at 02:13:48PM -0800, Saravana Kannan wrote: > >> Hi, > >> > >> This email was triggered by this other email[1]. > > > > And it appears the Tegra194 Jetson Xavier uses

Re: [RFC PATCH v4 09/17] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-02-11 Thread Stefano Garzarella
On Thu, Feb 11, 2021 at 02:54:28PM +0100, Stefano Garzarella wrote: On Sun, Feb 07, 2021 at 06:16:46PM +0300, Arseny Krasnov wrote: This adds transport callback and it's logic for SEQPACKET dequeue. Callback fetches RW packets from rx queue of socket until whole record is copied(if user's

[PATCH v3 2/2] clk: mvebu: use firmware SiP service for accessing dfx register set

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for cpu clk driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing cpu clk registers, which are part of dfx register set, will not be possible from non-secure world. The ARM Trusted Firmware exposes

drivers/media/common/videobuf2/videobuf2-dma-contig.c:509:5: error: implicit declaration of function '__pfn_to_phys'

2021-02-11 Thread kernel test robot
-20210211 (attached as .config) compiler: m68k-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://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH V4] mtd: rawnand: qcom: update last code word register

2021-02-11 Thread Miquel Raynal
Hello, Manivannan Sadhasivam wrote on Wed, 10 Feb 2021 14:31:44 +0530: > On Fri, Jan 29, 2021 at 03:09:19AM +0530, Md Sadre Alam wrote: > > From QPIC version 2.0 onwards new register got added to > > read last codeword. This change will add the READ_LOCATION_LAST_CW_n > > register. > > > > For

APPLY FOR LOAN NOW?

2021-02-11 Thread MRS.MARIA RICARDO
Dear Ladies and Gentlemen Are you tired of messing around with banks or financial service providers for a loan? Need collateral to secure the loan 150%? Do you need a loan to make an investment, convert short term debt into medium to long term? Yes, but security, confidentiality and

Re: [PATCH v2] [RFC] mm: fs: Invalidate BH LRU during page migration

2021-02-11 Thread Matthew Wilcox
On Wed, Feb 10, 2021 at 09:35:40PM -0800, Chris Goldsworthy wrote: > +/* These are used to control the BH LRU invalidation during page migration */ > +static struct cpumask lru_needs_invalidation; > +static bool bh_lru_disabled = false; As I asked before, what protects this on an SMP system? >

Re: [PATCH] powerpc/bug: Remove specific powerpc BUG_ON()

2021-02-11 Thread Christophe Leroy
Le 11/02/2021 à 12:49, Segher Boessenkool a écrit : On Thu, Feb 11, 2021 at 07:41:52AM +, Christophe Leroy wrote: powerpc BUG_ON() is based on using twnei or tdnei instruction, which obliges gcc to format the condition into a 0 or 1 value in a register. Huh? Why is that? Will it work

Re: [PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu onlining

2021-02-11 Thread Alexey Klimov
On Fri, Feb 5, 2021 at 12:41 AM Daniel Jordan wrote: > > Peter Zijlstra writes: [...] > >> > One concequence of this is that you'll now get a bunch of notifications > >> > across things like suspend/hybernate. > >> > >> The patch doesn't change the number of kobject_uevent()s. The > >>

APPLY FOR LOAN NOW?

2021-02-11 Thread MRS.MARIA RICARDO
Dear Ladies and Gentlemen Are you tired of messing around with banks or financial service providers for a loan? Need collateral to secure the loan 150%? Do you need a loan to make an investment, convert short term debt into medium to long term? Yes, but security, confidentiality and

Re: [PATCH v1] clang_tools:gen_compile_commands: Change the default source directory

2021-02-11 Thread Masahiro Yamada
On Thu, Feb 11, 2021 at 10:48 PM Stephen Zhang wrote: > > Nathan Chancellor 于2021年2月11日周四 上午2:24写道: > > > > On Wed, Feb 10, 2021 at 08:15:27PM +0800, Stephen Zhang wrote: > > > Nathan Chancellor 于2021年2月10日周三 上午3:27写道: > > > > > > > Just as an FYI, your email was HTML, which means it won't hit

RE: [PATCH v2 4/8] xen/netback: fix spurious event detection for common event case

2021-02-11 Thread Paul Durrant
> -Original Message- > From: Juergen Gross > Sent: 11 February 2021 10:16 > To: xen-de...@lists.xenproject.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: Juergen Gross ; Wei Liu ; Paul > Durrant ; David > S. Miller ; Jakub Kicinski > Subject: [PATCH v2 4/8]

Re: [PATCH v5 1/6] misc: Add Synopsys DesignWare xData IP driver

2021-02-11 Thread Leon Romanovsky
On Thu, Feb 11, 2021 at 03:02:03PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 11, 2021 at 03:50:19PM +0200, Leon Romanovsky wrote: > > On Thu, Feb 11, 2021 at 01:32:13PM +0100, Greg Kroah-Hartman wrote: > > > On Thu, Feb 11, 2021 at 01:42:43PM +0200, Leon Romanovsky wrote: > > > > On Thu, Feb

RE: [PATCH v2 5/8] xen/events: link interdomain events to associated xenbus device

2021-02-11 Thread Paul Durrant
> -Original Message- > From: Juergen Gross > Sent: 11 February 2021 10:16 > To: xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org; > linux-kernel@vger.kernel.org; > net...@vger.kernel.org; linux-s...@vger.kernel.org > Cc: Juergen Gross ; Konrad Rzeszutek Wilk > ; Roger Pau

[GIT PULL] gpio: fixes for v5.11

2021-02-11 Thread Bartosz Golaszewski
Linus, This is hopefully the last batch of fixes for this release cycle. We have a minor fix for a Kconfig regression as well as fixes for older bugs in gpio-ep93xx. Please pull, Bartosz The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3: Linux 5.11-rc7 (2021-02-07

[PATCH] clk: stm32mp1: wait for LSE to become ready after enabling

2021-02-11 Thread Martin Fuzzey
After enabling the LSE clock it is necessary to wait to for the ready bit to be set. This takes 4096 cycles of the clock frequency (typically 32kHz) Currently this is not done and causes the RTC driver to fail to probe when built as a module: stm32_rtc 5c004000.rtc: Can't enter in init

Re: [EXT] Re: [PATCH v12 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2021 at 08:22:19AM +, Stefan Chulski wrote: > > > > > -- > > From: > > Date: Wed, 10 Feb 2021 11:48:17 +0200 > > > > > > > > +static int bm_underrun_protect = 1; > > > + > > >

Re: possible deadlock in start_this_handle (2)

2021-02-11 Thread Michal Hocko
On Thu 11-02-21 13:25:33, Matthew Wilcox wrote: > On Thu, Feb 11, 2021 at 02:07:03PM +0100, Michal Hocko wrote: > > On Thu 11-02-21 12:57:17, Matthew Wilcox wrote: > > > > current->flags should be always manipulated from the user context. But > > > > who knows maybe there is a bug and some

Re: [PATCH for 5.4] Fix unsynchronized access to sev members through svm_register_enc_region

2021-02-11 Thread Greg KH
On Mon, Feb 08, 2021 at 08:48:55AM -0800, Peter Gonda wrote: > commit 19a23da53932bc8011220bd8c410cb76012de004 upstream. > > Grab kvm->lock before pinning memory when registering an encrypted > region; sev_pin_memory() relies on kvm->lock being held to ensure > correctness when checking and

Re: [PATCH 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-02-11 Thread Tony Krowiak
On 2/10/21 5:46 PM, Halil Pasic wrote: On Wed, 10 Feb 2021 17:05:48 -0500 Tony Krowiak wrote: On 2/10/21 10:32 AM, Halil Pasic wrote: On Wed, 10 Feb 2021 16:24:29 +0100 Halil Pasic wrote: Maybe you could - grab a reference to kvm while holding the lock - call the mask handling

Re: possible deadlock in start_this_handle (2)

2021-02-11 Thread Matthew Wilcox
On Thu, Feb 11, 2021 at 03:20:41PM +0100, Michal Hocko wrote: > On Thu 11-02-21 13:25:33, Matthew Wilcox wrote: > > On Thu, Feb 11, 2021 at 02:07:03PM +0100, Michal Hocko wrote: > > > On Thu 11-02-21 12:57:17, Matthew Wilcox wrote: > > > > > current->flags should be always manipulated from the

Re: [PATCH] lkdtm: don't move ctors to .rodata

2021-02-11 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2021 at 04:36:08PM -0800, Stephen Boyd wrote: > Quoting Greg Kroah-Hartman (2020-12-09 06:51:33) > > On Tue, Dec 08, 2020 at 01:20:56PM -0800, Kees Cook wrote: > > > On Mon, Dec 07, 2020 at 05:05:33PM +, Mark Rutland wrote: > > > > When building with KASAN and LKDTM, clang may

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Jason Gunthorpe
On Thu, Feb 11, 2021 at 08:47:03AM +, Christoph Hellwig wrote: > On Wed, Feb 03, 2021 at 09:54:48AM -0400, Jason Gunthorpe wrote: > > If people are accepting that these device-specific drivers are > > required then we need to come to a community consensus to decide what > > direction to

Re: [PATCH v4 net-next 09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()

2021-02-11 Thread Alexander Lobakin
From: Paolo Abeni Date: Thu, 11 Feb 2021 11:16:40 +0100 > On Wed, 2021-02-10 at 16:30 +, Alexander Lobakin wrote: > > Reuse the old and forgotten SKB_ALLOC_NAPI to add an option to get > > an skbuff_head from the NAPI cache instead of inplace allocation > > inside __alloc_skb(). > > This

Re: [RFC PATCH v4 12/17] virtio/vsock: rest of SOCK_SEQPACKET support

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:17:44PM +0300, Arseny Krasnov wrote: This adds rest of logic for SEQPACKET: 1) Packet's type is now set in 'virtio_send_pkt_info()' using type of socket. 2) SEQPACKET specific functions which send SEQ_BEGIN/SEQ_END. Note that both functions may sleep to wait enough

Re: [BUG REPORT] media: coda: mpeg4 decode corruption on i.MX6qp only

2021-02-11 Thread Philipp Zabel
Hi Sven, On Wed, Feb 10, 2021 at 01:29:29PM -0500, Sven Van Asbroeck wrote: > Found it! > > The i.MX6QuadPlus has two pairs of PREs, which use the extended > section of the iRAM. The Classic does not have any PREs or extended > iRAM: > > pre1: pre@21c8000 { >compatible = "fsl,imx6qp-pre"; >

Re: [RFC PATCH v4 16/17] loopback/vsock: setup SEQPACKET ops for transport

2021-02-11 Thread Stefano Garzarella
Please move this patch before the test and I'd change the prefix in "vsock_loopback" or "vsock/loopback". Thanks, Stefano On Sun, Feb 07, 2021 at 06:18:48PM +0300, Arseny Krasnov wrote: This adds SEQPACKET ops for loopback transport Signed-off-by: Arseny Krasnov ---

[PATCH] staging: wfx: remove unused included header files

2021-02-11 Thread Muhammad Usama Anjum
Many header files have been included, but never used. Those header files have been removed. Signed-off-by: Muhammad Usama Anjum --- drivers/staging/wfx/bh.c | 1 - drivers/staging/wfx/bh.h | 4 drivers/staging/wfx/bus.h | 3 ---

Re: [PATCH 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-02-11 Thread Tony Krowiak
On 2/11/21 7:23 AM, Cornelia Huck wrote: On Wed, 10 Feb 2021 15:34:24 -0500 Tony Krowiak wrote: On 2/10/21 5:53 AM, Cornelia Huck wrote: On Tue, 9 Feb 2021 14:48:30 -0500 Tony Krowiak wrote: This patch fixes a circular locking dependency in the CI introduced by commit f21916ec4826

Re: [PATCH] powerpc/bug: Remove specific powerpc BUG_ON()

2021-02-11 Thread Segher Boessenkool
On Thu, Feb 11, 2021 at 03:09:43PM +0100, Christophe Leroy wrote: > Le 11/02/2021 à 12:49, Segher Boessenkool a écrit : > >On Thu, Feb 11, 2021 at 07:41:52AM +, Christophe Leroy wrote: > >>powerpc BUG_ON() is based on using twnei or tdnei instruction, > >>which obliges gcc to format the

Re: [PATCH v4 net-next 08/11] skbuff: introduce {,__}napi_build_skb() which reuses NAPI cache heads

2021-02-11 Thread Alexander Lobakin
From: Jesper Dangaard Brouer Date: Thu, 11 Feb 2021 13:54:59 +0100 > On Wed, 10 Feb 2021 16:30:23 + > Alexander Lobakin wrote: > > > Instead of just bulk-flushing skbuff_heads queued up through > > napi_consume_skb() or __kfree_skb_defer(), try to reuse them > > on allocation path. > >

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