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 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 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 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 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] 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

[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: 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

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: [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 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 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] 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 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 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 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 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

[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 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

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 -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: [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 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);

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: [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 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 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 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

[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 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

[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,

[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

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

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: (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] 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: [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 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: [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

[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:

[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 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 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 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 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 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 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 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 05/11] arm64: dts: ls1088ardb: add necessary DTS nodes for DPMAC2

2020-10-30 Thread Ioana Ciornei
From: Ioana Ciornei Annotate the external MDIO2 node and describe the 10GBASER PHY found on the LS1088ARDB board and add a phy-handle for DPMAC2 to link it. Also, add the internal PCS MDIO node for the internal MDIO buses found on the LS1088A SoC along with its internal PCS PHY and link the corre

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

2020-10-30 Thread Enric Balletbo i Serra
The System Control Processor System (SCPSYS) has several power management related tasks in the system. This driver implements support to handle the different power domains supported in order to meet high performance and low power requirements. Co-developed-by: Matthias Brugger Signed-off-by: Matt

[PATCH v4 01/16] dt-bindings: power: Add bindings for the Mediatek SCPSYS power domains controller

2020-10-30 Thread Enric Balletbo i Serra
The System Control Processor System (SCPSYS) has several power management related tasks in the system. Add the bindings to define the power domains for the SCPSYS power controller. Co-developed-by: Matthias Brugger Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra Reviewed-b

[PATCH v5 06/11] arm64: dts: ls208xa: add the external MDIO 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:

[PATCH v4 05/16] soc: mediatek: pm_domains: Make bus protection generic

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger Bus protection is not exclusively done by calling the infracfg misc driver. Make the calls for setting and clearing the bus protection generic so that we can use other blocks for it as well. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Chang

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

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger Apart from the infracfg block, the SMI block is used to enable the bus protection for some power domains. Add support for this block. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: - Use the new syscon_regmap_lookup_by_phandle_o

[PATCH v4 09/16] soc: mediatek: pm-domains: Allow bus protection to ignore clear ack

2020-10-30 Thread Enric Balletbo i Serra
From: Matthias Brugger In some cases the hardware does not create an acknowledgment of the bus protection clearing. Add a flag to the bus protection indicating that a clear event will be ignored. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Cha

[PATCH v5 09/11] arm64: dts: ls208xa: 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 LS208x SoCs, along with their internal PCS PHYs which will be used when the DPMAC object 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

[PATCH v4 00/16] soc: mediatek: pm-domains: Add new driver for SCPSYS power domains controller

2020-10-30 Thread Enric Balletbo i Serra
Dear all, This is a new driver with the aim to deprecate the mtk-scpsys driver. The problem with that driver is that, in order to support more Mediatek SoCs you need to add some logic to handle properly the power-up sequence of newer Mediatek SoCs, doesn't handle parent-child power domains and nee

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

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

Using fixed LPI number for some Device ID

2020-10-30 Thread Dongjiu Geng
Hi Marc, Sorry to disturb you, Currently the LPI number is not fixed for the device. The LPI number is dynamically allocated start from 8092. For two OS which shares the ITS, One OS needs to configure the device interrupt required by another OS, and the other OS uses a fixed interrupt ID to re

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

2020-10-30 Thread Takashi Iwai
On Fri, 30 Oct 2020 12:24:35 +0100, Liao, Bard wrote: > > > > > -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

Re: [PATCH -next] mm, page_alloc: Fix old-style function definition

2020-10-30 Thread David Hildenbrand
On 28.10.20 08:32, Zou Wei wrote: Fix warning: mm/page_alloc.c:763:6: warning: old-style function definition [-Wold-style-definition] void init_mem_debugging() ^~ Reported-by: Hulk Robot Signed-off-by: Zou Wei --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertio

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

2020-10-30 Thread gre...@linuxfoundation.org
On Fri, Oct 30, 2020 at 08:28:12PM +0900, Jungrae Kim wrote: > > 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 wro

Re: [PATCH v2 1/2] dt-bindings: power: Add MT8167 power domains

2020-10-30 Thread Enric Balletbo i Serra
Hi Fabien, Thank you for the patch and base it on [0] On 27/10/20 14:11, Fabien Parent wrote: > Add power domains dt-bindings for MT8167. > > Signed-off-by: Fabien Parent > --- > > This patch depends on the SCPSYS PM domains driver [0]. > > v2: > * Implement on top of new SCPSYS PM doma

[PATCH] checkpatch: add fix option for GERRIT_CHANGE_ID

2020-10-30 Thread Aditya Srivastava
Currently, whenever a Gerrit Change-Id is present in a commit, checkpatch.pl warns to remove the Change-Id before submitting the patch. E.g., running checkpatch on commit adc311a5bbf6 ("iwlwifi: bump FW API to 53 for 22000 series") reports this error: ERROR: Remove Gerrit Change-Id's before submi

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

2020-10-30 Thread Jason Wang
On 2020/10/30 下午6:54, Stefano Garzarella wrote: 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 chang

Re: [PATCH 2/4] OPP: Add support for parsing the 'opp-sustainable' property

2020-10-30 Thread Quentin Perret
Hi Lukasz, On Wednesday 28 Oct 2020 at 14:08:45 (+), Lukasz Luba wrote: > +unsigned long dev_pm_opp_get_sustainable_opp_freq(struct device *dev) > +{ > + struct opp_table *opp_table; > + unsigned long freq = 0; > + > + opp_table = _find_opp_table(dev); > + if (IS_ERR(opp_table)

Re: [PATCH v2 2/2] soc: mediatek: pm-domains: Add support for mt8167

2020-10-30 Thread Enric Balletbo i Serra
Hi Fabien, Thank you for the patch and base it on the new SCPSYS PM domains driver On 27/10/20 14:11, Fabien Parent wrote: > Add the needed board data to support mt8167 SoC. > > Signed-off-by: Fabien Parent > --- > > This patch depends on the SCPSYS PM domains driver [0]. > > v2: > * Im

Re: [PATCH v3 2/3] ima: replace arch-specific get_sb_mode() with a common helper ima_get_efi_secureboot()

2020-10-30 Thread Ard Biesheuvel
On Fri, 30 Oct 2020 at 07:09, Chester Lin wrote: > > remove the get_sb_mode() from x86/kernel/ima_arch.c and create a common > helper ima_get_efi_secureboot() in IMA so that all EFI-based architectures > can refer to the same procedure. > > Signed-off-by: Chester Lin > --- > arch/x86/kernel/ima_

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

2020-10-30 Thread Christian Brauner
On Fri, Oct 30, 2020 at 01:10:52PM +0200, Amir Goldstein wrote: > [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

Re: [PATCH] checkpatch: improve handling of email comments

2020-10-30 Thread Joe Perches
On Fri, 2020-10-30 at 14:37 +0530, Dwaipayan Ray wrote: > checkpatch has limited support for parsing email comments. It only > support single name comments or single after address comments. > Whereas, RFC 5322 specifies that comments can be inserted in > between any tokens of the email fields. > >

Re: [PATCH v3 3/3] arm64/ima: add ima_arch support

2020-10-30 Thread Ard Biesheuvel
On Fri, 30 Oct 2020 at 07:09, Chester Lin wrote: > > Add arm64 IMA arch support. The code and arch policy is mainly inherited > from x86. > > Signed-off-by: Chester Lin > --- > arch/arm64/Kconfig | 1 + > arch/arm64/kernel/Makefile | 2 ++ > arch/arm64/kernel/ima_arch.c | 43 ++

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

2020-10-30 Thread Greg KH
On Fri, Oct 30, 2020 at 11:24:35AM +, Liao, Bard wrote: > > > > -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...@cade

[PATCH] i2c: mediatek: move dma reset before i2c reset

2020-10-30 Thread qii.wang
From: Qii Wang The i2c driver default do dma reset after i2c reset, but sometimes i2c reset will trigger dma tx2rx, then apdma write data to dram which has been i2c_put_dma_safe_msg_buf(kfree). Move dma reset before i2c reset in mtk_i2c_init_hw to fix it. Signed-off-by: Qii Wang --- drivers/i2

Re: [PATCH] checkpatch: improve handling of email comments

2020-10-30 Thread Lukas Bulwahn
On Fri, 30 Oct 2020, Joe Perches wrote: > On Fri, 2020-10-30 at 14:37 +0530, Dwaipayan Ray wrote: > > checkpatch has limited support for parsing email comments. It only > > support single name comments or single after address comments. > > Whereas, RFC 5322 specifies that comments can be insert

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

2020-10-30 Thread Jungrae Kim
> On Fri, Oct 30, 2020 at 08:28:12PM +0900, Jungrae Kim wrote: > > > 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, Hyu

Re: WARN_ON(fuse_insert_writeback(root, wpa)) in tree_insert()

2020-10-30 Thread Qian Cai
On Thu, 2020-10-29 at 16:20 +0100, Miklos Szeredi wrote: > On Thu, Oct 29, 2020 at 4:02 PM Qian Cai wrote: > > On Wed, 2020-10-07 at 16:08 -0400, Qian Cai wrote: > > > Running some fuzzing by a unprivileged user on virtiofs could trigger the > > > warning below. The warning was introduced not long

Re: [PATCH v3 1/3] efi: generalize efi_get_secureboot

2020-10-30 Thread Ard Biesheuvel
Hello Chester, Thanks again for looking into this. On Fri, 30 Oct 2020 at 07:09, Chester Lin wrote: > > Generalize the efi_get_secureboot() function so not only efistub but also > other subsystems can use it. > > Signed-off-by: Chester Lin > --- > drivers/firmware/efi/libstub/Makefile | 2

[GIT PULL] MMC fixes for v5.10-rc2

2020-10-30 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v5.10-rc2. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 3e4fb4346c781068610d03c12b16c0cfb0fd24a3: Merge tag 'spdx-5.10-rc1' of

Re: kernel BUG at mm/page-writeback.c:2241 [ BUG_ON(PageWriteback(page); ]

2020-10-30 Thread Qian Cai
On Thu, 2020-10-22 at 18:12 +0100, Matthew Wilcox wrote: > On Thu, Oct 22, 2020 at 11:35:26AM -0400, Qian Cai wrote: > > On Thu, 2020-10-22 at 01:49 +0100, Matthew Wilcox wrote: > > > On Wed, Oct 21, 2020 at 08:30:18PM -0400, Qian Cai wrote: > > > > Today's linux-next starts to trigger this wonderi

Re: [PATCH] checkpatch: add fix option for GERRIT_CHANGE_ID

2020-10-30 Thread Joe Perches
On Fri, 2020-10-30 at 17:14 +0530, Aditya Srivastava wrote: > Currently, whenever a Gerrit Change-Id is present in a commit, > checkpatch.pl warns to remove the Change-Id before submitting the patch. > > E.g., running checkpatch on commit adc311a5bbf6 ("iwlwifi: bump FW > API to 53 for 22000 serie

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