Re: [PATCH v2 02/24] tools: docs: memory-model: fix references for some files

2020-10-14 Thread Akira Yokosawa
On Wed, 14 Oct 2020 09:56:03 +0200, Mauro Carvalho Chehab wrote: > Em Tue, 13 Oct 2020 18:58:40 -0700 > "Paul E. McKenney" escreveu: > >> On Tue, Oct 13, 2020 at 12:38:36PM -0400, Alan Stern wrote: >>> On Tue, Oct 13, 2020 at 09:33:54AM -0700, Paul E. McKenney wrote: On Tue, Oct 13, 2020

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Felipe Balbi
Hi Serge, Serge Semin writes: > In accordance with the DWC USB3 bindings the corresponding node name is > suppose to comply with Generic USB HCD DT schema, which requires the USB DWC3 is not a simple HDC, though. > nodes to have the name acceptable by the regexp: "^usb(@.*)?" . But a lot > of

Re: Use after free in bcm2835_spi_remove()

2020-10-14 Thread Lukas Wunner
On Tue, Oct 13, 2020 at 04:48:42PM -0700, Florian Fainelli wrote: > With KASAN now working on ARM 32-bit, I was able to get the following > trace upon reboot which invokes bcm2835_spi_shutdown() calling > bcm2835_spi_remove(), the same can be triggered by doing a driver unbind: Thank you for the

Re: [PATCH 0/4] powercap/dtpm: Add the DTPM framework

2020-10-14 Thread Hans de Goede
Hi, On 10/14/20 3:33 PM, Rafael J. Wysocki wrote: Hi Hans, On Tue, Oct 13, 2020 at 3:04 PM Hans de Goede wrote: Hi Rafael, On 10/12/20 6:37 PM, Rafael J. Wysocki wrote: On Mon, Oct 12, 2020 at 1:46 PM Hans de Goede wrote: A side note, related to your proposal, not this patch. IMO it

Re: BUG: KASAN: global-out-of-bounds in vprintk_store on x86_64

2020-10-14 Thread Petr Mladek
On Wed 2020-10-14 16:19:18, Naresh Kamboju wrote: > While testing LTP controllers testing on x86_64 KASAN enabled linux > next 20201013 tag > kernel this kernel BUG noticed. The oom-killer log also noticed while > running tests. > > metadata: > git branch: master > git repo:

Re: [PATCH AUTOSEL 5.8 18/24] net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails

2020-10-14 Thread Sasha Levin
On Tue, Oct 13, 2020 at 12:01:06AM +0300, Petko Manolov wrote: On 20-10-12 12:11:18, Joe Perches wrote: On Mon, 2020-10-12 at 15:02 -0400, Sasha Levin wrote: > From: Anant Thazhemadam > > [ Upstream commit f45a4248ea4cc13ed50618ff066849f9587226b2 ] > > When get_registers() fails in

Re: [PATCH v1 0/8] perf c2c: Refine the organization of metrics

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 06:09:13AM +0100, Leo Yan wrote: > This patch set is to refine metrics output organization. > > If we reivew the current memory metrics in Perf c2c tool, it doesn't > orgnize the metrics with directive approach; thus user needs to take > time to dig into every statistics

Re: [PATCH 1/2] arm64: dts: broadcom: remove an unused property dma-ranges

2020-10-14 Thread Arnd Bergmann
On Wed, Oct 14, 2020 at 3:36 PM Leizhen (ThunderTown) wrote: > On 2020/10/14 15:38, Arnd Bergmann wrote: > > On Wed, Oct 14, 2020 at 5:15 AM Florian Fainelli > > wrote: > >> On 10/12/2020 11:06 PM, Zhen Lei wrote: > >>> stingray-usb.dtsi is finally included by three dts files: > >>>

Re: [PATCH] KVM: VMX: eVMCS: make evmcs_sanitize_exec_ctrls() work again

2020-10-14 Thread kernel test robot
suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/KVM-VMX-eVMCS-make-evmcs_sanitize_exec_ctrls-work-again/20201014-180828 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next config: i386

[PATCH] sched: Replace zero-length array with flexible-array

2020-10-14 Thread zhuguangqing83
From: zhuguangqing In commit 04f5c362ec6, a zero-length array cpumask[0] has been replaced with cpumask[]. But there is still a cpumask[0] in struct sched_group_capacity{} which maybe missed. The current codebase makes use of the zero-length array language extension to the C90 standard, but the

Re: [PATCH v2 3/3] arm64: dts: qcom: trogdor: Add brightness-levels

2020-10-14 Thread Doug Anderson
Hi, On Wed, Oct 14, 2020 at 4:33 AM Daniel Thompson wrote: > > On Tue, Oct 13, 2020 at 09:28:38AM -0700, Doug Anderson wrote: > > Hi, > > > > On Tue, Oct 13, 2020 at 1:01 AM Alexandru Stan wrote: > > > > > > Now that we have better interpolation for the backlight > > > ("backlight: pwm_bl: Fix

[PATCH] checkpatch: add new exception to repeated word check

2020-10-14 Thread Dwaipayan Ray
Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") moved the repeated word test to check for more file types. But after this, if checkpatch.pl is run on MAINTAINERS, it generates several new warnings of the type: WARNING: Possible repeated word: 'git' For example: WARNING:

Re: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Rafael J. Wysocki
On Tue, Oct 13, 2020 at 3:09 PM Hans de Goede wrote: > > Hi, > > On 10/12/20 6:42 PM, Rafael J. Wysocki wrote: > > On Wed, Oct 7, 2020 at 8:41 PM Limonciello, Mario > > wrote: > >> > >>> On Wed, 2020-10-07 at 15:58 +, Limonciello, Mario wrote: > > > On Mon, 2020-10-05 at 12:58

Re: [PATCH v2 -next] media: marvell-ccic: Fix -Wunused-function warnings

2020-10-14 Thread Geert Uytterhoeven
On Fri, Sep 11, 2020 at 1:50 PM YueHaibing wrote: > If CONFIG_PM is n, gcc warns: > > drivers/media/platform/marvell-ccic/mmp-driver.c:324:12: warning: > ‘mmpcam_runtime_suspend’ defined but not used [-Wunused-function] > static int mmpcam_runtime_suspend(struct device *dev) >

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 09:29:26AM +0800, Leizhen (ThunderTown) wrote: > > > On 2020/10/14 1:32, Dan Murphy wrote: > > Zhen > > > > On 10/13/20 11:08 AM, Zhen Lei wrote: > >> The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is > >> cmd-gpio. > >> > >>

Re: [PATCH 01/23] dt-bindings: introduce silabs,wfx.yaml

2020-10-14 Thread Jérôme Pouiller
On Tuesday 13 October 2020 18:49:35 CEST Rob Herring wrote: > On Mon, Oct 12, 2020 at 12:46:26PM +0200, Jerome Pouiller wrote: > > From: Jérôme Pouiller [...] > > + Note that in add of the properties below, the WFx driver also supports > > + `mac-address` and `local-mac-address` as described in

Re: [Linux-cachefs] [PATCH] fs/cachefiles: Drop superfluous readpages aops NULL check

2020-10-14 Thread David Wysochanski
On Thu, Aug 27, 2020 at 11:10 AM Takashi Iwai wrote: > > After the recent actions to convert readpages aops to readahead, the > NULL checks of readpages aops in cachefiles_read_or_alloc_page() may > hit falsely. More badly, it's an ASSERT() call, and this panics. > > Drop the superfluous NULL

Re: [PATCH] perf: Add support for exclusive groups/events

2020-10-14 Thread Jiri Olsa
On Tue, Oct 13, 2020 at 08:52:03PM -0700, Andi Kleen wrote: > Peter suggested that using the exclusive mode in perf could > avoid some problems with bad scheduling of groups. Exclusive > is implemented in the kernel, but wasn't exposed by the perf tool, > so hard to use without custom low level

Re: [PATCH] fs: btrfs: Fix incorrect printf qualifier

2020-10-14 Thread Geert Uytterhoeven
On Wed, Oct 14, 2020 at 11:24 AM Pujin Shi wrote: > This patch addresses a compile warning: > fs/btrfs/extent-tree.c: In function '__btrfs_free_extent': > fs/btrfs/extent-tree.c:3187:4: warning: format '%lu' expects argument of type > 'long unsigned int', but argument 8 has type 'unsigned int'

[PATCH] taskstats: use family->version instead of TASKSTATS_GENL_VERSION

2020-10-14 Thread Hui Su
use family->version instead of the hrad code(TASKSTATS_GENL_VERSION). Signed-off-by: Hui Su --- kernel/taskstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/taskstats.c b/kernel/taskstats.c index e2ac0e37c4ae..8364663ca07d 100644 --- a/kernel/taskstats.c +++

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Cristian Marussi
Hi On Wed, Oct 14, 2020 at 02:05:24PM +0100, Sudeep Holla wrote: > On Wed, Oct 14, 2020 at 10:18:06AM +0100, Sudeep Holla wrote: > > Hi Florian, > > > > Thanks for the patch, it shows someone else is also using this and > > testing . > > > > On Tue, Oct 13, 2020 at 07:17:37PM -0700, Florian

Re: [PATCH AUTOSEL 5.8 17/20] i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()

2020-10-14 Thread Hans de Goede
Hi all, On 10/14/20 1:23 PM, Hans de Goede wrote: Hi, On 10/14/20 1:09 PM, Kieran Bingham wrote: Hi Hans, Sasha, As mentioned on https://github.com/linux-surface/kernel/issues/63, I'm afraid I've bisected a boot time issue on the Microsoft Surface Go 2 to this commit on the stable 5.8 tree.

Re: [ANNOUNCE] libtraceevent.git

2020-10-14 Thread Steven Rostedt
On Wed, 14 Oct 2020 11:08:48 +0100 Sudip Mukherjee wrote: > Just a thought, if you see > https://repology.org/project/linux-tools/versions then you will notice > that libtracevent has been packaged by the distros with a version of > v5.x+, and I will have the same problem for Debian also. Do you

Re: linux-next: build failure after merge of the vfio tree

2020-10-14 Thread Diana Craciun OSS
Thank you. The errors indicate that, most likely, the fsl-mc-bus patches from char-misc-next are missing at this point. I have added the vfio patches on top of linux-next (which already contains the fsl-mc-bus patches) and built x86_64 allmodconfig. There were no errors. Thanks, Diana On

Re: [PATCH 1/2] arm64: dts: broadcom: remove an unused property dma-ranges

2020-10-14 Thread Leizhen (ThunderTown)
On 2020/10/14 21:36, Leizhen (ThunderTown) wrote: > > > On 2020/10/14 15:38, Arnd Bergmann wrote: >> On Wed, Oct 14, 2020 at 5:15 AM Florian Fainelli >> wrote: >>> On 10/12/2020 11:06 PM, Zhen Lei wrote: stingray-usb.dtsi is finally included by three dts files: bcm958802a802x.dts,

Re: [PATCH stable-5.4] backport enospc issues during balance

2020-10-14 Thread Sasha Levin
On Wed, Oct 14, 2020 at 10:44:45AM +0800, Anand Jain wrote: Patch 1 is a preparatory patch to reduce conflicts. Patch 2 fixes balance failure due to ENOSPC in btrfs/156 on arm64 systems with pagesize=64k. Minor conflicts in fs/btrfs/block-group.c are resolved. Thanks. Queued up, thanks! --

Re: [PATCH 4/6] dt-bindings: misc: explicitly add #address-cells for slave mode

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 00:08:43 +0800, Zhen Lei wrote: > Explicitly add "#address-cells = <0>" and "#size-cells = <0>" to > eliminate below warnings. > > (spi_bus_bridge): /example-0/spi: incorrect #address-cells for SPI bus > (spi_bus_bridge): /example-0/spi: incorrect #size-cells for SPI bus >

Re: [PATCH] fs: btrfs: Fix incorrect printf qualifier

2020-10-14 Thread David Sterba
On Wed, Oct 14, 2020 at 11:24:19AM +0800, Pujin Shi wrote: > This patch addresses a compile warning: > fs/btrfs/extent-tree.c: In function '__btrfs_free_extent': > fs/btrfs/extent-tree.c:3187:4: warning: format '%lu' expects argument of type > 'long unsigned int', but argument 8 has type

Re: [PATCH 3/6] spi: dt-bindings: spi-controller: explicitly require #address-cells=<0> for slave mode

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 00:08:42 +0800, Zhen Lei wrote: > scripts/dtc/checks.c: > if (get_property(node, "spi-slave")) > spi_addr_cells = 0; > if (node_addr_cells(node) != spi_addr_cells) > FAIL(c, dti, node, "incorrect #address-cells for SPI bus"); > if (node_size_cells(node) != 0) >

Re: [PATCH v3 2/5] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-10-14 Thread Geert Uytterhoeven
Hi Fabrizio, On Tue, Oct 13, 2020 at 5:02 PM Fabrizio Castro wrote: > Convert the Renesas DRIF bindings to DT schema and update > MAINTAINERS accordingly. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Lad Prabhakar > Reviewed-by: Laurent Pinchart > --- > v2->3: > * Removed the definition

Re: [PATCH 2/6] dt-bindings: mfd: google,cros-ec: explicitly allow additional properties

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 12:08:41AM +0800, Zhen Lei wrote: > There are so many properties have not been described in this yaml file, > and a lot of errors will be reported. Especially, some yaml files such as > google,cros-ec-typec.yaml, extcon-usbc-cros-ec.yaml can not pass the > self-check,

Re: [RFC PATCH 1/1] tracepoints: tree-wide: Replace %p with %px

2020-10-14 Thread Steven Rostedt
On Wed, 14 Oct 2020 17:59:19 +0900 Masami Hiramatsu wrote: > To help debugging kernel, use %px to show real addresses on > tracefs/trace file. > > Since ftrace human-readable format uses vsprintf(), all %p are > translated to hash values instead of pointer address. > > However, when debugging

Re: [PATCH v3 4/5] media: dt-bindings: media: renesas,drif: Add r8a77965 support

2020-10-14 Thread Geert Uytterhoeven
Hi Fabrizio, On Tue, Oct 13, 2020 at 5:02 PM Fabrizio Castro wrote: > The r8a77965 (a.k.a. R-Car M3-N) device tree schema is > compatible with the already documented R-Car Gen3 devices. > > Document r8a77965 support within renesas,drif.yaml. > > Signed-off-by: Fabrizio Castro Thanks for your

Re: [PATCH 1/2] arm64: dts: broadcom: remove an unused property dma-ranges

2020-10-14 Thread Leizhen (ThunderTown)
On 2020/10/14 15:38, Arnd Bergmann wrote: > On Wed, Oct 14, 2020 at 5:15 AM Florian Fainelli wrote: >> On 10/12/2020 11:06 PM, Zhen Lei wrote: >>> stingray-usb.dtsi is finally included by three dts files: >>> bcm958802a802x.dts, bcm958742k.dts and bcm958742t.dts. I searched all >>> these three

Re: [PATCH] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE

2020-10-14 Thread Michael Walle
Am 2020-10-14 15:12, schrieb Geert Uytterhoeven: Currently the Kontron sl28cpld Board Management Controller is found only on Kontron boards equipped with a Freescale Layerscape SoC. Hence add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about a driver for this controller when

Re: general protection fault in __do_sys_io_uring_register

2020-10-14 Thread Jens Axboe
On 10/14/20 6:01 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:029f56db Merge tag 'x86_asm_for_v5.10' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13b5c67850 > kernel config:

Re: [PATCH 0/4] powercap/dtpm: Add the DTPM framework

2020-10-14 Thread Rafael J. Wysocki
Hi Hans, On Tue, Oct 13, 2020 at 3:04 PM Hans de Goede wrote: > > Hi Rafael, > > On 10/12/20 6:37 PM, Rafael J. Wysocki wrote: > > On Mon, Oct 12, 2020 at 1:46 PM Hans de Goede wrote: > > > > >>> A side note, related to your proposal, not this patch. IMO it suits > >>> better to have

Re: [PATCH] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-14 Thread Russell King - ARM Linux admin
On Wed, Oct 14, 2020 at 02:56:50PM +0200, Łukasz Stelmach wrote: > Do not report advertised link modes when autonegotiation is turned > off. mii_ethtool_get_link_ksettings() exhibits the same behaviour. Please explain why this is a desirable change. Referring to some other piece of code isn't a

Re: [PATCH 09/20] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:51 +0300, Serge Semin wrote: > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > Controller schema, but with additional vendor-specific properties, the > controller-specific reference clocks and PHYs. So let's convert the > currently available legacy

Re: [PATCH v6 0/2] sched/deadline: Fix and optimize sched_dl_global_validate()

2020-10-14 Thread Juri Lelli
Hi, On 08/10/20 23:47, Peng Liu wrote: > When change global rt bandwidth, we check to make sure that new > settings could accommodate the allocated dl bandwidth. > > Under SMP, the dl_bw is on a per root domain basis, currently we check > and update the new settings one cpu by one cpu, but not

Re: [v6,1/3] dt-binding: reset-controller: mediatek: add YAML schemas

2020-10-14 Thread Crystal Guo
Hi Maintainers, Gentle ping for this patch set. Many thanks Crystal On Wed, 2020-09-30 at 10:21 +0800, Crystal Guo wrote: > Add a YAML documentation for Mediatek, which uses ti reset-controller > driver directly. The TI reset controller provides a common reset > management, and is suitable for

Re: [PATCH 1/2] arm64: dts: qcom: sc7180: Add gpu cooling support

2020-10-14 Thread Akhil P Oommen
On 10/9/2020 10:27 PM, Matthias Kaehlcke wrote: On Fri, Oct 09, 2020 at 08:05:10AM -0700, Doug Anderson wrote: Hi, On Thu, Oct 8, 2020 at 10:10 AM Akhil P Oommen wrote: Add cooling-cells property and the cooling maps for the gpu tzones to support GPU cooling. Signed-off-by: Akhil P Oommen

Re: [PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:46 +0300, Serge Semin wrote: > The host controller device might be designed to work for the particular > products or applications. In that case its DT node is supposed to be > equipped with the tpl-support property. > > Signed-off-by: Serge Semin > > --- > > Changelog

Re: [Cluster-devel] [PATCH] fs: gfs2: prevent OOB access in gfs2_read_sb()

2020-10-14 Thread Fox Chen
Hi Andrew, On Wed, Oct 14, 2020 at 9:04 PM Andrew Price wrote: > Just a heads-up to avoid duplication of effort: Fox Chen (CCed) has > attempted to fix this also[1], but I don't know if they plan to send > another patch. Oh, I thought it was solved by someone else as you've pointed out the

Re: [PATCH 7/9] perf tools: Add size to struct perf_record_header_build_id

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 08:59:08AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 13, 2020 at 09:24:39PM +0200, Jiri Olsa escreveu: > > We do not store size with build ids in perf data, > > but there's enough space to do it. Adding misc bit > > PERF_RECORD_MISC_BUILD_ID_SIZE to mark build id

Re: [PATCH 1/1] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500

2020-10-14 Thread Ivan Mikhaylov
On Wed, 2020-10-14 at 05:23 +, Joel Stanley wrote: > Hi Ivan, > > On Tue, 13 Oct 2020 at 12:38, Ivan Mikhaylov wrote: > > phy-handle can't be handled well for ast2400/2500 which has an embedded > > MDIO controller. Add ftgmac100_mdio_setup for ast2400/2500 and initialize > > PHYs from mdio

[v6,4/4] watchdog: mt8192: add wdt support

2020-10-14 Thread Crystal Guo
Add support for watchdog device found in MT8192 SoC Signed-off-by: Crystal Guo Reviewed-by: Matthias Brugger Reviewed-by: Guenter Roeck --- drivers/watchdog/mtk_wdt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c index

Re: [PATCH 8/8] WIP: add a dma_alloc_contiguous API

2020-10-14 Thread Tomasz Figa
+CC Ricardo who will be looking into using this in the USB stack (UVC camera driver). On Wed, Sep 30, 2020 at 6:09 PM Christoph Hellwig wrote: > > Add a new API that returns a virtually non-contigous array of pages > and dma address. This API is only implemented for dma-iommu and will > not be

[v6,1/4] dt-binding: mediatek: watchdog: fix the description of compatible

2020-10-14 Thread Crystal Guo
The watchdog driver for MT2712 and MT8183 relies on DT data, so the fallback compatible MT6589 won't work. Signed-off-by: Crystal Guo Reviewed-by: Matthias Brugger Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 4 ++-- 1 file changed, 2 insertions(+),

[v6,3/4] dt-binding: mt8192: add toprgu reset-controller head file

2020-10-14 Thread Crystal Guo
add toprgu reset-controller head file for MT8192 platform Signed-off-by: Crystal Guo Reviewed-by: Matthias Brugger Acked-by: Guenter Roeck --- .../reset-controller/mt8192-resets.h | 30 +++ 1 file changed, 30 insertions(+) create mode 100644

Re: [PATCH 1/1] Sched/fair: Improve the accuracy of sched_stat_wait statistics

2020-10-14 Thread Peter Zijlstra
On Fri, Oct 09, 2020 at 05:25:30PM +0800, qianjun.ker...@gmail.com wrote: > From: jun qian > > When the sched_schedstat changes from 0 to 1, some sched se maybe > already in the runqueue, the se->statistics.wait_start will be 0. > So it will let the (rq_of(cfs_rq)) - se->statistics.wait_start) >

[v6,0/4] watchdog: mt8192: add wdt support

2020-10-14 Thread Crystal Guo
This patches aim to add watchdog support for MT8192. change in v6: 1. add change log. 2. remove Reviewed-by tag on[v5,2/4] change in v5: fix typos on mt8192-reset.h (https://patchwork.kernel.org/patch/11697493/) change in v4: just revise v3 commit messages. [v4,1/5] fix the description of

[v6,2/4] dt-binding: mediatek: mt8192: update mtk-wdt document

2020-10-14 Thread Crystal Guo
update mtk-wdt document for MT8192 platform Signed-off-by: Crystal Guo --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt

[PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7

2020-10-14 Thread Geert Uytterhoeven
The MStar interrupt controller is only found on MStar, SigmaStar, and Mediatek SoCs. Hence add dependencies on ARCH_MEDIATEK and ARCH_MSTARV7, to prevent asking the user about the MStar interrupt controller driver when configuring a kernel without support for MStar, SigmaStar, and Mediatek SoCs.

Re: [Cluster-devel] KASAN: slab-out-of-bounds Write in,gfs2_fill_super

2020-10-14 Thread Fox Chen
Yes, it's the same bug, https://lkml.org/lkml/2020/10/5/538 this may help thanks,

Re: [PATCH 1/2] coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()

2020-10-14 Thread Suzuki K Poulose
On 10/14/2020 10:36 AM, Sai Prakash Ranjan wrote: On 2020-10-13 22:05, Suzuki K Poulose wrote: On 10/07/2020 02:00 PM, Sai Prakash Ranjan wrote: There was a report of NULL pointer dereference in ETF enable path for perf CS mode with PID monitoring. It is almost 100% reproducible when the

Re: [Cluster-devel] [PATCH] fs: gfs2: prevent OOB access in gfs2_read_sb()

2020-10-14 Thread Anant Thazhemadam
On 14/10/20 6:34 pm, Andrew Price wrote: > On 13/10/2020 16:26, Anant Thazhemadam wrote: >> In gfs2_read_sb(), if the condition >> (d != sdp->sd_heightsize[x - 1] || m) >> isn't satisfied (in the first 11 iterations), the loop continues, >> and begins to perform out-of-bounds access. >> Fix

[PATCH] power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5

2020-10-14 Thread Geert Uytterhoeven
To add support for Sparx5, the dependency on MSCC_OCELOT was removed. However, this increases exposure of the driver question not only to Sparx5 platforms, but to everyone. Hence re-add the dependency on MSCC_OCELOT, and extend it with ARCH_SPARX5, to prevent asking the user about this driver

[PATCH] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE

2020-10-14 Thread Geert Uytterhoeven
Currently the Kontron sl28cpld Board Management Controller is found only on Kontron boards equipped with a Freescale Layerscape SoC. Hence add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about a driver for this controller when configuring a kernel without Layerscape support.

Re: [PATCH v2 2/7] staging: qlge: Initialize devlink health dump framework

2020-10-14 Thread Dan Carpenter
On Wed, Oct 14, 2020 at 06:43:01PM +0800, Coiby Xu wrote: > static int qlge_probe(struct pci_dev *pdev, > const struct pci_device_id *pci_entry) > { > struct net_device *ndev = NULL; > struct qlge_adapter *qdev = NULL; > + struct devlink *devlink; >

[PATCH] blk-mq: add helper function to test hctx inactive

2020-10-14 Thread Xianting Tian
Introduce helper function blk_mq_hctx_inactive() to test BLK_MQ_S_INACTIVE as we already done for BLK_MQ_S_STOPPED. Signed-off-by: Xianting Tian --- block/blk-mq-tag.c | 2 +- block/blk-mq.h | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/block/blk-mq-tag.c

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-14 Thread kernel test robot
patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ankur-Arora/Use-uncached-writes-while-clearing-gigantic-pages/20201014-163720 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 10:18:06AM +0100, Sudeep Holla wrote: > Hi Florian, > > Thanks for the patch, it shows someone else is also using this and > testing . > > On Tue, Oct 13, 2020 at 07:17:37PM -0700, Florian Fainelli wrote: > > When more than a single SCMI device are present in the system,

Re: [Cluster-devel] [PATCH] fs: gfs2: prevent OOB access in gfs2_read_sb()

2020-10-14 Thread Andrew Price
On 13/10/2020 16:26, Anant Thazhemadam wrote: In gfs2_read_sb(), if the condition (d != sdp->sd_heightsize[x - 1] || m) isn't satisfied (in the first 11 iterations), the loop continues, and begins to perform out-of-bounds access. Fix this out-of-bounds access by introducing a condition

Re: [PATCH] sched/cputime: correct account of irqtime

2020-10-14 Thread Peter Zijlstra
On Mon, Oct 12, 2020 at 09:50:44PM +0800, Pingfan Liu wrote: > __do_softirq() may be interrupted by hardware interrupts. In this case, > irqtime_account_irq() will account the time slice as CPUTIME_SOFTIRQ by > mistake. > > By passing irqtime_account_irq() an extra param about either hardirq or >

Re: [PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Chun-Kuang Hu
Hi, Fabien: Fabien Parent 於 2020年10月14日 週三 上午2:19寫道: > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 I think you should drop this series. According to Mediatek HDMI binding document [1], the second parameter

Re: [PATCH 07/18] regmap: mmio: add config option to allow relaxed MMIO accesses

2020-10-14 Thread Adrian Ratiu
On Wed, 14 Oct 2020, Mark Brown wrote: On Wed, Oct 14, 2020 at 02:51:14PM +0300, Adrian Ratiu wrote: On Tue, 13 Oct 2020, Mark Brown wrote: > On Mon, Oct 12, 2020 at 11:59:46PM +0300, Adrian Ratiu wrote: > > - writeb(val, ctx->regs + reg); + if > > (ctx->relaxed_mmio) +

Re: [PATCH] jfs: delete duplicated words in header files

2020-10-14 Thread Dave Kleikamp
Sorry. I've neglected JFS lately. I'll review and merge these today or tomorrow, along with some others in my queue. Shaggy On 10/14/20 12:29 AM, Randy Dunlap wrote: > ping. > > On 7/19/20 5:13 PM, Randy Dunlap wrote: >> Drop the repeated words "allocation" and "if" in comments. >> >>

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-14 Thread Miquel Raynal
Hello, Fabio Estevam wrote on Wed, 14 Oct 2020 09:28:49 -0300: > Hi Florian, > > On Sun, Oct 11, 2020 at 6:59 PM Florian Fainelli wrote: > > > however the NAND warning still remains. Someone else familiar with these > > NXP development boards should fix the DTS so as to provide the require >

[GIT PULL] pin control changes for the v5.10 kernel series

2020-10-14 Thread Linus Walleij
Hi Linus, here is the bulk of pin control changes for the v5.10 kernel cycle. There is nothing special to say about it at all. It should even just merge fine, only driver changes, some new, some incremental development. Please pull it in! Yours, Linus Walleij The following changes since

[v1] drm/msm: Fix race condition in msm driver with async layer updates

2020-10-14 Thread Krishna Manikandan
When there are back to back commits with async cursor update, there is a case where second commit can program the DPU hw blocks while first didn't complete flushing config to HW. Synchronize the compositions such that second commit waits until first commit flushes the composition. This change

Re: [PATCH next] iommu: intel: don't dereference iommu_device if IOMMU_API is not built

2020-10-14 Thread Joerg Roedel
On Wed, Oct 14, 2020 at 03:25:08PM +0800, Lu Baolu wrote: > I suppose Joerg will pick this up. I guess you don't need to resend it > unless Joerg asks you to do. Yes, will pick this up soon, no need to re-send. Thanks, Joerg

[PATCH] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-14 Thread Łukasz Stelmach
Do not report advertised link modes when autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits the same behaviour. Signed-off-by: Łukasz Stelmach --- drivers/net/phy/phy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c

Re: [ANNOUNCE] libtraceevent.git

2020-10-14 Thread Zamir SUN
On 10/13/20 9:02 PM, Steven Rostedt wrote: On Tue, 13 Oct 2020 11:06:16 +0800 Zamir SUN wrote: On Tue, Oct 13, 2020 at 3:17 AM Steven Rostedt wrote: [ Removing the powertop mailing list because it's rejecting everything ] On Mon, 12 Oct 2020 11:41:20 -0700 Tony Jones wrote: On

[PATCH v2 0/4] ARM: stm32: add DT properties for remote proc synchronisation

2020-10-14 Thread Arnaud Pouliquen
This series implements the DT part associated to the commit 9276536f455b3 ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation") Delta vs V1 [1] - add Rob acked-by on patch 1/4 - simplify yaml descriptions and align other syscon descriptions

[PATCH v2 1/4] dt-bindings: arm: stm32: Add compatible for syscon tamp node

2020-10-14 Thread Arnaud Pouliquen
Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible") It is required to provide at least 2 compatibles string for syscon node. This patch documents the new compatible for stm32 SoC to support TAMP registers access. Signed-off-by: Arnaud Pouliquen

[PATCH v2 3/4] dt-bindings: remoteproc: stm32_rproc: update syscon descriptions

2020-10-14 Thread Arnaud Pouliquen
Align other syscon descriptions with st,syscfg-m4-state and st,syscfg-rsc-tbl descriptions by suppressing the cells description. Signed-off-by: Arnaud Pouliquen --- .../devicetree/bindings/remoteproc/st,stm32-rproc.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH v2 2/4] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization

2020-10-14 Thread Arnaud Pouliquen
Add new properties description used to attach to a pre-loaded firmware according to the commit 9276536f455b3 ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation") which updates the driver part. Signed-off-by: Arnaud Pouliquen --- .../bindings/remoteproc/st,stm32-rproc.yaml

[PATCH v2 4/4] ARM: dts: stm32: update stm32mp151 for remote proc synchronization support

2020-10-14 Thread Arnaud Pouliquen
Two backup registers are used to store the Cortex-M4 state and the resource table address. Declare the tamp node and add associated properties in m4_rproc node to allow Linux to attach to a firmware loaded by the first boot stages. Associated driver implementation is available in commit

[PATCH] KVM: x86: Filter out more Intel-specific PMU MSRs in kvm_init_msr_list()

2020-10-14 Thread Vitaly Kuznetsov
When running KVM selftest in a Hyper-V VM they stumble upon Unexpected result from KVM_GET_MSRS, r: 14 (failed MSR was 0x309) MSR_ARCH_PERFMON_FIXED_CTR[0..3] along with MSR_CORE_PERF_FIXED_CTR_CTRL, MSR_CORE_PERF_GLOBAL_STATUS, MSR_CORE_PERF_GLOBAL_CTRL, MSR_CORE_PERF_GLOBAL_OVF_CTRL are only

Re: [PATCH v3] MIPS: replace add_memory_region with memblock

2020-10-14 Thread Maciej W. Rozycki
On Fri, 9 Oct 2020, Thomas Bogendoerfer wrote: > add_memory_region was the old interface for registering memory and > was already changed to used memblock internaly. Replace it by > directly calling memblock functions. > > Signed-off-by: Thomas Bogendoerfer For the DEC part: Acked-by: Maciej

Re: BUG: KASAN: global-out-of-bounds in vprintk_store on x86_64

2020-10-14 Thread Sergey Senozhatsky
On (20/10/14 16:19), Naresh Kamboju wrote: > Crash log: > -- > [ 221.921944] > oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=c,mems_allowed=0,oom_memcg=/0,task_memcg=in > [ 221.922108] > == > [

Re: [PATCH 0/3] Add upper and lower limits in IPA power budget calculation

2020-10-14 Thread Daniel Lezcano
On 07/10/2020 14:22, Lukasz Luba wrote: > Hi all, > > This patch set makes thermal governor Intelligent Power Allocation (IPA) > aware of cooling device limits for upper and lower bounds and respects them > in the internal power budget calculation. > The patch set should be applied on top of some

Re: [PATCH 07/23] wfx: add bus_sdio.c

2020-10-14 Thread Pali Rohár
On Wednesday 14 October 2020 13:52:15 Jérôme Pouiller wrote: > Hello Pali, > > On Tuesday 13 October 2020 22:11:56 CEST Pali Rohár wrote: > > Hello! > > > > On Monday 12 October 2020 12:46:32 Jerome Pouiller wrote: > > > +#define SDIO_VENDOR_ID_SILABS0x > > > +#define

Re: [RFC PATCH 2/3] dt-bindings: gpio: Add binding documentation for Etron EJ168/EJ188/EJ198

2020-10-14 Thread Rob Herring
On Tue, Oct 13, 2020 at 8:27 AM Linus Walleij wrote: > > On Wed, Oct 7, 2020 at 9:58 PM Martin Blumenstingl > wrote: > > On Wed, Oct 7, 2020 at 11:19 AM Linus Walleij > > wrote: > > > On Sun, Oct 4, 2020 at 8:00 PM Martin Blumenstingl > > > wrote: > > > > > > > +properties: > > > > +

Re: [PATCH] MIPS: dec: fix section mismatch

2020-10-14 Thread Maciej W. Rozycki
On Tue, 6 Oct 2020, Thomas Bogendoerfer wrote: > Drop inline for memory setup functions and mark them __init to > fix section mismatch of pmax_setup_memory_region. > > Signed-off-by: Thomas Bogendoerfer Acked-by: Maciej W. Rozycki Maciej

Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 6:13 AM Lorenzo Pieralisi wrote: > > On Wed, Sep 16, 2020 at 01:41:30PM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > On NXP Layerscape platforms, it results in SError in the > > enumeration of the PCIe controller, which is not connecting > > with an Endpoint

Re: [Cluster-devel] KASAN: slab-out-of-bounds Write in gfs2_fill_super

2020-10-14 Thread Andrew Price
On 14/10/2020 13:19, Anant Thazhemadam wrote: On 30/09/20 7:52 pm, Andrew Price wrote: On 30/09/2020 13:39, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:    fb0155a0 Merge tag 'nfs-for-5.9-3' of git://git.linux-nfs... git tree:   upstream console output:

[PATCH 1/1] ASoC: dt-bindings: stm32: convert audio dfsdm to json-schema

2020-10-14 Thread Olivier Moysan
Convert the STM32 DFSDM audio bindings to DT schema format using json-schema. Signed-off-by: Olivier Moysan --- .../bindings/sound/st,stm32-adfsdm.txt| 63 --- .../bindings/sound/st,stm32-adfsdm.yaml | 42 + 2 files changed, 42 insertions(+), 63

Re: [PATCH 1/3] thermal: power_allocator: respect upper and lower bounds for cooling device

2020-10-14 Thread Daniel Lezcano
On 07/10/2020 14:22, Lukasz Luba wrote: > The thermal cooling device specified in DT might be instantiated for > a thermal zone trip point with a limited set of OPPs to operate on. This > configuration should be supported by Intelligent Power Allocation (IPA), > since it is a standard for other

Re: [PATCH v3 0/3] objtool: Extend CFA updating/checking

2020-10-14 Thread Peter Zijlstra
On Wed, Oct 14, 2020 at 08:37:59AM +0100, Julien Thierry wrote: > Julien Thierry (3): > objtool: check: Fully validate the stack frame > objtool: check: Support addition to set CFA base > objtool: check: Make SP memory operation match PUSH/POP semantics Acked-by: Peter Zijlstra (Intel)

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-14 Thread Fabio Estevam
Hi Florian, On Sun, Oct 11, 2020 at 6:59 PM Florian Fainelli wrote: > however the NAND warning still remains. Someone else familiar with these > NXP development boards should fix the DTS so as to provide the require > ECC strength property. The ECC NAND warning looks like a regression. I had

Re: [PATCH] mm/compaction: Remove some useless code in compact_zone()

2020-10-14 Thread David Hildenbrand
On 14.10.20 09:23, yanfei...@windriver.com wrote: > From: Yanfei Xu > > start_pfn has been declared at the begin of compact_zone(), it's > no need to declare it again. And remove an useless semicolon. > > Signed-off-by: Yanfei Xu > --- > mm/compaction.c | 3 +-- > 1 file changed, 1

Re: [PATCH v2 2/5] of/address: Introduce of_dma_lower_bus_limit()

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 6:52 AM Nicolas Saenz Julienne wrote: > > Hi Rob, > > On Mon, 2020-10-12 at 10:25 -0500, Rob Herring wrote: > > On Sat, Oct 10, 2020 at 10:12 AM Nicolas Saenz Julienne > > wrote: > > > The function provides the CPU physical address addressable by the most > > >

Re: [Cluster-devel] KASAN: slab-out-of-bounds Write in gfs2_fill_super

2020-10-14 Thread Anant Thazhemadam
On 30/09/20 7:52 pm, Andrew Price wrote: > On 30/09/2020 13:39, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:    fb0155a0 Merge tag 'nfs-for-5.9-3' of git://git.linux-nfs... >> git tree:   upstream >> console output:

Re: [PATCH 2/5] dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 4:46 AM Daniel Palmer wrote: > > Hi Rob, > > On Tue, 13 Oct 2020 at 01:11, Rob Herring wrote: > > > > MAINTAINERS| 1 + > > > include/dt-bindings/gpio/msc313-gpio.h | 95 ++ > > > 2 files changed, 96 insertions(+) > >

Re: [PATCH v3 2/2] arm64: dts: rockchip: Add basic support for Kobol's Helios64

2020-10-14 Thread Robin Murphy
On 2020-10-13 23:41, Johan Jonker wrote: Hi Uwe, On 10/13/20 10:22 PM, Uwe Kleine-König wrote: Hello Johan, On 10/13/20 7:34 PM, Johan Jonker wrote: Part 1 of 2 missing here. Please complain to gmail then, given that patch 1 can be found on

Re: [PATCH v1 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-14 Thread Alexey Budankov
On 13.10.2020 19:20, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 12, 2020 at 11:50:29AM +0300, Alexey Budankov escreveu: >> >> Patch set provides threaded trace streaming for base perf record >> operation. Provided streaming mode (--threads) mitigates profiling >> data losses and resolves

Re: [PATCH] spi: imx: Revert "spi: imx: enable runtime pm support"

2020-10-14 Thread Mark Brown
On Mon, Oct 12, 2020 at 04:07:53PM +0200, Sascha Hauer wrote: > > can also try to fix it myself, but this will take until next week. > > Here we go. The patch basically works, but I am also not very confident > with pm_runtime, so please have a close look ;) Sasha could you post this patch

WARNING in cleanup_mnt (2)

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bbf5c979 Linux 5.9 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15498ffb90 kernel config: https://syzkaller.appspot.com/x/.config?x=3d8333c88fe898d7 dashboard link:

<    3   4   5   6   7   8   9   10   11   12   >