Re: [PATCH v2] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM

2020-06-23 Thread James Hilliard
On Tue, Jun 23, 2020 at 1:53 AM Johan Hovold wrote: > > On Mon, Jun 22, 2020 at 11:04:09AM -0600, James Hilliard wrote: > > On Mon, Jun 22, 2020 at 2:53 AM Johan Hovold wrote: > > > > > > On Tue, Jun 16, 2020 at 04:04:03PM -0600, James Hilliard wrote: > > > > This is a UPB(Universal Powerline Bus

Re: [PATCH v7 0/4] kasan: memorize and print call_rcu stack

2020-06-23 Thread Walter Wu
On Mon, 2020-06-01 at 13:08 +0800, Walter Wu wrote: > This patchset improves KASAN reports by making them to have > call_rcu() call stack information. It is useful for programmers > to solve use-after-free or double-free memory issue. > > The KASAN report was as follows(cleaned up slightly): > >

[PATCH v2] MAINTAINERS: use my kernel.org address

2020-06-23 Thread Jiri Slaby
There were enough problems with suse.{com,cz} MTAs recently. I am bored by restoring lost e-mails from public archives. Let's switch (all) my MAINTAINERS addresses to @kernel.org and forward the e-mails there as I wish. And add the whole history to .mailmap. Signed-off-by: Jiri Slaby Cc: Joe Per

Re: [PATCH 0/6] arm64: dts: qcom: Enable SM8250 remoteprocs

2020-06-23 Thread Vinod Koul
On 22-06-20, 15:27, Bjorn Andersson wrote: > With the driver code in place, add the necessary dts nodes to enable three of > the remoteprocs found on Qualcomm SM8250 and finally enable the missing > QCOM_IPCC driver in defconfig. All look great to me: Reviewed-by: Vinod Koul -- ~Vinod

[PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in enic_init_affinity_hint()

2020-06-23 Thread Kaige Li
The kernel module may sleep with holding a spinlock. The function call paths (from bottom to top) are: [FUNC] zalloc_cpumask_var(GFP_KERNEL) drivers/net/ethernet/cisco/enic/enic_main.c, 125: zalloc_cpumask_var in enic_init_affinity_hint drivers/net/ethernet/cisco/enic/enic_main.c, 1918: enic_ini

Re: [PATCH 03/11] arm64: dts: renesas: hihope-common: Separate out Rev.2.0 specific into hihope-common-rev2.dtsi file

2020-06-23 Thread Geert Uytterhoeven
Hi Prabhakar, On Tue, Jun 23, 2020 at 9:51 AM Lad, Prabhakar wrote: > On Mon, Jun 8, 2020 at 3:59 PM Lad, Prabhakar > wrote: > > On Mon, Jun 8, 2020 at 3:47 PM Geert Uytterhoeven > > wrote: > > > On Sun, Jun 7, 2020 at 8:41 PM Lad Prabhakar > > > wrote: > > > > Separate out Rev.2.0 specific h

Re: New mode DM-Verity error handling

2020-06-23 Thread JeongHyeon Lee
Dear Milan Broz. Thank you for answer my query. I asked you again because i was confused. Yes, I also looked at the document and get a lot of information or studies related to dm-verity. https://gitlab.com/cryptsetup/cryptsetup/-/wikis/DMVerity Thank you : D JeongHyeon Lee On 23/06/2020

Re: [PATCH 06/12] xen-blkfront: add callbacks for PM suspend and hibernation]

2020-06-23 Thread Roger Pau Monné
On Tue, Jun 23, 2020 at 12:43:14AM +, Anchal Agarwal wrote: > On Mon, Jun 22, 2020 at 10:38:46AM +0200, Roger Pau Monné wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you can confirm the sender and know > > the con

Re: [PATCH] dt-bindings: ASoC: Convert UniPhier AIO audio system to json-schema

2020-06-23 Thread Masahiro Yamada
On Mon, Jun 22, 2020 at 9:02 PM Masahiro Yamada wrote: > > Convert the UniPhier AIO audio system binding to DT schema format. > > Signed-off-by: Masahiro Yamada 'additionalProperties: false' is emitting a warning. I will add patternProperties to take care of sub-nodes. I will submit v2. --

Re: [PATCH v7 0/4] kasan: memorize and print call_rcu stack

2020-06-23 Thread Dmitry Vyukov
On Tue, Jun 23, 2020 at 10:09 AM Walter Wu wrote: > > On Mon, 2020-06-01 at 13:08 +0800, Walter Wu wrote: > > This patchset improves KASAN reports by making them to have > > call_rcu() call stack information. It is useful for programmers > > to solve use-after-free or double-free memory issue. > >

[PATCH 1/1] power_supply: wilco_ec: Add permanent long life charging mode

2020-06-23 Thread Crag Wang
This is a long life mode for extended warranty battery, switching to a differnt mode selection is unavailable. The power charging rate is customized so that battery at work last longer. Signed-off-by: Crag Wang --- Documentation/ABI/testing/sysfs-class-power-wilco | 3 +++ drivers/power/supply/p

Re: [PATCH] dt-bindings: ASoC: Convert UniPhier EVEA codec to json-schema

2020-06-23 Thread Masahiro Yamada
On Mon, Jun 22, 2020 at 9:04 PM Masahiro Yamada wrote: > > Convert the UniPhier EVEA sound codec binding to DT schema format. > > Signed-off-by: Masahiro Yamada > --- 'additionalProperties: false' is emitting a warning. I will add patternProperties to take care of sub-nodes. I will submit v2.

Re: [PATCH v2, 2/2] media: v4l: Add Ro request api for capture queue

2020-06-23 Thread dikshita
Hi Yunfei Dong, Thanks for the patch. I believe there is one additional change required in vb2_core_queue_init() to allow ro request if the driver sets supports_ro_requests while queue_init. thanks, Dikshita On 2020-06-22 07:22, Yunfei Dong wrote: Add Read-only(Ro) request for capture queue.

Re: [PATCH 18/22] docs: trace: ring-buffer-design.txt: convert to ReST format

2020-06-23 Thread Mauro Carvalho Chehab
Em Fri, 19 Jun 2020 16:41:14 -0400 Steven Rostedt escreveu: > On Fri, 19 Jun 2020 14:13:29 -0600 > Jonathan Corbet wrote: > > > On Mon, 15 Jun 2020 08:50:23 +0200 > > Mauro Carvalho Chehab wrote: > > > > [CC += Steve] > > Thanks. > > > > > > - Just like some media documents, this file

Re: [PATCH v4 1/2] thermal: add support for the MCU controlled FAN on Khadas boards

2020-06-23 Thread Neil Armstrong
Hi Daniel, On 22/06/2020 21:46, Daniel Lezcano wrote: > On 18/06/2020 15:38, Neil Armstrong wrote: >> The new Khadas VIM2 and VIM3 boards controls the cooling fan via the >> on-board microcontroller. >> >> This implements the FAN control as thermal devices and as cell of the Khadas >> MCU MFD driv

Re: [PATCH RFC v8 02/11] vhost: use batched get_vq_desc version

2020-06-23 Thread Michael S. Tsirkin
On Tue, Jun 23, 2020 at 09:00:57AM +0200, Eugenio Perez Martin wrote: > On Tue, Jun 23, 2020 at 4:51 AM Jason Wang wrote: > > > > > > On 2020/6/23 上午12:00, Michael S. Tsirkin wrote: > > > On Wed, Jun 17, 2020 at 11:19:26AM +0800, Jason Wang wrote: > > >> On 2020/6/11 下午7:34, Michael S. Tsirkin wro

Re: [PATCH] iwlwifi: fix crash in iwl_dbg_tlv_alloc_trigger

2020-06-23 Thread Kalle Valo
Jiri Slaby wrote: > The tlv passed to iwl_dbg_tlv_alloc_trigger comes from a loaded firmware > file. The memory can be marked as read-only as firmware could be > shared. In anyway, writing to this memory is not expected. So, > iwl_dbg_tlv_alloc_trigger can crash now: > > BUG: unable to handle

Re: [PATCH net-next 2/2] ipv6: fib6: avoid indirect calls from fib6_rule_lookup

2020-06-23 Thread Paolo Abeni
On Mon, 2020-06-22 at 12:26 -0700, Brian Vazquez wrote: > > > On Mon, Jun 22, 2020 at 11:00 AM Paolo Abeni wrote: > > On Mon, 2020-06-22 at 09:25 -0700, Brian Vazquez wrote: > > > > > > Hi Paolo > > > On Mon, Jun 22, 2020 at 3:13 AM Paolo Abeni wrote: > > > > Hi, > > > > > > > > On Fri, 2020-

Re: [PATCH v3 5/7] arm64: dts: qcom: Add support for Sony Xperia XA2/Plus/Ultra (Nile platform)

2020-06-23 Thread Bjorn Andersson
On Tue 23 Jun 01:08 PDT 2020, Konrad Dybcio wrote: > Thanks for applying them. > > In case I have some updates to these DTs, > (they are being rapidly developed!) could I > submit them now, or should I want for the next > merge window? I saw that they are already > applied to qcom/for-next, so I

[no subject]

2020-06-23 Thread george howard
Hallo Mein Name ist George Howard. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der

Re: [PATCH v3 1/7] pinctrl: qcom: spmi-gpio: Add pm660(l) compatibility

2020-06-23 Thread Bjorn Andersson
On Tue 23 Jun 01:02 PDT 2020, Konrad Dybcio wrote: > Yes, you did. > > This was a mistake on my end and I realized it > after sending the v3, but I figured there's no > point in sending it yet again exclusively for this reason. > Hope you don't mind. > No worries, try to remember in the futur

hello

2020-06-23 Thread george howard
Hallo Mein Name ist George Howard. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-23 Thread Ian Kent
On Tue, 2020-06-23 at 16:01 +0800, Ian Kent wrote: > On Tue, 2020-06-23 at 08:02 +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 23, 2020 at 01:09:08PM +0800, Ian Kent wrote: > > > On Mon, 2020-06-22 at 20:03 +0200, Greg Kroah-Hartman wrote: > > > > On Mon, Jun 22, 2020 at 01:48:45PM -0400, Tejun

[PATCH] staging: kpc2000: kpc_dma: set error code in probe

2020-06-23 Thread Evgeny Novikov
If device_create() fails during probing the device, kpc_dma_probe() does not set the error code and returns 0. This can result in various bad issues later. The patch sets the error code on the corresponding error handling path. Found by Linux Driver Verification project (linuxtesting.org). Signed

Re: [PATCH] gpio: add GPO driver for PCA9570

2020-06-23 Thread Michael Walle
Hi Sungbo, Am 2020-06-23 08:05, schrieb Sungbo Eo: This patch adds support for the PCA9570 I2C GPO expander. Signed-off-by: Sungbo Eo --- Tested in kernel 5.4 on an ipq40xx platform. This is my first time submitting a whole driver patch, and I'm not really familiar with this PCA expander seri

Re: [PATCH v2 1/2] ASoC: fsl_mqs: Don't check clock is NULL before calling clk API

2020-06-23 Thread Shengjiu Wang
On Tue, Jun 23, 2020 at 3:38 PM Markus Elfring wrote: > > > In-Reply-To: > > I guess that it should be sufficient to specify such a field once > for the header information. seems it's caused by my "git format-patch" command, I will update it, hope it is better next time. > > > > Because clk_pre

Re: [PATCH v6 4/4] iommu/arm-smmu-nvidia: fix the warning reported by kbuild test robot

2020-06-23 Thread Thierry Reding
On Thu, Jun 04, 2020 at 04:44:14PM -0700, Krishna Reddy wrote: > >> drivers/iommu/arm-smmu-nvidia.c:151:33: sparse: sparse: cast removes > >> address space '' of expression > > Reported-by: kbuild test robot > Signed-off-by: Krishna Reddy > --- > drivers/iommu/arm-smmu-nvidia.c | 2 +- > 1 file

Re: [PATCH] i2c: designware: Fix functionality in !CONFIG_ACPI case

2020-06-23 Thread Jarkko Nikula
On 6/23/20 10:59 AM, Jarkko Nikula wrote: Hi On 6/23/20 5:51 AM, John Stultz wrote: On the HiKey board, where CONFIG_ACPI is not set, we started to see a graphics regression where the adv7511 HDMI bridge driver wasn't probing. This was due to the i2c bus failing to start up. I bisected the pro

RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as module

2020-06-23 Thread Stephen Boyd
Quoting Aisheng Dong (2020-06-22 20:42:19) > > From: Stephen Boyd > > Sent: Saturday, June 20, 2020 11:28 AM > > Subject: RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as > > module > > > > Quoting Aisheng Dong (2020-06-17 18:58:51) > > > > From: Anson Huang > > > > > > +obj-$(C

Re: [PATCH 03/11] arm64: dts: renesas: hihope-common: Separate out Rev.2.0 specific into hihope-common-rev2.dtsi file

2020-06-23 Thread Lad, Prabhakar
Hi Geert, On Tue, Jun 23, 2020 at 9:14 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, Jun 23, 2020 at 9:51 AM Lad, Prabhakar > wrote: > > On Mon, Jun 8, 2020 at 3:59 PM Lad, Prabhakar > > wrote: > > > On Mon, Jun 8, 2020 at 3:47 PM Geert Uytterhoeven > > > wrote: > > > > On Sun, J

Re: [PATCH 2/2] xhci: Poll for U0 after disabling USB2 LPM

2020-06-23 Thread Mathias Nyman
On 19.6.2020 17.19, Kai-Heng Feng wrote: > Hi Mathias, > >> On Jun 9, 2020, at 18:15, Kai-Heng Feng wrote: >> >> >> >>> On Jun 8, 2020, at 19:21, Mathias Nyman >>> wrote: >>> >>> On 20.5.2020 13.18, Kai-Heng Feng wrote: USB2 devices with LPM enabled may interrupt the system suspend: [

Re: [PATCH v6 3/4] iommu/arm-smmu: Add global/context fault implementation hooks

2020-06-23 Thread Thierry Reding
On Thu, Jun 04, 2020 at 04:44:13PM -0700, Krishna Reddy wrote: > Add global/context fault hooks to allow NVIDIA SMMU implementation > handle faults across multiple SMMUs. > > Signed-off-by: Krishna Reddy > --- > drivers/iommu/arm-smmu-nvidia.c | 100 > drivers/io

Re: [PATCH 1/1] irqchip: Add config MTK_SYSIRQ and MTK_CIRQ

2020-06-23 Thread Marc Zyngier
+ Saravana On 2020-06-23 07:36, Hanks Chen wrote: [...] Hi Marc, I want to break the dependency between ARCH_MEDIATEK and CIRQ/SYSIRQ, because we need to follow the GKI. This isn't what GKI mandates. GKI requires that the SoC code is compiled as modules, not that it is dissociated from its

Re: [PATCH 3/7] kgdb: Add request_nmi() to the io ops table for kgdboc

2020-06-23 Thread Sumit Garg
On Mon, 22 Jun 2020 at 21:33, Daniel Thompson wrote: > > On Mon, Jun 22, 2020 at 07:56:20PM +0530, Sumit Garg wrote: > > From: Daniel Thompson > > > > Add request_nmi() callback to install a non-maskable interrupt handler > > corresponding to IRQ retrieved from polling interface. If NMI handler >

Re: [PATCH v6 2/4] dt-bindings: arm-smmu: Add binding for Tegra194 SMMU

2020-06-23 Thread Thierry Reding
On Thu, Jun 04, 2020 at 04:44:12PM -0700, Krishna Reddy wrote: > Add binding for NVIDIA's Tegra194 Soc SMMU that is based > on ARM MMU-500. > > Signed-off-by: Krishna Reddy > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 5 + > 1 file changed, 5 insertions(+) > > diff --git

[PATCH v4 5/8] s390: Break cyclic percpu include

2020-06-23 Thread Peter Zijlstra
In order to use in irqflags.h, we need to make sure asm/percpu.h does not itself depend on irqflags.h Signed-off-by: Peter Zijlstra (Intel) --- arch/s390/include/asm/smp.h |1 + arch/s390/include/asm/thread_info.h |1 - 2 files changed, 1 insertion(+), 1 deletion(-) --- a/arch/

[PATCH v4 0/8] lockdep: Change IRQ state tracking to use per-cpu variables

2020-06-23 Thread Peter Zijlstra
Ahmed and Sebastian wanted additional lockdep_assert*() macros and ran into header hell. I figured using per-cpu variables would cure that, and also ran into header hell, still tracktable though. By moving the IRQ state into per-cpu variables we remove the dependency on task_struct. Patches go on

[PATCH v4 7/8] lockdep: Change hardirq{s_enabled,_context} to per-cpu variables

2020-06-23 Thread Peter Zijlstra
Currently all IRQ-tracking state is in task_struct, this means that task_struct needs to be defined before we use it. Especially for lockdep_assert_irq*() this can lead to header-hell. Move the hardirq state into per-cpu variables to avoid the task_struct dependency. Signed-off-by: Peter Zijlstr

[PATCH v4 3/8] sparc64: Fix asm/percpu.h build error

2020-06-23 Thread Peter Zijlstra
In order to break a header dependency between lockdep and task_struct, I need per-cpu stuff from lockdep. Signed-off-by: Peter Zijlstra (Intel) --- arch/sparc/include/asm/percpu_64.h |2 ++ arch/sparc/include/asm/trap_block.h |2 ++ 2 files changed, 4 insertions(+) --- a/arch/sparc/inc

[PATCH v4 1/8] lockdep: Prepare for NMI IRQ state tracking

2020-06-23 Thread Peter Zijlstra
There is no reason not to always, accurately, track IRQ state. This change also makes IRQ state tracking ignore lockdep_off(). Signed-off-by: Peter Zijlstra (Intel) --- kernel/locking/lockdep.c | 44 +--- 1 file changed, 41 insertions(+), 3 deletions(-)

[PATCH v4 4/8] powerpc64: Break asm/percpu.h vs spinlock_types.h dependency

2020-06-23 Thread Peter Zijlstra
In order to use in lockdep.h, we need to make sure asm/percpu.h does not itself depend on lockdep. The below seems to make that so and builds powerpc64-defconfig + PROVE_LOCKING. Signed-off-by: Peter Zijlstra (Intel) --- arch/powerpc/include/asm/dtl.h | 52 +++

[PATCH v4 2/8] x86/entry: Fix NMI vs IRQ state tracking

2020-06-23 Thread Peter Zijlstra
While the nmi_enter() users did trace_hardirqs_{off_prepare,on_finish}() there was no matching lockdep_hardirqs_*() calls to complete the picture. Introduce idtentry_{enter,exit}_nmi() to enable proper IRQ state tracking across the NMIs. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/entry/

[PATCH v4 6/8] arm: Break cyclic percpu include

2020-06-23 Thread Peter Zijlstra
In order to use in irqflags.h, we need to make sure asm/percpu.h does not itself depend on irqflags.h. Signed-off-by: Peter Zijlstra (Intel) --- arch/arm/include/asm/percpu.h |2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/include/asm/percpu.h +++ b/arch/arm/include/asm/percpu.h @@ -

[PATCH v4 8/8] lockdep: Remove lockdep_hardirq{s_enabled,_context}() argument

2020-06-23 Thread Peter Zijlstra
Now that the macros use per-cpu data, we no longer need the argument. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/entry/common.c|2 +- include/linux/irqflags.h |8 include/linux/lockdep.h|2 +- kernel/locking/lockdep.c | 30 ++

Re: [PATCH 2/6] arm64/vdso: Zap vvar pages when switching to a time namespace

2020-06-23 Thread Christian Brauner
On Tue, Jun 23, 2020 at 12:33:05AM -0700, Andrei Vagin wrote: > On Fri, Jun 19, 2020 at 05:38:12PM +0200, Christian Brauner wrote: > > On Tue, Jun 16, 2020 at 12:55:41AM -0700, Andrei Vagin wrote: > > > The VVAR page layout depends on whether a task belongs to the root or > > > non-root time namesp

Re: [PATCH 02/17] sparc64: enable HAVE_COPY_THREAD_TLS

2020-06-23 Thread Christian Brauner
On Mon, Jun 22, 2020 at 08:35:16PM -0700, David Miller wrote: > From: Christian Brauner > Date: Tue, 23 Jun 2020 01:43:11 +0200 > > > diff --git a/arch/sparc/kernel/syscalls.S b/arch/sparc/kernel/syscalls.S > > index db42b4fb3708..192f3a28a2b7 100644 > > --- a/arch/sparc/kernel/syscalls.S > > +++

[PATCH] scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()

2020-06-23 Thread SeongJae Park
From: SeongJae Park Commit cdb42becdd40 ("scsi: lpfc: Replace io_channels for nvme and fcp with general hdw_queues per cpu") has introduced static checker warnings for potential null dereferences in 'lpfc_sli4_hba_unset()' and commit 1ffdd2c0440d ("scsi: lpfc: resolve static checker warning in lp

[PATCH][next] libbpf: fix spelling mistake "kallasyms" -> "kallsyms"

2020-06-23 Thread Colin King
From: Colin Ian King There is a spelling mistake in a pr_warn message. Fix it. Signed-off-by: Colin Ian King --- tools/lib/bpf/libbpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 18461deb1b19..deea27aadcef 100644 --

Re: [PATCH] i2c: designware: Fix functionality in !CONFIG_ACPI case

2020-06-23 Thread Andy Shevchenko
On Tue, Jun 23, 2020 at 10:59:40AM +0300, Jarkko Nikula wrote: > Hi > > On 6/23/20 5:51 AM, John Stultz wrote: > > On the HiKey board, where CONFIG_ACPI is not set, we started > > to see a graphics regression where the adv7511 HDMI bridge driver > > wasn't probing. This was due to the i2c bus fail

arm-linux-gnueabi-ld: section __bug_table VMA overlaps section .modinfo VMA

2020-06-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dd0d718152e4c65b173070d48ea9dfc06894c3e5 commit: c48c9f7ff32b8b3965a08e40eb6763682d905b5d staging: exfat: add exfat filesystem code to staging date: 10 months ago config: arm-randconfig-c003-20200623

Re: [PATCH v4 1/2] thermal: add support for the MCU controlled FAN on Khadas boards

2020-06-23 Thread Daniel Lezcano
Hi Neil, On 23/06/2020 10:25, Neil Armstrong wrote: > Hi Daniel, > > On 22/06/2020 21:46, Daniel Lezcano wrote: >> On 18/06/2020 15:38, Neil Armstrong wrote: >>> The new Khadas VIM2 and VIM3 boards controls the cooling fan via the >>> on-board microcontroller. >>> >>> This implements the FAN co

[tip: sched/urgent] smp, irq_work: Continue smp_call_function*() and irq_work*() integration

2020-06-23 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 380dc20ce84341bb376371fd5ed5fe6a93d4f4cf Gitweb: https://git.kernel.org/tip/380dc20ce84341bb376371fd5ed5fe6a93d4f4cf Author:Peter Zijlstra AuthorDate:Mon, 22 Jun 2020 12:01:25 +02:00 Commi

[tip: sched/urgent] sched/deadline: Initialize ->dl_boosted

2020-06-23 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 1863cc11225e3ea2cd005473f9addc52513ab1bc Gitweb: https://git.kernel.org/tip/1863cc11225e3ea2cd005473f9addc52513ab1bc Author:Juri Lelli AuthorDate:Wed, 17 Jun 2020 09:29:19 +02:00 Committer

[tip: sched/urgent] sched/core: s/WF_ON_RQ/WQ_ON_CPU/

2020-06-23 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 5311fd9f4c49ccc597021d901136fc807c01d678 Gitweb: https://git.kernel.org/tip/5311fd9f4c49ccc597021d901136fc807c01d678 Author:Peter Zijlstra AuthorDate:Mon, 22 Jun 2020 12:01:24 +02:00 Commi

[tip: sched/urgent] sched/core: Fix ttwu() race

2020-06-23 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 964ed98b075263faabe416eeebac99a9bef3f06c Gitweb: https://git.kernel.org/tip/964ed98b075263faabe416eeebac99a9bef3f06c Author:Peter Zijlstra AuthorDate:Mon, 22 Jun 2020 12:01:23 +02:00 Commi

[tip: sched/urgent] sched/core: Fix PI boosting between RT and DEADLINE tasks

2020-06-23 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 93a952a81bf31bffaf21eca1b530245acce12597 Gitweb: https://git.kernel.org/tip/93a952a81bf31bffaf21eca1b530245acce12597 Author:Juri Lelli AuthorDate:Mon, 19 Nov 2018 16:32:01 +01:00 Committer

Re: [PATCH] mm/page_alloc: silence a KASAN false positive

2020-06-23 Thread Heiko Carstens
On Wed, Jun 10, 2020 at 08:26:00AM -0400, Qian Cai wrote: > On Wed, Jun 10, 2020 at 07:54:50AM +0200, Dmitry Vyukov wrote: > > On Wed, Jun 10, 2020 at 7:22 AM Qian Cai wrote: > > > > > > kernel_init_free_pages() will use memset() on s390 to clear all pages > > > from kmalloc_order() which will ove

[tip: sched/urgent] sched/core: Fix CONFIG_GCC_PLUGIN_RANDSTRUCT build fail

2020-06-23 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: bc2d9d93ad336edce50ee4a52229076addb8fcdc Gitweb: https://git.kernel.org/tip/bc2d9d93ad336edce50ee4a52229076addb8fcdc Author:Peter Zijlstra AuthorDate:Wed, 10 Jun 2020 12:14:09 +02:00 Commi

[tip: sched/urgent] sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption

2020-06-23 Thread tip-bot2 for Scott Wood
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 16568f1f4fd4decee6935751d5ada1f963e5bd5f Gitweb: https://git.kernel.org/tip/16568f1f4fd4decee6935751d5ada1f963e5bd5f Author:Scott Wood AuthorDate:Wed, 17 Jun 2020 14:17:42 +02:00 Committer

Re: [PATCH] nds32: Replace by

2020-06-23 Thread Geert Uytterhoeven
Hi Greentime, On Wed, Feb 12, 2020 at 1:25 PM Geert Uytterhoeven wrote: > On Wed, Feb 12, 2020 at 11:52 AM Greentime Hu wrote: > > Geert Uytterhoeven 於 2020年2月12日 週三 下午6:16寫道: > > > The Andes platform code is not a clock provider, and just needs to call > > > of_clk_init(). > > > > > > Hence it

Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-23 Thread Bartosz Golaszewski
pt., 5 cze 2020 o 04:49 Navid Emamdoost napisał(a): > > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count. Call pm_runtime_put if > pm_runtime_get_sync fails. > > Signed-off-by: Navid Emamdoost > --- > drivers/gpio/gpio-rcar.c | 4 +++- > 1

Re: [PATCH] binder: fix null deref of proc->context

2020-06-23 Thread Dan Carpenter
On Mon, Jun 22, 2020 at 01:07:15PM -0700, Todd Kjos wrote: > The binder driver makes the assumption proc->context pointer is invariant > after > initialization (as documented in the kerneldoc header for struct proc). > However, in commit f0fe2c0f050d ("binder: prevent UAF for binderfs devices > I

[PATCH 2/7] irqchip/loongson-htpic: Remove redundant kfree operation

2020-06-23 Thread Tiezhu Yang
In the function htpic_of_init(), when kzalloc htpic fails, it should return -ENOMEM directly, no need to execute "goto" to kfree. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htpic.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-loon

[PATCH 0/7] Fix potential resource leaks and do some code cleanups about irqchip

2020-06-23 Thread Tiezhu Yang
When I test the irqchip code of Loongson, I read the related code of other chips in drivers/irqchip and I find some potential resource leaks in the error path, I think it is better to fix them. Additionally, do some code cleanups about Loongson to make it more clean and readable. Tiezhu Yang (7):

[PATCH 3/7] irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_onecell() due to it may returns -EINVAL if failed. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htvec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-loongson-htvec.c b/drivers/irqchip/ir

[PATCH] tracing: Fix tracing buffer length in tracing_mark_write

2020-06-23 Thread Wang ShaoBo
__copy_from_user_inatomic() return the byte length that copied failed, tracing buffer should left this bytes. Fixes: 656c7f0d2d2b ("tracing: Replace kmap with copy_from_user() in trace_marker writing") Signed-off-by: Wang ShaoBo --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/7] irqchip: Fix potential resource leaks

2020-06-23 Thread Tiezhu Yang
There exists some potential resource leaks in the error path, fix them. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ath79-misc.c | 3 +++ drivers/irqchip/irq-csky-apb-intc.c | 3 +++ drivers/irqchip/irq-csky-mpintc.c | 26 -- drivers/irqchip/irq-davinc

[PATCH 4/7] irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_twocell() due to it may returns -EINVAL if failed and use variable fwspec for it, and then use a new variable parent_fwspec which is proper for irq_domain_alloc_irqs_parent(). Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-pch-pic.c | 1

Re: [PATCH v2] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM

2020-06-23 Thread Johan Hovold
On Tue, Jun 23, 2020 at 02:08:57AM -0600, James Hilliard wrote: > On Tue, Jun 23, 2020 at 1:53 AM Johan Hovold wrote: > > Don't you need to add this device to the HID driver's ignore list > > to prevent it from claiming the device (see hid_ignore_list) just like > > for the Cypress VID? > > Ah, y

Re: [PATCH] PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent

2020-06-23 Thread Heiko Stübner
Am Montag, 22. Juni 2020, 17:07:52 CEST schrieb Marc Zyngier: > Hi Heiko, > > On 2020-06-22 14:54, Heiko Stübner wrote: > > Hi Marc, > > > > Am Montag, 22. Juni 2020, 15:31:55 CEST schrieb Marc Zyngier: > >> On Sat, 13 Jun 2020 11:24:35 +0100 > >> Marc Zyngier wrote: > >> > >> > Booting a recen

Re: [PATCH v2 1/2] ASoC: fsl_mqs: Don't check clock is NULL before calling clk API

2020-06-23 Thread Markus Elfring
> clk_prepare_enable and clk_disable_unprepare check the input > clock parameter in the beginning of the function, These functions call further functions which perform null pointer checks. > if the parameter > is NULL, clk_prepare

Re: [PATCH v4 01/18] nitro_enclaves: Add ioctl interface definition

2020-06-23 Thread Stefan Hajnoczi
On Mon, Jun 22, 2020 at 11:03:12PM +0300, Andra Paraschiv wrote: > diff --git a/include/uapi/linux/nitro_enclaves.h > b/include/uapi/linux/nitro_enclaves.h > new file mode 100644 > index ..3270eb939a97 > --- /dev/null > +++ b/include/uapi/linux/nitro_enclaves.h > @@ -0,0 +1,137 @@ > +/

Re: [PATCH v4 17/18] nitro_enclaves: Add overview documentation

2020-06-23 Thread Stefan Hajnoczi
On Mon, Jun 22, 2020 at 11:03:28PM +0300, Andra Paraschiv wrote: > +The kernel bzImage, the kernel command line, the ramdisk(s) are part of the > +Enclave Image Format (EIF); plus an EIF header including metadata such as > magic > +number, eif version, image size and CRC. > + > +Hash values are co

Re: [PATCH v8 0/4] introduce memory hinting API for external process

2020-06-23 Thread Oleksandr Natalenko
Hello. On Mon, Jun 22, 2020 at 12:36:35PM -0700, Minchan Kim wrote: > On Mon, Jun 22, 2020 at 12:28:56PM -0700, Minchan Kim wrote: > > Now, we have MADV_PAGEOUT and MADV_COLD as madvise hinting API. With that, > > application could give hints to kernel what memory range are preferred to be > > rec

RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as module

2020-06-23 Thread Aisheng Dong
> From: Stephen Boyd > Sent: Tuesday, June 23, 2020 4:34 PM > Subject: RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as > module > > Quoting Aisheng Dong (2020-06-22 20:42:19) > > > From: Stephen Boyd > > > Sent: Saturday, June 20, 2020 11:28 AM > > > Subject: RE: [PATCH V2 3/9]

[PATCH 4/7 RESEND] irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_twocell() due to it may returns -EINVAL if failed and use variable fwspec for it, and then use a new variable parent_fwspec which is proper for irq_domain_alloc_irqs_parent(). Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-pch-pic.c | 1

[PATCH 6/7 RESEND] irqchip/loongson-htpic: Remove unneeded select of I8259

2020-06-23 Thread Tiezhu Yang
LOONGSON_HTPIC depends on MACH_LOONGSON64 and MACH_LOONGSON64 already selects I8259 in arch/mips/Kconfig, so no need to select I8259 again when config LOONGSON_HTPIC. Signed-off-by: Tiezhu Yang --- drivers/irqchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/Kconfig

[PATCH 0/7 RESEND] Fix potential resource leaks and do some code cleanups about irqchip

2020-06-23 Thread Tiezhu Yang
[git send-email failed, so resend it, sorry for that] When I test the irqchip code of Loongson, I read the related code of other chips in drivers/irqchip and I find some potential resource leaks in the error path, I think it is better to fix them. Additionally, do some code cleanups about Loongson

[PATCH 1/7 RESEND] irqchip: Fix potential resource leaks

2020-06-23 Thread Tiezhu Yang
There exists some potential resource leaks in the error path, fix them. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ath79-misc.c | 3 +++ drivers/irqchip/irq-csky-apb-intc.c | 3 +++ drivers/irqchip/irq-csky-mpintc.c | 26 -- drivers/irqchip/irq-davinc

[PATCH 5/7 RESEND] irqchip/loongson-pch-msi: Remove unneeded variable

2020-06-23 Thread Tiezhu Yang
irq_domain_alloc_irqs_parent() returns 0 on success and non-zero value on failure, it is redudant to check its non-zero return value and then return it, so just remove the variable "ret" and return directly in the function pch_msi_parent_domain_alloc(). Signed-off-by: Tiezhu Yang --- drivers/irq

[PATCH 3/7 RESEND] irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_onecell() due to it may returns -EINVAL if failed. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htvec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-loongson-htvec.c b/drivers/irqchip/ir

[PATCH 2/7 RESEND] irqchip/loongson-htpic: Remove redundant kfree operation

2020-06-23 Thread Tiezhu Yang
In the function htpic_of_init(), when kzalloc htpic fails, it should return -ENOMEM directly, no need to execute "goto" to kfree. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htpic.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-loon

Re: [PATCH v4 6/8] arm: Break cyclic percpu include

2020-06-23 Thread Will Deacon
On Tue, Jun 23, 2020 at 10:36:51AM +0200, Peter Zijlstra wrote: > In order to use in irqflags.h, we need to make sure > asm/percpu.h does not itself depend on irqflags.h. > > Signed-off-by: Peter Zijlstra (Intel) > --- > arch/arm/include/asm/percpu.h |2 ++ > 1 file changed, 2 insertions(+)

Re: [PATCH] binder: fix null deref of proc->context

2020-06-23 Thread Christian Brauner
On Tue, Jun 23, 2020 at 11:50:21AM +0300, Dan Carpenter wrote: > On Mon, Jun 22, 2020 at 01:07:15PM -0700, Todd Kjos wrote: > > The binder driver makes the assumption proc->context pointer is invariant > > after > > initialization (as documented in the kerneldoc header for struct proc). > > Howeve

Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

2020-06-23 Thread Christoph Hellwig
On Sat, Jun 20, 2020 at 07:16:16PM -0700, Andrew Morton wrote: > On Thu, 18 Jun 2020 08:43:06 +0200 Christoph Hellwig wrote: > > > Use PAGE_KERNEL_ROX directly instead of allocating RWX and setting the > > page read-only just after the allocation. > > > > --- a/arch/arm64/kernel/probes/kprobes.c

[PATCH v1] scsi: ufs: Cleanup completed request without interrupt notification

2020-06-23 Thread Stanley Chu
If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may crash by below abnormal flow: After this request is requeued by SCSI layer with its outstanding

[PATCH 6/7 RESEND] irqchip/loongson-htpic: Remove unneeded select of I8259

2020-06-23 Thread Tiezhu Yang
LOONGSON_HTPIC depends on MACH_LOONGSON64 and MACH_LOONGSON64 already selects I8259 in arch/mips/Kconfig, so no need to select I8259 again when config LOONGSON_HTPIC. Signed-off-by: Tiezhu Yang --- drivers/irqchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/Kconfig

[PATCH 2/7 RESEND] irqchip/loongson-htpic: Remove redundant kfree operation

2020-06-23 Thread Tiezhu Yang
In the function htpic_of_init(), when kzalloc htpic fails, it should return -ENOMEM directly, no need to execute "goto" to kfree. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htpic.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-loon

[PATCH 5/7 RESEND] irqchip/loongson-pch-msi: Remove unneeded variable

2020-06-23 Thread Tiezhu Yang
irq_domain_alloc_irqs_parent() returns 0 on success and non-zero value on failure, it is redudant to check its non-zero return value and then return it, so just remove the variable "ret" and return directly in the function pch_msi_parent_domain_alloc(). Signed-off-by: Tiezhu Yang --- drivers/irq

[PATCH 4/7 RESEND] irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_twocell() due to it may returns -EINVAL if failed and use variable fwspec for it, and then use a new variable parent_fwspec which is proper for irq_domain_alloc_irqs_parent(). Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-pch-pic.c | 1

[PATCH 3/7 RESEND] irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell()

2020-06-23 Thread Tiezhu Yang
Check the return value of irq_domain_translate_onecell() due to it may returns -EINVAL if failed. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htvec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-loongson-htvec.c b/drivers/irqchip/ir

[PATCH 1/7 RESEND] irqchip: Fix potential resource leaks

2020-06-23 Thread Tiezhu Yang
There exists some potential resource leaks in the error path, fix them. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ath79-misc.c | 3 +++ drivers/irqchip/irq-csky-apb-intc.c | 3 +++ drivers/irqchip/irq-csky-mpintc.c | 26 -- drivers/irqchip/irq-davinc

[PATCH 0/7 RESEND] Fix potential resource leaks and do some code cleanups about irqchip

2020-06-23 Thread Tiezhu Yang
[git send-email failed due to too many commands, so only cc the major related email and resend it, sorry for that again] When I test the irqchip code of Loongson, I read the related code of other chips in drivers/irqchip and I find some potential resource leaks in the error path, I think it is b

[PATCH 7/7 RESEND] dt-bindings: interrupt-controller: Fix typos in loongson,liointc.yaml

2020-06-23 Thread Tiezhu Yang
Fix the following two typos in loongson,liointc.yaml: fron -> from it's -> its Signed-off-by: Tiezhu Yang --- .../devicetree/bindings/interrupt-controller/loongson,liointc.yaml| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt

Re: [PATCH v2 05/15] net: pylink.h: add kernel-doc descriptions for new fields at phylink_config

2020-06-23 Thread Russell King - ARM Linux admin
On Tue, Jun 23, 2020 at 09:09:01AM +0200, Mauro Carvalho Chehab wrote: > Some fields were moved from struct phylink into phylink_config. > Update the kernel-doc markups for the config struct accordingly > > Fixes: 5c05c1dbb177 ("net: phylink, dsa: eliminate phylink_fixed_state_cb()") > Signed-off-

Re: [PATCH v8 0/4] introduce memory hinting API for external process

2020-06-23 Thread Oleksandr Natalenko
On Mon, Jun 22, 2020 at 12:28:56PM -0700, Minchan Kim wrote: > Now, we have MADV_PAGEOUT and MADV_COLD as madvise hinting API. With that, > application could give hints to kernel what memory range are preferred to be > reclaimed. However, in some platform(e.g., Android), the information > required

[PATCH net v2 1/2] bridge: uapi: mrp: Fix MRP_PORT_ROLE

2020-06-23 Thread Horatiu Vultur
Currently the MRP_PORT_ROLE_NONE has the value 0x2 but this is in conflict with the IEC 62439-2 standard. The standard defines the following port roles: primary (0x0), secondary(0x1), interconnect(0x2). Therefore remove the port role none. Fixes: 4714d13791f831 ("bridge: uapi: mrp: Add mrp attribu

Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

2020-06-23 Thread Will Deacon
On Tue, Jun 23, 2020 at 11:05:05AM +0200, Christoph Hellwig wrote: > On Sat, Jun 20, 2020 at 07:16:16PM -0700, Andrew Morton wrote: > > On Thu, 18 Jun 2020 08:43:06 +0200 Christoph Hellwig wrote: > > > > > Use PAGE_KERNEL_ROX directly instead of allocating RWX and setting the > > > page read-only

[PATCH net v2 0/2] bridge: mrp: Update MRP_PORT_ROLE

2020-06-23 Thread Horatiu Vultur
This patch series does the following: - fixes the enum br_mrp_port_role_type. It removes the port role none(0x2) because this is in conflict with the standard. The standard defines the interconnect port role as value 0x2. - adds checks regarding current defined port roles: primary(0x0) and se

[PATCH net v2 2/2] bridge: mrp: Validate when setting the port role

2020-06-23 Thread Horatiu Vultur
This patch adds specific checks for primary(0x0) and secondary(0x1) when setting the port role. For any other value the function 'br_mrp_set_port_role' will return -EINVAL. Fixes: 20f6a05ef63594 ("bridge: mrp: Rework the MRP netlink interface") Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp

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