[RFC v2 2/5] clk: socfpga: build together Stratix 10, Agilex and N5X clock drivers

2021-03-10 Thread Krzysztof Kozlowski
On a multiplatform kernel there is little benefit in splitting each clock driver per platform because space savings are minimal. Such split also complicates the code, especially after adding compile testing. Build all arm64 Intel SoCFPGA clocks together with one entry in Makefile. This also

[RFC v2 1/5] clk: socfpga: allow building N5X clocks with ARCH_N5X

2021-03-10 Thread Krzysztof Kozlowski
The Intel's eASIC N5X (ARCH_N5X) architecture shares a lot with Agilex (ARCH_AGILEX) so it uses the same socfpga_agilex.dtsi, with minor changes. Also the clock drivers are the same. However the clock drivers won't be build without ARCH_AGILEX. One could assume that ARCH_N5X simply depends on

Re: [patch 07/14] tasklets: Prevent tasklet_unlock_spin_wait() deadlock on RT

2021-03-10 Thread Thomas Gleixner
On Tue, Mar 09 2021 at 16:21, Sebastian Andrzej Siewior wrote: > On 2021-03-09 16:00:37 [+0100], To Thomas Gleixner wrote: >> diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h >> index 07c7329d21aa7..1c14ccd351091 100644 >> --- a/include/linux/interrupt.h >> +++

[PATCH] char/mwave: turn tp3780I_InitializeBoardData() into void function

2021-03-10 Thread Yang Li
This function always return '0' and no callers use the return value. So make it a void function. This eliminates the following coccicheck warning: ./drivers/char/mwave/tp3780i.c:182:5-11: Unneeded variable: "retval". Return "0" on line 187 Reported-by: Abaci Robot Signed-off-by: Yang Li ---

Re: [PATCH v4 01/12] dt-bindings: usb: fix yamllint check warning

2021-03-10 Thread Greg Kroah-Hartman
On Wed, Mar 10, 2021 at 11:21:09AM +0800, Chunfeng Yun wrote: > On Tue, 2021-03-09 at 19:28 -0700, Rob Herring wrote: > > On Mon, Mar 08, 2021 at 01:37:34PM +0800, Chunfeng Yun wrote: > > > Fix warning: "missing starting space in comment" > > > > What tree is this in because I don't see it. > The

Re: [RFC PATCH v3 3/3] blk-mq: Lockout tagset iterator when exiting elevator

2021-03-10 Thread John Garry
On 09/03/2021 19:21, Bart Van Assche wrote: On 3/9/21 9:47 AM, John Garry wrote: This does fall over if some tags are allocated without associated request queue, which I do not know exists. Hi Bart, The only tag allocation mechanism I know of is blk_mq_get_tag(). The only blk_mq_get_tag()

Re: [PATCH] net: add net namespace inode for all net_dev events

2021-03-10 Thread Tony Lu
On Tue, Mar 09, 2021 at 12:40:11PM -0500, Steven Rostedt wrote: > On Tue, 9 Mar 2021 12:43:50 +0800 > Tony Lu wrote: > > > There are lots of net namespaces on the host runs containers like k8s. > > It is very common to see the same interface names among different net > > namespaces, such as

Re: [PATCH v26 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-10 Thread Can Guo
Hi Daejun, On 2021-03-09 09:38, Can Guo wrote: Hi Daejun, If you are about to push Ver.27, please hold on. I run into OCP issues on VCCQ every time after apply this patch. The issue can be work around by disabling runtime PM. Before you or we figure out where the BUG is, it is pointless to

[PATCH v5] RISC-V: enable XIP

2021-03-10 Thread Vitaly Wool
Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatile storage directly addressable by the CPU, such as QSPI NOR flash which can be found on many RISC-V platforms. This makes way for significant optimization of RAM footprint. The XIP

Re: [PATCH] net: bonding: fix error return code of bond_neigh_init()

2021-03-10 Thread Roi Dayan
On 2021-03-08 5:11 AM, Jia-Ju Bai wrote: When slave is NULL or slave_ops->ndo_neigh_setup is NULL, no error return code of bond_neigh_init() is assigned. To fix this bug, ret is assigned with -EINVAL in these cases. Fixes: 9e99bfefdbce ("bonding: fix bond_neigh_init()") Reported-by: TOTE

[PATCH v4 2/3] dt-bindings: arm: ti: Add bindings for Siemens IOT2050 boards

2021-03-10 Thread Jan Kiszka
From: Jan Kiszka These boards are based on AM6528 GP and AM6548 HS SOCs. Signed-off-by: Jan Kiszka Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml

[PATCH v4 0/3] arm64: Add TI AM65x-based IOT2050 boards

2021-03-10 Thread Jan Kiszka
Changes in v4: - rebased over ti-k3-dts-next and resent completely (no changes) - added ack and review tags Jan Jan Kiszka (3): dt-bindings: Add Siemens vendor prefix dt-bindings: arm: ti: Add bindings for Siemens IOT2050 boards arm64: dts: ti: Add support for Siemens IOT2050 boards

[PATCH] iio: temperature: tmp007: use device-managed functions in probe

2021-03-10 Thread Alexandru Ardelean
This change converts the driver to use device-managed functions in the probe function. The power-down call is handled now via a devm_add_action_or_reset() hook, and then devm_iio_device_register() can be used to register the IIO device. The final aim here would be for IIO to export only the

Re: [PATCH v4 3/7] MIPS: Loongson64: Add support for the Loongson-2K1000 to get cpu_clock_freq

2021-03-10 Thread zhangqing
On 03/10/2021 04:50 PM, Sergei Shtylyov wrote: Hello! You don't seem to need this initializer. Hi,Sergei Thanks for your suggestion, clk will not be affected by others when it is defined until the value is obtained, =NULL can be deleted, but I think it seems to have no effect.

[net-next] net: mvpp2: Add reserved port private flag configuration

2021-03-10 Thread stefanc
From: Stefan Chulski According to Armada SoC architecture and design, all the PPv2 ports which are populated on the same communication processor silicon die (CP11x) share the same Classifier and Parser engines. Armada is an embedded platform and therefore there is a need to reserve some of the

[PATCH v4 3/3] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-03-10 Thread Jan Kiszka
From: Jan Kiszka Add support for two Siemens SIMATIC IOT2050 variants, Basic and Advanced. They are based on the TI AM6528 GP and AM6548 SOCs HS, thus differ in their number of cores and availability of security features. Furthermore the Advanced version comes with more RAM, an eMMC and a few

RE: [PATCH] perf machine: Assign boolean values to a bool variable

2021-03-10 Thread David Laight
From: Jiapeng Chong > Sent: 09 March 2021 10:11 > > Fix the following coccicheck warnings: > > ./tools/perf/util/machine.c:2041:9-10: WARNING: return of 0/1 in > function 'symbol__match_regex' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- >

Re: [PATCH v2] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-10 Thread Lee Jones
On Mon, 08 Mar 2021, Andreas Kemnade wrote: > Add the version of the EC in the Tolino Shine 2 HD > to the supported versions. It seems not to have an RTC > and does not ack data written to it. > The vendor kernel happily ignores write errors, using > I2C via userspace i2c-set also shows the

Re: [PATCH v3] powerpc/32: remove bogus ppc_select syscall

2021-03-10 Thread Arnd Bergmann
On Tue, Mar 9, 2021 at 4:59 PM Christophe Leroy wrote: > Le 05/03/2021 à 13:03, Arnd Bergmann a écrit : > > On Fri, Mar 5, 2021 at 11:15 AM Christophe Leroy > > wrote: > >> Le 05/03/2021 à 11:06, Arnd Bergmann a écrit : > > I had another look. In fact x86, arm and m68k still have the #82

[PATCH] scsi: aic7xxx: aic79xx: Add missing check in ahc_handle_seqint

2021-03-10 Thread Dinghao Liu
ahc_lookup_scb() may return a null pointer and further lead to null-pointer-dereference in case DATA_OVERRUN. Fix this by adding a null check. Signed-off-by: Dinghao Liu --- drivers/scsi/aic7xxx/aic7xxx_core.c | 72 +++-- 1 file changed, 37 insertions(+), 35 deletions(-)

Re: [PATCH v4 2/7] MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI

2021-03-10 Thread Oleksij Rempel
Hi, Am 10.03.21 um 08:56 schrieb Qing Zhang: > Add DTB boot support, only support Loongson-2K1000 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. > loongson_fw_interface will be used in the future. > >

Fair Pay Epilogue / Re: LCPU (was fair pay)

2021-03-10 Thread Ywe Cærlyn
Lam works being representative of what is happening in philosophy and culture these days, best written in cursive. Rome is called Ar Rum in The Quran, And if one calls it the Ar Rum alphabet it indicates cursive Lam as being the zén Right Mind, as Islamic. A sound philosophic background

How long should be PCIe card in Warm Reset state?

2021-03-10 Thread Pali Rohár
Hello! I would like to open a question about PCIe Warm Reset. Warm Reset of PCIe card is triggered by asserting PERST# signal and in most cases PERST# signal is controlled by GPIO. Basically every native Linux PCIe controller driver is doing this Warm Reset of connected PCIe card during native

[GIT PULL] Immutable branch between MFD and Watchdog due for the v5.13 merge window

2021-03-10 Thread Lee Jones
Enjoy! The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-watchdog-v5.13 for you to fetch changes up to

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

2021-03-10 Thread Odin Ugedal
Hi, > If there are cases where the "start bandwidth" matters, I think there is need > to expose the > "start bandwidth" explicitly too. However, I doubt the existence of such > cases from my view > and the two examples above. Yeah, I don't think there will be any cases where users will be

Re: [PATCH 2/5] mm/page_alloc: Add a bulk page allocator

2021-03-10 Thread Shay Agroskin
Mel Gorman writes: diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 8572a1474e16..4903d1cc48dc 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -515,6 +515,10 @@ static inline int arch_make_page_accessible(struct page *page) } #endif +int

Re: [PATCH] objtool,x86: Fix uaccess PUSHF/POPF validation

2021-03-10 Thread Peter Zijlstra
Seems like I forgot LKML (again!)... On Mon, Mar 08, 2021 at 03:46:04PM +0100, Peter Zijlstra wrote: > > Commit ab234a260b1f ("x86/pv: Rework arch_local_irq_restore() to not > use popf") replaced "push %reg; popf" with something like: "test > $0x200, %reg; jz 1f; sti; 1:", which breaks the

[PATCH v2 2/2] arm64: dts: ti: k3-am642-evm: Add USB support

2021-03-10 Thread Aswath Govindraju
AM64 EVM board has a micro USB 2.0 AB connector and the USB0_VBUS is connected with a resistor divider in between. USB0_DRVVBUS pin is muxed between USB0_DRVVBUS and GPIO1_79 signals. Add the corresponding properties and set the pinmux mode for USB subsystem in the evm dts file. Signed-off-by:

[gustavoars-linux:testing/xfs] BUILD SUCCESS c53742bdbe1ace569d71d762f93e4180d70d7668

2021-03-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/xfs branch HEAD: c53742bdbe1ace569d71d762f93e4180d70d7668 xfs: Replace one-element arrays with flexible-array members elapsed time: 720m configs tested: 92 configs skipped: 2 The following configs have

[PATCH v2 0/2] AM64: Add USB support

2021-03-10 Thread Aswath Govindraju
The following series of patches, add USB support for AM642 evm. USB test logs, https://pastebin.ubuntu.com/p/Qrbb7SGv8N/ Changes since v1: - Rebased the patches on top of ti-k3-dts-next - Added test logs Aswath Govindraju (2): arm64: dts: ti: k3-am64-main: Add DT node for USB subsystem

[PATCH v2 1/2] arm64: dts: ti: k3-am64-main: Add DT node for USB subsystem

2021-03-10 Thread Aswath Govindraju
Add DT node for the single USB subsystem in main dtsi file. Signed-off-by: Aswath Govindraju Acked-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi

Re: [v2][PATCH] Revert "mfd: syscon: Don't free allocated name for regmap_config"

2021-03-10 Thread Lee Jones
On Wed, 10 Mar 2021, Li, Meng wrote: > > > > -Original Message- > > From: Lee Jones > > Sent: Wednesday, March 10, 2021 2:15 AM > > To: Li, Meng > > Cc: Marc Zyngier ; linux-kernel@vger.kernel.org; > > a...@arndb.de; Hao, Kexin > > Subject: Re: [v2][PATCH] Revert "mfd: syscon: Don't

[PATCH] firmware/efi: Fix a use after bug in efi_mem_reserve_persistent

2021-03-10 Thread Lv Yunlong
In the for loop in efi_mem_reserve_persistent(), prsv = rsv->next use the unmapped rsv. Use the unmapped pages will cause segment fault. Fixes: 18df7577adae6 ("efi/memreserve: deal with memreserve entries in unmapped memory") Signed-off-by: Lv Yunlong --- drivers/firmware/efi/efi.c | 3 ++- 1

[tip:x86/alternatives] BUILD SUCCESS db16e07269c2b4346e4332e43f04e447ef14fd2f

2021-03-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/alternatives branch HEAD: db16e07269c2b4346e4332e43f04e447ef14fd2f x86/alternative: Drop unused feature parameter from ALTINSTR_REPLACEMENT() elapsed time: 721m configs tested: 116 configs skipped: 62 The following

Re: [PATCH] opp: Invalidate current opp when draining the opp list

2021-03-10 Thread Viresh Kumar
On 09-03-21, 12:14, Beata Michalska wrote: > With the current version, once the _opp_get_next returns opp > that is the current_opp, the while loop will break, leaving all > the opps that are on the list after current_opp Thanks for your excellent review Beata. I have been missing a lot lately :(

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-10 Thread Hector Martin
On 10/03/2021 14.14, Sumit Garg wrote: On Wed, 10 Mar 2021 at 02:47, Hector Martin wrote: On 09/03/2021 01.20, Linus Walleij wrote: I suppose it would be a bit brutal if the kernel would just go in and appropriate any empty RPMB it finds, but I suspect it is the right way to make use of this

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-10 Thread Sergei Shtylyov
Hello! On 10.03.2021 5:26, zhangqing wrote: [...] +    if (of_device_is_compatible(node, "loongson,liointc-2.0")) { +    base = liointc_get_reg_byname(node, "main"); +    if (!base) { +    err = -ENODEV; +    goto out_free_priv; +    } +    for (i = 0; i <

Re: [PATCH 08/21] clk: clkdev: Ignore suggestion to use gnu_printf() as it's not appropriate here

2021-03-10 Thread Lee Jones
On Fri, 12 Feb 2021, Lee Jones wrote: > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > Quoting Lee Jones (2021-01-26 04:45:27) > > > Fixes the following W=1 kernel build warning(s): > > > > > > drivers/clk/clkdev.c: In function ‘vclkdev_alloc’: > > > drivers/clk/clkdev.c:173:3: warning:

[PATCH] greybus/operation: Drop reference when message has been set

2021-03-10 Thread Lv Yunlong
In gb_operation_response_send, get an extra reference before gb_message_send() with this comment "/* Reference will be dropped when message has been sent. */". Therefore, we should drop the got reference not only in the error branch, but also in the complete branch. Signed-off-by: Lv Yunlong ---

Re: [PATCH v3 1/4] mfd: intel-m10-bmc: Fix the register access range

2021-03-10 Thread Lee Jones
On Mon, 01 Mar 2021, Xu Yilun wrote: > This patch fixes the max register address of MAX 10 BMC. The range > 0x2000 ~ 0x20fc are for control registers of the QSPI flash > controller, which are not accessible to host. > > Signed-off-by: Xu Yilun > Reviewed-by: Tom Rix > --- > v2: no

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-10 Thread zhangqing
I really don't care about whatever arbitrary limit people think there is. Please put it on a single line. Hi,Marc Thank you for your reply, I saw it my $max_line_length = 100; So already fixed it in v4:). Thanks, Qing Thanks, M.

Re: [RFC v2 3/5] arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64

2021-03-10 Thread Lee Jones
On Wed, 10 Mar 2021, Krzysztof Kozlowski wrote: > Prepare for merging Stratix 10, Agilex and N5X into one arm64 > architecture by first renaming the ARCH_STRATIX10 into ARCH_SOCFPGA64. > > The existing ARCH_SOCFPGA (in ARMv7) Kconfig symbol cannot be used > because altera_edac driver builds

Re: [PATCH v6 2/4] block: add blk_interposer

2021-03-10 Thread Christoph Hellwig
On Wed, Mar 10, 2021 at 07:53:13AM +0300, Sergei Shtepa wrote: > > Please avoid the overly long line. > > > > > + int ret = 0; > > > + > > > + if (WARN_ON(!interposer)) > > > > WARN_ON_ONCE? > > This function should be called quite rarely, and the absence of the interposer > parameter indicates

Re: [PATCH v1 6/7] mfd: lpc_ich: Add support for pinctrl in non-ACPI system

2021-03-10 Thread Lee Jones
On Mon, 08 Mar 2021, Andy Shevchenko wrote: > From: Tan Jui Nee > > Add support for non-ACPI systems, such as system that uses > Advanced Boot Loader (ABL) whereby a platform device has to be created > in order to bind with pin control and GPIO. > > At the moment, Intel Apollo Lake In-Vehicle

Re: [PATCH v1 5/7] mfd: lpc_ich: Switch to generic pci_p2sb_bar()

2021-03-10 Thread Lee Jones
On Mon, 08 Mar 2021, Andy Shevchenko wrote: > Instead of open coding pci_p2sb_bar() functionality we are going to > use generic library for that. There one more user of it is coming. > > Besides cleaning up it fixes a potential issue if, by some reason, > SPI bar is 64-bit. Probably worth

Re: [GIT] SPARC

2021-03-10 Thread Geert Uytterhoeven
Hi David, Good to see you're back! On Wed, Mar 10, 2021 at 1:27 AM David Miller wrote: > From: Linus Torvalds > Date: Tue, 9 Mar 2021 11:27:41 -0800 > > On Tue, Mar 9, 2021 at 11:08 AM David Miller wrote: > > (And yes, I prefer lore.kernel.org over marc, although for single > > patches it

Re: [PATCH v3 07/15] mfd: Support for ROHM BD71815 PMIC core

2021-03-10 Thread Lee Jones
On Mon, 08 Mar 2021, Matti Vaittinen wrote: > Add core support for ROHM BD71815 Power Management IC. > > The IC integrates regulators, a battery charger with a coulomb counter, > a real-time clock (RTC), clock gate and general-purpose outputs (GPO). > > Signed-off-by: Matti Vaittinen > --- >

Re: [PATCH] arm64: perf: Fix 64-bit event counter read truncation

2021-03-10 Thread Mark Rutland
On Tue, Mar 09, 2021 at 05:44:12PM -0700, Rob Herring wrote: > Commit 0fdf1bb75953 ("arm64: perf: Avoid PMXEV* indirection") changed > armv8pmu_read_evcntr() to return a u32 instead of u64. The result is > silent truncation of the event counter when using 64-bit counters. Given > the offending

Re: [PATCH -tip 0/5] kprobes: Fix stacktrace in kretprobes

2021-03-10 Thread Masami Hiramatsu
On Tue, 9 Mar 2021 13:34:42 -0800 Daniel Xu wrote: > Hi Masami, > > Just want to clarify a few points: > > On Mon, Mar 08, 2021 at 11:52:10AM +0900, Masami Hiramatsu wrote: > > On Sun, 7 Mar 2021 13:23:33 -0800 > > Daniel Xu wrote: > > To help your understanding, let me explain. > > > > If

RE: [PATCH v3 2/3] dt-bindings: fpga: Add binding doc for versal fpga manager

2021-03-10 Thread Nava kishore Manne
Hi Rob, Thanks for providing the review comments. Please find my response inline. > -Original Message- > From: Rob Herring > Sent: Tuesday, March 9, 2021 1:50 AM > To: Nava kishore Manne > Cc: m...@kernel.org; t...@redhat.com; Michal Simek ; > gre...@linuxfoundation.org; Jolly

Re: [PATCH] arm64: perf: Fix 64-bit event counter read truncation

2021-03-10 Thread Alexandru Elisei
Hi Rob, On 3/10/21 12:44 AM, Rob Herring wrote: > Commit 0fdf1bb75953 ("arm64: perf: Avoid PMXEV* indirection") changed > armv8pmu_read_evcntr() to return a u32 instead of u64. The result is > silent truncation of the event counter when using 64-bit counters. Given > the offending commit appears

Re: [PATCH] arm64: mm: fix runtime fallback to 48-bt VA when 52-bit VA is enabled

2021-03-10 Thread Will Deacon
On Tue, Mar 09, 2021 at 07:32:16PM -0500, Mark Salter wrote: > I ran into an early boot soft lockup on a Qualcomm Amberwing using a v5.11 > kernel configured for 52-bit VA. This turned into a panic with a v5.12-rc2 > kernel. > > The problem is that when we fall back to 48-bit VA, idmap_t0sz is

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-10 Thread Masahiro Yamada
On Wed, Mar 10, 2021 at 2:35 PM Viresh Kumar wrote: > > Since the overlays dtb files are now named as .dtbo, there is a lot of > interest in similarly naming the overlay source dts files as .dtso. > > This patch makes the necessary changes to allow .dtso format for overlay > source files. > >

[tip: locking/urgent] seqlock,lockdep: Fix seqcount_latch_init()

2021-03-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: 4817a52b306136c8b2b2271d8770401441e4cf79 Gitweb: https://git.kernel.org/tip/4817a52b306136c8b2b2271d8770401441e4cf79 Author:Peter Zijlstra AuthorDate:Tue, 09 Mar 2021 15:21:18 +01:00

[tip: sched/core] sched: Optimize __calc_delta()

2021-03-10 Thread tip-bot2 for Clement Courbet
The following commit has been merged into the sched/core branch of tip: Commit-ID: 1e17fb8edc5ad6587e9303ccdebce853bc8cf30c Gitweb: https://git.kernel.org/tip/1e17fb8edc5ad6587e9303ccdebce853bc8cf30c Author:Clement Courbet AuthorDate:Wed, 03 Mar 2021 14:46:53 -08:00

[tip: locking/urgent] u64_stats,lockdep: Fix u64_stats_init() vs lockdep

2021-03-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: d5b0e0677bfd5efd17c5bbb00156931f0d41cb85 Gitweb: https://git.kernel.org/tip/d5b0e0677bfd5efd17c5bbb00156931f0d41cb85 Author:Peter Zijlstra AuthorDate:Mon, 08 Mar 2021 09:38:12 +01:00

[tip: sched/core] sched: Remove unnecessary variable from schedule_tail()

2021-03-10 Thread tip-bot2 for Edmundo Carmona Antoranz
The following commit has been merged into the sched/core branch of tip: Commit-ID: 13c2235b2b2870675195f0b551275d1abdd81068 Gitweb: https://git.kernel.org/tip/13c2235b2b2870675195f0b551275d1abdd81068 Author:Edmundo Carmona Antoranz AuthorDate:Sat, 06 Mar 2021 15:07:39

Re: [PATCH] include: Remove pagemap.h from blkdev.h

2021-03-10 Thread Arnd Bergmann
On Tue, Mar 9, 2021 at 7:15 PM Matthew Wilcox (Oracle) wrote: > > My UEK-derived config has 1030 files depending on pagemap.h before > this change. Afterwards, just 240 files need to be rebuilt when I > touch pagemap.h. I think blkdev.h is probably included too widely, > but untangling that

Re: linux-next: Signed-off-by missing for commits in the char-misc.current tree

2021-03-10 Thread Stephen Rothwell
Hi Greg, On Wed, 10 Mar 2021 12:12:05 +0100 Greg KH wrote: > > Ah, yeah, oh well, I'll just live with this, I don't want to rebase > again :( At least the -rc1 booby trap is gone. -- Cheers, Stephen Rothwell pgpP1ePUMiE48.pgp Description: OpenPGP digital signature

Re: [PATCH v7 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-03-10 Thread Peter Hilber
On 10.03.21 00:12, Jyoti Bhayana wrote: > This change provides ARM SCMI Protocol based IIO device. > This driver provides support for Accelerometer and Gyroscope using > SCMI Sensor Protocol extensions added in the SCMIv3.0 ARM specification > [snip] > + > +static int

Re: [PATCH 2/3] Documentation: riscv: Add documentation that describes the VM layout

2021-03-10 Thread Arnd Bergmann
On Thu, Feb 25, 2021 at 12:56 PM Alex Ghiti wrote: > > Le 2/25/21 à 5:34 AM, David Hildenbrand a écrit : > > || | |> + > > ffc0 | -256GB | ffc7 | 32 GB | kasan > >> + ffcefee0 | -196GB |

[RFC PATCH v1] Bluetooth: hci_qca: Add device_may_wakeup support

2021-03-10 Thread Venkata Lakshmi Narayana Gubba
Added device_may_wakeup() support. Signed-off-by: Venkata Lakshmi Narayana Gubba --- drivers/bluetooth/hci_qca.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index de36af6..73af901 100644 ---

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

2021-03-10 Thread Matti Vaittinen
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 Acked-for-MFD-by: Lee Jones --- Changes from v8: - updated copyright drivers/mfd/Kconfig | 11 drivers/mfd/Makefile

[PATCH v9 1/6] dt_bindings: mfd: Add ROHM BD9576MUF and BD9573MUF PMICs

2021-03-10 Thread Matti Vaittinen
Add bindings for ROHM BD9576MUF and BD9573MUF PMICs. These PMICs are primarily intended to be used to power the R-Car series processors. They provide 6 power outputs, safety features and a watchdog with two functional modes. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- No

Re: [PATCH v2] mm,hwpoison: return -EBUSY when page already poisoned

2021-03-10 Thread 堀口 直也
On Tue, Mar 09, 2021 at 12:01:40PM -0800, Luck, Tony wrote: > On Tue, Mar 09, 2021 at 08:28:24AM +, HORIGUCHI NAOYA(堀口 直也) wrote: > > On Tue, Mar 09, 2021 at 02:35:34PM +0800, Aili Yao wrote: > > > When the page is already poisoned, another memory_failure() call in the > > > same page now

Re: [kbuild] Re: [PATCH v3 1/2] char: xillybus: Move class-related functions to new xillybus_class.c

2021-03-10 Thread Eli Billauer
On 09/03/21 18:03, Dan Carpenter wrote: url:https://github.com/0day-ci/linux/commits/eli-billauer-gmail-com/Submission-of-XillyUSB-driver/20210309-193645 base:https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 080951f99de1e483a9a48f34c079b634f2912a54 config:

Re: [PATCH 9/9] vfio/pci: export igd support into vendor vfio_pci driver

2021-03-10 Thread Christoph Hellwig
The terminology is all weird here. You don't export functionality you move it. And this is not a "vendor" driver, but just a device specific one. > +struct igd_vfio_pci_device { > + struct vfio_pci_core_device vdev; > +}; Why do you need this separate structure? You could just use

[PATCH] docs/zh_CN: fix original link unknown document warning

2021-03-10 Thread Wu XiangCheng
fix original link unknown document warning in zh_CN/admin-guide/README.rst and admin-guide/unicode.rst which introduced by commit: 550c8399d017 ("docs/zh_CN: Add zh_CN/admin-guide/README.rst") Reported-by: Stephen Rothwell Signed-off-by: Wu XiangCheng --- Sorry for the inconvenience. This is

[RFC v2 0/5] arm64 / clk: socfpga: simplifying, cleanups and compile testing

2021-03-10 Thread Krzysztof Kozlowski
Hi, All three Intel arm64 SoCFPGA architectures (Agilex, N5X and Stratix 10) are basically flavors/platforms of the same architecture. At least from the Linux point of view. Up to a point that N5X and Agilex share DTSI. Having three top-level architectures for the same one barely makes sense

[RFC v2 5/5] clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks

2021-03-10 Thread Krzysztof Kozlowski
The Stratix 10 / Agilex / N5X clocks do not use anything other than OF or COMMON_CLK so they should be compile testable on most of the platforms. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/Makefile| 5 + drivers/clk/socfpga/Kconfig | 17 ++--- 2 files changed,

[PATCH] isdn: mISDN: remove unneeded variable 'ret'

2021-03-10 Thread Yang Li
Fix the following coccicheck warning: ./drivers/isdn/mISDN/dsp_core.c:956:6-9: Unneeded variable: "err". Return "0" on line 1001 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/isdn/mISDN/dsp_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: Alternative compilers to GCC/Clang

2021-03-10 Thread Pavel Machek
Hi! > > Hello! My name's Amy. I'm really impressed by the work done to make > > Clang (and the LLVM toolchain overall) able to compile the kernel. > > Figured I might as well donate my monkey hours to helping make it run > > on other compilers as well. I haven't been able to find any that use > >

Re: [PATCH] uml: remove unneeded variable 'ret'

2021-03-10 Thread Johannes Berg
On Wed, 2021-03-10 at 16:49 +0800, Yang Li wrote: > Fix the following coccicheck warning: > ./arch/um/drivers/hostaudio_kern.c:125:10-14: Unneeded variable: "mask". > Return "0" on line 131 Word of caution to you: You've already managed to be in various people's block list due to sending patches

Re: [PATCH v4] mfd: da9063: Support SMBus and I2C mode

2021-03-10 Thread Lee Jones
On Tue, 09 Mar 2021, Adam Ward wrote: > Hi Lee, > > Tidy, but I've noticed the logic got inverted along the way: > > > On Tue 09 Mar 2021, Lee Jones wrote: > > On Tue, 09 Mar 2021, Mark Jonas wrote: > > This is my suggestion: > > > > /* If SMBus Mode is not available, enter Two-Wire Mode

[PATCH v2 11/11] vfio/iommu_type1: Add support for manual dirty log clear

2021-03-10 Thread Keqian Zhu
From: jiangkunkun In the past, we clear dirty log immediately after sync dirty log to userspace. This may cause redundant dirty handling if userspace handles dirty log iteratively: After vfio clears dirty log, new dirty log starts to generate. These new dirty log will be reported to userspace

[PATCH v2 04/11] iommu/arm-smmu-v3: Split block descriptor when start dirty log

2021-03-10 Thread Keqian Zhu
From: jiangkunkun Block descriptor is not a proper granule for dirty log tracking. Take an extreme example, if DMA writes one byte, under 1G mapping, the dirty amount reported to userspace is 1G, but under 4K mapping, the dirty amount is just 4K. This adds a new interface named start_dirty_log

[PATCH v2 08/11] iommu/arm-smmu-v3: Add HWDBM device feature reporting

2021-03-10 Thread Keqian Zhu
From: jiangkunkun We have implemented these interfaces required to support iommu dirty log tracking. The last step is reporting this feature to upper user, then the user can perform higher policy base on it. This adds a new dev feature named IOMMU_DEV_FEAT_HWDBM in iommu layer. For arm smmuv3,

[PATCH v2 05/11] iommu/arm-smmu-v3: Merge a span of page when stop dirty log

2021-03-10 Thread Keqian Zhu
From: jiangkunkun When stop dirty log tracking, we need to recover all block descriptors which are splited when start dirty log tracking. This adds a new interface named stop_dirty_log in iommu layer and arm smmuv3 implements it, which reinstall block mappings and unmap the span of page

[PATCH v2 07/11] iommu/arm-smmu-v3: Clear dirty log according to bitmap

2021-03-10 Thread Keqian Zhu
From: jiangkunkun After dirty log is retrieved, user should clear dirty log to re-enable dirty log tracking for these dirtied pages. This adds a new interface named clear_dirty_log in iommu layer and arm smmuv3 implements it, which clears the dirty state (As we just enable HTTU for stage1, so

[PATCH v2 09/11] vfio/iommu_type1: Add HWDBM status maintanance

2021-03-10 Thread Keqian Zhu
From: jiangkunkun We are going to optimize dirty log tracking based on iommu HWDBM feature, but the dirty log from iommu is useful only when all iommu backed groups are connected to iommu with HWDBM feature. This maintains a counter for this feature. Co-developed-by: Keqian Zhu Signed-off-by:

Re: [PATCH] KVM: x86/mmu: Skip !MMU-present SPTEs when removing SP in exclusive mode

2021-03-10 Thread Paolo Bonzini
On 10/03/21 01:30, Sean Christopherson wrote: diff --git a/arch/x86/kvm/mmu/tdp_mmu.c b/arch/x86/kvm/mmu/tdp_mmu.c index 50ef757c5586..f0c99fa04ef2 100644 --- a/arch/x86/kvm/mmu/tdp_mmu.c +++ b/arch/x86/kvm/mmu/tdp_mmu.c @@ -323,7 +323,18 @@ static void handle_removed_tdp_mmu_page(struct kvm

Re: kernel panic: Attempted to kill init!

2021-03-10 Thread Palash Oswal
> The kernel stack is not very useful in this case, it's a common faulting > stack. > Maybe it will shed some light if you install gdb in the image, attach > it to the systemd process, then trigger the segfault and then unwind > stack in the systemd process at the time of fault, dump registers, >

Re: [PATCH v2 2/2] modules: add CONFIG_MODPROBE_PATH

2021-03-10 Thread Greg Kroah-Hartman
On Tue, Mar 09, 2021 at 10:17:00PM +0100, Rasmus Villemoes wrote: > Allow the developer to specifiy the initial value of the > modprobe_path[] string. This can be used to set it to the empty string > initially, thus effectively disabling request_module() during early > boot until userspace writes

Re: [PATCH v6 10/22] media: camss: Add support for CSID hardware version Titan 170

2021-03-10 Thread Robert Foss
Hey Andrey, On Tue, 9 Mar 2021 at 14:54, Andrey Konovalov wrote: > > Hi Robert, > > The testgen_pattern in this version are in the right direction, but > the test patterns aren't working properly in v6: > > On db410c: > == > -8<- > $ v4l2-ctl -L -d /dev/v4l-subdev2 > > Image

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-10 Thread Kuldeep Singh
> -Original Message- > From: Mark Brown > Sent: Tuesday, March 9, 2021 11:02 PM > To: Kuldeep Singh > Cc: Rob Herring ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: Re: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP

Re: [PATCH V2 1/2] dt-bindings: nvmem: add Broadcom's NVRAM

2021-03-10 Thread Srinivas Kandagatla
On 05/03/2021 18:32, Rafał Miłecki wrote: From: Rafał Miłecki Broadcom's NVRAM structure contains device data and can be accessed using I/O mapping. Signed-off-by: Rafał Miłecki --- Applied both patches! thanks -srini V2: Use Broadcom's NVRAM specific binding. Generic "nvmem-iomap"

Re: [PATCH v2 9/9] phy: cadence-torrent: Add support to drive refclk out

2021-03-10 Thread Kishon Vijay Abraham I
Hi Swapnil, On 09/03/21 7:51 pm, Swapnil Kashinath Jakhade wrote: > Hi Kishon, > >> -Original Message- >> From: Kishon Vijay Abraham I >> Sent: Monday, February 22, 2021 4:53 PM >> To: Kishon Vijay Abraham I ; Vinod Koul >> ; Rob Herring ; Peter Rosin >> ; Swapnil Kashinath Jakhade >>

Re: [PATCH 1/3] nvmem: core: Add functions to make number reading easy

2021-03-10 Thread Srinivas Kandagatla
On 06/03/2021 00:26, Douglas Anderson wrote: Sometimes the clients of nvmem just want to get a number out of nvmem. They don't want to think about exactly how many bytes the nvmem cell took up. They just want the number. Let's make it easy. In general this concept is useful because nvmem

Re: [PATCH v3 06/15] mfd: Add ROHM BD71815 ID

2021-03-10 Thread Lee Jones
On Mon, 08 Mar 2021, Matti Vaittinen wrote: > Add chip ID for ROHM BD71815 and PMIC so that drivers can identify > this IC. > > Signed-off-by: Matti Vaittinen > Acked-for-MFD-by: Lee Jones > --- > include/linux/mfd/rohm-generic.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[PATCH 0/5] Introduce a bulk order-0 page allocator with two in-tree users

2021-03-10 Thread Mel Gorman
Changelog since v1 o Parenthesise binary and boolean comparisons o Add reviewed-bys o Rebase to 5.12-rc2 This series introduces a bulk order-0 page allocator with sunrpc and the network page pool being the first users. The implementation is not particularly efficient and the intention is to iron

[PATCH 4/5] net: page_pool: refactor dma_map into own function page_pool_dma_map

2021-03-10 Thread Mel Gorman
From: Jesper Dangaard Brouer In preparation for next patch, move the dma mapping into its own function, as this will make it easier to follow the changes. V2: make page_pool_dma_map return boolean (Ilias) Signed-off-by: Jesper Dangaard Brouer Signed-off-by: Mel Gorman Reviewed-by: Ilias

[PATCH 3/5] SUNRPC: Refresh rq_pages using a bulk page allocator

2021-03-10 Thread Mel Gorman
From: Chuck Lever Reduce the rate at which nfsd threads hammer on the page allocator. This improve throughput scalability by enabling the threads to run more independently of each other. Signed-off-by: Chuck Lever Signed-off-by: Mel Gorman --- net/sunrpc/svc_xprt.c | 43

[PATCH] staging: rtl8192u: ieee80211: Remove braces for single line blocks

2021-03-10 Thread Atul Gopinathan
Remove braces around those `if` and `for` blocks which contain a single line and therefore fix the Checkpatch warning of the following type: "WARNING: braces {} are not necessary for single statement blocks" Signed-off-by: Atul Gopinathan --- .../staging/rtl8192u/ieee80211/ieee80211_rx.c | 42

[PATCH 1/5] SUNRPC: Set rq_page_end differently

2021-03-10 Thread Mel Gorman
From: Chuck Lever Refactor: I'm about to use the loop variable @i for something else. As far as the "i++" is concerned, that is a post-increment. The value of @i is not used subsequently, so the increment operator is unnecessary and can be removed. Also note that nfsd_read_actor() was renamed

[PATCH 2/5] mm/page_alloc: Add a bulk page allocator

2021-03-10 Thread Mel Gorman
This patch adds a new page allocator interface via alloc_pages_bulk, and __alloc_pages_bulk_nodemask. A caller requests a number of pages to be allocated and added to a list. They can be freed in bulk using free_pages_bulk(). The API is not guaranteed to return the requested number of pages and

[PATCH 5/5] net: page_pool: use alloc_pages_bulk in refill code path

2021-03-10 Thread Mel Gorman
From: Jesper Dangaard Brouer There are cases where the page_pool need to refill with pages from the page allocator. Some workloads cause the page_pool to release pages instead of recycling these pages. For these workload it can improve performance to bulk alloc pages from the page-allocator to

[PATCH] media: videobuf2: Explicitly state max size of planes

2021-03-10 Thread Ricardo Ribalda
The plane size needs to be PAGE_ALIGNED, so it is not possible to have sizes bigger than MAX_INT - PAGE_SIZE. We already check for overflows when that happen: if (size < vb->planes[plane].length) goto free; But it is good to explicitly state our max allowed value, in order to align with

[RESEND PATCH v1 1/2] Revert "drm/mediatek: Make sure previous message done or be aborted before send"

2021-03-10 Thread Yongqiang Niu
This reverts commit 839cbf0531428f3f9535077a461b8631359c1165. Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index 8b0de90..c76f446

[RESEND PATCH v1 2/2] Revert "mailbox: mediatek: remove implementation related to atomic_exec"

2021-03-10 Thread Yongqiang Niu
This reverts commit c9ea564f3d9dd20d88bd34f40a6ff6d31a0d7e8c. Signed-off-by: Yongqiang Niu --- drivers/mailbox/mtk-cmdq-mailbox.c | 80 +- 1 file changed, 71 insertions(+), 9 deletions(-) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c

[RESEND PATCH v1 0/2] Revert "mailbox: mediatek: remove implementation related to atomic_exec"

2021-03-10 Thread Yongqiang Niu
This series base linux 5.12-rc1 these two patches will cause home ui flick when cursor moved, there is no fix solution yet, revert these patches first. change since v1: fix build error Yongqiang Niu (2): Revert "drm/mediatek: Make sure previous message done or be aborted before send"

  1   2   3   4   5   6   7   8   9   10   >