Re: [PATCH V4 1/5] dt-bindings: clock: Convert i.MX6Q clock to json-schema

2020-05-05 Thread Stephen Boyd
Quoting Anson Huang (2020-04-29 17:51:57) > Convert the i.MX6Q clock binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- Please send a cover letter next time. Who is going to apply these patches? I hope Rob? If you need an acked-by feel free to have mine!

Re: [RFC PATCH 00/61] fscache, cachefiles: Rewrite the I/O interface in terms of kiocb/iov_iter

2020-05-05 Thread Christoph Hellwig
Can you split this into a few smaller series? > 60 patches is beyond reviewer comprehension.

Re: [PATCH net] net: dsa: Do not leave DSA master with NULL netdev_ops

2020-05-05 Thread Allen
When ndo_get_phys_port_name() for the CPU port was added we introduced an early check for when the DSA master network device in dsa_master_ndo_setup() already implements ndo_get_phys_port_name(). When we perform the teardown operation in dsa_master_ndo_teardown() we would not be checking that

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-05 Thread Cornelia Huck
On Mon, 4 May 2020 17:03:54 -0600 Alex Williamson wrote: > On Mon, 4 May 2020 15:08:08 -0700 > Neo Jia wrote: > > > On Mon, May 04, 2020 at 12:52:53PM -0600, Alex Williamson wrote: > > > External email: Use caution opening links or attachments > > > > > > > > > On Mon, 4 May 2020 18:09:16

Re: [PATCH] net/mlx5: reduce stack usage in qp_read_field

2020-05-05 Thread Leon Romanovsky
On Mon, May 04, 2020 at 05:41:56PM +0200, Arnd Bergmann wrote: > On Sun, May 3, 2020 at 7:30 AM Leon Romanovsky wrote: > > On Thu, Apr 30, 2020 at 04:37:14PM +0200, Arnd Bergmann wrote: > > > On Thu, Apr 30, 2020 at 7:22 AM Leon Romanovsky wrote: > > > > > > While warning limit is generally 1024

Re: [PATCH v2 2/2] clk: qoriq: add cpufreq platform device

2020-05-05 Thread Stephen Boyd
Quoting Mian Yousaf Kaukab (2020-04-21 01:30:00) > Add a platform device for qoirq-cpufreq driver for the compatible > clockgen blocks. > > Reviewed-by: Yuantian Tang > Acked-by: Viresh Kumar > Signed-off-by: Mian Yousaf Kaukab > --- Acked-by: Stephen Boyd

Re: [PATCH] iommu: Relax ACS requirement for RCiEP devices.

2020-05-05 Thread Raj, Ashok
Hi Alex + Joerg, accidently missed in the Cc. On Mon, May 04, 2020 at 11:19:36PM -0600, Alex Williamson wrote: > On Mon, 4 May 2020 21:42:16 -0700 > Ashok Raj wrote: > > > PCIe Spec recommends we can relax ACS requirement for RCIEP devices. > > > > PCIe 5.0 Specification. > > 6.12 Access

Re: [PATCH 4.19 STABLE 2/2] KVM: VMX: Mark RCX, RDX and RSI as clobbered in vmx_vcpu_run()'s asm blob

2020-05-05 Thread Greg Kroah-Hartman
On Mon, May 04, 2020 at 06:23:48PM -0700, Sean Christopherson wrote: > Save RCX, RDX and RSI to fake outputs to coerce the compiler into > treating them as clobbered. RCX in particular is likely to be reused by > the compiler to dereference the 'struct vcpu_vmx' pointer, which will > result in a

Re: net: rtw88: fix an issue about leak system resources

2020-05-05 Thread Markus Elfring
> Brian, Thanks very much for your reminder, Reminders can hopefully trigger positive effects. > These comments have always bothered me. Thanks for such information. > Now I can put it on my blacklist. I find it unfortunate that you choose to adjust your communication preferences in this

Re: [PATCH/RFC] clk: gate: Add some kunit test suites

2020-05-05 Thread Vaittinen, Matti
On Mon, 2020-05-04 at 13:19 -0700, Brendan Higgins wrote: > On Sun, May 3, 2020 at 10:54 PM Vaittinen, Matti > wrote: > > On Wed, 2020-04-29 at 12:15 +0800, David Gow wrote: > > > On Tue, Apr 14, 2020 at 7:46 PM Vaittinen, Matti > > > wrote: > > > > Hello Stephen & All, > > > > > > > >

[PATCH] kobject: documentation: Fix erroneous function example in kobject doc.

2020-05-05 Thread Qi Zheng
Update the definitions of some functions listed in the kobject document, since they have been changed. Signed-off-by: Qi Zheng --- Documentation/core-api/kobject.rst | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-05 Thread Konstantin Khlebnikov
On 05/05/2020 00.19, David Rientjes wrote: On Mon, 4 May 2020, Konstantin Khlebnikov wrote: To get exact count of free and used objects slub have to scan list of partial slabs. This may take at long time. Scanning holds spinlock and blocks allocations which move partial slabs to per-cpu lists

Re: [PATCH v2 0/3] arm64: dts: rockchip: misc. cleanups and improvements

2020-05-05 Thread Chen-Yu Tsai
Hi, On Mon, Apr 27, 2020 at 3:31 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi, > > Here is the remaining patch for roc-rk3399-pc, along with a few other > new patches. > > - Based on discussions from v1, patch one, newly added, drops the list > of valid values for

Re: [PATCH 4.19 STABLE 2/2] KVM: VMX: Mark RCX, RDX and RSI as clobbered in vmx_vcpu_run()'s asm blob

2020-05-05 Thread Sean Christopherson
On Tue, May 05, 2020 at 08:15:02AM +0200, Greg Kroah-Hartman wrote: > On Mon, May 04, 2020 at 06:23:48PM -0700, Sean Christopherson wrote: > > Save RCX, RDX and RSI to fake outputs to coerce the compiler into > > treating them as clobbered. RCX in particular is likely to be reused by > > the

Re: [PATCH v5 0/4] Charge loop device i/o to issuing cgroup

2020-05-05 Thread Dave Chinner
On Tue, Apr 28, 2020 at 10:27:32PM -0400, Johannes Weiner wrote: > On Wed, Apr 29, 2020 at 07:47:34AM +1000, Dave Chinner wrote: > > On Tue, Apr 28, 2020 at 12:13:46PM -0400, Dan Schatzberg wrote: > > > This patch series does some > > > minor modification to the loop driver so that each cgroup can

Re: [PATCH v6 1/5] soc: qcom: rpmh-rsc: Correctly ignore CPU_CLUSTER_PM notifications

2020-05-05 Thread Stephen Boyd
Quoting Douglas Anderson (2020-05-04 10:50:15) > Our switch statement doesn't have entries for CPU_CLUSTER_PM_ENTER, > CPU_CLUSTER_PM_ENTER_FAILED, and CPU_CLUSTER_PM_EXIT and doesn't have > a default. This means that we'll try to do a flush in those cases but > we won't necessarily be the last

[PATCH net-next v6 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-05 Thread Oleksij Rempel
This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of auto-negotiation support, we needed to be able to configure the MASTER-SLAVE role of the port manually or from an application in user space. The same UAPI can be used for 1000BASE-T or MultiGBASE-T devices to force MASTER or

Re: [PATCH] sysctl: Make sure proc handlers can't expose heap memory

2020-05-05 Thread Greg KH
On Mon, May 04, 2020 at 09:59:03PM +, Luis Chamberlain wrote: > On Mon, May 04, 2020 at 01:32:07PM -0700, Kees Cook wrote: > > On Mon, May 04, 2020 at 07:59:37PM +, Luis Chamberlain wrote: > > > On Mon, May 04, 2020 at 12:08:55PM -0700, Kees Cook wrote: > > > > Just as a precaution, make

[PATCH net-next v6 2/2] net: phy: tja11xx: add support for master-slave configuration

2020-05-05 Thread Oleksij Rempel
The TJA11xx PHYs have a vendor specific Master/Slave configuration bit, which is not compatible with IEEE 803.2-2018 spec for 100Base-T1 devices. So, provide a custom config_ange call back to solve this problem. Signed-off-by: Oleksij Rempel --- drivers/net/phy/nxp-tja11xx.c | 43

[PATCH net-next v6 0/2] provide support for PHY master/slave configuration

2020-05-05 Thread Oleksij Rempel
changes v6: - use NL_SET_ERR_MSG_ATTR in ethnl_update_linkmodes - add sanity checks in the ioctl interface - use bool for ethnl_validate_master_slave_cfg() changes v5: - set MASTER_SLAVE_CFG_UNSUPPORTED as default value - send a netlink error message on validation error - more code fixes changes

Re: [PATCH v2 1/3] soc: qcom: rpmh-rsc: Remove tcs_is_free() and find_free_tcs() APIs

2020-05-05 Thread Stephen Boyd
Quoting Doug Anderson (2020-04-27 17:13:04) > On Sat, Apr 25, 2020 at 10:53 AM Stephen Boyd wrote: > > diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c > > index 571aa1012f23..3f4951840365 100644 > > --- a/drivers/soc/qcom/rpmh-rsc.c > > +++ b/drivers/soc/qcom/rpmh-rsc.c > >

Re: iT X - the fair pay initiative - cursive, bold latin script examples

2020-05-05 Thread Ywe Cærlyn
Some examples of cursive and bold features of the latin script here. https://www.youtube.com/watch?v=-r3GLmUzuds Den 02.05.2020 18:00, skrev Ywe Cærlyn: So peeps, I think I have the best system ever here. Gather industry support, and we can finally have the success it deserves. Serene

[PATCH v3] riscv: force __cpu_up_ variables to put in data section

2020-05-05 Thread Zong Li
Put __cpu_up_stack_pointer and __cpu_up_task_pointer in data section. Currently, these two variables are put in bss section, there is a potential risk that secondary harts get the uninitialized value before main hart finishing the bss clearing. In this case, all secondary harts would pass the

Re: [PATCH v5 0/4] Charge loop device i/o to issuing cgroup

2020-05-05 Thread Dave Chinner
On Wed, Apr 29, 2020 at 12:25:40PM +0200, Jan Kara wrote: > On Wed 29-04-20 07:47:34, Dave Chinner wrote: > > On Tue, Apr 28, 2020 at 12:13:46PM -0400, Dan Schatzberg wrote: > > > The loop device runs all i/o to the backing file on a separate kworker > > > thread which results in all i/o being

Re: [PATCH net v1] net: broadcom: fix a mistake about ioremap resource

2020-05-05 Thread Dejin Zheng
On Mon, May 04, 2020 at 08:28:52PM -0700, Florian Fainelli wrote: > > > On 5/4/2020 7:03 PM, Dejin Zheng wrote: > > Commit d7a5502b0bb8b ("net: broadcom: convert to > > devm_platform_ioremap_resource_byname()") will broke this driver. > > idm_base and nicpm_base were optional, after this change,

Re: [PATCH] uprobes: ensure that uprobe->offset and ->ref_ctr_offset are properly aligned

2020-05-05 Thread Sven Schnelle
Hi, On Mon, May 04, 2020 at 08:40:44PM +0200, Christian Borntraeger wrote: > > > On 04.05.20 18:47, Oleg Nesterov wrote: > > uprobe_write_opcode() must not cross page boundary; prepare_uprobe() > > relies on arch_uprobe_analyze_insn() which should validate "vaddr" but > > some architectures

Re: [PATCH V3 02/16] arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register

2020-05-05 Thread Anshuman Khandual
On 05/05/2020 01:54 AM, Will Deacon wrote: > On Sat, May 02, 2020 at 07:03:51PM +0530, Anshuman Khandual wrote: >> ID_DFR0 based TraceFilt feature should not be exposed to guests. Hence lets >> drop it. >> >> Cc: Catalin Marinas >> Cc: Will Deacon >> Cc: Marc Zyngier >> Cc: Mark Rutland >>

Re: [PATCH v7 5/5] powerpc/hv-24x7: Update post_mobility_fixup() to handle migration

2020-05-05 Thread kajoljain
On 4/29/20 5:07 PM, Michael Ellerman wrote: > Kajol Jain writes: >> Function 'read_sys_info_pseries()' is added to get system parameter >> values like number of sockets and chips per socket. >> and it gets these details via rtas_call with token >> "PROCESSOR_MODULE_INFO". >> >> Incase lpar

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

2020-05-05 Thread Boris Brezillon
Hello Vadivel, On Tue, 5 May 2020 13:28:58 +0800 "Ramuthevar, Vadivel MuruganX" wrote: > >> > >> ebu_nand: ebu_nand@e0f0 { > >> compatible = "intel,lgm-ebu-nand"; > >> reg = <0xe0f0 0x100 > >>

Re: BUG: stack guard page was hit in unwind_next_frame

2020-05-05 Thread Cong Wang
On Mon, May 4, 2020 at 6:06 PM Cong Wang wrote: > > On Mon, May 4, 2020 at 12:08 PM Josh Poimboeuf wrote: > > > > On Sat, May 02, 2020 at 11:36:11PM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:8999dc89 net/x25: Fix null-ptr-deref

Re: [PATCH V3 06/16] arm64/cpufeature: Introduce ID_MMFR5 CPU register

2020-05-05 Thread Anshuman Khandual
On 05/05/2020 02:03 AM, Will Deacon wrote: > On Sat, May 02, 2020 at 07:03:55PM +0530, Anshuman Khandual wrote: >> This adds basic building blocks required for ID_MMFR5 CPU register which >> provides information about the implemented memory model and memory >> management support in AArch32

Re: [PATCH 4.19 STABLE 2/2] KVM: VMX: Mark RCX, RDX and RSI as clobbered in vmx_vcpu_run()'s asm blob

2020-05-05 Thread Greg Kroah-Hartman
On Mon, May 04, 2020 at 11:27:31PM -0700, Sean Christopherson wrote: > On Tue, May 05, 2020 at 08:15:02AM +0200, Greg Kroah-Hartman wrote: > > On Mon, May 04, 2020 at 06:23:48PM -0700, Sean Christopherson wrote: > > > Save RCX, RDX and RSI to fake outputs to coerce the compiler into > > > treating

Re: [PATCH v7 5/5] powerpc/hv-24x7: Update post_mobility_fixup() to handle migration

2020-05-05 Thread Michael Ellerman
kajoljain writes: > On 4/29/20 5:07 PM, Michael Ellerman wrote: >> Kajol Jain writes: >>> Function 'read_sys_info_pseries()' is added to get system parameter >>> values like number of sockets and chips per socket. >>> and it gets these details via rtas_call with token >>>

Re: [PATCH V3 09/16] arm64/cpufeature: Add remaining feature bits in ID_AA64ISAR0 register

2020-05-05 Thread Anshuman Khandual
On 05/05/2020 10:24 AM, Suzuki K Poulose wrote: > On 05/02/2020 02:33 PM, Anshuman Khandual wrote: >> Enable TLB features bit in ID_AA64ISAR0 register as per ARM DDI 0487F.a >> specification. >> >> Cc: Catalin Marinas >> Cc: Will Deacon >> Cc: Mark Rutland >> Cc: Suzuki K Poulose >> Cc:

Re: [PATCH 2/2] ALSA: hda: Use hdac_to_hda_codec macro

2020-05-05 Thread Takashi Iwai
On Tue, 05 May 2020 05:03:53 +0200, Kai-Heng Feng wrote: > > Use hdac_to_hda_codec() instead of container_of(). > > No functional change intended. > > Signed-off-by: Kai-Heng Feng Applied now. Thanks. Takashi

Re: [PATCH 1/2] ALSA: hda: Use dev_to_hdac_dev macro

2020-05-05 Thread Takashi Iwai
On Tue, 05 May 2020 05:03:52 +0200, Kai-Heng Feng wrote: > > Use dev_to_hdac_dev() instead of container_of(). > > No functional change intended. > > Signed-off-by: Kai-Heng Feng Applied now. Thanks. Takashi

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-05 Thread Michal Hocko
On Mon 04-05-20 12:23:51, Shakeel Butt wrote: [...] > *Potentially* useful for debugging versus actually beneficial for > "sweep before tear down" use-case. I definitely do not want to prevent you from achieving what you want/need. Let's get back to your argument on why you cannot use memory.high

Re: [PATCH] firmware: xilinx: Export zynqmp_pm_fpga_{get_status,load}

2020-05-05 Thread Michal Simek
On 02. 05. 20 4:59, Nathan Chancellor wrote: > When building arm64 allmodconfig: > > ERROR: modpost: "zynqmp_pm_fpga_load" [drivers/fpga/zynqmp-fpga.ko] undefined! > ERROR: modpost: "zynqmp_pm_fpga_get_status" [drivers/fpga/zynqmp-fpga.ko] > undefined! > > These functions were added to

linux-next: Tree for May 5

2020-05-05 Thread Stephen Rothwell
Hi all, Changes since 20200504: New tree: ti-k3 My fixes tree contains: bbefc924d0ff ("ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST") 7cb1d38f52b1 ("drm/msm: Fix undefined "rd_full" link error") The qcom tree still had its build failure for which I reverted a commit. Non-merge

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

2020-05-05 Thread Ramuthevar, Vadivel MuruganX
Hi Boris, On 5/5/2020 3:00 pm, Boris Brezillon wrote: Hello Vadivel, On Tue, 5 May 2020 13:28:58 +0800 "Ramuthevar, Vadivel MuruganX" wrote: ebu_nand: ebu_nand@e0f0 { compatible = "intel,lgm-ebu-nand"; reg = <0xe0f0 0x100

Re: [PATCH v4 04/12] OPP: Add and export helper to update voltage

2020-05-05 Thread Sibi Sankar
Hey Viresh, Thanks for taking time to review the series. On 2020-05-05 10:15, Viresh Kumar wrote: On 05-05-20, 01:52, Sibi Sankar wrote: Add and export 'dev_pm_opp_update_voltage' to update the voltage of an opp for a given frequency. This will be useful to update the opps with voltages read

Re: [PATCH v4 10/12] OPP: Add support for setting interconnect-tags

2020-05-05 Thread Sibi Sankar
On 2020-05-05 10:26, Viresh Kumar wrote: On 05-05-20, 01:52, Sibi Sankar wrote: Add support for setting tags on icc paths associated with the opp_table. Signed-off-by: Sibi Sankar --- drivers/opp/of.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) Maybe

[PATCH] ath10k: Skip handling del_server during driver exit

2020-05-05 Thread Rakesh Pillai
The qmi infrastructure sends the client a del_server event when the client releases its qmi handle. This is not the msg indicating the actual qmi server exiting. In such cases the del_server msg should not be processed, since the wifi firmware does not reset its qmi state. Hence skip the

RE: [PATCH 1/2] riscv: defconfig: enable spi nor on Hifive Unleashed A00 board.

2020-05-05 Thread Sagar Kadam
Hello Palmer, > -Original Message- > From: Palmer Dabbelt > Sent: Tuesday, May 5, 2020 3:40 AM > To: Sagar Kadam > Cc: tudor.amba...@microchip.com; miquel.ray...@bootlin.com; > rich...@nod.at; vigne...@ti.com; Paul Walmsley > ; linux-ri...@lists.infradead.org; linux- >

Re: [PATCH v4 06/12] cpufreq: qcom: Update the bandwidth levels on frequency change

2020-05-05 Thread Sibi Sankar
On 2020-05-05 10:20, Viresh Kumar wrote: On 05-05-20, 01:52, Sibi Sankar wrote: Add support to parse optional OPP table attached to the cpu node when the OPP bandwidth values are populated. This allows for scaling of DDR/L3 bandwidth levels with frequency change. Signed-off-by: Sibi Sankar

Re: [PATCH] net: broadcom: fix a mistake about ioremap resource

2020-05-05 Thread Markus Elfring
> Commit d7a5502b0bb8b ("net: broadcom: convert to > devm_platform_ioremap_resource_byname()") will broke this driver. > idm_base and nicpm_base were optional, after this change, they are > mandatory. it will probe fails with -22 when the dtb doesn't have them > defined. so revert part of this

Re: [PATCH v5 3/3] drm/bridge: chrontel-ch7033: Add a new driver

2020-05-05 Thread Neil Armstrong
On 04/05/2020 22:06, Sam Ravnborg wrote: > Hi Lubomir. > > Drivers looks good. I look forward to the day we have moved > connector stuff to the displaydriver - this will simplify this driver > even more. > > One Q in the following. > > Sam > > On Fri, Apr 24, 2020 at 11:35:39PM +0200,

Re: [PATCH v5 0/3] drm: Add support for Chrontel CH7033 VGA/DVI Encoder

2020-05-05 Thread Neil Armstrong
On 24/04/2020 23:35, Lubomir Rintel wrote: > Hi, > > chained to this message is another spin of a driver for CH7033. > > Compared to the previous submission, the integration with device > component framework and creation of an encoder on component bind has > been removed. This means that until

Re: [Linux-stm32] [PATCH v7 5/6] clocksource: Add Low Power STM32 timers driver

2020-05-05 Thread Benjamin GAIGNARD
On 4/20/20 2:16 PM, Benjamin Gaignard wrote: > From: Benjamin Gaignard > > Implement clock event driver using low power STM32 timers. > Low power timer counters running even when CPUs are stopped. > It could be used as clock event broadcaster to wake up CPUs but not like > a clocksource because

[PATCH net 1/2] Revert "coallocate socket_wq with socket itself"

2020-05-05 Thread SeongJae Park
From: SeongJae Park This reverts commit 333f7909a8573145811c4ab7d8c9092301707721. The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the deallocation of 'socket_alloc' to be done asynchronously using RCU, as same to 'sock.wq'. And the following commit 333f7909a857 ("coallocate

[PATCH net 0/2] Revert the 'socket_alloc' life cycle change

2020-05-05 Thread SeongJae Park
From: SeongJae Park The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the deallocation of 'socket_alloc' to be done asynchronously using RCU, as same to 'sock.wq'. And the following commit 333f7909a857 ("coallocate socket_sq with socket itself") made those to have same life

[PATCH net 2/2] Revert "sockfs: switch to ->free_inode()"

2020-05-05 Thread SeongJae Park
From: SeongJae Park This reverts commit 6d7855c54e1e269275d7c504f8f62a0b7a5b3f18. The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the deallocation of 'socket_alloc' to be done asynchronously using RCU, as same to 'sock.wq'. The change made 'socket_alloc' live longer than

[PATCH v3 1/5] dt-bindings: bus: Add firewall bindings

2020-05-05 Thread Benjamin Gaignard
Add schemas for firewall consumer and provider. Signed-off-by: Benjamin Gaignard Reviewed-by: Linus Walleij --- version 3: - add description in firewall consumer bindings - add Linus reviewed-by tag .../bindings/bus/stm32/firewall-consumer.yaml | 36 ++

[PATCH v3 0/5] STM32 ETZPC bus controller

2020-05-05 Thread Benjamin Gaignard
STM32 Extended TrustZone Protection controller act like a firewall on the platform bus. Depending of its configuration devices could be accessible by the TrustZone, the co-processor or the non-secure world. ETZPC configuration could evolve at runtime for example to switch a device from non-secure

[PATCH v3 2/5] bus: stm32: Introduce firewall controller helpers

2020-05-05 Thread Benjamin Gaignard
The goal of these helpers are to offer an interface for the hardware blocks controlling bus accesses rights. Bus firewall controllers are typically used to control if a hardware block can perform read or write operations on bus. Smarter firewall controllers could be able to define accesses

[PATCH v3 3/5] dt-bindings: bus: Add STM32 ETZPC firewall controller

2020-05-05 Thread Benjamin Gaignard
Document STM32 ETZPC firewall controller bindings Signed-off-by: Benjamin Gaignard --- .../bindings/bus/stm32/st,stm32-etzpc.yaml | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml diff

[PATCH v3 5/5] ARM: dts: stm32: Use ETZPC firewall bus

2020-05-05 Thread Benjamin Gaignard
Allow STM32 ETZPC to check firewall configuration before populating the platform bus. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp151.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi

[PATCH v3 4/5] bus: stm32: Add stm32 ETZPC firewall bus controller

2020-05-05 Thread Benjamin Gaignard
Add STM32 Extended TrustZone Protection bus controller. For each of device-tree nodes it will check and apply firewall configuration. If it doesn't match the device will not be probed by platform bus. A device could be configured to be accessible by trusted world, co-processor or non-secure

Re: [PATCH v2] usb: raw-gadget: fix gadget endpoint selection

2020-05-05 Thread Felipe Balbi
Hi, Andrey Konovalov writes: > Currently automatic gadget endpoint selection based on required features > doesn't work. Raw Gadget tries iterating over the list of available > endpoints and finding one that has the right direction and transfer type. > Unfortunately selecting arbitrary gadget

Re: [PATCH v3 1/3] dt-bindings: ath10k: Add wifi-firmware subnode for wifi node

2020-05-05 Thread Kalle Valo
Rakesh Pillai wrote: > Add a wifi-firmware subnode for the wifi node. > This wifi-firmware subnode is needed for the > targets which do not support TrustZone. > > Signed-off-by: Rakesh Pillai > Acked-by: Rob Herring > Signed-off-by: Kalle Valo 3 patches applied to ath-next branch of

Re: [PATCH v4 07/12] OPP: Add and export helper to get icc path count

2020-05-05 Thread Sibi Sankar
On 2020-05-05 03:33, Saravana Kannan wrote: On Mon, May 4, 2020 at 1:24 PM Sibi Sankar wrote: Add and export 'dev_pm_opp_get_path_count' to get the icc path count associated with the device. This is not related to OPP. You should add this helper function to ICC framework? yes it should

Re: [PATCH] ath11k: use true,false for bool variables

2020-05-05 Thread Kalle Valo
Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/net/wireless/ath/ath11k/dp_rx.c:2964:1-39: WARNING: Assignment > of 0/1 to bool variable > drivers/net/wireless/ath/ath11k/dp_rx.c:2965:1-38: WARNING: Assignment > of 0/1 to bool variable > > Signed-off-by: Jason Yan >

[PATCH] scsi: bfa: make bfad_iocmd_ioc_get_stats() static

2020-05-05 Thread Jason Yan
Fix the following sparse warning: drivers/scsi/bfa/bfad_bsg.c:140:1: warning: symbol 'bfad_iocmd_ioc_get_stats' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/scsi/bfa/bfad_bsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [PATCH 4.19 00/37] 4.19.121-rc1 review

2020-05-05 Thread Chris Paterson
Hi Greg, > From: stable-ow...@vger.kernel.org On > Behalf Of Greg Kroah-Hartman > Sent: 04 May 2020 18:57 > > This is the start of the stable review cycle for the 4.19.121 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues

Re: [PATCH v2] net: ethernet: ti: Remove TI_CPTS_MOD workaround

2020-05-05 Thread Grygorii Strashko
On 04/05/2020 19:57, Clay McClure wrote: My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on PTP_1588_CLOCK") exposes a missing dependency in defconfigs that select TI_CPTS without selecting PTP_1588_CLOCK, leading to linker errors of the form:

[PATCH net-next] ixgbe: Remove conversion to bool in ixgbe_device_supports_autoneg_fc()

2020-05-05 Thread Jason Yan
No need to convert '==' expression to bool. This fixes the following coccicheck warning: drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:68:11-16: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan --- drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 3 +-- 1 file changed, 1

RE: [PATCH 4.4 00/18] 4.4.222-rc1 review

2020-05-05 Thread Chris Paterson
Hello Greg, > From: stable-ow...@vger.kernel.org On > Behalf Of Greg Kroah-Hartman > Sent: 04 May 2020 18:57 > > This is the start of the stable review cycle for the 4.4.222 release. > There are 18 patches in this series, all will be posted as a response > to this one. If anyone has any issues

[PATCH net-next] ixgbe: Use true,false for bool variable in __ixgbe_enable_sriov()

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:105:2-38: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH net 1/2] Revert "coallocate socket_wq with socket itself"

2020-05-05 Thread Greg KH
On Tue, May 05, 2020 at 09:28:40AM +0200, SeongJae Park wrote: > From: SeongJae Park > > This reverts commit 333f7909a8573145811c4ab7d8c9092301707721. > > The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the > deallocation of 'socket_alloc' to be done asynchronously using RCU,

[PATCH v1 0/2] Refactor MDP driver and add dummy component driver

2020-05-05 Thread Eizan Miyamoto
This series depends on changes in https://patchwork.kernel.org/patch/11528171/ We are adding a dummy MDP component driver so that all the components are properly configured with IOMMUs and LARBs. This is required for us to get hardware video decode working in 4.19, and possibly newer kernels.

[PATCH net-next] qlcnic: use true,false for bool variable in qlcnic_sriov_common.c

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:1585:3-25: WARNING: Assignment of 0/1 to bool variable drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:1588:3-25: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan ---

[PATCH v1 2/2] [media] mtk-mdp: use pm_runtime in MDP component driver

2020-05-05 Thread Eizan Miyamoto
Without this change, the MDP components are not fully integrated into the runtime power management subsystem, and the MDP driver does not work. For each of the component device drivers to be able to call pm_runtime_get/put_sync() a pointer to the component's device struct had to be added to

[PATCH v1 1/2] [media] mtk-mdp: add driver to probe mdp components

2020-05-05 Thread Eizan Miyamoto
Broadly, this patch (1) adds a driver for various MTK MDP components to go alongside the main MTK MDP driver, and (2) hooks them all together using the component framework. (1) Up until now, the MTK MDP driver controls 8 devices in the device tree on its own. When running tests for the hardware

[PATCH net-next] bnx2x: Remove Comparison to bool in bnx2x_dcb.c

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1548:17-31: WARNING: Comparison to bool drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1148:16-24: WARNING: Comparison to bool drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1158:30-38: WARNING: Comparison to

[PATCH net-next] net: qede: Use true for bool variable in qede_init_fp()

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/qlogic/qede/qede_main.c:1717:5-19: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/net/ethernet/qlogic/qede/qede_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH net 2/2] Revert "sockfs: switch to ->free_inode()"

2020-05-05 Thread Greg KH
On Tue, May 05, 2020 at 09:28:41AM +0200, SeongJae Park wrote: > From: SeongJae Park > > This reverts commit 6d7855c54e1e269275d7c504f8f62a0b7a5b3f18. > > The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the > deallocation of 'socket_alloc' to be done asynchronously using RCU,

[PATCH net-next] net: agere: use true,false for bool variable

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/agere/et131x.c:717:3-22: WARNING: Assignment of 0/1 to bool variable drivers/net/ethernet/agere/et131x.c:721:1-20: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/net/ethernet/agere/et131x.c | 4 ++-- 1

[PATCH net-next] net: ethernet: ti: use true,false for bool variables in cpsw_new.c

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/ti/cpsw_new.c:1924:2-17: WARNING: Assignment of 0/1 to bool variable drivers/net/ethernet/ti/cpsw_new.c:1231:1-16: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/net/ethernet/ti/cpsw_new.c | 4 ++-- 1

[PATCH net-next] net: bnxt: Remove Comparison to bool in bnxt_ethtool.c

2020-05-05 Thread Jason Yan
Fix the following coccicheck warning: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1991:5-46: WARNING: Comparison to bool drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1993:10-54: WARNING: Comparison to bool drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2380:5-38: WARNING: Comparison

[PATCH net-next] net: atheros: remove conversion to bool in atl1c_start_mac()

2020-05-05 Thread Jason Yan
No need to convert '==' expression to bool. This fixes the following coccicheck warning: drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1189:63-68: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +- 1 file changed,

Re: [PATCH] brcmfmac: remove Comparison to bool in brcmf_p2p_send_action_frame()

2020-05-05 Thread Chi-Hsien Lin
On 05/04/2020 7:33, Jason Yan wrote: Fix the following coccicheck warning: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1781:9-12: WARNING: Comparison to bool drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1785:5-8: WARNING: Comparison to bool Signed-off-by: Jason Yan

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-05 Thread Rasmus Villemoes
On 04/05/2020 22.14, Peter Zijlstra wrote: > On Mon, May 04, 2020 at 09:20:03AM +0200, Rasmus Villemoes wrote: > >> >> Indeed, that is horrible. And it "fixes" the argument evaluation by >> changing the !HAVE_STATIC_CALL case to match the HAVE_STATIC_CALL, not >> the other way around, > >

Re: [PATCH v2 03/10] EDAC/ghes: Remove unused members of struct ghes_edac_pvt, rename it to ghes_mci

2020-05-05 Thread Robert Richter
On 23.04.20 19:55:17, Borislav Petkov wrote: > On Wed, Apr 22, 2020 at 01:58:07PM +0200, Robert Richter wrote: > > diff --git a/drivers/edac/ghes_edac.c b/drivers/edac/ghes_edac.c > > index cb3dab56a875..39efce0df881 100644 > > --- a/drivers/edac/ghes_edac.c > > +++ b/drivers/edac/ghes_edac.c > >

Re: [PATCH USB 2/2] usb: raw-gadget: fix typo in uapi headers

2020-05-05 Thread Felipe Balbi
Andrey Konovalov writes: > Signed-off-by: Andrey Konovalov return -ENOCHANGELOG -- balbi signature.asc Description: PGP signature

Re: [trivial PATCH] efi/libstub: Reduce efi_printk object size

2020-05-05 Thread Ard Biesheuvel
On Mon, 4 May 2020 at 20:29, Joe Perches wrote: > > Use a few more common kernel styles. > > Trivially reduce efi_printk object size by using a dereference to > a temporary instead of multiple dereferences of the same object. > > Use efi_printk(const char *str) and static or static const for its

[PATCH] media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()'

2020-05-05 Thread Christophe JAILLET
It is spurious to call 'clk_disable_unprepare()' when 'clk_prepare_enable()' has not been called yet. Re-order the error handling path to avoid it. Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver") Signed-off-by: Christophe JAILLET ---

Re: [PATCH] ath10k: Replace zero-length array with flexible-array

2020-05-05 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99: > > struct foo { >

Re: [PATCH] media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()'

2020-05-05 Thread Chen-Yu Tsai
On Tue, May 5, 2020 at 3:50 PM Christophe JAILLET wrote: > > It is spurious to call 'clk_disable_unprepare()' when > 'clk_prepare_enable()' has not been called yet. > Re-order the error handling path to avoid it. > > Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver") > Signed-off-by:

Re: [PATCH] hid: intel-ish-hid: avoid bogus uninitialized-variable warning

2020-05-05 Thread Jiri Kosina
On Tue, 28 Apr 2020, Arnd Bergmann wrote: > Older compilers like gcc-4.8 don't see that the variable is > initialized when it is used: > > In file included from include/linux/compiler_types.h:68:0, > from :0: > drivers/hid/intel-ish-hid/ishtp-fw-loader.c: In function

Re: [PATCH v7 3/3] phy: intel: Add driver support for ComboPhy

2020-05-05 Thread Dilip Kota
On 5/5/2020 1:21 PM, Vinod Koul wrote: On 04-05-20, 17:32, Dilip Kota wrote: On 5/4/2020 5:20 PM, Vinod Koul wrote: On 04-05-20, 16:26, Dilip Kota wrote: On 5/4/2020 3:29 PM, Vinod Koul wrote: On 30-04-20, 15:15, Dilip Kota wrote: + u32 mask, u32

Re: AVIC related warning in enable_irq_window

2020-05-05 Thread Suravee Suthikulpanit
Paolo / Maxim, On 5/4/20 5:49 PM, Paolo Bonzini wrote: On 04/05/20 12:37, Suravee Suthikulpanit wrote: On 5/4/20 4:25 PM, Paolo Bonzini wrote: On 04/05/20 11:13, Maxim Levitsky wrote: On Mon, 2020-05-04 at 15:46 +0700, Suravee Suthikulpanit wrote: On 5/2/20 11:42 PM, Paolo Bonzini wrote:

Re: [PATCH] mm: Limit boost_watermark on small zones.

2020-05-05 Thread Mel Gorman
On Mon, May 04, 2020 at 01:36:04PM -0700, Andrew Morton wrote: > On Mon, 4 May 2020 13:44:09 +0100 Mel Gorman > wrote: > > > On Fri, May 01, 2020 at 03:57:29PM -0700, Andrew Morton wrote: > > > On Thu, 30 Apr 2020 17:49:08 -0700 Henry Willard > > > wrote: > > > > > > > Commit 1c30844d2dfe

Hello

2020-05-05 Thread Mrs Suzara Maling Wan
Hello I'm "Mrs Suzara Maling Wan" married to Mr. Wan( an International Contractor and Oil Merchant/ jointly in Exposition of Agro Equipment ) who died in Burkina Faso attack, i am 64 years old and diagnosed of cancer for about 2 years ago and my husband informed me that he deposited the sum of

Re: [trivial PATCH] efi/libstub: Reduce efi_printk object size

2020-05-05 Thread Joe Perches
On Tue, 2020-05-05 at 09:50 +0200, Ard Biesheuvel wrote: > On Mon, 4 May 2020 at 20:29, Joe Perches wrote: > > Use a few more common kernel styles. > > > > Trivially reduce efi_printk object size by using a dereference to > > a temporary instead of multiple dereferences of the same object. > >

Re: [PATCH 2/2] dt-bindings: media: Document MSM8939 Venus

2020-05-05 Thread Konrad Dybcio
Ah, mea culpa! I completely forgot to mention that this depends on the MSM8939 GCC driver that has been sent a few days ago, sorry.. [1] Have you found any additional mistakes in this patch that I should correct besides this one? [1] https://lwn.net/Articles/818486/ Konrad

Re: Re: [PATCH net 1/2] Revert "coallocate socket_wq with socket itself"

2020-05-05 Thread SeongJae Park
On Tue, 5 May 2020 09:45:11 +0200 Greg KH wrote: > On Tue, May 05, 2020 at 09:28:40AM +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > This reverts commit 333f7909a8573145811c4ab7d8c9092301707721. > > > > The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the > >

Re: [PATCH RFC 2/6] KVM: x86: extend struct kvm_vcpu_pv_apf_data with token info

2020-05-05 Thread Vitaly Kuznetsov
Gavin Shan writes: > Hi Vitaly, > > On 4/29/20 7:36 PM, Vitaly Kuznetsov wrote: >> Currently, APF mechanism relies on the #PF abuse where the token is being >> passed through CR2. If we switch to using interrupts to deliver page-ready >> notifications we need a different way to pass the data.

Re: [PATCH v4 2/2] rpmsg: core: Add support to retrieve name extension

2020-05-05 Thread Arnaud POULIQUEN
Hi Mathieu, On 5/4/20 11:58 PM, Mathieu Poirier wrote: > After adding support for rpmsg device name extension, this patch > provides a function that returns the extension portion of an rpmsg > device name. That way users of the name extension functionality don't > have to write the same boiler

Re: Re: [PATCH net 2/2] Revert "sockfs: switch to ->free_inode()"

2020-05-05 Thread SeongJae Park
On Tue, 5 May 2020 09:45:35 +0200 Greg KH wrote: > On Tue, May 05, 2020 at 09:28:41AM +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > This reverts commit 6d7855c54e1e269275d7c504f8f62a0b7a5b3f18. > > > > The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the > >

[PATCH net v2 1/2] Revert "coallocate socket_wq with socket itself"

2020-05-05 Thread SeongJae Park
From: SeongJae Park This reverts commit 333f7909a8573145811c4ab7d8c9092301707721. The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the deallocation of 'socket_alloc' to be done asynchronously using RCU, as same to 'sock.wq'. And the following commit 333f7909a857 ("coallocate

  1   2   3   4   5   6   7   8   9   10   >