[PATCH] Input: add SW_COVER_ATTACHED and SW_EXT_PEN_ATTACHED

2020-10-30 Thread Jungrae Kim
>From 23aed4567e234b7e108c31abadb9f3a3f7d2 Mon Sep 17 00:00:00 2001 From: Jungrae Kim Date: Fri, 30 Oct 2020 21:23:12 +0900 Subject: [PATCH] Input: add SW_COVER_ATTACHED and SW_EXT_PEN_ATTACHED SW_COVER_ATTACHED represents the connected state of a removable cover of a device. Value 0 means

Re: [mm] e6e88712e4: stress-ng.tmpfs.ops_per_sec -69.7% regression

2020-10-30 Thread Matthew Wilcox
On Fri, Oct 30, 2020 at 03:17:15PM +0800, kernel test robot wrote: > Details are as below: > --> > > > To reproduce: > > git clone https://github.com/intel/lkp-tests.git > cd

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-10-30 Thread Vladimir Oltean
On Thu, Oct 29, 2020 at 04:40:35PM +0800, Qiang Zhao wrote: > From: Zhao Qiang > > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a kernel oops: > > [ 64.587431] Unable to handle kernel NULL pointer dereference at > virtual address

Re: [PATCH 6/7] platform/chrome: cros_ec_typec: Parse partner PD ID VDOs

2020-10-30 Thread Heikki Krogerus
On Wed, Oct 28, 2020 at 01:11:35PM -0700, Prashant Malani wrote: > Hi Heikki, > > Thanks a lot for reviewing the patch! > > On Wed, Oct 28, 2020 at 03:16:33PM +0200, Heikki Krogerus wrote: > > > + > > > + /* Copy the remaining identity VDOs till a maximum of 6. */ > > > + for (i = 3; i <

Re: [PATCH v8 -tip 00/26] Core scheduling

2020-10-30 Thread Ning, Hongyu
On 2020/10/20 9:43, Joel Fernandes (Google) wrote: > Eighth iteration of the Core-Scheduling feature. > > Core scheduling is a feature that allows only trusted tasks to run > concurrently on cpus sharing compute resources (eg: hyperthreads on a > core). The goal is to mitigate the core-level

Re: [PATCH 1/1] usb: typec: add missing MODULE_DEVICE_TABLE() to stusb160x

2020-10-30 Thread Heikki Krogerus
On Wed, Oct 28, 2020 at 04:17:03PM +0100, Amelie Delaunay wrote: > When stusb160x driver is built as a module, no modalias information is > available, and it prevents the module to be loaded by udev. > Add MODULE_DEVICE_TABLE() to fix this issue. > > Fixes: da0cb6310094 ("usb: typec: add support

Re: INFO: rcu detected stall in sys_exit_group (6)

2020-10-30 Thread Paul E. McKenney
On Fri, Oct 30, 2020 at 10:57:58AM +0100, Dmitry Vyukov wrote: > On Fri, Sep 25, 2020 at 5:36 AM Paul E. McKenney wrote: > > > > > On Thu, Sep 24, 2020 at 07:07:31PM +0800, Hillf Danton wrote: > > > > > > > > > > > > Thu, 24 Sep 2020 02:26:25 -0700 > > > > > > > syzbot found the following issue

[PATCH] sctp: Fix COMM_LOST/CANT_STR_ASSOC err reporting on big-endian platforms

2020-10-30 Thread Petr Malat
Commit 978aa0474115 ("sctp: fix some type cast warnings introduced since very beginning")' broke err reading from sctp_arg, because it reads the value as 32-bit integer, although the value is stored as 16-bit integer. Later this value is passed to the userspace in 16-bit variable, thus the user

Hi

2020-10-30 Thread Shayma
Hallo Schatz Ich habe einen dringenden Vorschlag für Sie. Schreiben Sie mir für Details zurück Dein, Michelle

Re: [kbuild-all] Re: drivers/video/backlight/ltv350qv.c:192:12: warning: stack frame size of 13472 bytes in function 'ltv350qv_power'

2020-10-30 Thread Chen, Rong A
On 10/29/2020 11:28 PM, Andrey Konovalov wrote: On Sun, Oct 25, 2020 at 8:17 PM Andrew Morton wrote: On Mon, 26 Oct 2020 02:15:37 +0800 kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:

Re: [PATCH v3 01/12] bus: mhi: core: Use appropriate names for firmware load functions

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:46PM -0700, Bhaumik Bhatt wrote: > mhi_fw_load_sbl() function is currently used to transfer SBL or EDL > images over BHI (Boot Host Interface). Same goes with mhi_fw_load_amss() > which uses BHIe. However, the contents of these functions do not > indicate support for

Re: [PATCH v2 6/7] platform/chrome: cros_ec_typec: Parse partner PD ID VDOs

2020-10-30 Thread Heikki Krogerus
On Thu, Oct 29, 2020 at 03:27:40PM -0700, Prashant Malani wrote: > Use EC_CMD_TYPE_DISCOVERY to retrieve and store the discovery data for > the port partner. With that data, update the PD Identity VDO values for > the partner, which were earlier not initialized. > > Cc: Heikki Krogerus >

[PATCH v3 1/3] net: ftgmac100: move phy connect out from ftgmac100_setup_mdio

2020-10-30 Thread Ivan Mikhaylov
Split MDIO registration and PHY connect into ftgmac100_setup_mdio and ftgmac100_mii_probe. Reviewed-by: Andrew Lunn Signed-off-by: Ivan Mikhaylov --- drivers/net/ethernet/faraday/ftgmac100.c | 104 --- 1 file changed, 54 insertions(+), 50 deletions(-) diff --git

[PATCH v3 3/3] dt-bindings: net: ftgmac100: describe phy-handle and MDIO

2020-10-30 Thread Ivan Mikhaylov
Add the phy-handle and MDIO description and add the example with PHY and MDIO nodes. Signed-off-by: Ivan Mikhaylov --- .../devicetree/bindings/net/ftgmac100.txt | 25 +++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ftgmac100.txt

Re: [PATCH v2 7/7] platform/chrome: cros_ec_typec: Register partner altmodes

2020-10-30 Thread Heikki Krogerus
On Thu, Oct 29, 2020 at 03:27:42PM -0700, Prashant Malani wrote: > Use the discovery data from the Chrome EC to register parter altmodes > with the Type C Connector Class framework. Also introduce a node > struct to keep track of the list of registered alt modes. > > Cc: Heikki Krogerus >

[PATCH v3 0/3] add ast2400/2500 phy-handle support

2020-10-30 Thread Ivan Mikhaylov
This patch introduces ast2400/2500 phy-handle support with an embedded MDIO controller. At the current moment it is not possible to set options with this format on ast2400/2500: mac { phy-handle = <>; phy-mode = "rgmii"; mdio { #address-cells = <1>;

[PATCH v3 2/3] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500

2020-10-30 Thread Ivan Mikhaylov
phy-handle can't be handled well for ast2400/2500 which has an embedded MDIO controller. Add ftgmac100_mdio_setup for ast2400/2500 and initialize PHYs from mdio child node with of_mdiobus_register. Signed-off-by: Ivan Mikhaylov --- drivers/net/ethernet/faraday/ftgmac100.c | 20

Re: [PATCH 1/4] erofs: fix setting up pcluster for temporary pages

2020-10-30 Thread Vladimir Zapolskiy
Hi Gao Xiang, On 10/30/20 2:47 PM, Gao Xiang wrote: Hi Vladimir, On Fri, Oct 30, 2020 at 02:20:31PM +0200, Vladimir Zapolskiy wrote: Hello Gao Xiang, On 10/22/20 5:57 PM, Gao Xiang via Linux-erofs wrote: From: Gao Xiang pcluster should be only set up for all managed pages instead of

Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Dafna Hirschfeld
Hi Am 14.10.20 um 01:13 schrieb Nícolas F. R. A. Prado: While Sphinx 2 used a single c:type role for struct, union, enum and typedef, Sphinx 3 uses a specific role for each one. To keep backward compatibility, detect the Sphinx version and use the correct roles for that version. Signed-off-by:

[PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC

2020-10-30 Thread Christophe Kerello
Since commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework user input parsing bits"), ECC are broken in FMC2 driver in case of nand-ecc-step-size and nand-ecc-strength are not set in the device tree. To avoid this issue, the default settings are now set in stm32_fmc2_nfc_attach_chip function.

Re: [PATCH v4 1/3] bindings: pm8941-misc: Convert bindings to YAML

2020-10-30 Thread Rob Herring
On Wed, 28 Oct 2020 00:18:52 -0700, Guru Das Srinagesh wrote: > Convert bindings from txt to YAML. > > Signed-off-by: Guru Das Srinagesh > --- > .../bindings/extcon/qcom,pm8941-misc.txt | 41 --- > .../bindings/extcon/qcom,pm8941-misc.yaml | 59 >

Re: [PATCH v3 02/12] bus: mhi: core: Move to using high priority workqueue

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:47PM -0700, Bhaumik Bhatt wrote: > MHI work is currently scheduled on the global/system workqueue and can > encounter delays on a stressed system. To avoid those unforeseen > delays which can hamper bootup or shutdown times, use a dedicated high > priority workqueue

Re: [PATCH v4 2/3] bindings: pm8941-misc: Add support for VBUS detection

2020-10-30 Thread Rob Herring
On Wed, Oct 28, 2020 at 12:18:53AM -0700, Guru Das Srinagesh wrote: > Add compatible string that adds support for reporting VBUS detection > status that can be detected via a dedicated PMIC pin. > > Signed-off-by: Anirudh Ghayal > Signed-off-by: Guru Das Srinagesh > --- >

Re: [PATCH] mm/compaction: count pages and stop correctly during page isolation.

2020-10-30 Thread Michal Hocko
On Fri 30-10-20 08:20:50, Zi Yan wrote: > On 30 Oct 2020, at 5:43, Michal Hocko wrote: > > > [Cc Vlastimil] > > > > On Thu 29-10-20 16:04:35, Zi Yan wrote: > >> From: Zi Yan > >> > >> In isolate_migratepages_block, when cc->alloc_contig is true, we are > >> able to isolate compound pages,

Re: [PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC

2020-10-30 Thread Miquel Raynal
Hi Christophe, Christophe Kerello wrote on Fri, 30 Oct 2020 14:33:39 +0100: > Since commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework user > input parsing bits"), ECC are broken in FMC2 driver in case of > nand-ecc-step-size and nand-ecc-strength are not set in the device tree. > To

Re: [PATCH v4 3/3] dt-bindings: drm/msm/gpu: Add cooling device support

2020-10-30 Thread Rob Herring
On Thu, 29 Oct 2020 13:37:21 +0530, Akhil P Oommen wrote: > Add cooling device support to gpu. A cooling device is bound to a > thermal zone to allow thermal mitigation. > > Signed-off-by: Akhil P Oommen > --- > Documentation/devicetree/bindings/display/msm/gpu.txt | 7 +++ > 1 file

Re: [PATCH] ARM: dts: at91: add serial MFD sub-node for usart

2020-10-30 Thread Nicolas Ferre
On 30/10/2020 at 12:07, Codrin Ciubotariu wrote: The "atmel,at91sam9260-usart" driver is a MFD driver, so it needs sub-nodes to match the registered platform device. For this reason, we add a serial subnode to all the "atmel,at91sam9260-usart" serial compatible nods. This will also remove the

[PATCH] pwm: lp3943: Dynamically allocate pwm chip base

2020-10-30 Thread Lokesh Vutla
When there are other pwm controllers enabled along with pwm-lp3943, pwm-lp3942 is failing to probe with -EEXIST error. This is because other pwm controller is probed first and assigned pwmchip 0 and pwm-lp3943 is requesting for 0 again. In order to avoid this, assign the chip base with -1, so that

Re: [BUG] Stack overflow when running perf and function tracer

2020-10-30 Thread Thomas Gleixner
On Fri, Oct 30 2020 at 12:36, Thomas Gleixner wrote: > On Fri, Oct 30 2020 at 11:32, Peter Zijlstra wrote: > So the real question is what else is on that stack which blows it up > close to 4k? Btw, it would be massively helpful for this kind of crash > to print the actual stack depth per entry in

Re: [PATCH] spi: sprd: add runtime pm for transfer message

2020-10-30 Thread Mark Brown
On Fri, Oct 30, 2020 at 03:24:44PM +0800, Chunyan Zhang wrote: > From: Bangzheng Liu > > Before transfer one message, spi core would set chipselect, sprd spi > device should be resumed from runtime suspend, otherwise kernel would > crash once access spi registers. The sprd spi device can be

[PATCH] tty: serial: linflexuart: Remove unnecessary '|' operation and add error count

2020-10-30 Thread Liu Xiang
The '|' operation of status in linflex_rxint is unnecessary, so it can be removed. Signed-off-by: Liu Xiang --- drivers/tty/serial/fsl_linflexuart.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/fsl_linflexuart.c

Re: [PATCH v6 6/9] kfence, kasan: make KFENCE compatible with KASAN

2020-10-30 Thread Marco Elver
On Fri, 30 Oct 2020 at 03:50, Jann Horn wrote: > > On Thu, Oct 29, 2020 at 2:17 PM Marco Elver wrote: > > We make KFENCE compatible with KASAN for testing KFENCE itself. In > > particular, KASAN helps to catch any potential corruptions to KFENCE > > state, or other corruptions that may be a

Re: [PATCH 2/2] futex.2: Use appropriate types

2020-10-30 Thread Alejandro Colomar
BTW, apparently the kernel doesn't use 'const' for 'utime' ('timeout' in the manual page), but effectively, it doesn't modify it, AFAICS. Should the kernel use 'const'? Is there a reason for the kernel not using 'const'? Should we do anything about it in the manual page? Thanks, Alex On

Re: [RESEND PATCH v3 1/4] dt-bindings: clock: Add support for LPASS Audio Clock Controller

2020-10-30 Thread Rob Herring
On Mon, Oct 26, 2020 at 12:02:18PM +, Srinivas Kandagatla wrote: > Audio Clock controller is a block inside LPASS which controls > 2 Glitch free muxes to LPASS codec Macros. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/clock/qcom,audiocc-sm8250.yaml | 58 +++

Re: [RESEND PATCH v3 2/4] dt-bindings: clock: Add support for LPASS Always ON Controller

2020-10-30 Thread Rob Herring
On Mon, 26 Oct 2020 12:02:19 +, Srinivas Kandagatla wrote: > Always ON Clock controller is a block inside LPASS which controls > 1 Glitch free muxes to LPASS codec Macros. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/clock/qcom,aoncc-sm8250.yaml | 58 +++ >

Re: [PATCH v4 1/3] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-30 Thread Rob Herring
On Fri, 30 Oct 2020 17:12:52 +0800, Yong Wu wrote: > Convert MediaTek SMI to DT schema. > > CC: Fabien Parent > CC: Ming-Fan Chen > CC: Matthias Brugger > Signed-off-by: Yong Wu > --- > .../mediatek,smi-common.txt | 50 --- > .../mediatek,smi-common.yaml

Re: [PATCH v3 04/12] bus: mhi: core: Move to SYS_ERROR regardless of RDDM capability

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:49PM -0700, Bhaumik Bhatt wrote: > In some cases, the entry of device to RDDM execution environment > can occur after a significant amount of time has elapsed and a > SYS_ERROR state change event has already arrived. I don't quite understand this statement. Can you

Re: [PATCH v20 04/20] mm/thp: use head for head page in lru_add_page_tail

2020-10-30 Thread Johannes Weiner
On Fri, Oct 30, 2020 at 10:46:54AM +0800, Alex Shi wrote: > 在 2020/10/29 下午9:50, Johannes Weiner 写道: > > It may be better to pick either > > head and tail > > Hi Johannes, > > Thanks for comments! > > Right, Consider functions in this file are using head/tail more as parameters > I will

Re: [PATCH] drm/msm/dsi: save PLL registers across first PHY reset

2020-10-30 Thread Dmitry Baryshkov
Hello, On 07/10/2020 03:10, benl-kernelpatc...@squareup.com wrote: From: Benjamin Li Take advantage of previously-added support for persisting PLL registers across DSI PHY disable/enable cycles (see 328e1a6 'drm/msm/dsi: Save/Restore PLL status across PHY reset') to support persisting across

Re: [PATCH v3 05/12] bus: mhi: core: Prevent sending multiple RDDM entry callbacks

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:50PM -0700, Bhaumik Bhatt wrote: > If an mhi_power_down() is initiated after the device has entered > RDDM and a status callback was provided for it, it is possible > that another BHI interrupt fires while waiting for the MHI > RESET to be cleared. If that happens,

Re: [rcu] 44bad5b3cc: dmesg.INFO:rcu_preempt_detected_stalls_on_CPUs/tasks

2020-10-30 Thread Paul E. McKenney
On Fri, Oct 30, 2020 at 03:47:40PM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 44bad5b3cca2d452d17ef82841b20b42a2cf11a0 ("rcu: Do full report for > .need_qs for strict GPs") >

Re: [PATCH v5 0/2] ovl introduce "uuid=off"

2020-10-30 Thread Miklos Szeredi
On Tue, Oct 13, 2020 at 5:00 PM Pavel Tikhomirov wrote: > > This is a v5 of: > ovl: introduce new "index=nouuid" option for inodes index feature > > Changes in v3: rebase to overlayfs-next, replace uuid with null in file > handles, propagate ovl_fs to needed functions in a separate patch, add >

Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces

2020-10-30 Thread Cyril Hrubis
Hi! > I do have a question regarding the Linux time namespaces in respect of > adding support for virtualizing the CLOCK_REALTIME. > > According to patch description [1] and time_namespaces documentation > [2] the CLOCK_REALTIME is not supported (for now?) to avoid complexity > and overhead in

Re: [PATCH v4 00/15] Audio graph card updates and usage with Tegra210 audio

2020-10-30 Thread Mark Brown
On Fri, Oct 30, 2020 at 12:04:50PM +0530, Sameer Pujar wrote: > Hi Mark, Morimoto-san, > > Sameer Pujar (15): > >ASoC: soc-core: Fix component name_prefix parsing > >ASoC: soc-pcm: Get all BEs along DAPM path > >ASoC: audio-graph: Use of_node and DAI for DPCM DAI link names > >

Re: [PATCH v3 06/12] bus: mhi: core: Move to an error state on any firmware load failure

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:51PM -0700, Bhaumik Bhatt wrote: > Move MHI to a firmware download error state for a failure to find > the firmware files or to load SBL or EBL image using BHI/BHIe. This > helps detect an error state sooner and shortens the wait for a > synchronous power up timeout.

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add an entry for Altus-Escon-Company

2020-10-30 Thread Oleksij Rempel
Add "alt" entry for Altus-Escon-Company BV: https://www.altus-escon.com/ Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v2 3/3] ARM: dts: add Altesco I6P board

2020-10-30 Thread Oleksij Rempel
Altesco (Altus-Escon-Company BV) I6P is a part of the diagnostic system for the vehicle inspection stations. Co-developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-alti6p.dts | 564

Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Jonathan Corbet
On Fri, 30 Oct 2020 14:33:52 +0100 Dafna Hirschfeld wrote: > > +RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_typedef

Re: WARNING in close_fs_devices (2)

2020-10-30 Thread Anand Jain
On 30/10/20 6:10 pm, Dmitry Vyukov wrote: On Tue, Sep 22, 2020 at 2:37 PM Anand Jain wrote: On 18/9/20 7:22 pm, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:e4c26faa Merge tag 'usb-5.9-rc5' of git://git.kernel.org/p.. git tree: upstream console output:

Re: INFO: task hung in io_uring_setup

2020-10-30 Thread Jens Axboe
On 10/30/20 4:01 AM, Dmitry Vyukov wrote: > On Thu, Sep 3, 2020 at 1:44 PM Jens Axboe wrote: >> >> On 9/3/20 5:15 AM, Hillf Danton wrote: >>> >>> Thu, 03 Sep 2020 01:38:15 -0700 syzbot found the following issue on: HEAD commit:4442749a Add linux-next specific files for 20200902

[PATCH v2 2/3] dt-bindings: arm: fsl: add Altesco I6P board

2020-10-30 Thread Oleksij Rempel
Add Altus-Escon-Company BV I6P iMX6dl based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

[PATCH v2 0/3] mainline add Altesco I6P board

2020-10-30 Thread Oleksij Rempel
changes v2: - rebase against git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next - remove spaces - use Co-developed-by instead of Co-Developed-by Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Altus-Escon-Company dt-bindings: arm: fsl: add Altesco I6P

Re: [PATCH v3 07/12] bus: mhi: core: Use appropriate label in firmware load handler API

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:52PM -0700, Bhaumik Bhatt wrote: > Correct the "error_read" label to say "error_ready_state" as that > is the appropriate usage of the label. > > Signed-off-by: Bhaumik Bhatt Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > drivers/bus/mhi/core/boot.c |

Re: [PATCH v3 09/12] bus: mhi: core: Check for IRQ availability during registration

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:54PM -0700, Bhaumik Bhatt wrote: > Current design allows a controller to register with MHI successfully > without the need to have any IRQs available for use. If no IRQs are > available, power up requests to MHI can fail after a successful > registration with MHI.

Re: [mm] e6e88712e4: stress-ng.tmpfs.ops_per_sec -69.7% regression

2020-10-30 Thread Chen, Rong A
On 10/30/2020 9:17 PM, Matthew Wilcox wrote: On Fri, Oct 30, 2020 at 03:17:15PM +0800, kernel test robot wrote: Details are as below: --> To reproduce: git clone

[PATCH] ide: Prevent some negative shifts in ide_set_ignore_cable()

2020-10-30 Thread Dan Carpenter
Shifting by a negative number is undefined. These values come from the module parameter, so it's not a big deal from a practical perspective. Fixes: 9fd91d959f1a ("ide: add "ignore_cable" parameter (take 2)") Signed-off-by: Dan Carpenter --- drivers/ide/ide.c | 2 +- 1 file changed, 1

Re: [PATCH v20 02/20] mm/memcg: bail early from swap accounting if memcg disabled

2020-10-30 Thread Johannes Weiner
On Fri, Oct 30, 2020 at 10:27:51AM +0800, Alex Shi wrote: > > > 在 2020/10/29 下午9:46, Johannes Weiner 写道: > >> ? release_pages+0x1ae/0x410 > >> shmem_alloc_and_acct_page+0x77/0x1c0 > >> shmem_getpage_gfp+0x162/0x910 > >> shmem_fault+0x74/0x210 > >> ? filemap_map_pages+0x29c/0x410 > >>

Re: [PATCH v3 10/12] bus: mhi: core: Separate system error and power down handling

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:55PM -0700, Bhaumik Bhatt wrote: > Currently, there exist a set of if...else statements in the > mhi_pm_disable_transition() function which make handling system > error and disable transitions differently complex. To make that > cleaner and facilitate differences in

[PATCH] [v3] x86: apic: avoid -Wshadow warning in header

2020-10-30 Thread Arnd Bergmann
From: Arnd Bergmann There are hundreds of warnings in a W=2 build about a local variable shadowing the global 'apic' definition: arch/x86/kvm/lapic.h:149:65: warning: declaration of 'apic' shadows a global declaration [-Wshadow] Avoid this by renaming the global 'apic' variable to the more

Re: [PATCH 1/4] erofs: fix setting up pcluster for temporary pages

2020-10-30 Thread Gao Xiang
On Fri, Oct 30, 2020 at 03:32:55PM +0200, Vladimir Zapolskiy wrote: > Hi Gao Xiang, > > On 10/30/20 2:47 PM, Gao Xiang wrote: > > Hi Vladimir, > > > > On Fri, Oct 30, 2020 at 02:20:31PM +0200, Vladimir Zapolskiy wrote: > > > Hello Gao Xiang, > > > > > > On 10/22/20 5:57 PM, Gao Xiang via

Re: [PATCH v3 11/12] bus: mhi: core: Mark and maintain device states early on after power down

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:56PM -0700, Bhaumik Bhatt wrote: > mhi_power_down() does not ensure that the PM state is moved to an > inaccessible state soon enough as the system can encounter > scheduling delays till mhi_pm_disable_transition() gets called. > Additionally, if an MHI controller

Python 2.7 support and automarkup.py - Was: Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Mauro Carvalho Chehab
Hi Dafna, Em Fri, 30 Oct 2020 14:33:52 +0100 Dafna Hirschfeld escreveu: > Hi > > Am 14.10.20 um 01:13 schrieb Nícolas F. R. A. Prado: > > While Sphinx 2 used a single c:type role for struct, union, enum and > > typedef, Sphinx 3 uses a specific role for each one. > > To keep backward

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-10-30 Thread Tomasz Figa
On Fri, Oct 30, 2020 at 11:08 AM Daniel Vetter wrote: > > This is used by media/videbuf2 for persistent dma mappings, not just > for a single dma operation and then freed again, so needs > FOLL_LONGTERM. > > Unfortunately current pup_locked doesn't support FOLL_LONGTERM due to > locking issues.

Re: [PATCH v3 12/12] bus: mhi: core: Remove MHI event ring IRQ handlers when powering down

2020-10-30 Thread Manivannan Sadhasivam
On Thu, Oct 29, 2020 at 09:10:57PM -0700, Bhaumik Bhatt wrote: > While powering down, the device may or may not acknowledge an MHI > RESET issued by host for a graceful shutdown scenario and end up > sending an incoming data packet after tasklets have been killed. > If a rogue device sends this

Re: [PATCH v2 5/5] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-10-30 Thread Robin Murphy
On 2020-10-30 01:02, John Stultz wrote: On Wed, Oct 28, 2020 at 7:51 AM Robin Murphy wrote: Hmm, perhaps I'm missing something here, but even if the config options *do* line up, what prevents arm-smmu probing before qcom-scm and dereferencing NULL in qcom_scm_qsmmu500_wait_safe_toggle() before

re: spi: bcm2835: fix gpio cs level inversion

2020-10-30 Thread Colin Ian King
Hi, Static analysis with coverity on today's linux-next has detected a potential issue in bcm2835_spi_setup() in the following commit: commit 5e31ba0c0543a04483b53151eb5b7413efece94c Author: Martin Hundebøll Date: Wed Oct 14 11:02:30 2020 +0200 spi: bcm2835: fix gpio cs level inversion

Re: [PATCH v2 1/2] reboot: fix overflow parsing reboot cpu number

2020-10-30 Thread Petr Mladek
On Tue 2020-10-27 14:42:43, Greg KH wrote: > On Tue, Oct 27, 2020 at 02:35:44PM +0100, Matteo Croce wrote: > > From: Matteo Croce > > > > Limit the CPU number to num_possible_cpus(), because setting it > > to a value lower than INT_MAX but higher than NR_CPUS produces the > > following error on

Re: Python 2.7 support and automarkup.py - Was: Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Jonathan Corbet
On Fri, 30 Oct 2020 15:10:26 +0100 Mauro Carvalho Chehab wrote: > I see a few alternatives: > > 1) fix automarkup.py for it to work again with python 2.7; > > 2) conf.py could gain some logic to disable automarkup with >Python < 3; > > 3) scripts/sphinx-pre-install already detects Python

Re: Python 2.7 support and automarkup.py - Was: Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Mauro Carvalho Chehab
Em Fri, 30 Oct 2020 08:14:40 -0600 Jonathan Corbet escreveu: > On Fri, 30 Oct 2020 15:10:26 +0100 > Mauro Carvalho Chehab wrote: > > > I see a few alternatives: > > > > 1) fix automarkup.py for it to work again with python 2.7; > > > > 2) conf.py could gain some logic to disable automarkup

Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces

2020-10-30 Thread Zack Weinberg
On Fri, Oct 30, 2020 at 9:57 AM Cyril Hrubis wrote: > > According to patch description [1] and time_namespaces documentation > > [2] the CLOCK_REALTIME is not supported (for now?) to avoid complexity > > and overhead in the kernel. ... > > To be more specific - [if this were supported] it would

Re: [PATCH v2 1/2] reboot: fix overflow parsing reboot cpu number

2020-10-30 Thread Matteo Croce
On Fri, Oct 30, 2020 at 3:13 PM Petr Mladek wrote: > > On Tue 2020-10-27 14:42:43, Greg KH wrote: > > On Tue, Oct 27, 2020 at 02:35:44PM +0100, Matteo Croce wrote: > > > From: Matteo Croce > > > > > > Limit the CPU number to num_possible_cpus(), because setting it > > > to a value lower than

[PATCH] mfd: core: Restore error-free return for dt-disabled devices

2020-10-30 Thread Paul Kocialkowski
When adding devices via mfd (mfd_add_device), a check on the device-tree status of the device was performed to gracefully handle disabled devices without errors. This was done with a check using of_device_is_available, that was recently moved to the mfd_match_of_node_to_dev function (by returning

[PATCH RFC] scripts: kernel-doc: better handle spaces after section markups

2020-10-30 Thread Mauro Carvalho Chehab
Better handle things like: * Return: foo * description Suggested-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab --- I already posted this as part of a reply to Randy/Matthew. As said there, I only did a fast check here, in order to verify if it won't be

Re: SIGHUP on connect

2020-10-30 Thread Michael J. Baars
Here, think I got it :) Just run 'make; make run' Thank you for your help. On Thu, 2020-10-29 at 21:48 +0100, Bernd Petrovitsch wrote: > Hi all! > > On 29/10/2020 14:10, Michael J. Baars wrote: > [...] > > According to manual page socket(7), SO_REUSEADDR allows for local addresses > > to be

Re: [PATCH 3/9] mfd: intel_soc_pmic: remove unnecessary CONFIG_PM_SLEEP

2020-10-30 Thread Coiby Xu
On Thu, Oct 29, 2020 at 07:04:44PM +0200, Andy Shevchenko wrote: On Thu, Oct 29, 2020 at 5:27 PM Lee Jones wrote: On Thu, 29 Oct 2020, Coiby Xu wrote: > On Thu, Oct 29, 2020 at 01:00:29PM +0200, Andy Shevchenko wrote: > > On Thu, Oct 29, 2020 at 06:06:41PM +0800, Coiby Xu wrote: > > >

Re: [PATCH] ARM: dts: at91: add serial MFD sub-node for usart

2020-10-30 Thread Codrin.Ciubotariu
On 30.10.2020 15:38, Nicolas Ferre wrote: > On 30/10/2020 at 12:07, Codrin Ciubotariu wrote: >> The "atmel,at91sam9260-usart" driver is a MFD driver, so it needs >> sub-nodes >> to match the registered platform device. For this reason, we add a serial >> subnode to all the

[PATCH v2 1/2] m68k: m68328: move platform code to separate files

2020-10-30 Thread Arnd Bergmann
From: Arnd Bergmann The dragen2 and ucsimm/ucdimm files require a bit of custom code compared to the other dragonball platforms, move them into separate files as a preparation for a build fix. Signed-off-by: Arnd Bergmann --- Just a small cleanup after I ran into some issue during build

[PATCH v2 2/2] m68k: m68328: remove duplicate code

2020-10-30 Thread Arnd Bergmann
From: Arnd Bergmann Building a kernel with multiple dragonball based boards enabled needlessly causes a link failure because of duplicate config_BSP() functions between the CPU versions. Avoid that merging the three almost identical files into one, and hiding the CPU configuration behind the

[PATCH][next] SFH: fix error return check for -ERESTARTSYS

2020-10-30 Thread Colin King
From: Colin Ian King Currently the check for the error return code -ERESTARTSYS is dead code and never executed because a previous check for ret < 0 is catching this and returning -ETIMEDOUT instead. Fix this by checking for -ERESTARTSYS before the more generic negative error code.

Re: [RESEND PATCH v3 1/4] dt-bindings: connector: add power-opmode optional property to usb-connector

2020-10-30 Thread Rob Herring
On Thu, Oct 29, 2020 at 11:49 AM Amelie DELAUNAY wrote: > > > > On 10/29/20 4:40 PM, Rob Herring wrote: > > On Thu, Oct 29, 2020 at 10:58:03AM +0100, Amelie Delaunay wrote: > >> Power operation mode may depends on hardware design, so, add the optional > >> property power-opmode for usb-c

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-30 Thread Petr Mladek
On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= argument allows to specify the CPU used > for rebooting, with the syntax `s` among the other flags, e.g. > > reboot=soft,s4 > reboot=warm,s31,force > > In the early days the parsing was

Re: [RESEND PATCH v3 1/4] dt-bindings: connector: add power-opmode optional property to usb-connector

2020-10-30 Thread Rob Herring
On Thu, Oct 29, 2020 at 8:55 PM Jun Li wrote: > > Amelie DELAUNAY 于2020年10月30日周五 上午12:52写道: > > > > > > > > On 10/29/20 4:40 PM, Rob Herring wrote: > > > On Thu, Oct 29, 2020 at 10:58:03AM +0100, Amelie Delaunay wrote: > > >> Power operation mode may depends on hardware design, so, add the

Re: [PATCH v2 27/39] docs: ABI: convert testing/configfs-acpi to ReST

2020-10-30 Thread Rafael J. Wysocki
On Fri, Oct 30, 2020 at 8:42 AM Mauro Carvalho Chehab wrote: > > There are some problems with this file when a ReST content > is produced. Fix it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Rafael J. Wysocki and I assume this to go in via the documentation tree. > --- >

Re: [PATCH 3/9] mfd: intel_soc_pmic: remove unnecessary CONFIG_PM_SLEEP

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 4:23 PM Coiby Xu wrote: > On Thu, Oct 29, 2020 at 07:04:44PM +0200, Andy Shevchenko wrote: > >On Thu, Oct 29, 2020 at 5:27 PM Lee Jones wrote: ... > >There are pros and cons of each approach, but not above. > > > Can you elaborate on the pros and cons of each approach?

Re: [PATCH 01/15] iio: accel: remove unnecessary CONFIG_PM_SLEEP

2020-10-30 Thread Coiby Xu
On Thu, Oct 29, 2020 at 07:06:40PM +0200, Andy Shevchenko wrote: On Thu, Oct 29, 2020 at 4:42 PM Jonathan Cameron wrote: On Thu, 29 Oct 2020 15:48:56 +0800 Coiby Xu wrote: Please put a cover letter on your next series explaining the context. In this particular case some of the replies you

Re: [PATCH] mm/compaction: count pages and stop correctly during page isolation.

2020-10-30 Thread Zi Yan
On 30 Oct 2020, at 9:36, Michal Hocko wrote: > On Fri 30-10-20 08:20:50, Zi Yan wrote: >> On 30 Oct 2020, at 5:43, Michal Hocko wrote: >> >>> [Cc Vlastimil] >>> >>> On Thu 29-10-20 16:04:35, Zi Yan wrote: From: Zi Yan In isolate_migratepages_block, when cc->alloc_contig is true,

[PATCH v2 2/4] media: meson: Add M2M driver for the Amlogic GE2D Accelerator Unit

2020-10-30 Thread Neil Armstrong
The GE2D is a 2D accelerator with various features like configurable blitter with alpha blending, frame rotation, scaling, format conversion and colorspace conversion. The driver implements a Memory2Memory VB2 V4L2 streaming device permitting: - 0, 90, 180, 270deg rotation - horizontal/vertical

[PATCH v2 4/4] arm64: dts: meson-axg: add GE2D node

2020-10-30 Thread Neil Armstrong
This adds the node for the GE2D accelerator unit. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index

[PATCH v2 3/4] MAINTAINERS: Add myself as maintainer of the Amlogic GE2D driver

2020-10-30 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e73636b75f29..db93156dcaba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11412,6 +11412,15 @@ F:

[PATCH v2 0/4] media: meson: Add support for the Amlogic GE2D Accelerator Unit

2020-10-30 Thread Neil Armstrong
The GE2D is a 2D accelerator with various features like configurable blitter with alpha blending, frame rotation, scaling, format conversion and colorspace conversion. The driver implements a Memory2Memory VB2 V4L2 streaming device permitting: - 0, 90, 180, 270deg rotation - horizontal/vertical

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-10-30 Thread Daniel Vetter
On Fri, Oct 30, 2020 at 3:11 PM Tomasz Figa wrote: > > On Fri, Oct 30, 2020 at 11:08 AM Daniel Vetter wrote: > > > > This is used by media/videbuf2 for persistent dma mappings, not just > > for a single dma operation and then freed again, so needs > > FOLL_LONGTERM. > > > > Unfortunately current

[PATCH v2 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit

2020-10-30 Thread Neil Armstrong
The GE2D is a 2D accelerator with various features like configurable blitter with alpha blending, frame rotation, scaling, format conversion and colorspace conversion. This adds the bindings for the GE2D version found in the AXG SoCs Family. Signed-off-by: Neil Armstrong Reviewed-by: Rob

Re: [PATCH v2 28/39] docs: ABI: fix syntax to be parsed using ReST notation

2020-10-30 Thread Rafael J. Wysocki
On Fri, Oct 30, 2020 at 8:41 AM Mauro Carvalho Chehab wrote: > > There are a number of new changes at the ABI files that cause > them to produce warnings when generating ABI output. > > Fix them. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../ABI/stable/sysfs-driver-firmware-zynqmp | 62

AW: [PATCH][next] SFH: fix error return check for -ERESTARTSYS

2020-10-30 Thread Walter Harms
nit picking: i would without "else" to improve readability: if (ret == -ERESTARTSYS) return -ERESTARTSYS; if (ret < 0) return -ETIMEDOUT; return 0; jm2c wh Von: Colin King Gesendet: Freitag, 30.

Re: Python 2.7 support and automarkup.py - Was: Re: [PATCH v2 1/5] docs: automarkup.py: Use new C roles in Sphinx 3

2020-10-30 Thread Matthew Wilcox
On Fri, Oct 30, 2020 at 08:14:40AM -0600, Jonathan Corbet wrote: > On Fri, 30 Oct 2020 15:10:26 +0100 > Mauro Carvalho Chehab wrote: > > > I see a few alternatives: > > > > 1) fix automarkup.py for it to work again with python 2.7; > > > > 2) conf.py could gain some logic to disable automarkup

Re: Linux 4.19.153

2020-10-30 Thread Sasha Levin
On Fri, Oct 30, 2020 at 10:14:16AM +0100, Greg Kroah-Hartman wrote: On Fri, Oct 30, 2020 at 09:49:15AM +0100, Greg Kroah-Hartman wrote: On Fri, Oct 30, 2020 at 09:26:54AM +0100, Pavel Machek wrote: > Hi! > > > I'm announcing the release of the 4.19.153 kernel. > > > > All users of the 4.19

[PATCH v10 04/15] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-10-30 Thread Clément Péron
We are actually using a complex formula to just return a bunch of simple values. Also this formula is wrong for sun4i when calling get_wss() the function return 4 instead of 3. Replace this with a simpler switch case. Also drop the i2s params which is unused and return a simple int as returning

[PATCH v10 02/15] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-30 Thread Clément Péron
As slots and slot_width can be set manually using set_tdm(). These values are then kept in sun4i_i2s struct. So we need to check if these values are set or not. This is not done actually and will trigger a bug. For example, if we set to the simple soundcard in the device-tree dai-tdm-slot-width =

[PATCH v10 03/15] ASoC: sun4i-i2s: Add support for H6 I2S

2020-10-30 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Reviewed-by: Chen-Yu Tsai Acked-by: Maxime Ripard Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 222

[PATCH v10 00/15] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-10-30 Thread Clément Péron
Hi, This series add H6 I2S support and the I2S node missing to support HDMI audio in different Allwinner SoC. As we first use some TDM property to make the I2S working with the simple soundcard. We have now drop this simple sound card and a proper dedicated soundcard will be introduce later.

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