Re: add a new dma_alloc_noncontiguous API v2

2021-02-09 Thread Ricardo Ribalda
Hi Christoph I have tested it in both arm and x86, since there are not significant changes with the previous version I did not do a performance test. Thanks! On Tue, Feb 9, 2021 at 9:29 AM Ricardo Ribalda wrote: > > Hi Christoph > > On Tue, Feb 9, 2021 at 9:22 AM Christoph Hellwig wrote: > >

[PATCH v8 2/2] PCI: cadence: Retrain Link to work around Gen2 training defect.

2021-02-09 Thread Nadeem Athani
Cadence controller will not initiate autonomous speed change if strapped as Gen2. The Retrain Link bit is set as quirk to enable this speed change. Signed-off-by: Nadeem Athani --- drivers/pci/controller/cadence/pci-j721e.c | 3 ++ drivers/pci/controller/cadence/pcie-cadence-host.c | 48

[PATCH v8 1/2] PCI: cadence: Shifting of a function to support new code.

2021-02-09 Thread Nadeem Athani
Moving the function cdns_pcie_host_wait_for_link() further up in the file, as it's going to be used by upcoming additional code in the driver. Signed-off-by: Nadeem Athani --- drivers/pci/controller/cadence/pcie-cadence-host.c | 33 +++--- 1 file changed, 16 insertions(+), 17 del

[PATCH v8 0/2] PCI: cadence: Retrain Link to work around Gen2

2021-02-09 Thread Nadeem Athani
Cadence controller will not initiate autonomous speed change if strapped as Gen2. The Retrain Link bit is set as quirk to enable this speed change. Adding a quirk flag for defective IP. In future IP revisions this will not be applicable. Version history: Changes in v8: - Adding a new function cdns

Re: [PATCH v13 7/8] soc: mediatek: add mtk mutex support for MT8183

2021-02-09 Thread Enric Balletbo Serra
Hi Hsin-Yi, Thank you for your patch. Missatge de Hsin-Yi Wang del dia dv., 29 de gen. 2021 a les 10:23: > > From: Yongqiang Niu > > Add mtk mutex support for MT8183 SoC. > > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang > Reviewed-by: CK Hu Reviewed-by: Enric Balletbo i Serra

Re: [PATCH v5 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-09 Thread Catangiu, Adrian Costin
On 02/02/2021, 14:09, "Greg KH" wrote: On Mon, Feb 01, 2021 at 07:24:53PM +0200, Adrian Catangiu wrote: > +static long sysgenid_ioctl(struct file *file, > +unsigned int cmd, unsigned long arg) Very odd indentation style, checkpatch

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-09 Thread Steven Rostedt
On Tue, 9 Feb 2021 09:32:34 +0100 (CET) Miroslav Benes wrote: > powerpc has this > > static inline unsigned long klp_get_ftrace_location(unsigned long faddr) > > { >

Re: [PATCH v12 6/7] arm64: mte: Save/Restore TFSR_EL1 during suspend

2021-02-09 Thread Vincenzo Frascino
On 2/9/21 2:33 PM, Lorenzo Pieralisi wrote: >> Do we need a similar fix for TFSRE0_EL1? We get away with this if >> suspend is only entered on the idle (kernel) thread but I recall we >> could also enter suspend on behalf of a user process (I may be wrong >> though). > Yes, when we suspend the m

Re: [PATCH 0/2 v3] tracepoints: Stop punishing non-static call users

2021-02-09 Thread Mathieu Desnoyers
- On Feb 8, 2021, at 3:09 PM, rostedt rost...@goodmis.org wrote: > Broke this up into two patches now. See the second patch for the > description of waht this series is doing. For both patches: Reviewed-by: Mathieu Desnoyers > > Changes since v2: > > Added a patch to remove "data_args",

[PATCH] perf: Use (long) for iterator for bfd symbols

2021-02-09 Thread Dmitry Safonov
GCC (GCC) 8.4.0 20200304 fails to build perf with: : util/symbol.c: In function 'dso__load_bfd_symbols': : util/symbol.c:1626:16: error: comparison of integer expressions of different signednes : for (i = 0; i < symbols_count; ++i) { : ^ : util/symbol.c:1632:16: error: comparison

[PATCH v2] mmc: mmc_test: use erase_arg for mmc_erase command

2021-02-09 Thread yann.gautier
From: Yann Gautier Since [1], the erase argument for mmc_erase() function is saved in erase_arg field of card structure. It is preferable to use it instead of hard-coded MMC_SECURE_ERASE_ARG, which from eMMC 4.51 spec is not recommended: "6.6.16 Secure Erase NOTE Secure Erase is included for back

Re: [PATCH v4 resend 00/13] MFD/extcon/ASoC: Rework arizona codec jack-detect support

2021-02-09 Thread Hans de Goede
Hi, On 2/9/21 3:14 PM, Lee Jones wrote: > On Mon, 08 Feb 2021, Hans de Goede wrote: > >> Hi Mark, Lee, >> >> On 2/4/21 12:24 PM, Hans de Goede wrote: >>> Hi all, >>> >>> Here is v4 of my series to rework the arizona codec jack-detect support >>> to use the snd_soc_jack helpers instead of direct e

Re: [PATCH v5 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-09 Thread Michael S. Tsirkin
On Mon, Feb 01, 2021 at 07:24:53PM +0200, Adrian Catangiu wrote: > - Background and problem > > The System Generation ID feature is required in virtualized or > containerized environments by applications that work with local copies > or caches of world-unique data such as random values, uuids, > m

[PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread ameynarkhede03
From: Amey Narkhede Stack allocated buffers cannot be used for DMA on all architectures so allocate usbdev buffer using kmalloc(). Signed-off-by: Amey Narkhede --- drivers/staging/gdm724x/gdm_usb.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x

Re: [PATCH] MIPS: Add basic support for ptrace single step

2021-02-09 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Tiezhu-Yang/MIPS-Add-basic-support-for-ptrace-single-step/20210209-083755 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 61556703b610a104de324e4f061dc6cf7b218

Re: [PATCH v7 2/6] mfd: Support ROHM BD9576MUF and BD9573MUF

2021-02-09 Thread Lee Jones
On Fri, 22 Jan 2021, Matti Vaittinen wrote: > Add core support for ROHM BD9576MUF and BD9573MUF PMICs which are > mainly used to power the R-Car series processors. > > Signed-off-by: Matti Vaittinen > --- > Changes since v6: > - no changes > drivers/mfd/Kconfig | 11 > drive

Re: [PATCH v5 2/2] drivers/virt: vmgenid: add vm generation id driver

2021-02-09 Thread Michael S. Tsirkin
> +The ``vmgenid`` driver uses ACPI events to be notified by hardware > +changes to the 128-bit Vm Gen Id UUID. That's ok, problem is ACPI event processing is asynchronous. What we need is thus to flush out ACPI events whenever userspace does a read, otherwise the value it gets will be stale. --

Re: [PATCH v1 2/2] ACPI: OSL: Clean up printing messages

2021-02-09 Thread Rafael J. Wysocki
On Mon, Feb 8, 2021 at 9:49 PM Joe Perches wrote: > > On Mon, 2021-02-08 at 19:59 +0100, Rafael J. Wysocki wrote: > > Replace the ACPI_DEBUG_PRINT() instance in osl.c unrelated to the > > ACPICA debug with acpi_handle_debug(), add a pr_fmt() definition > > to osl.c and replace direct printk() usag

Re: [PATCH v4 3/3] vsprintf: dump full information of page flags in pGp

2021-02-09 Thread Petr Mladek
On Tue 2021-02-09 16:16:01, Andy Shevchenko wrote: > On Tue, Feb 09, 2021 at 02:53:53PM +0100, Petr Mladek wrote: > > On Tue 2021-02-09 18:56:13, Yafang Shao wrote: > > ... > > > I am sorry for my ignorance. I am not familiar with MM. > > But it is pretty hard to understand what call does what. >

RE: [PATCH v2 2/3] dt-bindings: pinctrl: Added binding for ZynqMP pinctrl driver

2021-02-09 Thread Sai Krishna Potthuri
Hi Rob, > -Original Message- > From: Rob Herring > Sent: Tuesday, February 9, 2021 7:27 PM > To: Sai Krishna Potthuri > Cc: Linus Walleij ; Michal Simek > ; Greg Kroah-Hartman ; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; linux-g...

Re: [PATCH v12 7/7] kasan: don't run tests in async mode

2021-02-09 Thread Andrey Konovalov
On Tue, Feb 9, 2021 at 1:16 PM Vincenzo Frascino wrote: > > > > On 2/9/21 12:02 PM, Catalin Marinas wrote: > > On Mon, Feb 08, 2021 at 04:56:17PM +, Vincenzo Frascino wrote: > >> From: Andrey Konovalov > >> > >> Asynchronous KASAN mode doesn't guarantee that a tag fault will be > >> detected

[PATCH net-next] rxrpc: Fix missing dependency on NET_UDP_TUNNEL

2021-02-09 Thread David Howells
The changes to make rxrpc create the udp socket missed a bit to add the Kconfig dependency on the udp tunnel code to do this. Fix this by adding making AF_RXRPC select NET_UDP_TUNNEL. Fixes: 1a9b86c9fd95 ("rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket") Reported-by: kernel

Re: [PATCH 4.19 00/38] 4.19.175-rc1 review

2021-02-09 Thread Naresh Kamboju
On Mon, 8 Feb 2021 at 20:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.175 release. > There are 38 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [net-next PATCH v5 07/15] net: mdiobus: Introduce fwnode_mdiobus_register_phy()

2021-02-09 Thread Calvin Johnson
On Mon, Feb 08, 2021 at 05:40:13PM +, Russell King - ARM Linux admin wrote: > On Mon, Feb 08, 2021 at 08:42:36PM +0530, Calvin Johnson wrote: > > +int fwnode_mdiobus_register_phy(struct mii_bus *bus, > > + struct fwnode_handle *child, u32 addr) > > +{ > > + struct mi

Re: [PATCH v2 2/4] hwmon: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Guenter Roeck
On Tue, Feb 09, 2021 at 07:08:17PM +0800, Yicong Yang wrote: > From: Junhao He > > We use ccflags-$(CONFIG_HWMON_DEBUG_CHIP) for the debug > message in drivers/hwmon, but the DEBUG flag will not pass to > the subdirectory. > > Considering CONFIG_HWMON_DEBUG_CHIP intends to have DEBUG > recursive

[PATCH] uprobes: add missing get_uprobe() in __find_uprobe()

2021-02-09 Thread Sven Schnelle
commit c6bc9bd06dff49fa4c("rbtree, uprobes: Use rbtree helpers") from next-20210208 accidentally removed the refcount increase. Add it again. Signed-off-by: Sven Schnelle --- kernel/events/uprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/events/uprobes.c b/ker

Re: [PATCH 5.10 051/120] memblock: do not start bottom-up allocations with kernel_end

2021-02-09 Thread Thiago Jung Bauermann
Greg Kroah-Hartman writes: > From: Roman Gushchin > > [ Upstream commit 2dcb3964544177c51853a210b6ad400de78ef17d ] > > With kaslr the kernel image is placed at a random place, so starting the > bottom-up allocation with the kernel_end can result in an allocation > failure and a warning like th

Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Luca Risolia
Hi guys, a bit OT probably: is there any chance for you to also implement mmap() for CUSE? That would be much appreciated. Thanks On 09/02/21 15:35, Richard Weinberger wrote: Miklos, - Ursprüngliche Mail - The core goal of MUSE is having the complexity on the userspace side and on

Re: [patch 05/12] x86/irq: Provide macro for inlining irq stack switching

2021-02-09 Thread Thomas Gleixner
On Mon, Feb 08 2021 at 14:42, Josh Poimboeuf wrote: > On Thu, Feb 04, 2021 at 09:49:08PM +0100, Thomas Gleixner wrote: >> #ifdef CONFIG_X86_64 >> + >> +#ifdef CONFIG_UNWINDER_FRAME_POINTER >> +# define IRQSTACK_CALL_CONSTRAINT , ASM_CALL_CONSTRAINT >> +#else >> +# define IRQSTACK_CALL_CONSTRAINT

Re: [patch] preempt: select PREEMPT_DYNAMIC under PREEMPTION instead of PREEMPT

2021-02-09 Thread Peter Zijlstra
On Tue, Feb 09, 2021 at 02:45:37PM +0100, Mike Galbraith wrote: > > PREEMPT_RT and PREEMPT both needs PREEMPT_DYNAMIC to build, so move > selection of PREEMPT_DYNAMIC to the common denominator, PREEMPTION. I'm confused, why would you want PREEMPT_DYNAMIC for PREEMPT_RT ? PREEMPT_RT without full

[PATCH mm] kfence: make reporting sensitive information configurable

2021-02-09 Thread Marco Elver
We cannot rely on CONFIG_DEBUG_KERNEL to decide if we're running a "debug kernel" where we can safely show potentially sensitive information in the kernel log. Therefore, add the option CONFIG_KFENCE_REPORT_SENSITIVE to decide if we should add potentially sensitive information to KFENCE reports. T

Re: [PATCH 0/4] btrfs: Convert kmaps to core page calls

2021-02-09 Thread David Sterba
On Fri, Feb 05, 2021 at 03:23:00PM -0800, ira.we...@intel.com wrote: > From: Ira Weiny > > There are many places where kmap//kunmap patterns occur. We lift > these various patterns to core common functions and use them in the btrfs file > system. At the same time we convert those core functions

Re: [PATCH] pinctrl: renesas:fix possible null pointer dereference struct pinmux_range *

2021-02-09 Thread Alex
On 2/9/21 10:12 PM, Geert Uytterhoeven wrote: > Hi Alex, > > Thanks for your patch! > > On Sun, Feb 7, 2021 at 4:08 PM wrote: >> From: Zhang Kun >> >> The parameters of sh_pfc_enum_in_range() pinmux_range *r should be checked >> first for possible null ponter, especially when PINMUX_TYPE_FUNCT

Re: [PATCH 2/4] fs/btrfs: Use memcpy_[to|from]_page()

2021-02-09 Thread David Sterba
On Fri, Feb 05, 2021 at 03:23:02PM -0800, ira.we...@intel.com wrote: > From: Ira Weiny There should be a short explanation what the patch does, eg. "use helper for open coded kmap_atomic/memcpy/kunmap_atomic", although I see there are conversions kmap_atomic -> kmap_local not in the coccinelle sc

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

2021-02-09 Thread Jessica Yu
+++ Stephen Rothwell [09/02/21 21:08 +1100]: Hi all, After merging the modules tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/export.h:123, from include/linux/linkage.h:7, from arch/powerpc/include/asm/

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-09 Thread Miroslav Benes
On Tue, 9 Feb 2021, Steven Rostedt wrote: > On Tue, 9 Feb 2021 09:32:34 +0100 (CET) > Miroslav Benes wrote: > > > powerpc has this > > > > static inline unsigned long klp_get_ftrace_location(unsigned long faddr) > > > > {

Re: [PATCH v2 12/12] arm64: kasan: export MTE symbols for KASAN tests

2021-02-09 Thread Andrey Konovalov
On Mon, Feb 8, 2021 at 6:42 PM Christoph Hellwig wrote: > > On Fri, Feb 05, 2021 at 04:39:13PM +0100, Andrey Konovalov wrote: > > Export mte_enable_kernel_sync() and mte_set_report_once() to fix: > > > > ERROR: modpost: "mte_enable_kernel_sync" [lib/test_kasan.ko] undefined! > > ERROR: modpost: "m

[PATCH v2 net-next 01/11] net: switchdev: propagate extack to port attributes

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean When a struct switchdev_attr is notified through switchdev, there is no way to report informational messages, unlike for struct switchdev_obj. Signed-off-by: Vladimir Oltean --- Changes in v2: Patch is new. .../ethernet/marvell/prestera/prestera_switchdev.c| 3 ++-

[PATCH v2 net-next 00/11] Cleanup in brport flags switchdev offload for DSA

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean The initial goal of this series was to have better support for standalone ports mode and multiple bridges on the DSA drivers like ocelot/felix and sja1105. Proper support for standalone mode requires disabling address learning, which in turn requires interaction with the swi

[PATCH v2 net-next 02/11] net: bridge: offload all port flags at once in br_setport

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean The br_switchdev_set_port_flag function uses the atomic notifier call chain because br_setport runs in an atomic section (under br->lock). This is because port flag changes need to be synchronized with the data path. But actually the switchdev notifier doesn't need that, onl

[PATCH v2 net-next 04/11] net: bridge: offload initial and final port flags through switchdev

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean It must first be admitted that switchdev device drivers have a life beyond the bridge, and when they aren't offloading the bridge driver they are operating with forwarding disabled between ports, emulating as closely as possible N standalone network interfaces. Now it must

[PATCH v2 net-next 05/11] net: dsa: stop setting initial and final brport flags

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean With the bridge driver doing that for us now, we can simplify our mid-layer logic a little bit, which would have otherwise needed some tuning for the disabling of address learning that is necessary in standalone mode. Signed-off-by: Vladimir Oltean --- Changes in v2: None.

[PATCH v2 net-next 06/11] net: squash switchdev attributes PRE_BRIDGE_FLAGS and BRIDGE_FLAGS

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean There does not appear to be any strong reason why br_switchdev_set_port_flag issues a separate notification for checking the supported brport flags rather than just attempting to apply them and propagating the error if that fails. However, there is a reason why this switchd

[PATCH v2 net-next 07/11] net: dsa: kill .port_egress_floods overengineering

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean The bridge offloads the port flags through a single bit mask using switchdev, which among others, contains learning and flooding settings. The commit 57652796aa97 ("net: dsa: add support for bridge flags") missed one crucial aspect of the SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS

[PATCH v2 net-next 03/11] net: bridge: don't print in br_switchdev_set_port_flag

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean Currently br_switchdev_set_port_flag has two options for error handling and neither is good: - The driver returns -EOPNOTSUPP in PRE_BRIDGE_FLAGS if it doesn't support offloading that flag, and this gets silently ignored and converted to an errno of 0. Nobody does this.

[PATCH v2 net-next 08/11] net: bridge: put SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS on the blocking call chain

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean Now that br_switchdev_set_port_flag is never called from under br->lock, it runs in sleepable context. All switchdev drivers handle SWITCHDEV_PORT_ATTR_SET as both blocking and atomic, so no changes are needed on that front. Signed-off-by: Vladimir Oltean --- Changes in v

[PATCH v2 net-next 10/11] net: mscc: ocelot: offload bridge port flags to device

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean We should not be unconditionally enabling address learning, since doing that is actively detrimential when a port is standalone and not offloading a bridge. Namely, if a port in the switch is standalone and others are offloading the bridge, then we could enter a situation wh

[PATCH v2 net-next 09/11] net: mscc: ocelot: use separate flooding PGID for broadcast

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean In preparation of offloading the bridge port flags which have independent settings for unknown multicast and for broadcast, we should also start reserving one destination Port Group ID for the flooding of broadcast packets, to allow configuring it individually. Signed-off-b

Re: [PATCH] clk: at91: sama5d2: Mark device OF_POPULATED after setup

2021-02-09 Thread Tudor.Ambarus
", "syscon"; > arch/arm/mach-at91/pm.c:{ .compatible = "atmel,sama5d2-pmc", > .data = &pmc_infos[1] }, > drivers/clk/at91/pmc.c: { .compatible = "atmel,sama5d2-pmc" }, > drivers/clk/at91/sama5d2.c:CLK_OF_DECLARE_DRIVER(sama5d2_pmc, &g

[tip: timers/urgent] hrtimer: Update softirq_expires_next correctly in hrtimer_force_reprogram()

2021-02-09 Thread tip-bot2 for Mikael Beckius
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 0fcc7c20d2e2a65fb5b80d42841084e8509d085d Gitweb: https://git.kernel.org/tip/0fcc7c20d2e2a65fb5b80d42841084e8509d085d Author:Mikael Beckius AuthorDate:Thu, 28 Jan 2021 15:02:08 +01:00 Comm

Re: [PATCH v4 1/8] dt-bindings: usb: convert rockchip,dwc3.txt to yaml

2021-02-09 Thread Rob Herring
On Sat, Feb 06, 2021 at 07:50:10PM +0100, Johan Jonker wrote: > In the past Rockchip dwc3 usb nodes were manually checked. > With the conversion of snps,dwc3.yaml as common document > we now can convert rockchip,dwc3.txt to yaml as well. > Remove node wrapper. > > Added properties for rk3399 are:

[PATCH v2 net-next 11/11] net: dsa: sja1105: offload bridge port flags to device

2021-02-09 Thread Vladimir Oltean
From: Vladimir Oltean The chip can configure unicast flooding, broadcast flooding and learning. Learning is per port, while flooding is per {ingress, egress} port pair and we need to configure the same value for all possible ingress ports towards the requested one. While multicast flooding is no

Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Miklos Szeredi
On Tue, Feb 9, 2021 at 4:10 PM Luca Risolia wrote: > > Hi guys, > > a bit OT probably: is there any chance for you to also implement mmap() > for CUSE? That would be much appreciated. That's an old one. No, I don't have plans, but patches are welcome, of course. Thanks, Miklos

Re: [PATCH v7 3/6] mfd: bd9576: Add IRQ support

2021-02-09 Thread Lee Jones
On Fri, 22 Jan 2021, Matti Vaittinen wrote: > BD9573 and BD9576 support set of "protection" interrupts for "fatal" > issues. Those lead to SOC reset as PMIC shuts the power outputs. Thus > there is no relevant IRQ handling for them. > > Few "detection" interrupts were added to the BD9576 with the

RE: [RESEND v4 1/6] misc: Add Synopsys DesignWare xData IP driver

2021-02-09 Thread Gustavo Pimentel
On Mon, Feb 8, 2021 at 22:53:54, Krzysztof Wilczyński wrote: > [+cc Bjorn] > > Hi Gustavo, > > [...] > > Thanks for your review. I will wait for a couple of days, before sending > > a new version of this patch series based on your feedback. > > Thank you! > > There might be one more change,

Re: [PATCH v3 0/4] sched/fair: Burstable CFS bandwidth controller

2021-02-09 Thread Tejun Heo
Hello, On Tue, Feb 09, 2021 at 02:17:19PM +0100, Odin Ugedal wrote: > A am not that familiar how cross subsystem patches like these are handled, but > I am still adding the Tejun Heo (cgroup maintainer) as a CC. Should maybe cc > to > cgroup@ as well? Yeah, that'd be great. Given that it's mostl

Re: [PATCH v6 2/8] drm/mediatek: add component POSTMASK

2021-02-09 Thread Guenter Roeck
On Tue, Feb 02, 2021 at 04:12:31PM +0800, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > This patch add component POSTMASK. > > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang > Reviewed-by: CK Hu > --- [ ... ] > > +void mtk_postmask_config(struct device *dev, unsigned int w, sta

[PATCH mm] arm64: kasan: fix MTE symbols exports

2021-02-09 Thread Andrey Konovalov
Only export MTE symbols when KASAN-KUnit tests are enabled. Signed-off-by: Andrey Konovalov --- Andrew, please squash this into: "arm64: kasan: export MTE symbols for KASAN tests" --- arch/arm64/kernel/mte.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/kernel/mte.c b/arch

RE: [PATCH v4 15/15] dmaengine: dw-edma: Add pcim_iomap_table return checker

2021-02-09 Thread Gustavo Pimentel
On Mon, Feb 8, 2021 at 19:35:16, Bjorn Helgaas wrote: > [+cc Krzysztof] > > From reading the subject, I thought you were adding a function to > check the return values, i.e., a "checker." But you're really adding > "checks" :) That's true, I will rework the subject. > > On Wed, Feb 03, 2021

Re: [PATCH 8/8] perf arm-spe: Set thread TID

2021-02-09 Thread James Clark
On 04/02/2021 12:27, Leo Yan wrote: > On Mon, Feb 01, 2021 at 07:40:45PM +0200, James Clark wrote: >> >> On 31/01/2021 14:01, Leo Yan wrote: >>> Option 1: by merging patches 07/08 and 08/08, we can firstly support PID >>> tracing for root namespace, and later we can extend to support PID >>> tra

[PATCH] staging: rtl8712: Remove multiple blank lines

2021-02-09 Thread Aakash Hemadri
Fix checkpatch.pl CHECK: CHECK: Please don't use multiple blank lines Signed-off-by: Aakash Hemadri --- This is my first patch. Done as a part of the linux-kernel-mentees program and as the 10th task on eudyptula to fix style checks. drivers/staging/rtl8712/rtl871x_debug.h | 2 -- 1 file change

Re: [PATCH v4, 01/10] soc: mediatek: mmsys: create mmsys folder

2021-02-09 Thread Enric Balletbo Serra
Hi Yongqiang Niu, Thank you for your patch. Missatge de Yongqiang Niu del dia dt., 5 de gen. 2021 a les 4:07: > > the mmsys will more and more complicated after support > more and more SoCs, add an independent folder will be > more clear > > Signed-off-by: Yongqiang Niu > --- > drivers/soc/med

Re: [PATCH v3 08/21] x86/fpu/xstate: Define the scope of the initial xstate data

2021-02-09 Thread Bae, Chang Seok
On Feb 9, 2021, at 04:49, Borislav Petkov wrote: > On Mon, Feb 08, 2021 at 06:53:23PM +, Bae, Chang Seok wrote: > Yours does. So drop it from this one and from all the other patches as > it is causing more confusion than it is trying to dispel. Okay. >> I think they are in a different contex

Re: [PATCH 2/6] MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI.

2021-02-09 Thread Thomas Bogendoerfer
On Tue, Feb 09, 2021 at 05:32:20PM +0800, Qing Zhang wrote: > Add DTB boot support, only support LS2K1000 processor for now, > determine whether to use the built-in DTB or the DTB from the > firmware by checking the range of CKSEG0 and XKPHYS. > > Signed-off-by: Jiaxun Yang > Signed-off-by: Qing

Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Richard Weinberger
> a bit OT probably: is there any chance for you to also implement mmap() > for CUSE? That would be much appreciated. What exactly do you have in mind? I wonder about the use case. mmap() between a FUSE server and a client is more or less shared memory in userspace. Thanks, //richard

[PATCH v3 2/2] s390/kvm: VSIE: correctly handle MVPG when in VSIE

2021-02-09 Thread Claudio Imbrenda
Correctly handle the MVPG instruction when issued by a VSIE guest. Fixes: a3508fbe9dc6d ("KVM: s390: vsie: initial support for nested virtualization") Cc: sta...@vger.kernel.org Signed-off-by: Claudio Imbrenda --- arch/s390/kvm/vsie.c | 93 +--- 1 file ch

[PATCH v3 0/2] s390/kvm: fix MVPG when in VSIE

2021-02-09 Thread Claudio Imbrenda
The current handling of the MVPG instruction when executed in a nested guest is wrong, and can lead to the nested guest hanging. This patchset fixes the behaviour to be more architecturally correct, and fixes the hangs observed. v2->v3 * improved some comments * improved some variable and paramet

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

2021-02-09 Thread Claudio Imbrenda
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 lower bits of the address: DAT_PROT: indicates that DAT protection applies because of the protection bit in the segment (or, if EDAT, region) table

Re: [PATCH] uprobes: add missing get_uprobe() in __find_uprobe()

2021-02-09 Thread Peter Zijlstra
On Tue, Feb 09, 2021 at 04:07:11PM +0100, Sven Schnelle wrote: > commit c6bc9bd06dff49fa4c("rbtree, uprobes: Use rbtree helpers") from > next-20210208 accidentally removed the refcount increase. Add it again. > Thanks, and sorry about that!

Re: [PATCH v2 0/3] objtool: Support the stack swizzle

2021-02-09 Thread Miroslav Benes
On Tue, 9 Feb 2021, Peter Zijlstra wrote: > Hi! > > Implement objtool support for the x86_64 stack swizzle pattern. > > This means we can use the minial stack swizzle: > > mov %rsp, (%[tos]) > mov %[tos], %rsp > ... > pop %rsp > > from inline asm, with arbitrary stack setup. The ORC da

[tip: sched/core] sched: Harden PREEMPT_DYNAMIC

2021-02-09 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/core branch of tip: Commit-ID: 355b3a57ddba71b73a99aa249a99aed6ed904606 Gitweb: https://git.kernel.org/tip/355b3a57ddba71b73a99aa249a99aed6ed904606 Author:Peter Zijlstra AuthorDate:Mon, 25 Jan 2021 16:26:50 +01:00 Committ

Re: [PATCH v4 resend 00/13] MFD/extcon/ASoC: Rework arizona codec jack-detect support

2021-02-09 Thread Lee Jones
On Tue, 09 Feb 2021, Hans de Goede wrote: > Hi, > > On 2/9/21 3:14 PM, Lee Jones wrote: > > On Mon, 08 Feb 2021, Hans de Goede wrote: > > > >> Hi Mark, Lee, > >> > >> On 2/4/21 12:24 PM, Hans de Goede wrote: > >>> Hi all, > >>> > >>> Here is v4 of my series to rework the arizona codec jack-detec

[tip: sched/core] static_call: Allow module use without exposing static_call_key

2021-02-09 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the sched/core branch of tip: Commit-ID: 8659343e7612746d595d55e7cf695c46f2ed571a Gitweb: https://git.kernel.org/tip/8659343e7612746d595d55e7cf695c46f2ed571a Author:Josh Poimboeuf AuthorDate:Wed, 27 Jan 2021 17:18:37 -06:00 Committ

[tip: sched/core] preempt/dynamic: Support dynamic preempt with preempt= boot option

2021-02-09 Thread tip-bot2 for Peter Zijlstra (Intel)
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0e79823f55de3cff95894fbb40440b17910e7378 Gitweb: https://git.kernel.org/tip/0e79823f55de3cff95894fbb40440b17910e7378 Author:Peter Zijlstra (Intel) AuthorDate:Mon, 18 Jan 2021 15:12:23 +01:00

[tip: sched/core] sched: Add /debug/sched_preempt

2021-02-09 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/core branch of tip: Commit-ID: b57f3de85c79f9fbfe2fd84cc6ba548e4e73d02d Gitweb: https://git.kernel.org/tip/b57f3de85c79f9fbfe2fd84cc6ba548e4e73d02d Author:Peter Zijlstra AuthorDate:Fri, 22 Jan 2021 13:01:58 +01:00 Committ

Re: [PATCH v2] psi: Remove the redundant psi_task_tick

2021-02-09 Thread Johannes Weiner
Hello Chengming, On Tue, Feb 09, 2021 at 03:10:33PM +0800, Chengming Zhou wrote: > When the current task in a cgroup is in_memstall, the corresponding groupc > on that cpu is in PSI_MEM_FULL state, so we can exploit that to remove the > redundant psi_task_tick from scheduler_tick to save this peri

Re: [PATCH v3 10/21] x86/fpu/xstate: Update xstate save function to support dynamic xstate

2021-02-09 Thread Bae, Chang Seok
On Feb 8, 2021, at 04:33, Borislav Petkov wrote: > On Wed, Dec 23, 2020 at 07:57:06AM -0800, Chang S. Bae wrote: >> copy_xregs_to_kernel() used to save all user states in a kernel buffer. >> When the dynamic user state is enabled, it becomes conditional which state >> to be saved. >> >> fpu->stat

Re: [PATCH v10 7/7] at24: Support probing while off

2021-02-09 Thread Bartosz Golaszewski
On Mon, Feb 8, 2021 at 5:54 PM Rafael J. Wysocki wrote: > > On Mon, Feb 8, 2021 at 5:44 PM Bartosz Golaszewski > wrote: > > > > On Fri, Feb 5, 2021 at 2:25 PM Sakari Ailus > > wrote: > > > > > > In certain use cases (where the chip is part of a camera module, and the > > > camera module is wired

Re: [PATCH v3 09/21] x86/fpu/xstate: Introduce wrapper functions to organize xstate buffer access

2021-02-09 Thread Bae, Chang Seok
On Feb 8, 2021, at 04:33, Borislav Petkov wrote: > On Wed, Dec 23, 2020 at 07:57:05AM -0800, Chang S. Bae wrote: >> The struct fpu includes two (possible) xstate buffers -- fpu->state and >> fpu->state_ptr. Instead of open code for accessing one of them, provide a >> wrapper that covers both cases

Re: DMA direct mapping fix for 5.4 and earlier stable branches

2021-02-09 Thread Christoph Hellwig
On Tue, Feb 09, 2021 at 12:45:11PM +, Robin Murphy wrote: > It's not a bug, it's a fundamental design failure. dma_get_sgtable() has > only ever sort-of-worked for DMA buffers that come from CMA or regular page > allocations. In particular, a "no-map" DMA pool is not backed by kernel > memor

Re: [PATCH 1/3] dt-bindings: media: mtk-vcodec: Separating mtk vcodec encoder node

2021-02-09 Thread Rob Herring
On Thu, Jan 21, 2021 at 02:18:02PM +0800, Irui Wang wrote: > Updates binding document since the avc and vp8 hardware encoder in > MT8173 are now separated. Separate "mediatek,mt8173-vcodec-enc" to > "mediatek,mt8173-vcodec-vp8-enc" and "mediatek,mt8173-vcodec-avc-enc". This is not a compatible cha

Re: [PATCH v2] mm: cma: support sysfs

2021-02-09 Thread Minchan Kim
On Tue, Feb 09, 2021 at 07:56:30AM +0100, Greg KH wrote: > On Mon, Feb 08, 2021 at 10:34:51PM -0800, John Hubbard wrote: > > On 2/8/21 10:27 PM, John Hubbard wrote: > > > On 2/8/21 10:13 PM, Greg KH wrote: > > > > On Mon, Feb 08, 2021 at 05:57:17PM -0800, John Hubbard wrote: > > > > > On 2/8/21 3:3

Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Luca Risolia
On 09/02/21 16:41, Richard Weinberger wrote: I wonder about the use case. for example, many existing video applications use mmap() to map the device memory to userspace memory. Adding support for mmap() to CUSE would allow these apps to work without any modifications with CUSE-based devic

[PATCH v6 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-02-09 Thread Richard Fitzgerald
If a signed number field starts with a '-' the field width must be > 1, or unlimited, to allow at least one digit after the '-'. This patch adds a check for this. If a signed field starts with '-' and field_width == 1 the scanf will quit. It is ok for a signed number field to have a field width o

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

2021-02-09 Thread Richard Fitzgerald
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 will fit in a long or long long, this would overflow and no amo

[PATCH v6 4/4] selftests: lib: Add wrapper script for test_scanf

2021-02-09 Thread Richard Fitzgerald
Adds a wrapper shell script for the test_scanf module. Signed-off-by: Richard Fitzgerald Reviewed-by: Petr Mladek Acked-by: Andy Shevchenko --- tools/testing/selftests/lib/Makefile | 2 +- tools/testing/selftests/lib/config | 1 + tools/testing/selftests/lib/scanf.sh | 4 3 files change

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

2021-02-09 Thread Richard Fitzgerald
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 Shevchenko --- MAINTAINERS | 1 + lib/Kconfig.debug | 3 +

Re: [PATCH] tee: optee: add invoke_fn tracepoints

2021-02-09 Thread Steven Rostedt
On Tue, 9 Feb 2021 19:02:15 +0800 Jisheng Zhang wrote: > Add tracepoints to retrieve information about the invoke_fn. This would > help to measure how many invoke_fn are triggered and how long it takes > to complete one invoke_fn call. > > Signed-off-by: Jisheng Zhang > --- > drivers/tee/optee

Re: [PATCH] irqchip/csky: Use true and false for bool variable

2021-02-09 Thread Guo Ren
Looks good to me, thx. On Tue, Feb 9, 2021 at 6:08 PM Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > ./drivers/irqchip/irq-csky-apb-intc.c:139:9-10: WARNING: return of 0/1 > in function 'handle_irq_perbit' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Ji

Re: [PATCH v2 2/2] drivers/clocksource: Fixup csky,mptimer compile error with CPU_CK610

2021-02-09 Thread Guo Ren
Hi Daniel, On Sun, Feb 7, 2021 at 5:29 PM Daniel Lezcano wrote: > > On 07/02/2021 04:31, Guo Ren wrote: > > Hi Daniel, > > > > On Thu, Feb 4, 2021 at 4:48 PM Daniel Lezcano > > wrote: > >> > >> On 04/02/2021 08:46, guo...@kernel.org wrote: > >>> From: Guo Ren > >>> > >>> The timer-mp-csky.c on

Re: [PATCH] lockdep: Noinstr annotate warn_bogus_irq_restore()

2021-02-09 Thread Peter Zijlstra
On Tue, Feb 09, 2021 at 01:24:30PM +, Mark Rutland wrote: > On Tue, Feb 09, 2021 at 09:34:10AM +0100, Peter Zijlstra wrote: > > > > Subject: lockdep: Noinstr annotate warn_bogus_irq_restore() > > From: Peter Zijlstra > > Date: Tue Feb 9 09:30:03 CET 2021 > > > > vmlinux.o: warning: objtool

Re: [PATCH v2] mm: cma: Print region name on failure

2021-02-09 Thread Minchan Kim
On Tue, Feb 09, 2021 at 04:24:14PM +0200, Georgi Djakov wrote: > From: Patrick Daly > > Print the name of the CMA region for convenience. This is useful > information to have when cma_alloc() fails. > > Signed-off-by: Patrick Daly > Signed-off-by: Georgi Djakov Acked-by: Minchan Kim

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

2021-02-09 Thread Andy Shevchenko
On Tue, Feb 09, 2021 at 03:32:38PM +0100, Rafael J. Wysocki wrote: > On Mon, Feb 8, 2021 at 8:48 PM Andy Shevchenko > wrote: > > On Mon, Feb 8, 2021 at 9:47 PM Andy Shevchenko > > wrote: > > > On Mon, Feb 8, 2021 at 9:30 PM Rafael J. Wysocki > > > wrote: > > > > On Friday, February 5, 2021 12:1

Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Richard Weinberger
- Ursprüngliche Mail - > for example, many existing video applications use mmap() to map the > device memory to userspace memory. Adding support for mmap() to CUSE > would allow these apps to work without any modifications with CUSE-based > device drivers other than kernel drivers. So yo

Re: [patch] preempt: select PREEMPT_DYNAMIC under PREEMPTION instead of PREEMPT

2021-02-09 Thread Mike Galbraith
On Tue, 2021-02-09 at 16:13 +0100, Peter Zijlstra wrote: > On Tue, Feb 09, 2021 at 02:45:37PM +0100, Mike Galbraith wrote: > > > > PREEMPT_RT and PREEMPT both needs PREEMPT_DYNAMIC to build, so move > > selection of PREEMPT_DYNAMIC to the common denominator, PREEMPTION. > > I'm confused, why would

Re: [PATCH v2] mm: cma: Print region name on failure

2021-02-09 Thread David Hildenbrand
On 09.02.21 15:24, Georgi Djakov wrote: From: Patrick Daly Print the name of the CMA region for convenience. This is useful information to have when cma_alloc() fails. Signed-off-by: Patrick Daly Signed-off-by: Georgi Djakov --- v2: * Print the "count" variable, as it was originally in the

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

2021-02-09 Thread Christoph Hellwig
On Tue, Feb 09, 2021 at 04:16:20PM +0100, Jessica Yu wrote: > Hmm, these errors don't look like it's related to that particular commit. I > was > able to reproduce these weird autoksym errors even without any modules-next > patches applied, and on a clean v5.11-rc7 tree. I OTOH can't reproduce it

Re: [PATCH] mm: page_alloc: update the COMPACT[STALL|FAIL] events properly

2021-02-09 Thread Vlastimil Babka
On 2/5/21 11:28 PM, David Rientjes wrote: > On Tue, 2 Feb 2021, Charan Teja Kalla wrote: > >> >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> >> index 519a60d..531f244 100644 >> >> --- a/mm/page_alloc.c >> >> +++ b/mm/page_alloc.c >> >> @@ -4152,6 +4152,8 @@ __alloc_pages_direct_compact(gfp_t

[PATCH 1/2] arm64: dts: qcom: sdm845: Move reserved-memory to devices

2021-02-09 Thread Bjorn Andersson
The reserved-memory regions used for carrying firmware to be run on the various cores and co-processors in a Qualcomm platform differs in size, placement and presence based on each device's feature set and security configuration. Rather than providing some basic set that works on the MTP and then

[PATCH 2/2] arm64: dts: qcom: sdm850-yoga: Enable IPA

2021-02-09 Thread Bjorn Andersson
The ipa_fws.elf found in the Lenovo Yoga C630 isn't packed like the one found in e.g. the MTP, so it doesn't fit in the "standard" ipa_fws memory region. Further more, authentication of ipa_fws at the usual base address is rejected by the Peripheral Authentication Service (in TrustZone), so some sh

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