[PATCH 4.19 25/58] i2c: octeon: check correct size of maximum RECV_LEN packet

2021-01-25 Thread Greg Kroah-Hartman
From: Wolfram Sang [ Upstream commit 1b2cfa2d1dbdcc3b6dba1ecb7026a537a1d7277f ] I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the SMBus 2.0 specs. No reason to add one to it. Fixes: 886f6f8337dd ("i2c: octeon: Support I2C_M_RECV_LEN") Signed-off-by: Wolfram Sang

[PATCH 4.19 34/58] stm class: Fix module init return on allocation failure

2021-01-25 Thread Greg Kroah-Hartman
From: Wang Hui commit 927633a6d20af319d986f3e42c3ef9f6d7835008 upstream. In stm_heartbeat_init(): return value gets reset after the first iteration by stm_source_register_device(), so allocation failures after that will, after a clean up, return success. Fix that. Fixes: 119291853038 ("stm

[PATCH 5.4 04/86] ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()

2021-01-25 Thread Greg Kroah-Hartman
From: Takashi Iwai commit 217bfbb8b0bfa24619b11ab75c135fec99b99b20 upstream. snd_seq_oss_synth_make_info() didn't check the error code from snd_seq_oss_midi_make_info(), and this leads to the call of strlcpy() with the uninitialized string as the source, which may lead to the access over the

[PATCH 5.4 19/86] HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device

2021-01-25 Thread Greg Kroah-Hartman
From: Kai-Heng Feng [ Upstream commit c3d6eb6e54373f297313b65c1f2319d36914d579 ] Pointstick and its left/right buttons on HP EliteBook 850 G7 need multi-input quirk to work correctly. Signed-off-by: Kai-Heng Feng Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin ---

[PATCH 5.4 64/86] xhci: make sure TRB is fully written before giving it to the controller

2021-01-25 Thread Greg Kroah-Hartman
From: Mathias Nyman commit 576667bad341516edc4e18eb85acb0a2b4c9c9d9 upstream. Once the command ring doorbell is rung the xHC controller will parse all command TRBs on the command ring that have the cycle bit set properly. If the driver just started writing the next command TRB to the ring when

[PATCH 5.4 27/86] HID: Ignore battery for Elan touchscreen on ASUS UX550

2021-01-25 Thread Greg Kroah-Hartman
From: Seth Miller [ Upstream commit 7c38e769d5c508939ce5dc26df72602f3c902342 ] Battery status is being reported for the Elan touchscreen on ASUS UX550 laptops despite not having a batter. It always shows either 0 or 1%. Signed-off-by: Seth Miller Signed-off-by: Jiri Kosina Signed-off-by:

[PATCH 5.4 81/86] ipv6: set multicast flag on the multicast route

2021-01-25 Thread Greg Kroah-Hartman
From: Matteo Croce commit ceed9038b2783d14e0422bdc6fd04f70580efb4c upstream. The multicast route ff00::/8 is created with type RTN_UNICAST: $ ip -6 -d route unicast ::1 dev lo proto kernel scope global metric 256 pref medium unicast fe80::/64 dev eth0 proto kernel scope global metric 256

[PATCH 5.4 72/86] sh_eth: Fix power down vs. is_opened flag ordering

2021-01-25 Thread Greg Kroah-Hartman
From: Geert Uytterhoeven commit f6a2e94b3f9d89cb40771ff746b16b5687650cbb upstream. sh_eth_close() does a synchronous power down of the device before marking it closed. Revert the order, to make sure the device is never marked opened while suspended. While at it, use pm_runtime_put() instead

[PATCH 5.10 038/199] HID: sony: select CONFIG_CRC32

2021-01-25 Thread Greg Kroah-Hartman
From: Arnd Bergmann [ Upstream commit 273435a1d4e5826f039625c23ba4fe9a09f24d75 ] Without crc32 support, this driver fails to link: arm-linux-gnueabi-ld: drivers/hid/hid-sony.o: in function `sony_raw_event': hid-sony.c:(.text+0x8f4): undefined reference to `crc32_le' arm-linux-gnueabi-ld:

[PATCH 5.10 131/199] serial: mvebu-uart: fix tx lost characters at power off

2021-01-25 Thread Greg Kroah-Hartman
From: Pali Rohár commit 54ca955b5a4024e2ce0f206b03adb7109bc4da26 upstream. Commit c685af1108d7 ("serial: mvebu-uart: fix tx lost characters") fixed tx lost characters at low baud rates but started causing tx lost characters when kernel is going to power off or reboot. TX_EMP tells us when

[PATCH 5.10 132/199] ehci: fix EHCI host controller initialization sequence

2021-01-25 Thread Greg Kroah-Hartman
From: Eugene Korenevsky commit 280a9045bb18833db921b316a5527d2b565e9f2e upstream. According to EHCI spec, EHCI HC clears USBSTS.HCHalted whenever USBCMD.RS=1. However, it is a good practice to wait some time after setting USBCMD.RS (approximately 100ms) until USBSTS.HCHalted become zero.

[PATCH 5.10 142/199] drivers core: Free dma_range_map when driver probe failed

2021-01-25 Thread Greg Kroah-Hartman
From: Meng Li commit d0243bbd5dd3ebbd49dafa8b56bb911d971131d0 upstream. There will be memory leak if driver probe failed. Trace as below: backtrace: [<2415258f>] kmemleak_alloc+0x3c/0x50 [] __kmalloc+0x208/0x530 [<48bc7b3a>]

[PATCH 5.10 173/199] net_sched: avoid shift-out-of-bounds in tcindex_set_parms()

2021-01-25 Thread Greg Kroah-Hartman
From: Eric Dumazet commit bcd0cf19ef8258ac31b9a20248b05c15a1f4b4b0 upstream. tc_index being 16bit wide, we need to check that TCA_TCINDEX_SHIFT attribute is not silly. UBSAN: shift-out-of-bounds in net/sched/cls_tcindex.c:260:29 shift exponent 255 is too large for 32-bit type 'int' CPU: 0 PID:

[PATCH 5.10 181/199] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-25 Thread Greg Kroah-Hartman
From: Alban Bedel commit 584b7cfcdc7d6d416a9d6fece9516764bd977d2e upstream. Multicast entries in the MAC table use the high bits of the MAC address to encode the ports that should get the packets. But this port mask does not work for the CPU port, to receive these packets on the CPU port the

[PATCH 5.10 197/199] kernfs: implement ->write_iter

2021-01-25 Thread Greg Kroah-Hartman
From: Christoph Hellwig commit cc099e0b399889c6485c88368b19824b087c9f8c upstream. Switch kernfs to implement the write_iter method instead of plain old write to prepare to supporting splice and sendfile again. Signed-off-by: Christoph Hellwig Link:

[PATCH 5.10 195/199] bpf: Local storage helpers should check nullness of owner ptr passed

2021-01-25 Thread Greg Kroah-Hartman
From: KP Singh commit 1a9c72ad4c26821e215a396167c14959cf24a7f1 upstream. The verifier allows ARG_PTR_TO_BTF_ID helper arguments to be NULL, so helper implementations need to check this before dereferencing them. This was already fixed for the socket storage helpers but not for task and inode.

Re: md_raid: mdX_raid6 looping after sync_action "check" to "idle" transition

2021-01-25 Thread Guoqing Jiang
Hi Donald, On 1/25/21 22:32, Donald Buczek wrote: On 25.01.21 09:54, Donald Buczek wrote: Dear Guoqing, a colleague of mine was able to produce the issue inside a vm and were able to find a procedure to run the vm into the issue within minutes (not unreliably after hours on a physical

[RFC v2 1/5] drm/nouveau/kms/nv40-/backlight: Assign prop type once

2021-01-25 Thread Lyude Paul
Signed-off-by: Lyude Paul Cc: Jani Nikula Cc: Dave Airlie Cc: greg.depo...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c

RE: [PATCH v5 10/16] x86/hyperv: implement and use hv_smp_prepare_cpus

2021-01-25 Thread Michael Kelley
From: Wei Liu Sent: Wednesday, January 20, 2021 4:01 AM > > Microsoft Hypervisor requires the root partition to make a few > hypercalls to setup application processors before they can be used. > > Signed-off-by: Lillian Grassin-Drake > Signed-off-by: Sunil Muthuswamy > Co-Developed-by:

[RFC][PATCH 03/13] mm/vmscan: replace implicit RECLAIM_ZONE checks with explicit checks

2021-01-25 Thread Dave Hansen
From: Dave Hansen RECLAIM_ZONE was assumed to be unused because it was never explicitly used in the kernel. However, there were a number of places where it was checked implicitly by checking 'node_reclaim_mode' for a zero value. These zero checks are not great because it is not obvious what

[RFC][PATCH 06/13] mm/migrate: update migration order during on hotplug events

2021-01-25 Thread Dave Hansen
From: Dave Hansen Reclaim-based migration is attempting to optimize data placement in memory based on the system topology. If the system changes, so must the migration ordering. The implementation here is pretty simple and entirely unoptimized. On any memory or CPU hotplug events, assume

[RFC][PATCH 07/13] mm/migrate: make migrate_pages() return nr_succeeded

2021-01-25 Thread Dave Hansen
From: Yang Shi The migrate_pages() returns the number of pages that were not migrated, or an error code. When returning an error code, there is no way to know how many pages were migrated or not migrated. In the following patch, migrate_pages() is used to demote pages to PMEM node, we need

[PATCH v11 0/4] drm/panfrost: Add support for mt8183 GPU

2021-01-25 Thread Nicolas Boichat
Hi! Follow-up on the v5 [1], things have gotten significantly better in the last 9 months, thanks to the efforts on Bifrost support by the Collabora team (and probably others I'm not aware of). I've been testing this series on a MT8183/kukui device, with a chromeos-5.10 kernel [2], and got basic

Re: [PATCH v2] KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged

2021-01-25 Thread Wanpeng Li
ping, On Mon, 18 Jan 2021 at 17:08, Wanpeng Li wrote: > > From: Wanpeng Li > > The per-cpu vsyscall pvclock data pointer assigns either an element of the > static array hv_clock_boot (#vCPU <= 64) or dynamically allocated memory > hvclock_mem (vCPU > 64), the dynamically memory will not be

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, January 26, 2021 2:13 PM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Greg Kroah-Hartman > ; Arnd Bergmann ; Zhangfei Gao > ; linux-accelerat...@lists.ozlabs.org; >

[RFC][PATCH 05/13] mm/numa: automatically generate node migration order

2021-01-25 Thread Dave Hansen
From: Dave Hansen When memory fills up on a node, memory contents can be automatically migrated to another node. The biggest problems are knowing when to migrate and to where the migration should be targeted. The most straightforward way to generate the "to where" list would be to follow the

RE: [PATCH v5 13/16] asm-generic/hyperv: introduce hv_device_id and auxiliary structures

2021-01-25 Thread Michael Kelley
From: Wei Liu Sent: Wednesday, January 20, 2021 4:01 AM > > We will need to identify the device we want Microsoft Hypervisor to > manipulate. Introduce the data structures for that purpose. > > They will be used in a later patch. > > Signed-off-by: Sunil Muthuswamy > Co-Developed-by: Sunil

Re: [PATCH -next] kernel/sys.c: Remove unused including

2021-01-25 Thread Andrew Morton
On Mon, 25 Jan 2021 20:47:49 +0800 Zou Wei wrote: > Fix the following versioncheck warning: > > kernel/sys.c:42:1: unused including > > ... > > --- a/kernel/sys.c > +++ b/kernel/sys.c > @@ -39,7 +39,6 @@ > #include > #include > #include > -#include > #include > #include > x86

Re: [PATCH 5.10 000/199] 5.10.11-rc1 review

2021-01-25 Thread Daniel Díaz
Hello! On 1/25/21 12:37 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.11 release. There are 199 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. Responses

Re: [PATCH v4 1/4] mm: cma: introduce gfp flag in cma_alloc instead of no_warn

2021-01-25 Thread Minchan Kim
On Mon, Jan 25, 2021 at 02:07:01PM +0100, Michal Hocko wrote: > On Thu 21-01-21 09:54:59, Minchan Kim wrote: > > The upcoming patch will introduce __GFP_NORETRY semantic > > in alloc_contig_range which is a failfast mode of the API. > > Instead of adding a additional parameter for gfp, replace > >

[PATCH v1 10/10] mfd: intel_msic: Remove driver for deprecated platform

2021-01-25 Thread Andy Shevchenko
Intel Moorestown and Medfield are quite old Intel Atom based 32-bit platforms, which were in limited use in some Android phones, tablets and consumer electronics more than eight years ago. There are no bugs or problems ever reported outside from Intel for breaking any of that platforms for years.

[PATCH v1 05/10] x86/platform/intel-mid: Remove unused leftovers (msic_power_btn)

2021-01-25 Thread Andy Shevchenko
There is no driver present, remove the device creation and other leftovers. Note, for Intel Merrifield there is another driver which is instantiated by a certain MFD one and does not need any support from device_libs. Signed-off-by: Andy Shevchenko Acked-by: Linus Walleij ---

[PATCH RESEND] H8/300: flat.h: fix a duplicated word

2021-01-25 Thread Randy Dunlap
Change the phrase "is is" to "it is". Signed-off-by: Randy Dunlap Cc: Yoshinori Sato Cc: uclinux-h8-de...@lists.sourceforge.jp Cc: Andrew Morton --- arch/h8300/include/asm/flat.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH v1 00/10] mfd, x86: remove msic driver and leftovers

2021-01-25 Thread Andy Shevchenko
This is a second part of the Intel MID outdated platforms removal. First part is available as immutable branch [1]. The series has functional and build dependencies, so the mentioned branch should be used as a base for these changes. Note, that some of the drivers, that arch/x86 covers, seems

[PATCH v1 08/10] x86/platform/intel-mid: Remove unused leftovers (vRTC)

2021-01-25 Thread Andy Shevchenko
There is no driver present, remove the device creation and other leftovers. Signed-off-by: Andy Shevchenko Acked-by: Linus Walleij --- arch/x86/include/asm/fixmap.h| 3 - arch/x86/include/asm/intel-mid.h | 10 -- arch/x86/include/asm/intel_mid_vrtc.h| 10

[PATCH v1 09/10] x86/apb_timer: Remove driver for deprecated platform

2021-01-25 Thread Andy Shevchenko
Intel Moorestown and Medfield are quite old Intel Atom based 32-bit platforms, which were in limited use in some Android phones, tablets and consumer electronics more than eight years ago. There are no bugs or problems ever reported outside from Intel for breaking any of that platforms for years.

[PATCH v1 03/10] x86/platform/intel-mid: Remove unused leftovers (msic_battery)

2021-01-25 Thread Andy Shevchenko
It seems msic_battery driver was never upstreamed. Why should we have dead code in the kernel? Signed-off-by: Andy Shevchenko Acked-by: Linus Walleij --- .../platform/intel-mid/device_libs/Makefile | 1 - .../device_libs/platform_msic_battery.c | 32 --- 2 files

RE: [Devel] Re: [PATCH] ACPICA: Common: Fix a typo

2021-01-25 Thread Kaneda, Erik
> -Original Message- > From: Rafael J. Wysocki > Sent: Monday, January 25, 2021 8:37 AM > To: Christophe JAILLET > Cc: Kaneda, Erik ; Wysocki, Rafael J > ; ACPI Devel Maling List a...@vger.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE > (ACPICA) ; Linux Kernel Mailing List

Re: [PATCH 23/24] dt-bindings:iio:adc: update adc.yaml reference

2021-01-25 Thread Rob Herring
On Wed, 13 Jan 2021 11:59:24 +0100, Mauro Carvalho Chehab wrote: > Changeset b70d154d6558 ("dt-bindings:iio:adc: convert adc.txt to yaml") > renamed: Documentation/devicetree/bindings/iio/adc/adc.txt > to: Documentation/devicetree/bindings/iio/adc/adc.yaml. > > Update its cross-reference

[PATCH v10 15/18] arm64: kexec: kexec may require EL2 vectors

2021-01-25 Thread Pavel Tatashin
If we have a EL2 mode without VHE, the EL2 vectors are needed in order to switch to EL2 and jump to new world with hypervisor privileges. Signed-off-by: Pavel Tatashin --- arch/arm64/include/asm/kexec.h | 5 + arch/arm64/kernel/asm-offsets.c | 1 +

Re: [PATCH v2 1/3] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property

2021-01-25 Thread Rob Herring
On Tue, 12 Jan 2021 22:05:40 -0600, Samuel Holland wrote: > The LRADC provides an interrupt that can be used to wake the system. > Signify this by accepting a "wakeup-source" property in the binding. > > Signed-off-by: Samuel Holland > --- >

Re: [PATCH v9 15/18] arm64: kexec: kexec EL2 vectors

2021-01-25 Thread Pavel Tatashin
> > +.macro el1_sync_64 > > + br x4 /* Jump to new world from el2 */ > > + .fill 31, 4, 0 /* Set other 31 instr to zeroes */ > > +.endm > > The common idiom to write this is to align the beginning of the > macro, and not to bother about what

[PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller

2021-01-25 Thread Andreas Kemnade
For now, the driver detects an incompatible version, but since that can be handled by auto-detection, add the controller to the devicetree now. Only PWM seems to be available, there is no RTC in that controller. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 7

Re: [PATCH] dt-bindings: irqchip: Add #address-cells to PRUSS INTC

2021-01-25 Thread Rob Herring
On Fri, Jan 15, 2021 at 02:58:19PM -0600, Suman Anna wrote: > The '#address-cells' property looks to be a required property for > interrupt controller nodes as indicated by a warning message seen > when building dtbs with W=2. Adding the property to the PRUSS INTC > dts nodes though fails the

[PATCH v1] scsi: lpfc: Add auto select on IRQ_POLL

2021-01-25 Thread Tong Zhang
lpfc depends on irq_poll library, but it is not selected automatically. When irq_poll is not selected, compiling it can run into following error ERROR: modpost: "irq_poll_init" [drivers/scsi/lpfc/lpfc.ko] undefined! ERROR: modpost: "irq_poll_sched" [drivers/scsi/lpfc/lpfc.ko] undefined! ERROR:

Re: [PATCH net-next 3/4] bridge: mrp: Extend br_mrp_switchdev to detect better the errors

2021-01-25 Thread Willem de Bruijn
On Sat, Jan 23, 2021 at 11:23 AM Horatiu Vultur wrote: > > This patch extends the br_mrp_switchdev functions to be able to have a > better understanding what cause the issue and if the SW needs to be used > as a backup. > > There are the following cases: > - when the code is compiled without

[PATCH] mailmap: remove the "repo-abbrev" comment

2021-01-25 Thread Ævar Arnfjörð Bjarmason
Remove the magical "repo-abbrev" comment added when this file was introduced in e0ab1ec9fcd3 ([PATCH] add .mailmap for proper git-shortlog output, 2007-02-14). It's been an undocumented feature of git-shortlog(1), originally added to git for Linus's use. Since then he's no longer using it[1], and

Re: [RFC 4/5] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-01-25 Thread Lyude Paul
On Fri, 2020-12-11 at 17:01 +0200, Jani Nikula wrote: > On Wed, 09 Dec 2020, Lyude Paul wrote: > > Since we're about to implement eDP backlight support in nouveau using the > > standard protocol from VESA, we might as well just take the code that's > > already written for this and move it into a

Re: [PATCH v2 2/4] arm64: dts: ti: k3: squelch warnings regarding no #address-cells for interrupt-controller

2021-01-25 Thread Rob Herring
On Thu, Nov 19, 2020 at 01:17:36PM +0200, Grygorii Strashko wrote: > > > On 18/11/2020 17:12, Nishanth Menon wrote: > > On 13:38-20201118, Grygorii Strashko wrote: > > > Hi Rob, > > > > > > On 17/11/2020 18:19, Sekhar Nori wrote: > > > > With dtc 1.6.0, building TI device-tree files with W=2

Re: [GIT PULL] Crypto Fixes for 5.11

2021-01-25 Thread pr-tracker-bot
The pull request you sent on Tue, 26 Jan 2021 09:36:19 +1100: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/13391c60da3308ed9980de0168f74cce6c62ac1d Thank you! -- Deet-doot-dot, I am a

Re: [PATCH] arm64: dts: rockchip: fix ranges property format for rk3399 pcie node

2021-01-25 Thread Heiko Stuebner
On Fri, 22 Jan 2021 18:12:43 +0100, Johan Jonker wrote: > A test with the command below gives for example this error: > /arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: pcie@f800: > ranges: 'oneOf' conditional failed, one must be fixed: > > The pcie ranges property is an array. The dt-check

Re: Issue in dmesg time with lockless ring buffer

2021-01-25 Thread J. Avila
Hello, This dmesg uses /dev/kmsg; we've verified that we don't see this long dmesg time when reading from syslog (via dmesg -S). We've also tried testing this with logging daemons disabled as well as within initrd - both result in similar behavior. If it's relevant, this was done on a toybox

Re: [PATCH v2] arm64: dts: rockchip: cleanup cpu_thermal node of rk3399-rock960.dts

2021-01-25 Thread Heiko Stuebner
On Mon, 18 Jan 2021 19:00:54 +0100, Johan Jonker wrote: > The cpu_thermal node in the rk3399-rock960.dts file does not > reference _thermal directly to add the board-specific parts, > but also repeats all the SoC default properties. > Clean the whole thing up and fix alignment. > Place new nodes

Re: (subset) [PATCH 1/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rk322x boards

2021-01-25 Thread Heiko Stuebner
On Mon, 18 Jan 2021 16:52:38 +0100, Johan Jonker wrote: > Recently introduced async probe on mmc devices can shuffle block IDs. > Pin them to fixed values to ease booting in environments where UUIDs are > not practical. Use newly introduced aliases for mmcblk devices from [1]. > The sort order is

Re: [PATCH] arm64: dts: rockchip: rename pinctrl nodename to gmac2io for nanopi-r2s board

2021-01-25 Thread Heiko Stuebner
On Sun, 10 Jan 2021 20:48:51 +0100, Johan Jonker wrote: > A test with the command below gives this error: > /arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dt.yaml: > ethernet-phy: 'reg' is a required property > > The pinctrl nodename "ethernet-phy" conflicts with the rules > in the

Re: (subset) [PATCH v4 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2021-01-25 Thread Heiko Stuebner
On Fri, 22 Jan 2021 00:23:17 +0800, Chen-Yu Tsai wrote: > This is v4 of my Nanopi M4B series. > > Changes since v3 include: > > - Directly return dev_err_probe() instead of having a separate return > statement > > [...] Applied, thanks! [3/4] arm64: dts: rockchip: nanopi4: Move ep-gpios

Re: (subset) [PATCH 00/20] Rid W=1 warnings from Clock

2021-01-25 Thread Heiko Stuebner
On Wed, 20 Jan 2021 09:30:20 +, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > We should have these nailed in ~2 patchsets. > > Lee Jones (20): > clk: rockchip:

[PATCH v10 14/18] arm64: kexec: use ld script for relocation function

2021-01-25 Thread Pavel Tatashin
Currently, relocation code declares start and end variables which are used to compute it size. The better way to do this is to use ld script incited, and put relocation function in its own section. Soon, relocation function will share the same page with EL2 vectors. So, proper marking is needed.

Re: [PATCH 5.4 00/86] 5.4.93-rc1 review

2021-01-25 Thread Daniel Díaz
Hello! On 1/25/21 12:38 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.93 release. There are 86 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. Responses should

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-25 Thread Michael Walle
Am 2021-01-25 19:58, schrieb Saravana Kannan: On Mon, Jan 25, 2021 at 8:50 AM Lorenzo Pieralisi wrote: On Wed, Jan 20, 2021 at 08:28:36PM +0100, Michael Walle wrote: > [RESEND, fat-fingered the buttons of my mail client and converted > all CCs to BCCs :(] > > Am 2021-01-20 20:02, schrieb

Re: [PATCH] arm64: dts: rockchip: add device_type property to rk3399 pcie node

2021-01-25 Thread Heiko Stuebner
Am Freitag, 22. Januar 2021, 19:05:59 CET schrieb Johan Jonker: > A test with the command below gives for example this error: > /arch/arm64/boot/dts/rockchip/rk3399-rock960.dt.yaml: > pcie@f800: 'device_type' is a required property > > Fix this by adding a device_type property to the rk3399

Re: Thoughts on sharing KVM tracepoints [was:Re: [PATCH 2/2] KVM: nVMX: trace nested vm entry]

2021-01-25 Thread Sean Christopherson
On Mon, Jan 25, 2021, Maxim Levitsky wrote: > On Thu, 2021-01-21 at 14:27 -0800, Sean Christopherson wrote: > > I still don't see why VMX can't share this with SVM. "npt' can easily be > > "tdp", > > differentiating between VMCB and VMCS can be down with ISA, and VMX can > > give 0 > > for

Re: [PATCH 06/24] kvm: x86/mmu: Skip no-op changes in TDP MMU functions

2021-01-25 Thread Ben Gardon
On Wed, Jan 20, 2021 at 11:51 AM Sean Christopherson wrote: > > On Tue, Jan 12, 2021, Ben Gardon wrote: > > Skip setting SPTEs if no change is expected. > > > > Reviewed-by: Peter Feiner > > > Nit on all of these, can you remove the extra newline between the Reviewed-by > and SOB? Yeah, that

Re: [PATCH 1/2] arm64: boot: dts: add new dts for hellcat & petra

2021-01-25 Thread Daniel Walker (danielwa)
On Mon, Jan 25, 2021 at 08:52:01AM +0100, Michal Simek wrote: > > > >> > >> Long time ago we said that we are not going to push any PL related > >> configurations. It means all below can't be merged. > >> And there are also coding style issues. > > > > You'll need to explain this more. It's

Re: [PATCH v4 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-25 Thread Rob Herring
On Wed, 13 Jan 2021 19:40:30 +0100, AngeloGioacchino Del Regno wrote: > Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../pinctrl/awinic,aw9523-pinctrl.yaml| 139 ++ > 1 file changed, 139

[PATCH] drm/msm/kms: Make a lock_class_key for each crtc mutex

2021-01-25 Thread Stephen Boyd
Lockdep complains about an AA deadlock when rebooting the device. WARNING: possible recursive locking detected 5.4.91 #1 Not tainted reboot/5213 is trying to acquire lock: ff80d13391b0

Re: WARNING in pskb_expand_head

2021-01-25 Thread Jakub Kicinski
CC Willem just in case On Sun, 24 Jan 2021 12:51:20 -0800 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:7d68e382 bpf: Permit size-0 datasec > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=132567e750 > kernel

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 10:08 PM, John David Anglin wrote: > I would suggest the following for this hunk: > > +    ldil    L%intr_restore, %r2 > +    BL    preempt_schedule_irq > +    ldo R%intr_restore(%r2), %r2 > >     ldil    L%intr_restore, %r1 >     b,l    preempt_schedule_irq,%r2 >     ldo

Re: [PATCH] usb: host: ehci-tegra: fix Kconfig depencies

2021-01-25 Thread Arnd Bergmann
On Mon, Jan 25, 2021 at 5:22 PM Alan Stern wrote: > > On Mon, Jan 25, 2021 at 12:32:30PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Selecting the chipidea driver from the old Kconfig symbol > > can lead to a missing dependency: > > Arnd: > > I found this whole patch a little

Re: [PATCH v2 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 17:22:02 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp pixel combiner. > > Signed-off-by: Liu Ying > --- > v1->v2: > * Use graph schema. (Laurent) > * Use enum instead of oneOf + const for the reg property of pixel combiner > channels. (Rob) > >

Re: [PATCH 1/4] cxgb4: remove redundant NULL check

2021-01-25 Thread Jakub Kicinski
On Mon, 25 Jan 2021 17:47:22 +0800 Yang Li wrote: > Fix below warnings reported by coccicheck: > ./drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c:327:3-9: WARNING: NULL > check before some freeing functions is not needed. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li These 4 patches

Re: [v4 PATCH 07/11] mm: vmscan: add per memcg shrinker nr_deferred

2021-01-25 Thread Yang Shi
On Mon, Jan 25, 2021 at 1:31 AM Kirill Tkhai wrote: > > On 22.01.2021 02:06, Yang Shi wrote: > > Currently the number of deferred objects are per shrinker, but some slabs, > > for example, > > vfs inode/dentry cache are per memcg, this would result in poor isolation > > among memcgs. > > > >

Re: [PATCH v2 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-01-25 Thread Rob Herring
On Thu, Jan 14, 2021 at 05:22:06PM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). > > Signed-off-by: Liu Ying > --- > v1->v2: > * Use graph schema. (Laurent) > > .../display/bridge/fsl,imx8qxp-pxl2dpi.yaml| 105 > + > 1

Re: [PATCH 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver

2021-01-25 Thread Stephen Boyd
Quoting Gwendal Grignou (2021-01-25 14:28:46) > On Mon, Jan 25, 2021 at 10:52 AM Stephen Boyd wrote: > > > > Quoting Gwendal Grignou (2021-01-24 13:41:44) > > > On Sun, Jan 24, 2021 at 9:38 AM Jonathan Cameron wrote: > > > > > > > > On Fri, 22 Jan 2021 14:54:43 -0800 > > > > Stephen Boyd wrote:

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-25 Thread Oliver Graute
On 16/01/21, Fabio Estevam wrote: > On Sat, Jan 16, 2021 at 9:49 AM Oliver Graute wrote: > > > > power-supply = <_touch_3v3> is not correct, as the reg_touch_3v3 > > > does not power the LCD. > > > > yes, but how is the LCD correctly powered then? > > J4 is powered by VCC_5V and VCC_3V#. > > >

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Josh Poimboeuf
On Tue, Jan 26, 2021 at 06:16:01AM +0900, Masahiro Yamada wrote: > On Tue, Jan 26, 2021 at 5:42 AM Josh Poimboeuf wrote: > > > > When building out-of-tree kernel modules, the build system doesn't > > require the GCC version to match the version used to build the original > > kernel. That's

Re: [PATCH BUGFIX/IMPROVEMENT 0/6] block, bfq: second batch of fixes and improvements

2021-01-25 Thread Jens Axboe
On 1/25/21 12:02 PM, Paolo Valente wrote: > Hi, > here's batch 2/3. > > Thanks, > Paolo > > Paolo Valente (6): > block, bfq: replace mechanism for evaluating I/O intensity > block, bfq: re-evaluate convenience of I/O plugging on rq arrivals > block, bfq: fix switch back from soft-rt

Re: [RFC PATCH 6/8] preempt/dynamic: Provide preempt_schedule[_notrace]() static calls

2021-01-25 Thread Josh Poimboeuf
On Fri, Jan 22, 2021 at 05:52:26PM +0100, Peter Zijlstra wrote: > On Mon, Jan 18, 2021 at 03:12:21PM +0100, Frederic Weisbecker wrote: > > +#ifdef CONFIG_PREEMPT_DYNAMIC > > +DEFINE_STATIC_CALL(preempt_schedule, __preempt_schedule_func()); > > +EXPORT_STATIC_CALL(preempt_schedule); > > +#endif >

Re: [PATCH v2 29/34] Intel tsens i2c slave driver.

2021-01-25 Thread mark gross
On Mon, Jan 11, 2021 at 11:15:06PM -0800, Randy Dunlap wrote: > On 1/8/21 1:25 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/intel_tsens/Kconfig > > b/drivers/misc/intel_tsens/Kconfig > > index 8b263fdd80c3..c2138339bd89 100644 > > --- a/drivers/misc/intel_tsens/Kconfig > > +++

Re: [PATCH 1/8] dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml

2021-01-25 Thread Heiko Stuebner
Hi Guenter, Am Samstag, 23. Januar 2021, 18:34:01 CET schrieb Guenter Roeck: > On Fri, Dec 18, 2020 at 01:05:27PM +0100, Johan Jonker wrote: > > The watchdog compatible strings are suppose to be SoC orientated. > > In the more recently added Rockchip SoC dtsi files only > > the fallback string

Re: [PATCH] af_unix: Allow Unix sockets to raise SIGURG

2021-01-25 Thread Jakub Kicinski
On Fri, 22 Jan 2021 15:06:37 + Matthew Wilcox (Oracle) wrote: > From: Rao Shoaib > > TCP sockets allow SIGURG to be sent to the process holding the other > end of the socket. Extend Unix sockets to have the same ability. > > The API is the same in that the sender uses sendmsg() with

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > Jason Gunthorpe > Sent: Tuesday, January 26, 2021 12:16 PM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Greg Kroah-Hartman > ; Arnd Bergmann ; Zhangfei Gao > ;

Re: [PATCH RFC v1 0/3] Introduce vfio-pci-core subsystem

2021-01-25 Thread Alex Williamson
On Mon, 25 Jan 2021 14:04:40 -0400 Jason Gunthorpe wrote: > On Mon, Jan 25, 2021 at 05:20:35PM +0100, Cornelia Huck wrote: > > > I think you cut out an important part of Alex' comment, so let me > > repost it here: > > Yes, I've already respnded to this. Not really. For example, how can

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-25 Thread Saravana Kannan
On Thu, Jan 21, 2021 at 8:04 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Wed, Jan 20, 2021 at 6:23 PM Saravana Kannan wrote: > > On Wed, Jan 20, 2021 at 6:27 AM Geert Uytterhoeven > > wrote: > > > On Wed, Jan 20, 2021 at 10:40 AM Geert Uytterhoeven > > > wrote: > > > > On Tue, Jan

Re: [PATCH bpf-next v2] samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build warnings

2021-01-25 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 25 Jan 2021 13:05:46 +0800 you wrote: > There exists many build warnings when make M=samples/bpf on the Loongson > platform, this issue is MIPS related, x86 compiles just fine. > > Here are some warnings: > > CC

Re: [PATCH v3 0/2] rtc: pcf2127: proper initialization after power loss

2021-01-25 Thread Alexandre Belloni
On Mon, 18 Jan 2021 09:57:50 +0100, Philipp Rosenberger wrote: > If the PCF2127/2129 loses power it needs some initialization to work > correctly. A bootloader/firmware might do this. If not we should do this > in the driver. > > Changes for v3: > - drop the test if clearing PORO was successful >

Re: [PATCH V2 06/11] dts: bindings: Document device tree bindings for ETE

2021-01-25 Thread Suzuki K Poulose
On 1/25/21 10:20 PM, Suzuki K Poulose wrote: Hi Rob On 1/25/21 7:22 PM, Rob Herring wrote: On Wed, Jan 13, 2021 at 09:48:13AM +0530, Anshuman Khandual wrote: From: Suzuki K Poulose Document the device tree bindings for Embedded Trace Extensions. ETE can be connected to legacy coresight

[PATCH net-next 2/6] net: ipa: minor update to handling of packet with status

2021-01-25 Thread Alex Elder
Rearrange some comments and assignments made when handling a packet that is received with status, aiming to improve understandability. Use DIV_ROUND_CLOSEST() to get a better per-packet true size estimate. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_endpoint.c | 30

Re: [External] Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-25 Thread Mike Kravetz
On 1/25/21 1:34 AM, Muchun Song wrote: > On Mon, Jan 25, 2021 at 5:15 PM David Hildenbrand wrote: >> >> On 25.01.21 08:41, Muchun Song wrote: >>> On Mon, Jan 25, 2021 at 2:40 PM Muchun Song >>> wrote: On Mon, Jan 25, 2021 at 8:05 AM David Rientjes wrote: > > > On Sun, 17

[PATCH net-next 3/6] net: ipa: drop packet if status has valid tag

2021-01-25 Thread Alex Elder
Introduce ipa_endpoint_status_tag(), which returns true if received status indicates its tag field is valid. The endpoint parameter is not yet used. Call this from ipa_status_drop_packet(), and drop the packet if the status indicates the tag was valid. Pass the endpoint pointer to

[PATCH net-next 4/6] net: ipa: signal when tag transfer completes

2021-01-25 Thread Alex Elder
There are times, such as when the modem crashes, when we issue commands to clear the IPA hardware pipeline. These commands include a data transfer command that delivers a small packet directly to the default (AP<-LAN RX) endpoint. The places that do this wait for the transactions that contain

[PATCH net-next 5/6] net: ipa: don't pass tag value to ipa_cmd_ip_tag_status_add()

2021-01-25 Thread Alex Elder
We only send a tagged packet from the AP->command TX endpoint when we're clearing the hardware pipeline. And when we receive the tagged packet we don't care what the actual tag value is. Stop passing a tag value to ipa_cmd_ip_tag_status_add(), and just encode 0 as the tag sent. Fix the function

[PATCH net-next 6/6] net: ipa: don't pass size to ipa_cmd_transfer_add()

2021-01-25 Thread Alex Elder
The only time we transfer data (rather than issuing a command) out of the AP->command TX endpoint is when we're clearing the hardware pipeline. All that's needed is a "small" data buffer, and its contents aren't even important. For convenience, we just transfer a command structure in this case

Re: [PATCH] mm/filemap: Remove redundant variable's assignment

2021-01-25 Thread Andrew Morton
On Mon, 25 Jan 2021 11:20:02 +0800 Baolin Wang wrote: > We've already set the variable 'i' 's initial value before using it, > thus remove redundant previous assignment of variable 'i'. > > ... > > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -2472,7 +2472,6 @@ ssize_t

Re: (subset) [PATCH v2 1/2] rtc: tps65910: Support wakeup-source property

2021-01-25 Thread Alexandre Belloni
On Thu, 21 Jan 2021 00:16:02 +0300, Dmitry Osipenko wrote: > TPS65910 is a PMIC MFD device and RTC is one of its functions. The > wakeup-source DT property is specified for the parent MFD device and we > need to use this property for the RTC in order to allow to use RTC alarm > for waking up

[PATCH 3/4] net: switchdev: use obj-$(CONFIG_NET_SWITCHDEV) form in net/Makefile

2021-01-25 Thread Masahiro Yamada
CONFIG_NET_SWITCHDEV is a bool option. Change the ifeq conditional to the standard obj-$(CONFIG_NET_SWITCHDEV) form. Use obj-y in net/switchdev/Makefile because Kbuild visits this Makefile only when CONFIG_NET_SWITCHDEV=y. Signed-off-by: Masahiro Yamada --- net/Makefile | 4 +---

[PATCH 1/4] net: move CONFIG_NET guard to top Makefile

2021-01-25 Thread Masahiro Yamada
When CONFIG_NET is disabled, nothing under the net/ directory is compiled. Move the CONFIG_NET guard to the top Makefile so the net/ directory is entirely skipped. When Kbuild visits net/Makefile, CONFIG_NET is obvioulsy 'y' because CONFIG_NET is a bool option. Clean up net/Makefile.

[PATCH 2/4] net: dcb: use obj-$(CONFIG_DCB) form in net/Makefile

2021-01-25 Thread Masahiro Yamada
CONFIG_DCB is a bool option. Change the ifeq conditional to the standard obj-$(CONFIG_DCB) form. Use obj-y in net/dcb/Makefile because Kbuild visits this Makefile only when CONFIG_DCB=y. Signed-off-by: Masahiro Yamada --- net/Makefile | 4 +--- net/dcb/Makefile | 2 +- 2 files changed, 2

[PATCH 4/4] net: l3mdev: use obj-$(CONFIG_NET_L3_MASTER_DEV) form in net/Makefile

2021-01-25 Thread Masahiro Yamada
CONFIG_NET_L3_MASTER_DEV is a bool option. Change the ifeq conditional to the standard obj-$(CONFIG_NET_L3_MASTER_DEV) form. Use obj-y in net/l3mdev/Makefile because Kbuild visits this Makefile only when CONFIG_NET_L3_MASTER_DEV=y. Signed-off-by: Masahiro Yamada --- net/Makefile| 4

Re: [PATCH v7 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-25 Thread Rob Herring
On Fri, 15 Jan 2021 12:24:29 -0800, Philip Chen wrote: > Add a new property `function-row-physmap` to the > device tree for the custom keyboard top row design. > > The property describes the rows/columns of the top row keys > from left to right. > > Signed-off-by: Philip Chen > --- > > Changes

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