[PATCH v4 13/16] arm64: dts: mediatek: Add mt8183 power domains controller

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger Add power domains controller node for SoC mt8183 Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm64/boot/dts/mediatek/mt8183.dtsi | 162 +++ 1 file change

[PATCH v5 11/11] arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Annotate the EMDIO1 node and describe the 2 AQR107 PHYs found on the LX2160ARDB board. Also, add the necessary phy-handles for DPMACs 3 and 4 to their associated PHY. Signed-off-by: Ioana Ciornei --- .../boot/dts/freescale/fsl-lx2160a-rdb.dts| 32 +++ 1

[PATCH v4 10/16] dt-bindings: power: Add MT8183 power domains

2020-10-30 Thread Enric Balletbo i Serra
Add power domains dt-bindings for MT8183. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: None Changes in v2: None .../power/mediatek,power-controller.yaml | 2 ++ include/dt-bindings/power/mt8183-power.h | 26 +++

[PATCH v5 10/11] arm64: dts: lx2160a: add PCS MDIO and PCS PHY nodes

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Add PCS MDIO nodes for the internal MDIO buses on the LX2160A, along with their internal PCS PHYs, which will be used when the DPMAC is in TYPE_PHY mode. Also, rename the dpmac@x nodes to ethernet@x in order to be compliant with the naming convention used by ethernet controlle

[PATCH v4 14/16] dt-bindings: power: Add MT8192 power domains

2020-10-30 Thread Enric Balletbo i Serra
From: Weiyi Lu Add power domains dt-bindings for MT8192. Signed-off-by: Weiyi Lu Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: None Changes in v2: None .../power/mediatek,power-controller.yaml | 2 ++ include/dt-bindings/power/mt8192-power.h | 32 ++

[PATCH v5 04/11] arm64: dts: ls1088ardb: add QSGMII PHY nodes

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Annotate the external MDIO1 node and describe the 8 QSGMII PHYs found on the LS1088ARDB board and add phy-handles for DPMACs 3-10 to its associated PHY. Also, add the internal PCS MDIO nodes for the internal MDIO buses found on the LS1088A SoC along with their internal PCS PH

[PATCH v5 07/11] arm64: dts: ls2088ardb: add PHY nodes for the CS4340 PHYs

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Annotate the EMDIO1 node and describe the 4 10GBASER PHYs found on the LS2088ARDB board. Also, add phy-handles for DPMACs 1-4 to their associated PHY. Signed-off-by: Ioana Ciornei --- Changes in v2: - none Changes in v3: - none Changes in v4: - move the phy-connection-typ

[PATCH v4 15/16] soc: mediatek: pm-domains: Add default power off flag

2020-10-30 Thread Enric Balletbo i Serra
From: Weiyi Lu For some power domain, like conn on MT8192, it should be default OFF. Because the power on/off control relies the function of connectivity chip and its firmware. And if project choose other chip vendor solution, those necessary connectivity functions will not provided. Signed-off-

[PATCH v4 16/16] soc: mediatek: pm-domains: Add support for mt8192

2020-10-30 Thread Enric Balletbo i Serra
From: Weiyi Lu Add the needed board data to support mt8192 SoC. Signed-off-by: Weiyi Lu Signed-off-by: Enric Balletbo i Serra --- Changes in v4: - Adapt scpsys_soc_data struct to the changes done in previous patches. Changes in v3: None Changes in v2: None drivers/soc/mediatek/mt8192-pm-do

[PATCH v4 11/16] soc: mediatek: pm-domains: Add support for mt8183

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger Add the needed board data to support mt8183 SoC. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: - Adapt the scpsys_soc_data struct to the changes done in previous patches. Changes in v3: - Do not remove mmsys from of_device_i

[PATCH v4 03/16] arm64: dts: mediatek: Add mt8173 power domain controller

2020-10-30 Thread Enric Balletbo i Serra
Add power domain controller node for SoC mt8173. Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: None Changes in v2: - Add a scpsys syscon node as parent and a SPM (System Power Manager) as a child. arch/arm64/boot/dts/mediatek/mt8173.dtsi | 164 -

[PATCH v4 07/16] soc: mediatek: pm-domains: Add extra sram control

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger For some power domains like vpu_core on MT8183 whose sram need to do clock and internal isolation while power on/off sram. We add a cap "MTK_SCPD_SRAM_ISO" to judge if we need to do the extra sram isolation control or not. Signed-off-by: Weiyi Lu Signed-off-by: Matthias B

[PATCH v5 02/11] dt-bindings: net: add the 10gbase-r connection type

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Add 10gbase-r to the list of accepted PHY connection types between an Ethernet device and a physical PHY. This is available as a valid connection type since commit c114574ebfdf ("net: phy: add PHY_INTERFACE_MODE_10GBASER") Signed-off-by: Ioana Ciornei Acked-by: Rob Herring

[PATCH v4 12/16] arm64: dts: mediatek: Add smi_common node for MT8183

2020-10-30 Thread Enric Balletbo i Serra
The SMI (Smart Multimedia Interface) Common is a bridge between the m4u (Multimedia Memory Management Unit) and the Multimedia HW. This block is needed to support different multimedia features, like display, video decode, and camera. Also is needed to control the power domains of such HW blocks. S

[PATCH v5 01/11] dt-bindings: net: add the DPAA2 MAC DTS definition

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Add a documentation entry for the DTS bindings needed and supported by the dpaa2-mac driver. Signed-off-by: Ioana Ciornei Reviewed-by: Rob Herring --- Changes in v2: - new patch Changes in v3: - renamed dpmac@x into ethernet@x - renamed the new documentation file to use

[PATCH v4 04/16] soc: mediatek: pm-domains: Add bus protection protocol

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger Bus protection will need to update more then one register in infracfg. Add support for several operations. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: - Define SPM_MAX_BUS_PROT_DATA to 5 to be compatible with MT8192 - Disable

[PATCH v4 08/16] soc: mediatek: pm-domains: Add subsystem clocks

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger For the bus protection operations, some subsystem clocks need to be enabled before releasing the protection. This patch identifies the subsystem clocks by it's name. Suggested-by: Weiyi Lu [Adapted the patch to the mtk-pm-domains driver] Signed-off-by: Matthias Brugger S

[PATCH v5 03/11] arm64: dts: ls1088a: add external MDIO device nodes

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Add the external MDIO device nodes found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - removed the 0x from the unit addresses Changes in v3: - none Changes in v4: - none Changes in v5:

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

2020-10-30 Thread Thomas Gleixner
On Fri, Oct 30 2020 at 11:32, Peter Zijlstra wrote: > On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote: > >> > The only thing I can come up with in a hurry is that that dummy_iregs >> > thing really should be static. That's 168 bytes of stack out the window >> > right there. >> >> W

[PATCH v5 00/11] arm64: dts: layerscape: update MAC nodes with PHY information

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei This patch set aims to add the necessary DTS nodes to complete the MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes and the PHYs found on them are added, along with the PCS MDIO internal buses and their PCS PHYs. Also, links to these PHYs are added from

Re: [PATCH 2/2] media: i2c: imx258: validate rotation only if it is provided

2020-10-30 Thread Krzysztof Kozlowski
On Wed, Oct 28, 2020 at 10:23:43AM +0100, Krzysztof Kozlowski wrote: > On Mon, Oct 05, 2020 at 05:15:59PM +0200, Krzysztof Kozlowski wrote: > > The sensor supports rotation by 180 degrees however the value of > > "rotation" property should be validated only if it exists. If > > "rotation" is missi

Re: [PATCH] media: i2c: imx258: correct mode to GBGB/RGRG

2020-10-30 Thread Krzysztof Kozlowski
On Wed, Oct 28, 2020 at 01:08:28PM +0100, Tomasz Figa wrote: > On Wed, Oct 28, 2020 at 11:15 AM Krzysztof Kozlowski wrote: > > > > On Wed, 28 Oct 2020 at 11:03, Sakari Ailus > > wrote: > > > > > > On Wed, Oct 28, 2020 at 10:56:55AM +0100, Krzysztof Kozlowski wrote: > > > > On Wed, 28 Oct 2020 at

Re: [PATCH 0/3] Introduce devm_pm_opp_set_* API

2020-10-30 Thread Viresh Kumar
On 28-10-20, 11:36, Viresh Kumar wrote: > On 12-10-20, 21:55, Frank Lee wrote: > > Hi, this patchset introduce devm_pm_opp_set_prop_name() and > > devm_pm_opp_set_supported_hw(). > > > > Yangtao Li (3): > > opp: Add devres wrapper for dev_pm_opp_set_supported_hw > > opp: Add devres wrapper for

Re: [PATCH] media: i2c: imx258: correct mode to GBGB/RGRG

2020-10-30 Thread Krzysztof Kozlowski
On Wed, Oct 28, 2020 at 10:14:52AM +, Yeh, Andy wrote: > >-Original Message- > >From: Sakari Ailus > >Sent: Wednesday, October 28, 2020 6:03 PM > >To: Krzysztof Kozlowski > >Cc: Yeh, Andy ; Mauro Carvalho Chehab > >; Tomasz Figa ; Jason Chen > >; Alan Chiang ; linux- > >me...@vger.ker

Re: (3) [PATCH v2] input: add 2 kind of switch

2020-10-30 Thread Jungrae Kim
> On Fri, Oct 30, 2020 at 01:39:16PM +0900, HyungJae Im wrote: > > Hello, This is Hyungjae Im from Samsung Electronics. > > Let me answer your questions inline. > > > > >On Thu, Oct 29, 2020 at 10:27:47PM +0900, HyungJae Im wrote: > > >> From: "hj2.im" > > >> Date: Thu, 29 Oct 2020 22:11:24 +0900

Re: [PATCH 2/3] opp: Add devres wrapper for dev_pm_opp_set_prop_name

2020-10-30 Thread Viresh Kumar
On 30-10-20, 19:19, Frank Lee wrote: > GPU is also a relatively large number of opp consumers. I was talking about the number of files or locations from which this routine (the devm_* variant) is going to get called. And it is one right now. And I don't see if any of the other callers are going to

RE: [PATCH v3] soundwire: SDCA: add helper macro to access controls

2020-10-30 Thread Liao, Bard
> -Original Message- > From: Greg KH > Sent: Friday, October 30, 2020 5:37 PM > To: Bard Liao > Cc: alsa-de...@alsa-project.org; vk...@kernel.org; vinod.k...@linaro.org; > linux-kernel@vger.kernel.org; j...@cadence.com; > srinivas.kandaga...@linaro.org; rander.w...@linux.intel.com; > r

[PATCH v2 3/3] media: MAINTAINERS: Update rkisp1 files with new location

2020-10-30 Thread Helen Koike
rkisp1 was moved out of staging, update MAINTAINERS file accordingly. Signed-off-by: Helen Koike --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9e23b20eb2a21..6691c5d3e974b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1503

[PATCH v2 0/3] destage Rockchip ISP1 driver

2020-10-30 Thread Helen Koike
Hello, Changes in v2: - New patch updating MAINTAINERS file - No changes in other patches I think it is time to move this driver out of staging. Thanks all who contributed, specially to Dafna, who put a lot of effort addressing all the items in the TODO list, fixing bugs, cleaning the code, ad

[PATCH v2 2/3] media: rockchip: rkisp1: destage Rockchip ISP1 driver

2020-10-30 Thread Helen Koike
All the items in the TODO list were addressed, uapi was reviewed, documentation written, checkpatch errors fixed, several bugs fixed. There is no big reason to keep this driver in staging, so move it out. Signed-off-by: Helen Koike --- .../media/v4l/pixfmt-meta-rkisp1.rst | 2 +- dri

[PATCH v2 1/3] media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format

2020-10-30 Thread Helen Koike
From: Shunqian Zheng Add the Rockchip ISP1 specific processing parameter format V4L2_META_FMT_RK_ISP1_PARAMS and metadata format V4L2_META_FMT_RK_ISP1_STAT_3A for 3A. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen Signed-off-by: Helen Koike Reviewed-by: Laurent Pinchart --- Hello,

Re: [PATCH v6 5/5] Bluetooth: Add toggle to switch off interleave scan

2020-10-30 Thread kernel test robot
Hi Howard, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth-next/master] [also build test WARNING on net-next/master net/master v5.10-rc1 next-20201030] [cannot apply to bluetooth/master sparc-next/master] [If your patch is applied to the wrong git

[GIT PULL] interconnect fixes for 5.10

2020-10-30 Thread Georgi Djakov
Hello Greg, Here is a pull request with interconnect fixes for 5.10-rc. Please take them into char-misc-linus when possible. All patches have been in linux-next with no reported issues. Thanks, Georgi The following changes since commit 86d6e5793e0fa3a510cff466894d0d3051fd716e: interconnect: i

Re: [PATCH v3 1/4] crypto: add eboiv as a crypto API template

2020-10-30 Thread Gilad Ben-Yossef
Hi, On Fri, Oct 30, 2020 at 12:33 PM Milan Broz wrote: > > On 29/10/2020 11:05, Gilad Ben-Yossef wrote: > > > > +config CRYPTO_EBOIV > > + tristate "EBOIV support for block encryption" > > + default DM_CRYPT > > + select CRYPTO_CBC > > + help > > + Encrypted byte-offset init

Re: [PATCH v2 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic

2020-10-30 Thread Tzung-Bi Shih
On Fri, Oct 30, 2020 at 6:55 PM Ajye Huang wrote: > But dmic_get() will need dmic_switch, should i keep dmic_switch? I see. I overlooked it. You can keep the dmic_switch for this purpose or just call gpiod_get_value_cansleep().

[PATCH] perf/x86: Make dummy_iregs static

2020-10-30 Thread Peter Zijlstra
On Fri, Oct 30, 2020 at 10:00:37AM +0100, Peter Zijlstra wrote: > > static void __intel_pmu_pebs_event(struct perf_event *event, > >struct pt_regs *iregs, > >void *base, void *top, > >int bit, int count,

Re: [PATCH 2/3] opp: Add devres wrapper for dev_pm_opp_set_prop_name

2020-10-30 Thread Frank Lee
On Wed, Oct 28, 2020 at 10:46 PM Viresh Kumar wrote: > > On 28-10-20, 19:02, Frank Lee wrote: > > On Wed, Oct 28, 2020 at 6:29 PM Viresh Kumar > > wrote: > > > > > > On 12-10-20, 21:55, Frank Lee wrote: > > > > From: Yangtao Li > > > > > > > > Add devres wrapper for dev_pm_opp_set_prop_name() t

Re: [PATCH -next] usb: Make sync_all_pins static

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 11:18 AM Zou Wei wrote: The title can be more precise. > Fix the following sparse warning: > > drivers/usb/misc/brcmstb-usb-pinmap.c:219:6: warning: symbol 'sync_all_pins' > was not declared. Should it be static? Do we really need to know the path? > The sync_all_pins

Re: [PATCH v3 15/16] soc: mediatek: pm-domains: Add default power off flag

2020-10-30 Thread Enric Balletbo i Serra
Hi Weilyi and Matthias, On 29/10/20 15:51, Matthias Brugger wrote: > > > On 27/10/2020 12:18, Weiyi Lu wrote: >> On Tue, 2020-10-27 at 11:53 +0100, Matthias Brugger wrote: >>> >>> On 26/10/2020 18:55, Enric Balletbo i Serra wrote: From: Weiyi Lu For some power domain, like conn o

RE: [v8] i2c: imx: support slave mode for imx I2C driver

2020-10-30 Thread Biwen Li (OSS)
> > > +/* > > > + * Enable bus idle interrupts > > > + * Note: IBIC register will be cleared after disabled i2c module. > > > + */ > > > +static void i2c_imx_enable_bus_idle(struct imx_i2c_struct *i2c_imx) { > > > + unsigned int temp; > > > + > > > + temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_IBIC);

Re: [PATCH 0/4] Add sustainable OPP concept

2020-10-30 Thread Viresh Kumar
On 30-10-20, 10:56, Lukasz Luba wrote: > IPA tries to do that, even dynamically when e.g. GPU is supper busy > in 3D games (~2000W) or almost idle showing 2D home screen. > It tries to find highest 'sustainable' frequencies for the devices, > at that various workloads and temp. But it needs some co

RE: [v8] i2c: imx: support slave mode for imx I2C driver

2020-10-30 Thread Biwen Li (OSS)
> > +/* > > + * Enable bus idle interrupts > > + * Note: IBIC register will be cleared after disabled i2c module. > > + */ > > +static void i2c_imx_enable_bus_idle(struct imx_i2c_struct *i2c_imx) { > > + unsigned int temp; > > + > > + temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_IBIC); > > + te

Re: [PATCH -next v2] platform/x86/dell-wmi-sysman: Make some symbols static

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 4:38 AM Zou Wei wrote: > > Fix the following sparse warnings: > > drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:38:23: warning: > symbol 'po_is_pass_set' was not declared. Should it be static? > drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c:70:23: w

Re: [PATCH v2 31/39] docs: ABI: cleanup several ABI documents

2020-10-30 Thread Ilya Dryomov
On Fri, Oct 30, 2020 at 8:41 AM Mauro Carvalho Chehab wrote: > > There are some ABI documents that, while they don't generate > any warnings, they have issues when parsed by get_abi.pl script > on its output result. > > Address them, in order to provide a clean output. > > Acked-by: Jonathan Camer

Re: [RESENDPATCH v15 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-10-30 Thread kernel test robot
Hi "Ramuthevar,Vadivel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc1 next-20201030] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest t

Re: [PATCH 32/34] overlayfs: handle idmapped lower directories

2020-10-30 Thread Amir Goldstein
[reducing CC list for overlayfs specific comments] On Thu, Oct 29, 2020 at 2:41 AM Christian Brauner wrote: > > As an overlay filesystem overlayfs can be mounted on top of other filesystems > and bind-mounts. This means it can also be bind-mounted on top of one or > multiple idmapped lower direct

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

2020-10-30 Thread Codrin Ciubotariu
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 boot warning: "atmel_usart_serial: Failed to locate of

Re: [PATCH bpf-next 1/5] bpf: Implement task local storage

2020-10-30 Thread KP Singh
" On Fri, Oct 30, 2020 at 12:28 AM Song Liu wrote: > > On Wed, Oct 28, 2020 at 9:17 AM KP Singh wrote: > > > > From: KP Singh > > > > Similar to bpf_local_storage for sockets and inodes add local storage > > for task_struct. > > > > The life-cycle of storage is managed with the life-cycle of th

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-10-30 Thread Hans Verkuil
Maxime, Are you OK with this series? It looks good to me. Regards, Hans On 12/09/2020 16:30, Martin Cerveny wrote: > First patch extends cedrus capability to all decoders > because V3s missing MPEG2 decoder. > > Next two patches add system control node (SRAM C1) and > next three patch

Re: [PATCH 02/18] block: open code kobj_map into in block/genhd.c

2020-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2020 at 11:49:11AM +0100, Geert Uytterhoeven wrote: > Hi Greg, > > On Fri, Oct 30, 2020 at 11:40 AM Greg Kroah-Hartman > wrote: > > On Thu, Oct 29, 2020 at 08:32:42PM +0100, Christoph Hellwig wrote: > > > On Thu, Oct 29, 2020 at 08:22:36PM +0100, Greg Kroah-Hartman wrote: > > > >

Re: [PATCH v1] kernel.h: Drop unneeded inclusion from other headers

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 08:33:56AM +, Will Deacon wrote: > On Wed, Oct 28, 2020 at 07:28:26PM +0200, Andy Shevchenko wrote: > > There is no evidence we need kernel.h inclusion in certain headers. > > Did you run some tools to determine this or is it just a hunch? I read files manually. So, cl

Re: [PATCH] devres: zero the memory in devm_krealloc() if needed

2020-10-30 Thread Bartosz Golaszewski
On Fri, Oct 30, 2020 at 11:56 AM Andy Shevchenko wrote: > [snip] > > > > > > Any use case? Because to me it sounds contradictory to the whole idea of > > > [k]realloc(). > > > > This is kind of a gray area in original krealloc() too and I want to > > submit a patch for mm too. Right now kreallo

Re: [PATCH bpf-next 1/5] bpf: Implement task local storage

2020-10-30 Thread KP Singh
On Fri, Oct 30, 2020 at 12:12 AM Andrii Nakryiko wrote: > > On Wed, Oct 28, 2020 at 9:17 AM KP Singh wrote: > > > > From: KP Singh > > > > Similar to bpf_local_storage for sockets and inodes add local storage > > for task_struct. > > > > The life-cycle of storage is managed with the life-cycle o

RE: [PATCH 1/3] Input: goodix - add option to disable firmware loading

2020-10-30 Thread Valek, Andrej
Hi Hans, I am not saying, that just configuration loading took such a long time. Thu full process including configuration and FW loading takes it. Means that I would like to prevent this situation, but keep the old scenario as a default behavior. Regards, Andrej > Hi, > > On 10/29/20 9:36 PM

Re: [PATCH v1 1/2] gpu: host1x: Allow COMPILE_TEST to build host1x driver on all platforms

2020-10-30 Thread Hans Verkuil
Thierry, On 30/09/2020 05:02, Sowjanya Komatineni wrote: > Tegra V4L2 driver has dependency on this host1x driver and currently > host1x driver is allowed to build with COMPILE_TEST only on ARM and > this also limits Tegra V4L2 driver building. > > So, this patch allows building host1x driver wit

Re: [PATCH 2/3] mwifiex: add allow_ps_mode module parameter

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 04:58:33PM +0900, Tsuchiya Yuto wrote: > On Wed, 2020-10-28 at 15:04 -0700, Brian Norris wrote: ... > On the other hand, I agree that I don't want to break the existing users. > As you mentioned in the reply to the first patch, I can set the default > value of this paramet

Re: linux-next: failure while fetching the pinctrl-samsung-fixes tree

2020-10-30 Thread Stephen Rothwell
Hi Krzysztof, On Fri, 30 Oct 2020 08:41:22 +0100 Krzysztof Kozlowski wrote: > > On Thu, 29 Oct 2020 at 22:10, Stephen Rothwell wrote: > > > > Fetching the pinctrl-samsung-fixes tree produces this error: > > > > fatal: couldn't find remote ref refs/heads/pinctrl-fixes > > That's my fault - I w

Re: [PATCH v2 3/3] HID: i2c-hid: Support the Goodix GT7375P touchscreen

2020-10-30 Thread Benjamin Tissoires
Hi Doug, On Sat, Oct 24, 2020 at 1:23 AM Douglas Anderson wrote: > > The Goodix GT7375P touchscreen uses i2c-hid so we can support it with > just a few changes to the i2c-hid driver. Specifically this > touchscreen needs to control a reset GPIO during its power sequencing. > > The Goodix timing

[PATCH] perf/arch: Remove perf_sample_data::regs_user_copy

2020-10-30 Thread Peter Zijlstra
On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote: > What's worse is perf_sample_data which is 384 bytes and is 64 bytes aligned. Here; this shrinks it to 192 bytes. Combined with the static dummy this should reduce stack usage by 360 bytes. --- Subject: perf/arch: Remove perf_sampl

Re: [PATCH] devres: zero the memory in devm_krealloc() if needed

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 12:57:06PM +0200, Andy Shevchenko wrote: > On Fri, Oct 30, 2020 at 10:03:50AM +0100, Bartosz Golaszewski wrote: > > On Thu, Oct 29, 2020 at 9:05 PM Andy Shevchenko > > wrote: > > > > > > On Mon, Oct 26, 2020 at 01:27:28PM +0100, Bartosz Golaszewski wrote: > > > > From: Bart

Re: [PATCH v3] inotify: Increase default inotify.max_user_watches limit to 1048576

2020-10-30 Thread Jan Kara
On Thu 29-10-20 15:42:56, Waiman Long wrote: > The default value of inotify.max_user_watches sysctl parameter was set > to 8192 since the introduction of the inotify feature in 2005 by > commit 0eeca28300df ("[PATCH] inotify"). Today this value is just too > small for many modern usage. As a result

Re: [PATCH v6 0/9] KFENCE: A low-overhead sampling-based memory safety error detector

2020-10-30 Thread Marco Elver
On Fri, 30 Oct 2020 at 03:49, Jann Horn wrote: > On Thu, Oct 29, 2020 at 2:16 PM Marco Elver wrote: > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > > low-overhead sampling-based memory safety error detector of heap > > use-after-free, invalid-free, and out-of-bounds

Re: [PATCH 0/4] Add sustainable OPP concept

2020-10-30 Thread Lukasz Luba
On 10/30/20 9:52 AM, Viresh Kumar wrote: On 30-10-20, 09:19, Lukasz Luba wrote: How about dropping the DT binding, but just adding this new field into dev_pm_opp? There will be no DT parsing code, just the get/set functions, which will be used in SCMI patch 4/4 and in IPA? That would not requ

Re: [PATCH v3 06/16] soc: mediatek: pm-domains: Add SMI block as bus protection block

2020-10-30 Thread Enric Balletbo i Serra
Hi Nicolas, Thank you for your comments. On 27/10/20 3:44, Nicolas Boichat wrote: > On Tue, Oct 27, 2020 at 1:55 AM Enric Balletbo i Serra > wrote: >> >> From: Matthias Brugger >> >> Apart from the infracfg block, the SMI block is used to enable the bus >> protection for some power domains. Add

Re: [PATCH v2 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic

2020-10-30 Thread Ajye Huang
On Fri, Oct 30, 2020 at 5:23 PM Tzung-Bi Shih wrote: > > On Fri, Oct 30, 2020 at 3:57 PM Ajye Huang wrote: > > +static struct gpio_desc *dmic_sel; > > +static int dmic_switch; > > If you really need them, you should put them in struct sc7180_snd_data. > Thank you, I will do it. > > +static int dm

Re: [PATCH] devres: zero the memory in devm_krealloc() if needed

2020-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2020 at 10:03:50AM +0100, Bartosz Golaszewski wrote: > On Thu, Oct 29, 2020 at 9:05 PM Andy Shevchenko > wrote: > > > > On Mon, Oct 26, 2020 at 01:27:28PM +0100, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > If we're returning the same pointer (when new si

Re: [PATCH v3 04/16] soc: mediatek: pm-domains: Add bus protection protocol

2020-10-30 Thread Enric Balletbo i Serra
Hi Weiyi Lu, Many thanks for your comments. On 27/10/20 12:07, Weiyi Lu wrote: > On Mon, 2020-10-26 at 18:55 +0100, Enric Balletbo i Serra wrote: >> From: Matthias Brugger >> >> Bus protection will need to update more then one register >> in infracfg. Add support for several operations. >> >> Si

Re: [PATCH] vhost/vsock: add IOTLB API support

2020-10-30 Thread Stefano Garzarella
On Fri, Oct 30, 2020 at 06:02:18PM +0800, Jason Wang wrote: On 2020/10/30 上午1:43, Stefano Garzarella wrote: This patch enables the IOTLB API support for vhost-vsock devices, allowing the userspace to emulate an IOMMU for the guest. These changes were made following vhost-net, in details this p

Re: [PATCH v3 02/16] soc: mediatek: Add MediaTek SCPSYS power domains

2020-10-30 Thread Enric Balletbo i Serra
Hi Nicolas, Thank you for your comments. On 27/10/20 1:55, Nicolas Boichat wrote: > On Tue, Oct 27, 2020 at 1:55 AM Enric Balletbo i Serra > wrote: >> >> The System Control Processor System (SCPSYS) has several power management >> related tasks in the system. This driver implements support to ha

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-10-30 Thread Anmol Karn
On Thu, Oct 15, 2020 at 05:50:51PM +0200, Greg KH wrote: > On Thu, Oct 15, 2020 at 07:40:12PM +0530, Anmol Karn wrote: > > On Thu, Oct 15, 2020 at 07:12:25AM +0200, Greg KH wrote: > > > On Thu, Oct 15, 2020 at 05:47:12AM +0530, Anmol Karn wrote: > > > > In rose_send_frame(), when comparing two ax.2

Re: [PATCH bpf-next 1/5] bpf: Implement task local storage

2020-10-30 Thread KP Singh
Thanks for taking a look! On Wed, Oct 28, 2020 at 2:13 AM Martin KaFai Lau wrote: > > On Tue, Oct 27, 2020 at 06:03:13PM +0100, KP Singh wrote: > [ ... ] > > > diff --git a/kernel/bpf/bpf_task_storage.c b/kernel/bpf/bpf_task_storage.c > > new file mode 100644 > > index ..774140c458cc

Re: [PATCH v2 2/3] dt-bindings: HID: i2c-hid: Introduce bindings for the Goodix GT7375P

2020-10-30 Thread Benjamin Tissoires
Hi Doug, On Sat, Oct 24, 2020 at 1:23 AM Douglas Anderson wrote: > > This adds new bindings for the Goodix GT7375P touchscreen. While this > touchscreen works with generic "i2c-over-hid", the current advice is > to give it its own compatible string. The cleanest way to do this is > to give it i

Re: [PATCH v2 1/3] dt-bindings: HID: i2c-hid: Label this binding as deprecated

2020-10-30 Thread Benjamin Tissoires
Hi Doug, Foreword: I was about to say "yeah, whatever" to please Rob for once. But after re-reading this and more specifically patch 3 of the series, that won't do. More comments inlined. On Sat, Oct 24, 2020 at 1:23 AM Douglas Anderson wrote: > > As pointed out by Rob Herring [1], we should hav

Re: [PATCH 4/5] iio: adc: xilinx: use devres for irq handling

2020-10-30 Thread Bartosz Golaszewski
On Thu, Oct 29, 2020 at 4:41 PM Jonathan Cameron wrote: > > On Mon, 26 Oct 2020 14:36:08 +0100 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > Further simplify the remove() callback and error paths in probe() by > > using the managed variant of request_irq() as well as using

Re: [PATCH v6 8/9] kfence: add test suite

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: > > Add KFENCE test suite, testing various error detection scenarios. Makes > > use of KUnit for test organization. Since KFENCE's interface to obtain > > error reports is via the console, the te

Re: [PATCH 02/18] block: open code kobj_map into in block/genhd.c

2020-10-30 Thread Geert Uytterhoeven
Hi Greg, On Fri, Oct 30, 2020 at 11:40 AM Greg Kroah-Hartman wrote: > On Thu, Oct 29, 2020 at 08:32:42PM +0100, Christoph Hellwig wrote: > > On Thu, Oct 29, 2020 at 08:22:36PM +0100, Greg Kroah-Hartman wrote: > > > After this, you want me to get rid of kobj_map, right? Or you don't > > > care as

Re: [PATCH v2] clk: renesas: r8a774c0: Add RPC clocks

2020-10-30 Thread Geert Uytterhoeven
Hi Prabhakar, On Fri, Oct 30, 2020 at 11:13 AM Lad, Prabhakar wrote: > On Thu, Oct 29, 2020 at 2:29 PM Geert Uytterhoeven > wrote: > > On Thu, Oct 29, 2020 at 11:55 AM Lad Prabhakar > > wrote: > > > Describe the RPCSRC internal clock and the RPC[D2] clocks derived from it, > > > as well as the

Re: [PATCH v2] inotify: Increase default inotify.max_user_watches limit to 1048576

2020-10-30 Thread Jan Kara
On Thu 29-10-20 15:04:56, Waiman Long wrote: > On 10/29/20 2:46 PM, Amir Goldstein wrote: > > On Thu, Oct 29, 2020 at 8:05 PM Waiman Long wrote: > > > On 10/29/20 1:27 PM, Amir Goldstein wrote: > > > > On Thu, Oct 29, 2020 at 5:46 PM Waiman Long wrote: > > > > > The default value of inotify.max_u

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

2020-10-30 Thread Akhil P Oommen
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 Reviewed-by: Matthias Kaehlcke --- Documentation/devicetree/bindings/display/msm/gpu.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documenta

[PATCH v5 2/3] arm64: dts: qcom: sc7180: Add gpu cooling support

2020-10-30 Thread Akhil P Oommen
Add cooling-cells property and the cooling maps for the gpu tzones to support GPU cooling. Signed-off-by: Akhil P Oommen Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/ar

Re: [PATCH] Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE

2020-10-30 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I incl

Re: [PATCH v6 2/5] iommu: Use bus iommu ops for aux related callback

2020-10-30 Thread Jean-Philippe Brucker
On Fri, Oct 30, 2020 at 05:55:53AM +, Tian, Kevin wrote: > > From: Lu Baolu > > Sent: Friday, October 30, 2020 12:58 PM > > > > The aux-domain apis were designed for macro driver where the subdevices > > are created and used inside a device driver. Use the device's bus iommu > > ops instead o

[PATCH v5 1/3] drm/msm: Add support for GPU cooling

2020-10-30 Thread Akhil P Oommen
Register GPU as a devfreq cooling device so that it can be passively cooled by the thermal framework. Signed-off-by: Akhil P Oommen Tested-by: Matthias Kaehlcke --- Changes in v5: 1. Update Reviewed-by/Tested-by tags Changes in v4: 1. Fix gpu cooling map. 2. Add mka's Rev

Re: (2) [PATCH v2] input: add 2 kind of switch

2020-10-30 Thread gre...@linuxfoundation.org
On Fri, Oct 30, 2020 at 01:39:16PM +0900, HyungJae Im wrote: > Hello, This is Hyungjae Im from Samsung Electronics. > Let me answer your questions inline. > > >On Thu, Oct 29, 2020 at 10:27:47PM +0900, HyungJae Im wrote: > >> From: "hj2.im"  > >> Date: Thu, 29 Oct 2020 22:11:24 +0900 > >> Subject:

Re: [PATCH] Input: add switch event(SW_EXT_PEN_ATTACHED)

2020-10-30 Thread gre...@linuxfoundation.org
On Fri, Oct 30, 2020 at 03:27:40PM +0900, HyungJae Im wrote: > We need support to various accessories on the device, > some requiring switch does not exist in switch list. > So added switch for the following purpose. > > SW_EXT_PEN_ATTACHED is for the checking the external pen > attached or not on

Re: [PATCH 6/9] livepatch/ftrace: Add recursion protection to the ftrace callback

2020-10-30 Thread Petr Mladek
On Fri 2020-10-30 10:48:58, Miroslav Benes wrote: > > > > > + bit = ftrace_test_recursion_trylock(); > > > > > + if (bit < 0) > > > > > + return; > > > > > > > > This means that the original function will be called in case of > > > > recursion. > > > > That's probably fair,

Re: [PATCH 02/18] block: open code kobj_map into in block/genhd.c

2020-10-30 Thread Greg Kroah-Hartman
On Thu, Oct 29, 2020 at 08:32:42PM +0100, Christoph Hellwig wrote: > On Thu, Oct 29, 2020 at 08:22:36PM +0100, Greg Kroah-Hartman wrote: > > After this, you want me to get rid of kobj_map, right? Or you don't > > care as block doesn't use it anymore? :) > > I have a patch to kill it, but it caus

Re: [PATCH] crypto: arm64 - move const after static

2020-10-30 Thread Ard Biesheuvel
On Fri, 30 Oct 2020 at 09:18, Tian Tao wrote: > > Fixed the WARNING: Move const after static - use 'static const u8' > > Signed-off-by: Tian Tao Nak. What warning is that? This is perfectly valid C, and the const is already after the static. And in general, const applies to the type on the left

Re: [PATCH V2 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-30 Thread Shawn Guo
On Mon, Oct 12, 2020 at 08:44:00PM +0800, Anson Huang wrote: > Different revision of i.MX8MM EVK boards may have different external > pull up registor design, some are enabled while some are NOT, to make > sure the WDOG_B pin works properly, better to enable internal pull up > resistor. Since enabl

Re: [PATCH v11 4/4] bus: mhi: Add userspace client interface driver

2020-10-30 Thread Manivannan Sadhasivam
Hi Hemant, On Thu, Oct 29, 2020 at 07:45:46PM -0700, Hemant Kumar wrote: > This MHI client driver allows userspace clients to transfer > raw data between MHI device and host using standard file operations. > Driver instantiates UCI device object which is associated to device > file node. UCI devic

Re: [PATCH] typec: Provide USB PD Specification Revision for cable and partner

2020-10-30 Thread Greg KH
On Thu, Oct 29, 2020 at 09:42:24PM -0700, Benson Leung wrote: > The USB Power Delivery specification Section 6.2.1.1.5 outlines > revision backward compatibility requirements starting from Revision 3.0. > > The Port, the Cable Plug, and the Port Partner may support either revision > 2 or revision

Re: [PATCH v3 1/4] crypto: add eboiv as a crypto API template

2020-10-30 Thread Milan Broz
On 29/10/2020 11:05, Gilad Ben-Yossef wrote: > > +config CRYPTO_EBOIV > + tristate "EBOIV support for block encryption" > + default DM_CRYPT > + select CRYPTO_CBC > + help > + Encrypted byte-offset initialization vector (EBOIV) is an IV > + generation method that is us

Re: [PATCH 4/5] dt-bindings: arm: sunxi: add Elimo bindings

2020-10-30 Thread Icenowy Zheng
于 2020年10月30日 GMT+08:00 上午8:24:04, Matteo Scordino 写到: >Hello, > >thank you both for reviewing. > >I didn't realise the file was kept in alphabetical order, I will fix >that. >And I agree that board/som + "sochip,s3, allwinner,sun8i-v3" makes >sense, >I will resubmit the patch with those (and

Re: [PATCH v8 -tip 13/26] kernel/entry: Add support for core-wide protection of kernel-mode

2020-10-30 Thread Alexandre Chartre
On 10/20/20 3:43 AM, Joel Fernandes (Google) wrote: Core-scheduling prevents hyperthreads in usermode from attacking each other, but it does not do anything about one of the hyperthreads entering the kernel for any reason. This leaves the door open for MDS and L1TF attacks with concurrent execu

Re: [PATCH] media: v4l2-compat-ioctl32: check for max size

2020-10-30 Thread Hans Verkuil
On 19/10/2020 13:54, Defang Bo wrote: > Similar to commit("media: v4l2-compat-ioctl32: prevent go past > max size"} ,add max size check for count variable. > > Signed-off-by: Defang Bo > --- > drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

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

2020-10-30 Thread Peter Zijlstra
On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote: > > The only thing I can come up with in a hurry is that that dummy_iregs > > thing really should be static. That's 168 bytes of stack out the window > > right there. > > What's worse is perf_sample_data which is 384 bytes and is 64

Re: [PATCH] mwifiex: pcie: add enable_device_dump module parameter

2020-10-30 Thread Tsuchiya Yuto
On Wed, 2020-10-28 at 17:12 -0700, Brian Norris wrote: > On Wed, Oct 28, 2020 at 3:58 PM Tsuchiya Yuto wrote: > > > > The devicve_dump may take a little bit long time and users may want to > > disable the dump for daily usage. > > > > This commit adds a new module parameter enable_device_dump an

Re: [PATCH v2 02/12] soc: mediatek: Add MediaTek SCPSYS power domains

2020-10-30 Thread Enric Balletbo i Serra
Hi Nicolas, On 28/10/20 2:13, Nicolas Boichat wrote: > On Wed, Oct 28, 2020 at 12:25 AM Enric Balletbo i Serra > wrote: >> >> Hi Nicolas, >> >> On 27/10/20 1:19, Nicolas Boichat wrote: >>> Hi Enric, >>> >>> On Mon, Oct 26, 2020 at 11:17 PM Enric Balletbo i Serra >>> wrote: Hi Nicolas,

arc: kernel/entry.S:310: Error: inappropriate arguments for opcode 'and'

2020-10-30 Thread Naresh Kamboju
arc defconfig build failed on linux next 20201030 with gcc-8 and gcc-9. make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arc CROSS_COMPILE=arc-elf32- HOSTCC=gcc CC="sccache arc-elf32-gcc" O=build uImage # ../arch/arc/kernel/entry.S: Assembler messages: ../arch/arc/kernel/entry.S:

Re: Linux 4.19.154

2020-10-30 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index d5e93bf20799..a7056e26947c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 153 +SUBLEVEL = 154 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/boot/dts/imx6sl.d

<    5   6   7   8   9   10   11   12   13   >