Re: [PATCH v4 12/14] arm64: Prevent offlining first CPU with 32-bit EL0 on mismatched system

2020-11-27 Thread Qais Yousef
On 11/24/20 15:50, Will Deacon wrote: > If we want to support 32-bit applications, then when we identify a CPU > with mismatched 32-bit EL0 support we must ensure that we will always > have an active 32-bit CPU available to us from then on. This is important > for the scheduler, because

Re: [PATCH V10 2/5] fuse: Passthrough initialization and release

2020-11-27 Thread Alessio Balsini
Hi Peng, Thanks for the heads up! On Thu, Nov 26, 2020 at 09:33:34PM +0800, Peng Tao wrote: > On Tue, Oct 27, 2020 at 12:19 AM Alessio Balsini wrote: > > [...] > > int fuse_passthrough_setup(struct fuse_conn *fc, struct fuse_file *ff, > >struct fuse_open_out

Re: [PATCH v4 13/14] arm64: Implement arch_task_cpu_possible_mask()

2020-11-27 Thread Qais Yousef
On 11/24/20 15:50, Will Deacon wrote: > Provide an implementation of arch_task_cpu_possible_mask() so that we > can prevent 64-bit-only cores being added to the 'cpus_mask' for compat > tasks on systems with mismatched 32-bit support at EL0, > > Signed-off-by: Will Deacon > --- >

Re: [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode

2020-11-27 Thread Greg Kroah-Hartman
On Fri, Nov 27, 2020 at 02:17:35PM +0100, Amelie Delaunay wrote: > Device tree property is named typec-power-opmode, not power-opmode. > > Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller > family") > Signed-off-by: Amelie Delaunay > Reviewed-by: Heikki Krogerus >

[GIT PULL] printk for 5.10 (includes lockless ringbuffer)

2020-11-27 Thread Petr Mladek
Linus, please pull a printk hotfix from git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.10-rc6-fixup = - Do not lose trailing newline in pr_cont() calls. - Two trivial fixes: dead-store and a config description.

Re: [Linux-stm32] [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode

2020-11-27 Thread Amelie DELAUNAY
On 11/27/20 2:45 PM, Greg Kroah-Hartman wrote: On Fri, Nov 27, 2020 at 02:17:35PM +0100, Amelie Delaunay wrote: Device tree property is named typec-power-opmode, not power-opmode. Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family") Signed-off-by: Amelie

Re: [PATCH 4/4] USB: gadget: f_midi: setup SuperSpeed Plus descriptors

2020-11-27 Thread Greg Kroah-Hartman
On Fri, Nov 27, 2020 at 12:06:50PM +, Peter Chen wrote: > On 20-11-26 19:09:37, Greg Kroah-Hartman wrote: > > From: Will McVicker > > > > Needed for SuperSpeed Plus support for f_midi. This allows the > > gadget to work properly without crashing at SuperSpeed rates. > > > > Cc: Felipe

[GIT PULL] SPI fixes for v5.10-rc5

2020-11-27 Thread Mark Brown
The following changes since commit 04a9cd51d3f3308a98cbc6adc07acb12fbade011: spi: npcm-fiu: Don't leak SPI master in probe error path (2020-11-17 17:08:39 +) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.10-rc5

Re: [PATCH v2 1/3] Documentation: mcp16502-regulator: fix spelling mistake

2020-11-27 Thread Mark Brown
On Fri, Nov 27, 2020 at 01:52:00PM +0100, Michael Klein wrote: > Signed-off-by: Michael Klein > --- > No changes in v2 Please do not submit new versions of already applied patches, please submit incremental updates to the existing code. Modifying existing commits creates problems for other

Re: [PATCH 3/4] USB: gadget: f_fs: add SuperSpeed Plus support

2020-11-27 Thread Greg Kroah-Hartman
On Fri, Nov 27, 2020 at 02:55:47AM +, Peter Chen wrote: > On 20-11-26 19:09:36, Greg Kroah-Hartman wrote: > > From: "taehyun.cho" > > > > Setup the descriptors for SuperSpeed Plus for f_fs. This allows the > > gadget to work properly without crashing at SuperSpeed rates. > > > > Cc: Felipe

Re: [PATCH] mm: Don't fault around userfaultfd-registered regions on reads

2020-11-27 Thread Peter Xu
Matthew, Thanks for the review comments. On Fri, Nov 27, 2020 at 12:22:24PM +, Matthew Wilcox wrote: > On Thu, Nov 26, 2020 at 05:23:59PM -0500, Peter Xu wrote: > > For missing mode uffds, fault around does not help because if the page cache > > existed, then the page should be there

Re: [PATCH v2 1/3] dt-bindings: media: i2c: Add OV8865 bindings documentation

2020-11-27 Thread Sakari Ailus
Hi Paul, On Fri, Nov 13, 2020 at 06:03:42PM +0100, Paul Kocialkowski wrote: > This introduces YAML bindings documentation for the OV8865 > image sensor. > > Co-developed-by: Kévin L'hôpital > Signed-off-by: Kévin L'hôpital > Signed-off-by: Paul Kocialkowski > --- >

Re: [RFC 1/2] dt-bindings: thermal: sprd: Add virtual thermal documentation

2020-11-27 Thread Lukasz Luba
On 11/27/20 1:26 PM, Daniel Lezcano wrote: Hi Lukasz, On 27/11/2020 10:27, Lukasz Luba wrote: On 11/27/20 8:35 AM, gao.yunxi...@gmail.com wrote: From: "jeson.gao" virtual thermal node definition description in dts file Signed-off-by: jeson.gao --- [ ... ] It's coming back. There

v4l2-compliance: v4l2-test-formats.cpp(265): unknown flag 000001e0 returned

2020-11-27 Thread Naresh Kamboju
FYI, you might have seen this problem, but for the record I am reporting here, Following test cases have been failing for a while on the mainline kernel. Please find crash log and git short between bad and good commit. List of failed test cases: v4l2-compliance *

Re: [PATCH v4 00/14] An alternative series for asymmetric AArch32 systems

2020-11-27 Thread Qais Yousef
Hi Will On 11/24/20 15:50, Will Deacon wrote: > Hello folks, > > Here's version four of the wonderful patches I previously posted here: > > v1: https://lore.kernel.org/r/20201027215118.27003-1-w...@kernel.org > v2: https://lore.kernel.org/r/20201109213023.15092-1-w...@kernel.org > v3:

[GIT PULL] Please pull RDMA subsystem changes

2020-11-27 Thread Jason Gunthorpe
Hi Linus, Two security issues and several small bug fixes. Things seem to have stabilized for this release here. The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: Linux 5.10-rc5 (2020-11-22 15:36:08 -0800) are available in the Git repository at:

Re: v4l2-compliance: v4l2-test-formats.cpp(265): unknown flag 000001e0 returned

2020-11-27 Thread Hans Verkuil
On 27/11/2020 15:00, Naresh Kamboju wrote: > FYI, > you might have seen this problem, but for the record I am reporting here, > Following test cases have been failing for a while on the mainline kernel. > Please find crash log and git short between bad and good commit. > > List of failed test

[PATCH v2 1/5] USB: gadget: f_rndis: fix bitrate for SuperSpeed and above

2020-11-27 Thread Greg Kroah-Hartman
From: Will McVicker Align the SuperSpeed Plus bitrate for f_rndis to match f_ncm's ncm_bitrate defined by commit 1650113888fe ("usb: gadget: f_ncm: add SuperSpeed descriptors for CDC NCM"). Cc: Felipe Balbi Cc: EJ Hsu Cc: Peter Chen Cc: stable Signed-off-by: Will McVicker Signed-off-by:

[PATCH v2 0/5] USB: Gadget SuperSpeed fixes and a cleanup

2020-11-27 Thread Greg Kroah-Hartman
Some small USB gadget fixes, and one cleanup patch at the end. The first 4 of these come from the Android kernel tree, where they fix the gadget drivers to work properly as a SuperSpeed device, odd that no one else has hit this before. The last one is a cleanup patch removing the abuse of

[PATCH v2 2/5] USB: gadget: f_acm: add support for SuperSpeed Plus

2020-11-27 Thread Greg Kroah-Hartman
From: "taehyun.cho" Setup the SuperSpeed Plus descriptors for f_acm. This allows the gadget to work properly without crashing at SuperSpeed rates. Cc: Felipe Balbi Cc: stable Signed-off-by: taehyun.cho Signed-off-by: Will McVicker Reviewed-by: Peter Chen Signed-off-by: Greg Kroah-Hartman

[PATCH v2 5/5] USB: gadget: f_fs: remove likely/unlikely

2020-11-27 Thread Greg Kroah-Hartman
They are used way too often in this file, in some ways that are actually wrong. Almost all of these are already known by the compiler and CPU so just remove them all as none of these should be on any "hot paths" where it actually matters. Cc: Felipe Balbi Reported-by: Peter Chen Signed-off-by:

[PATCH v2 3/5] USB: gadget: f_midi: setup SuperSpeed Plus descriptors

2020-11-27 Thread Greg Kroah-Hartman
From: Will McVicker Needed for SuperSpeed Plus support for f_midi. This allows the gadget to work properly without crashing at SuperSpeed rates. Cc: Felipe Balbi Cc: stable Signed-off-by: Will McVicker Reviewed-by: Peter Chen Signed-off-by: Greg Kroah-Hartman ---

[PATCH v2 4/5] USB: gadget: f_fs: add SuperSpeed Plus support

2020-11-27 Thread Greg Kroah-Hartman
From: "taehyun.cho" Setup the descriptors for SuperSpeed Plus for f_fs. This allows the gadget to work properly without crashing at SuperSpeed rates. Cc: Felipe Balbi Cc: stable Signed-off-by: taehyun.cho Signed-off-by: Will McVicker Reviewed-by: Peter Chen Signed-off-by: Greg

Re: [PATCH v3 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-11-27 Thread Andy Shevchenko
On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean wrote: > > This change moves all the SPI mode bits into a separate 'spi.h' header in > uapi. This is meant to re-use these definitions inside the kernel as well > as export them to userspace (via uapi). uapi -> UAPI (or uAPI) here and everywhere

[PATCH v1 2/3] arm: disable irq on cpu shutdown flow

2020-11-27 Thread Hanks Chen
Disable irq on cpu shutdown flow to ensure interrupts did not bother this cpu after status as offline. To avoid suspicious RCU usage [0:swapper/0]RCU used illegally from offline CPU! ... [0:swapper/0]lockdep: [name:lockdep&]cpu_id = 0, cpu_is_offline = 1 Signed-off-by: Hanks Chen ---

Support 1 of N SPI interrupt for interrupt distribution

2020-11-27 Thread Hanks Chen
*** BLURB HERE *** The GICv3 supports 1 of N selection of SPI interrupts. When the GICD_IROUTERn.Interrupt_Routing_Mode == 1, the GIC selects the appropriate core for a SPI. Actually, dispatch the interrupt by hardware Interrupt Control Unit is more efficient than irqbalance of software logic and

[PATCH v1 3/3] arm64: disable irq on cpu shutdown flow

2020-11-27 Thread Hanks Chen
Disable irq on cpu shutdown flow to ensure interrupts did not bother this cpu after status as offline. To avoid suspicious RCU usage (0)[0:swapper/0]RCU used illegally from offline CPU! ... (0)[0:swapper/0]lockdep: [name:lockdep&]cpu_id = 0, cpu_is_offline = 1 Signed-off-by: Hanks Chen ---

[PATCH v1 1/3] irqchip/gic: enable irq target all

2020-11-27 Thread Hanks Chen
Support for interrupt distribution design for SMP system solutions. With this feature enabled ,the SPI interrupts would be routed to all the cores rather than boot core to achieve better load balance of interrupt handling. That is, interrupts might be serviced simultaneously on different CPUs.

Re: [PATCH] scsi: zfcp: fix indentation coding style issue

2020-11-27 Thread Steffen Maier
Thanks, will queue it for our next cleanup submission. On 11/27/20 2:06 PM, Yevhen Viktorov wrote: code indent should use tabs where possible Signed-off-by: Yevhen Viktorov --- drivers/s390/scsi/zfcp_def.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] cpuidle: Allow configuration of the polling interval before cpuidle enters a c-state

2020-11-27 Thread Marcelo Tosatti
On Thu, Nov 26, 2020 at 07:24:41PM +0100, Rafael J. Wysocki wrote: > On Thu, Nov 26, 2020 at 6:25 PM Mel Gorman > wrote: > > > > It was noted that a few workloads that idle rapidly regressed when commit > > 36fcb4292473 ("cpuidle: use first valid target residency as poll time") > > was merged.

[PATCH] mm/page_alloc: Do not isolate redundant pageblock

2020-11-27 Thread Muchun Song
Current pageblock isolation logic could isolate each pageblock individually since commit d9dddbf55667 ("mm/page_alloc: prevent merging between isolated and other pageblocks"). So we not need to concern about page allocator merges buddies from different pageblocks and changes MIGRATE_ISOLATE to

Re: [PATCH] media: gp8psk: initialize stats at power control logic

2020-11-27 Thread Willem de Bruijn
On Fri, Nov 27, 2020 at 1:46 AM Mauro Carvalho Chehab wrote: > > As reported on: > > https://lore.kernel.org/linux-media/20190627222020.45909-1-willemdebruijn.ker...@gmail.com/ > > if gp8psk_usb_in_op() returns an error, the status var is not > initialized. Yet, this var is used later

Re: [PATCH v3 2/3] spi: Add SPI_NO_TX/RX support

2020-11-27 Thread Andy Shevchenko
On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean wrote: > Transmit/receive only is a valid SPI mode. For example, the MOSI/TX line > might be missing from an ADC while for a DAC the MISO/RX line may be > optional. This patch adds these two new modes: SPI_NO_TX and > SPI_NO_RX. This way, the

Re: [PATCH v3 2/3] spi: Add SPI_NO_TX/RX support

2020-11-27 Thread Andy Shevchenko
On Fri, Nov 27, 2020 at 4:22 PM Andy Shevchenko wrote: > On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean > wrote: ... > > --- a/include/uapi/linux/spi/spi.h > > +++ b/include/uapi/linux/spi/spi.h > > @@ -43,5 +43,7 @@ > > #defineSPI_TX_OCTAL0x2000 /* transmit

[PATCH v1 2/8] arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5

2020-11-27 Thread Guido Günther
This is the Librem 5's LCD panel. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 22c9e65d1ba5..787806d0091b 100644 --- a/arch/arm64/configs/defconfig +++

[PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware

2020-11-27 Thread Guido Günther
This series enables components found on Purism's Librem 5 that are available in mainline. I've split this up in one setting per commit so in case other defconfig changes conflict the rest remains valid. Happy to squash things if preferred. Patches are on top of Shawn's imx/defconfig Guido

[PATCH v1 5/8] arm64: defconfig: Enable CONFIG_LEDS_LM3692X

2020-11-27 Thread Guido Günther
This is the Librem 5's backlight controller. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d87d47d6125a..f999c4da8a88 100644 --- a/arch/arm64/configs/defconfig

[PATCH v1 4/8] arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X

2020-11-27 Thread Guido Günther
This enables the Librem 5's USB-C PD controller. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b2a2e282f7d3..d87d47d6125a 100644 ---

[PATCH v1 7/8] arm64: defconfig: Enable CONFIG_BATTERY_MAX17042

2020-11-27 Thread Guido Günther
This is the Librem 5's battery chip. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index de3c11300920..0ac1ff5cccd6 100644 --- a/arch/arm64/configs/defconfig +++

[PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132

2020-11-27 Thread Guido Günther
This is used by the Librem 5 to supply power to the panel. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 270d326d5f28..22c9e65d1ba5 100644 ---

[PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000

2020-11-27 Thread Guido Günther
This is the Librem 5's proximity sensor. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f999c4da8a88..de3c11300920 100644 --- a/arch/arm64/configs/defconfig +++

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

2020-11-27 Thread Nishanth Menon
On 09:46-20201124, Sekhar Nori wrote: > On 24/11/20 6:51 AM, Nishanth Menon wrote: > > On 09:45-20201123, Sekhar Nori wrote: > The main reason I commented - is hope to get some clarification from DT > maintainers. > 90% of interrupt-controller nodes do not have #address-cells and I

[PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980

2020-11-27 Thread Guido Günther
This is the Librem 5's charge controller. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0ac1ff5cccd6..5e36344203e0 100644 --- a/arch/arm64/configs/defconfig +++

Re: [PATCH v4 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-11-27 Thread Uwe Kleine-König
On Fri, Nov 27, 2020 at 12:08:51PM +0100, Thierry Reding wrote: > On Fri, Nov 27, 2020 at 08:11:05AM +0100, Uwe Kleine-König wrote: > > Hello Jonathan, > > > > On Fri, Nov 27, 2020 at 12:19:31AM +0100, Jonathan Neuschäfer wrote: > > > On Tue, Nov 24, 2020 at 09:20:19AM +0100, Uwe Kleine-König

[PATCH v1 3/8] arm64: defconfig: Enable CONFIG_IMX_DCSS

2020-11-27 Thread Guido Günther
Enable the 2nd display controller found on the imx8mq. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 787806d0091b..b2a2e282f7d3 100644 ---

Re: [PATCH v3 3/3] spi: dt-bindings: document zero value for spi-{rx,tx}-bus-width properties

2020-11-27 Thread Andy Shevchenko
On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean wrote: > > Following a change to the SPI framework, providing a value of zero for > 'spi-rx-bus-width' and 'spi-tx-bus-width' is now possible and will > essentially mean than no RX or TX is allowed. than -> that I'm wondering if we have a

Re: [PATCH] hwrng: exynos - fix reference leak in exynos_trng_probe

2020-11-27 Thread Lukasz Stelmach
It was <2020-11-27 pią 17:44>, when Qinglang Miao wrote: > pm_runtime_get_sync will increment pm usage counter even it > failed. Forgetting to putting operation will result in a > reference leak here. > > A new function pm_runtime_resume_and_get is introduced in > [0] to keep usage counter

Re: [PATCH v2 1/3] dt-bindings: media: i2c: Add OV8865 bindings documentation

2020-11-27 Thread Paul Kocialkowski
Hi Sakari, On Fri 27 Nov 20, 15:52, Sakari Ailus wrote: > Hi Paul, > > On Fri, Nov 13, 2020 at 06:03:42PM +0100, Paul Kocialkowski wrote: > > This introduces YAML bindings documentation for the OV8865 > > image sensor. > > > > Co-developed-by: Kévin L'hôpital > > Signed-off-by: Kévin L'hôpital

Re: [PATCH] media: vb2: always set buffer cache sync hints

2020-11-27 Thread Sergey Senozhatsky
On (20/11/27 13:59), Hans Verkuil wrote: > > I think this needs a comment, basically explaining what you said in > the commit log. It's not obvious from the code that this is a > workaround. Something like this? --- diff --git a/drivers/media/common/videobuf2/videobuf2-core.c

Re: [PATCH] cpuidle: Allow configuration of the polling interval before cpuidle enters a c-state

2020-11-27 Thread Mel Gorman
On Fri, Nov 27, 2020 at 11:08:11AM -0300, Marcelo Tosatti wrote: > > Well, IMV this is not straightforward at all. > > > > It requires the admin to know how cpuidle works and why this > > particular polling limit is likely to be suitable for the given > > workload. And whether or not the default

Re: [PATCH 0/5] x86/platform/uv: Move UV procfs leaves to sysfs

2020-11-27 Thread Mike Travis
On 11/26/2020 2:44 AM, Hans de Goede wrote: Hi, On 11/25/20 6:29 PM, Mike Travis wrote: Duplicate the current UV procfs leaves to the uv_sysfs driver so they show up under /sys/firmware/sgi_uv. Show a 'deprecated' warning message if any of the old /proc/sgi_uv leaves are used. These

Re: [PATCH v2] soc / drm: mediatek: cmdq: Remove timeout handler in helper function

2020-11-27 Thread Chun-Kuang Hu
Hi, Matthias: Matthias Brugger 於 2020年11月27日 週五 下午8:40寫道: > > Hi Chun-Kuang, > > On 20/11/2020 00:46, Chun-Kuang Hu wrote: > > Hi, Matthias: > > > > I've provided the example for why of this patch. How do you think > > about this patch? > > > > Patch looks good to me. If you want to take it

Re: [PATCH v1] net: phy: micrel: fix interrupt handling

2020-11-27 Thread Andrew Lunn
On Fri, Nov 27, 2020 at 01:36:21PM +0100, Oleksij Rempel wrote: > After migration to the shared interrupt support, the KSZ8031 PHY with > enabled interrupt support was not able to notify about link status > change. > > Fixes: 59ca4e58b917 ("net: phy: micrel: implement generic .handle_interrupt()

Re: [PATCH] cpuidle: Allow configuration of the polling interval before cpuidle enters a c-state

2020-11-27 Thread Mel Gorman
On Fri, Nov 27, 2020 at 11:08:11AM -0300, Marcelo Tosatti wrote: > > It requires the admin to know how cpuidle works and why this > > particular polling limit is likely to be suitable for the given > > workload. And whether or not the default polling limit should be > > changed at all. > > KVM

[PATCH v2] spi: dw-bt1: Fix undefined devm_mux_control_get symbol

2020-11-27 Thread Serge Semin
I mistakenly added the select attributes to the SPI_DW_BT1_DIRMAP config instead of having them defined in SPI_DW_BT1. If the kernel doesn't have the MULTIPLEXER and MUX_MMIO configs manually enabled and the SPI_DW_BT1_DIRMAP config hasn't been selected, Baikal-T1 SPI device will always fail to be

Re: [PATCH 2/5] mtd: rawnand: qcom: Add initial support for qspi nand

2020-11-27 Thread mdalam
On 2020-10-29 14:37, Boris Brezillon wrote: Hello, On Sat, 10 Oct 2020 11:01:39 +0530 Md Sadre Alam wrote: This change will add initial support for qspi (serial nand). QPIC Version v.2.0 onwards supports serial nand as well so this change will initialize all required register to enable qspi

Re: [PATCH v3] HID: sony: support for ghlive ps3/wii u dongles

2020-11-27 Thread Jiri Kosina
On Wed, 25 Nov 2020, Pascal Giard wrote: > This commit adds support for the Guitar Hero Live PS3 and Wii U dongles. Applied, thanks Pascal. -- Jiri Kosina SUSE Labs

Re: [PATCH] drm: imx: Move fbdev setup to before output polling

2020-11-27 Thread Daniel Vetter
On Thu, Nov 26, 2020 at 09:44:02AM +, Jonas Mark (BT-FIR/ENG1-Grb) wrote: > Hi Daniel, > > > > Thank you very much for your feedback. We appreciate it. > > > > > > > >>> diff --git a/drivers/gpu/drm/imx/imx-drm-core.c > > > > >>> b/drivers/gpu/drm/imx/imx-drm-core.c > > > > >>> index

Re: [PATCH] media: vb2: always set buffer cache sync hints

2020-11-27 Thread Hans Verkuil
On 27/11/2020 15:30, Sergey Senozhatsky wrote: > On (20/11/27 13:59), Hans Verkuil wrote: >> >> I think this needs a comment, basically explaining what you said in >> the commit log. It's not obvious from the code that this is a >> workaround. > > Something like this? Yes. BTW, wouldn't it be

Re: [PATCH 4/5] x86/platform/uv: Add deprecated messages to /proc info leaves

2020-11-27 Thread Mike Travis
On 11/26/2020 2:45 AM, Hans de Goede wrote: Hi, On 11/25/20 6:29 PM, Mike Travis wrote: Add "deprecated" message to any access to old /proc/sgi_uv/* leaves. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- arch/x86/kernel/apic/x2apic_uv_x.c | 26 +- 1

Re: [RFC PATCH v2 1/4] mm,memory_hotplug: Introduce MHP_MEMMAP_ON_MEMORY

2020-11-27 Thread Michal Hocko
On Wed 25-11-20 12:20:45, Oscar Salvador wrote: > MHP_MEMMAP_ON_MEMORY tells the system that we want the memmap > pagetables to be built from the hot-added range. > > Signed-off-by: Oscar Salvador This should be folded into the patch which uses the flag. > --- > include/linux/memory_hotplug.h

Re: [PATCH 1/9] regulator: Update DA9121 dt-bindings

2020-11-27 Thread Mark Brown
On Fri, Nov 27, 2020 at 01:01:24PM +, Adam Ward wrote: > This sub-node looks fairly well instituted for devices with multiple > regulators. > There's also the possibility to add GPIO support into another sub-node for > all the variants. > Mark, do you have a preference? Not really, either

Re: [RFC PATCH v2 3/4] mm,memory_hotplug: Add mhp_supports_memmap_on_memory

2020-11-27 Thread Michal Hocko
On Wed 25-11-20 12:20:47, Oscar Salvador wrote: > mhp_supports_memmap_on_memory is meant to be used by the caller prior > to hot-adding memory in order to figure out whether it can enable > MHP_MEMMAP_ON_MEMORY or not. > > Enabling MHP_MEMMAP_ON_MEMORY requires: > > - CONFIG_SPARSEMEM_VMEMMAP >

Re: [PATCH v2 0/2] arm64: dts: ti: k3-j7200-som/cpb: Correct i2c bus representations

2020-11-27 Thread Nishanth Menon
On Fri, 20 Nov 2020 09:35:31 +0200, Peter Ujfalusi wrote: > Changes since v1: > - Added REviewed-by from Vignesh > - Comment block to explain main_i2c1 connection to CPB > > The main_i2c0 missed the ioexpander present on the SOM itself to control muxes > to route signals to CPB connectors. > >

Re: [PATCH v5 0/7] media: v4l2: Add extended fmt and buffer ioctls

2020-11-27 Thread Helen Koike
Hello, On 8/4/20 4:29 PM, Helen Koike wrote: > Hello, > > This is v5 of the Extended API for formats and buffers, which introduces > the following new ioctls: > > int ioctl(int fd, VIDIOC_G_EXT_PIX_FMT, struct v4l2_ext_pix_format *argp) > int ioctl(int fd, VIDIOC_S_EXT_PIX_FMT, struct

Re: [RFC 0/4] net: l2switch: Provide support for L2 switch on i.MX28 SoC

2020-11-27 Thread Andrew Lunn
On Fri, Nov 27, 2020 at 10:25:28AM +0100, Lukasz Majewski wrote: > Hi Andrew, > > > > > I would push back and say that the switch offers bridge > > > > acceleration for the FEC. > > > > > > Am I correct, that the "bridge acceleration" means in-hardware > > > support for L2 packet bridging?

Re: [PATCH v1] net: phy: micrel: fix interrupt handling

2020-11-27 Thread Ioana Ciornei
On Fri, Nov 27, 2020 at 03:45:45PM +0100, Andrew Lunn wrote: > On Fri, Nov 27, 2020 at 01:36:21PM +0100, Oleksij Rempel wrote: > > After migration to the shared interrupt support, the KSZ8031 PHY with > > enabled interrupt support was not able to notify about link status > > change. > > > >

Re: [PATCH] drm/vboxvideo: Used the vram helper

2020-11-27 Thread Daniel Vetter
On Fri, Nov 27, 2020 at 11:14:42AM +0800, Tian Tao wrote: > if the driver uses drmm_vram_helper_init, there is no need to > call drm_vram_helper_release_mm when the drm module get unloaded, > as this will done automagically. > > Signed-off-by: Tian Tao > --- >

Re: [PATCH v2] fbdev: aty: SPARC64 requires FB_ATY_CT

2020-11-27 Thread Daniel Vetter
On Fri, Nov 27, 2020 at 10:15:49AM +0100, Geert Uytterhoeven wrote: > On Fri, Nov 27, 2020 at 4:18 AM Randy Dunlap wrote: > > It looks like SPARC64 requires FB_ATY_CT to build without errors, > > so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled > > instead of using "default y

Re: [RFC PATCH v2 2/4] mm,memory_hotplug: Allocate memmap from the added memory range

2020-11-27 Thread Michal Hocko
On Wed 25-11-20 12:20:46, Oscar Salvador wrote: > Physical memory hotadd has to allocate a memmap (struct page array) for > the newly added memory section. Currently, alloc_pages_node() is used > for those allocations. > > This has some disadvantages: > a) an existing memory is consumed for that

Re: [PATCH] mm/page_alloc: Do not isolate redundant pageblock

2020-11-27 Thread Vlastimil Babka
On 11/27/20 3:19 PM, Muchun Song wrote: Current pageblock isolation logic could isolate each pageblock individually since commit d9dddbf55667 ("mm/page_alloc: prevent merging between isolated and other pageblocks"). So we not need to concern about page allocator merges buddies from different

[PATCH v6 0/2] MTE support for KVM guest

2020-11-27 Thread Steven Price
It's been a week, and I think the comments on v5 made it clear that enforcing PROT_MTE requirements on the VMM was probably the wrong approach. So since I've got swap working correctly without that I thought I'd post a v6 which hopefully addresses all the comments so far. This series adds support

[PATCH v6 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-11-27 Thread Steven Price
Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging for a VM. This exposes the feature to the guest and automatically tags memory pages touched by the VM as PG_mte_tagged (and clears the tags storage) to ensure that the guest cannot see stale tags, and so that the tags are

[PATCH v6 1/2] arm64: kvm: Save/restore MTE registers

2020-11-27 Thread Steven Price
Define the new system registers that MTE introduces and context switch them. The MTE feature is still hidden from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price --- arch/arm64/include/asm/kvm_host.h | 4 arch/arm64/include/asm/sysreg.h|

[PATCH] spi: fsl: fix use of spisel_boot signal on MPC8309

2020-11-27 Thread Rasmus Villemoes
Commit 0f0581b24bd0 ("spi: fsl: Convert to use CS GPIO descriptors") broke the use of the SPISEL_BOOT signal as a chip select on the MPC8309. pdata->max_chipselect, which becomes master->num_chipselect, must be initialized to take into account the possibility that there's one more chip select in

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-11-27 Thread Alex Williamson
On Fri, 27 Nov 2020 11:53:39 +0800 Colin Xu wrote: > On 11/25/20 11:53 PM, Alex Williamson wrote: > > On Wed, 25 Nov 2020 10:18:24 +0800 > > Colin Xu wrote: > > > >> Force specific device listed in params pm_restore_ids to follow > >> device state save/restore as needs_pm_restore. > >> Some

Re: [PATCH v6 00/17] follow_pfn and other iomap races

2020-11-27 Thread Daniel Vetter
On Fri, Nov 27, 2020 at 09:12:25AM -0400, Jason Gunthorpe wrote: > On Thu, Nov 19, 2020 at 03:41:29PM +0100, Daniel Vetter wrote: > > I feel like this is ready for some wider soaking. Since the remaining bits > > are all kinda connnected probably simplest if it all goes through -mm. > > Did you

[GIT PULL] Btrfs fixes for 5.10-rc6

2020-11-27 Thread David Sterba
Hi, a few fixes for various warnings that accumulated over past two weeks. - tree-checker: add missing return values for some errors - lockdep fixes - when reading qgroup config and starting quota rescan - reverse order of quota ioctl lock and VFS freeze lock - avoid accessing potentially

Re: [REGRESSION] omapdrm/N900 display broken

2020-11-27 Thread Ivaylo Dimitrov
Hi, On 27.11.20 г. 15:10 ч., Ivaylo Dimitrov wrote: On 27.11.20 г. 13:45 ч., Tomi Valkeinen wrote: On 27/11/2020 01:17, Ivaylo Dimitrov wrote: Hi Tomi, On 26.11.20 г. 16:11 ч., Tomi Valkeinen wrote: Hi Aaro, Ivaylo, On 24/11/2020 23:03, Ivaylo Dimitrov wrote: Is there any progress on

[PATCH] perf tools: add aarch64 registers to --user-regs

2020-11-27 Thread Alexandre Truong
Previously, this command returns no help message on aarch64: -> ./perf record --user-regs=? available registers: Usage: perf record [] [] or: perf record [] -- [] With this change, the registers are listed. -> ./perf record --user-regs=? available registers: x0 x1 x2 x3 x4 x5

Re: [PATCH] hwmon: corsair-psu: update supported devices

2020-11-27 Thread Guenter Roeck
On Thu, Nov 26, 2020 at 12:40:16PM +0100, Wilken Gottwalt wrote: > Adds support for another Corsair PSUs series: AX760i, AX860i, AX1200i, > AX1500i and AX1600i. The first 3 power supplies are supported through > the Corsair Link USB Dongle which is some kind of USB/Serial/TTL > converter

Re: [PATCH v3] s390/pci: fix CPU address in MSI for directed IRQ

2020-11-27 Thread Halil Pasic
On Fri, 27 Nov 2020 11:08:10 +0100 Niklas Schnelle wrote: > > > On 11/27/20 9:56 AM, Halil Pasic wrote: > > On Thu, 26 Nov 2020 18:00:37 +0100 > > Alexander Gordeev wrote: > > > >> The directed MSIs are delivered to CPUs whose address is > >> written to the MSI message data. The current code

Re: [PATCH] hwmon: (abx500): Switch to using the new API kobj_to_dev()

2020-11-27 Thread Guenter Roeck
On Thu, Nov 26, 2020 at 10:21:20AM +0800, Tian Tao wrote: > fixed the following coccicheck: > drivers/hwmon/abx500.c:266:60-61: WARNING opportunity for kobj_to_dev(). > > Signed-off-by: Tian Tao Applied. Thanks, Guenter > --- > drivers/hwmon/abx500.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH 1/1] perf diff: fix error return value in __cmd_diff()

2020-11-27 Thread Jiri Olsa
On Tue, Nov 24, 2020 at 06:36:52PM +0800, Zhen Lei wrote: > An appropriate return value should be set on the failed path. > > Reported-by: Hulk Robot > Signed-off-by: Zhen Lei Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/builtin-diff.c | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH] perf record: Synthesize cgroup events only if needed

2020-11-27 Thread Jiri Olsa
On Fri, Nov 27, 2020 at 02:43:56PM +0900, Namhyung Kim wrote: > It didn't check the tool->cgroup_events bit which is set when > the --all-cgroups option is given. Without it, samples will not have > cgroup info so no reason to synthesize. > > We can check the PERF_RECORD_CGROUP records after

Re: [External] Re: [PATCH] mm/page_alloc: Do not isolate redundant pageblock

2020-11-27 Thread Muchun Song
On Fri, Nov 27, 2020 at 11:17 PM Vlastimil Babka wrote: > > On 11/27/20 3:19 PM, Muchun Song wrote: > > Current pageblock isolation logic could isolate each pageblock individually > > since commit d9dddbf55667 ("mm/page_alloc: prevent merging between isolated > > and other pageblocks"). So we not

Re: [PATCH memory-model 6/8] tools/memory-model: Add types to litmus tests

2020-11-27 Thread Paul E. McKenney
On Wed, Nov 25, 2020 at 08:34:47PM +0900, Akira Yokosawa wrote: > On Thu, 5 Nov 2020 14:56:05 -0800, Paul E. McKenney wrote: > > On Fri, Nov 06, 2020 at 07:41:48AM +0900, Akira Yokosawa wrote: > >> Hi Paul, > >> > >> On 2020/11/06 7:00, paul...@kernel.org wrote: > >>> From: "Paul E. McKenney" >

Re: [PATCH] USB:ehci:fix an interrupt calltrace error

2020-11-27 Thread Alan Stern
On Fri, Nov 27, 2020 at 10:29:03AM +0800, liulongfang wrote: > On 2020/11/27 0:08, Alan Stern Wrote: > > On Thu, Nov 26, 2020 at 11:34:33AM +0800, Longfang Liu wrote: > >> The system goes to suspend when using USB audio player. This causes > >> the USB device continuous send interrupt signal to

Re: [PATCH] mm: cma: improve pr_debug log in cma_release()

2020-11-27 Thread Vlastimil Babka
On 11/25/20 4:32 PM, Charan Teja Reddy wrote: It is required to print 'count' of pages, along with the pages, passed to cma_release to debug the cases of mismatched count value passed between cma_alloc() and cma_release() from a code path. As an example, consider the below scenario: 1) CMA pool

Re: [PATCH] compiler_attribute: remove CONFIG_ENABLE_MUST_CHECK

2020-11-27 Thread Miguel Ojeda
On Sat, Nov 21, 2020 at 8:44 PM Masahiro Yamada wrote: > > Revert commit cebc04ba9aeb ("add CONFIG_ENABLE_MUST_CHECK"). > > A lot of warn_unused_result warnings existed in 2006, but until now > they have been fixed thanks to people doing allmodconfig tests. > > Our goal is to always enable

Re: linux-next: Tree for Nov 27 (drivers/idle/intel_idle.c)

2020-11-27 Thread Randy Dunlap
On 11/27/20 1:04 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201126: > (This looks strange to me.) on i386 or x86_64: # CONFIG_ACPI is not set ../drivers/idle/intel_idle.c: In function ‘intel_idle_init_cstates_icpu’: ../drivers/idle/intel_idle.c:1510:7: error: implicit

[PATCH] eCryptfs: add a semicolon

2020-11-27 Thread trix
From: Tom Rix Function like macros should have a semicolon. Signed-off-by: Tom Rix --- fs/ecryptfs/keystore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c index f6a17d259db7..2abd219cfeec 100644 ---

Re: [PATCH rdma-next v5 0/3] Track memory allocation with restrack DB help (Part II)

2020-11-27 Thread Jason Gunthorpe
On Tue, Nov 17, 2020 at 09:01:45AM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky > > Changelog: > v5: > * Reorder patches to postpone changes in rdma_restrack_add to be in next > series. > v4: > https://lore.kernel.org/linux-rdma/20201104144008.3808124-1-l...@kernel.org/ > * Rebased

[PATCH] xen: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- arch/x86/include/asm/xen/page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include/asm/xen/page.h index 5941e18edd5a..1a162e559753 100644

Re: [PATCH v2] i2c: qcom: Fix IRQ error misassignement

2020-11-27 Thread Manivannan Sadhasivam
On Fri, Nov 27, 2020 at 02:39:37PM +0100, Robert Foss wrote: > During cci_isr() errors read from register fields belonging to > i2c master1 are currently assigned to the status field belonging to > i2c master0. This patch corrects this error, and always assigns > master1 errors to the status field

Re: [RFC 1/3] dts64: mt7622: enable all pwm for bananapi r64

2020-11-27 Thread Matthias Brugger
On 16/10/2020 22:40, Frank Wunderlich wrote: From: Frank Wunderlich mt7622 only supports 6 pwm-channels so drop pwm7 third pwm (pwm2) is inverted and connected to fan-socket Signed-off-by: Frank Wunderlich Patch 1 and 2 now pushed to v5.10-next/dts64 Thanks! ---

Re: [PATCH 3/3] soc: qcom: llcc-qcom: Add support for SM8250 SoC

2020-11-27 Thread Manivannan Sadhasivam
Hi Sai, On Fri, Nov 27, 2020 at 07:09:09PM +0530, Sai Prakash Ranjan wrote: > Hi Mani, > > On 2020-11-27 17:41, Manivannan Sadhasivam wrote: > > SM8250 SoC uses LLCC IP version 2. In this version, the WRSC_EN register > > needs to be written to enable the Write Sub Cache for each SCID. Hence, >

Re: [PATCH bpf-next 1/2] bpf: Add a bpf_kallsyms_lookup helper

2020-11-27 Thread Yonghong Song
On 11/27/20 3:20 AM, KP Singh wrote: On Fri, Nov 27, 2020 at 8:35 AM Yonghong Song wrote: On 11/26/20 8:57 AM, Florent Revest wrote: This helper exposes the kallsyms_lookup function to eBPF tracing programs. This can be used to retrieve the name of the symbol at an address. For example,

[PATCH] x86/tboot: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- arch/x86/kernel/tboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index 7b1425dc2549..fdbb2f9ac61d 100644 ---

Re: [PATCH v5] hwmon: Add driver for STMicroelectronics PM6764 Voltage Regulator

2020-11-27 Thread Guenter Roeck
On Fri, Nov 27, 2020 at 09:59:01AM +0800, Charles wrote: > Add the pmbus driver for the STMicroelectronics pm6764 voltage regulator. > > the output voltage use the MFR_READ_VOUT 0xD4 > vout value returned is linear11 > > Signed-off-by: Charles Hsu This patch (again) didn't make it to any of

<    1   2   3   4   5   6   7   8   >