Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Bjorn Andersson
On Thu 03 Oct 22:38 PDT 2019, Stephen Boyd wrote: > Quoting Murali Nalajala (2019-10-03 16:51:50) > > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct > > soc_device_attribute *soc_dev_attr > > > > ret = device_register(_dev->dev); > > if (ret) > > -

[PATCH] ARM: dts: vf610-zii-scu4-aib: Specify 'i2c-mux-idle-disconnect'

2019-10-03 Thread Andrey Smirnov
Specify 'i2c-mux-idle-disconnect' for both I2C switches present on the board, since both are connected to the same parent bus and all of their children have the same I2C address. Fixes: ca4b4d373fcc ("ARM: dts: vf610: Add ZII SCU4 AIB board") Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc:

Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Stephen Boyd
Quoting Murali Nalajala (2019-10-03 16:51:50) > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct > soc_device_attribute *soc_dev_attr > > ret = device_register(_dev->dev); > if (ret) > - goto out3; > + goto out4; > >

Re: memory leak in sctp_get_port_local (2)

2019-10-03 Thread Eric Biggers
On Fri, Aug 09, 2019 at 04:33:11PM +0800, Xin Long wrote: > On Thu, Aug 8, 2019 at 11:01 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:0eb0ce0a Merge tag 'spi-fix-v5.3-rc3' of git://git.kernel... > > git tree: upstream > > console

4*/5*: ppp0: recursion detected

2019-10-03 Thread Udo van den Heuvel
Hello, To fix the 'ppp0: recursion detected' messages we see on our firewall I found a solution at: https://forum.openwrt.org/t/pptp-recursion-detected-system-reboot-itself/12585 Can we please implement this solution if deemed OK? Kind regards, Udo

[BUGFIX PATCH] selftests: Use real temporary working directory for archiving

2019-10-03 Thread Masami Hiramatsu
Use real temporary working directory for generating kselftest archive. tools/testing/selftests/kselftest directory has been used for the temporary working directory for making a tar archive from gen_kselftest_tar.sh, and it removes the directory for cleanup. However, since the kselftest

Re: 4*/5*: ppp0: recursion detected

2019-10-03 Thread Udo van den Heuvel
On 04-10-2019 06:57, Udo van den Heuvel wrote: > To fix the 'ppp0: recursion detected' messages we see on our firewall I > found a solution at: > > https://forum.openwrt.org/t/pptp-recursion-detected-system-reboot-itself/12585 > > Can we please implement this solution if deemed OK? Or perhaps

[GIT PULL] xen: fixes and cleanups for 5.4-rc2

2019-10-03 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.4-rc2-tag xen: fixes and cleanups for 5.4-rc2 It contains the following patches: - a fix in the Xen balloon driver avoiding hitting a BUG_ON() in some cases, plus a follow-on

Re: nsdeps not working on modules in 5.4-rc1

2019-10-03 Thread Steve French
ok - so to sum up, it sounds like you are saying the 350 false positives (see attached file) that happen on building cifs.ko .will be fixed by a future change to modpost? This is a typical module build ... download and install current kernel package (in this case Ubuntu 5.4-rc1). which saves

Potential uninitialized variables in regulator: ltc3589

2019-10-03 Thread Yizhuo Zhai
Hi All: drivers/regulator/ltc3589.c Variable "irqstat" in function ltc3589_isr() could be uninitialized if regmap_read() returns -EINVAL. But it's directly used later without the return check, which is potentially unsafe. Also, we cannot simply return -EINVAL in ltc3589_isr() because the error

Potential uninitialized variables in pwm: stm32-lp

2019-10-03 Thread Yizhuo Zhai
Hi All: drivers/pwm/pwm-stm32-lp.c: Variable "val" and "prd" in function stm32_pwm_lp_get_state() could be uninitialized if regmap_read() returns -EINVAL. But it's directly used later without the return check, which is potentially unsafe. Also, we cannot simply return -EINVAL in

[PATCH] net/velocity: fix -Wunused-but-set-variable warnings

2019-10-03 Thread Austin Kim
'curr_status' is declared as u32. But this variable is not used after below statement. curr_status = vptr->mii_status & (~VELOCITY_LINK_FAIL); This variable could be dropped to mute below warning message: drivers/net/ethernet/via/via-velocity.c:868:6: warning: variable ‘curr_status’ set

Re: nsdeps not working on modules in 5.4-rc1

2019-10-03 Thread Masahiro Yamada
Hi Steve, On Fri, Oct 4, 2019 at 1:28 PM Steve French wrote: > > On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada > wrote: > > > > Hi Steve, > > > > On Fri, Oct 4, 2019 at 1:07 AM Steve French wrote: > > > > > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada > > > wrote: > > > > > > > > Hi

[PATCH] pwm: stm32: Fix the usage of uninitialized variable in stm32_pwm_config()

2019-10-03 Thread Yizhuo
Inside function stm32_pwm_config(), variable "psc" and " arr" could be uninitialized if regmap_read() returns -EINVALs. However, they are used later in the if statement to decide the return value which is potentially unsafe. The same case happens in function stm32_pwm_detect_channels() with

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-03 Thread Walter Wu
On Thu, 2019-10-03 at 16:53 +0200, Dmitry Vyukov wrote: > On Thu, Oct 3, 2019 at 3:51 PM Walter Wu wrote:> > > how about this? > > > > commit fd64691026e7ccb8d2946d0804b0621ac177df38 > > Author: Walter Wu > > Date: Fri Sep 27 09:54:18 2019 +0800 > > > > kasan: detect invalid size in memory

linux-next: build failure after merge of the rtc tree

2019-10-03 Thread Stephen Rothwell
Hi all, After merging the rtc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/rtc/rtc-mc146818-lib.c: In function 'mc146818_set_time': drivers/rtc/rtc-mc146818-lib.c:176:6: error: 'boot_cpu_data' undeclared (first use in this function); did you mean

Re: [PATCH v2] x86/xen: Return from panic notifier

2019-10-03 Thread Jürgen Groß
On 03.10.19 20:12, Boris Ostrovsky wrote: Currently execution of panic() continues until Xen's panic notifier (xen_panic_event()) is called at which point we make a hypercall that never returns. This means that any notifier that is supposed to be called later as well as significant part of

Re: [PATCHv3 RESEND-next 0/3] Odroid c2 missing regulator linking

2019-10-03 Thread Anand Moon
Hi Kevin, On Thu, 3 Oct 2019 at 23:14, Kevin Hilman wrote: > > Anand Moon writes: > > > Looks like this changes got lost so resend these changes again. > > Yeah, sorry about that. Your cover letter subjects were quite similar, > and several versions of this series and the previoius series

Re: nsdeps not working on modules in 5.4-rc1

2019-10-03 Thread Steve French
On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada wrote: > > Hi Steve, > > On Fri, Oct 4, 2019 at 1:07 AM Steve French wrote: > > > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada > > wrote: > > > > > > Hi Steve, > > > > > > On Fri, Oct 4, 2019 at 12:15 AM Steve French wrote: > > > > > > > >

[PATCH] arm64/mm: Poison initmem while freeing with free_reserved_area()

2019-10-03 Thread Anshuman Khandual
Platform implementation for free_initmem() should poison the memory while freeing it up. Hence pass across POISON_FREE_INITMEM while calling into free_reserved_area(). The same is being followed in the generic fallback for free_initmem() and some other platforms overriding it. Cc: Catalin Marinas

Potential uninitialized variables in power: supply: rt5033_battery:

2019-10-03 Thread Yizhuo Zhai
Hi: drivers/power/supply/rt5033_battery.c: In function rt5033_battery_get_present(), variable "val" could be uninitialized if regmap_read() returns -EINVAL. However, "val" is used to decide the return value, which is potentially unsafe. Also, we cannot simply return -EINVAL in

[PATCH v3] PCI: mobiveil: Fix csr_read/write build issue

2019-10-03 Thread Kefeng Wang
The riscv has csr_read/write macro, see arch/riscv/include/asm/csr.h, the same function naming will cause build error, using such generic names in a driver is bad, rename csr_[read,write][l,] to mobiveil_csr_read/write to fix it. drivers/pci/controller/pcie-mobiveil.c:238:69: error: macro

Re: [PATCH] arm64: dts: qcom: msm8998-clamshell: Remove retention idle state

2019-10-03 Thread Amit Kucheria
On Thu, Oct 3, 2019 at 12:44 AM Jeffrey Hugo wrote: > > The retention idle state does not appear to be supported by the firmware > present on the msm8998 laptops since the state is advertised as disabled > in ACPI, and attempting to enable the state in DT is observed to result > in boot hangs.

Re: nsdeps not working on modules in 5.4-rc1

2019-10-03 Thread Masahiro Yamada
Hi Steve, On Fri, Oct 4, 2019 at 1:07 AM Steve French wrote: > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada > wrote: > > > > Hi Steve, > > > > On Fri, Oct 4, 2019 at 12:15 AM Steve French wrote: > > > > > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich > > > wrote: > > > > > > > > Hi

Re: [PATCH 3/3] arm64: dts: rockchip: fix RockPro64 sdmmc settings【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips....@lists.infradead.org代发】

2019-10-03 Thread Soeren Moch
On 04.10.19 04:13, Shawn Lin wrote: > On 2019/10/4 8:53, Soeren Moch wrote: >> >> >> On 04.10.19 02:01, Robin Murphy wrote: >>> On 2019-10-03 10:50 pm, Soeren Moch wrote: According to the RockPro64 schematic [1] the rk3399 sdmmc controller is connected to a microSD (TF card)

Potential uninitialized variables in subsys net: hisilicon

2019-10-03 Thread Yizhuo Zhai
Hi All: drivers/net/ethernet/hisilicon/hip04_eth.c: In function hip04_reset_ppe(), variable "val" could be uninitialized if regmap_read() returns -EINVAL. However, "val" is used to decide the control flow, which is potentially unsafe. Also, we cannot simply return -EINVAL in hip04_reset_ppe()

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-03 Thread Srinivas Pandruvada
On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > On Wednesday, October 2, 2019 2:29:26 PM CEST Giovanni Gherdovich > wrote: > > From: Srinivas Pandruvada > > > > intel_pstate has two operating modes: active and passive. In > > "active" > > mode, the in-built scaling governor is used

Re: [PATCH 2/2] gpio: Add xgs-iproc driver

2019-10-03 Thread kbuild test robot
Hi Chris, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on gpio/for-next] [cannot apply to v5.4-rc1 next-20191003] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH v2 7/9] arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states

2019-10-03 Thread Jeffrey Hugo
On Thu, Oct 3, 2019 at 7:36 PM Amit Kucheria wrote: > > On Wed, Oct 2, 2019 at 11:48 PM Jeffrey Hugo wrote: > > > > On Wed, Oct 2, 2019 at 3:27 AM Niklas Cassel > > wrote: > > > > > > On Wed, Oct 02, 2019 at 11:19:50AM +0200, Niklas Cassel wrote: > > > > On Mon, Sep 30, 2019 at 04:20:15PM

Re: [PATCH 2/2] gpio: Add xgs-iproc driver

2019-10-03 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [cannot apply to v5.4-rc1 next-20191003] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

RE: [PATCH v2] x86/hyperv: make vapic support x2apic mode

2019-10-03 Thread Michael Kelley
From: Roman Kagan Sent: Thursday, October 3, 2019 5:53 AM > > > > AFAIU you're trying to mirror native_x2apic_icr_write() here but this is > > different from what hv_apic_icr_write() does > > (SET_APIC_DEST_FIELD(id)). > > Right. In xapic mode the ICR2 aka the high 4 bytes of ICR is programmed

Re: [PATCH 1/3] thunderbolt: Read DP IN adapter first two dwords in one go

2019-10-03 Thread Brad Campbell
On 1/10/19 6:29 pm, Mika Westerberg wrote: When we discover existing DP tunnels the code checks whether DP IN adapter port is enabled by calling tb_dp_port_is_enabled() before it continues the discovery process. On Light Ridge (gen 1) controller reading only the first dword of the DP IN config

We bring your gadget back to life

2019-10-03 Thread Just Repair
Hello, Let us repair your phone or gadget right on the spot visit us today https://www.justrepair.net or come into our location https://goo.gl/maps/k5iRbeJyggiXnZSG6 Give us a nice review and we`ll make you a big discount Thank you, Ameer

[PATCH v3 1/2] perf: support multiple debug options separated by ','

2019-10-03 Thread Changbin Du
This patch adds support for multiple debug options separated by ',' and non-int values. --debug verbose=2,stderr Signed-off-by: Changbin Du --- tools/perf/Documentation/perf.txt | 10 ++-- tools/perf/util/debug.c | 86 --- 2 files changed, 50

[PATCH v3 2/2] perf: add support for logging debug messages to file

2019-10-03 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. The usage is: perf -debug verbose=2,file=~/perf.log COMMAND

[PATCH v3 0/2] perf: add support for logging debug messages to file

2019-10-03 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. v3: o fix a segfault issue. v2: o specific all debug options one time.

Re: [PATCH v2 0/2] perf: add support for logging debug messages to file

2019-10-03 Thread Changbin Du
On Sun, Sep 29, 2019 at 09:44:07AM +0200, Jiri Olsa wrote: > On Sun, Sep 22, 2019 at 10:38:21AM +0800, Changbin Du wrote: > > When in TUI mode, it is impossible to show all the debug messages to > > console. This make it hard to debug perf issues using debug messages. > > This patch adds support

Re: [PATCH 3/3] arm64: dts: rockchip: fix RockPro64 sdmmc settings【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips....@lists.infradead.org代发】

2019-10-03 Thread Shawn Lin
On 2019/10/4 8:53, Soeren Moch wrote: On 04.10.19 02:01, Robin Murphy wrote: On 2019-10-03 10:50 pm, Soeren Moch wrote: According to the RockPro64 schematic [1] the rk3399 sdmmc controller is connected to a microSD (TF card) slot, which cannot be switched to 1.8V. Really? AFAICS the SDMMC0

Re: [PATCH] scsi: ch: add include guard to chio.h

2019-10-03 Thread Masahiro Yamada
Hi Martin, On Fri, Oct 4, 2019 at 10:59 AM Martin K. Petersen wrote: > > > Masahiro, > > >> Add a header include guard just in case. > > Fine with me. Is it going through your tree or should I pick it up? Could you please apply it to your tree? Thanks. -- Best Regards Masahiro Yamada

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-03 Thread Martin K. Petersen
Paul, No objections from me. > + vpd_pg80 = rcu_replace(sdev->vpd_pg80, vpd_pg80, > +lockdep_is_held(>inquiry_mutex)); > + vpd_pg83 = rcu_replace(sdev->vpd_pg83, vpd_pg83, > +lockdep_is_held(>inquiry_mutex)); Just a heads-up that

Re: [PATCH] sched/fair: scale quota and period without losing quota/period ratio precision

2019-10-03 Thread Xuewei Zhang
+cc neeln...@google.com and hao...@google.com, they helped a lot for this issue. Sorry I forgot to include them when sending out the patch. On Thu, Oct 3, 2019 at 5:55 PM Phil Auld wrote: > > Hi, > > On Thu, Oct 03, 2019 at 05:12:43PM -0700 Xuewei Zhang wrote: > > quota/period ratio is used to

Re: [PATCH] scsi: ch: add include guard to chio.h

2019-10-03 Thread Martin K. Petersen
Masahiro, >> Add a header include guard just in case. Fine with me. Is it going through your tree or should I pick it up? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: fix a potential NULL pointer dereference

2019-10-03 Thread Martin K. Petersen
> alloc_workqueue is not checked for errors and as a result, > a potential NULL dereference could occur. Himanshu: Please review! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 05/11] of: Ratify of_dma_configure() interface

2019-10-03 Thread Rob Herring
On Tue, Oct 1, 2019 at 10:43 AM Nicolas Saenz Julienne wrote: > > On Mon, 2019-09-30 at 16:24 -0500, Rob Herring wrote: > > On Mon, Sep 30, 2019 at 8:32 AM Nicolas Saenz Julienne > > wrote: > > > On Mon, 2019-09-30 at 05:57 -0700, Christoph Hellwig wrote: > > > > On Thu, Sep 26, 2019 at

[PATCH] ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage

2019-10-03 Thread Andrey Smirnov
According to Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt, i2c-mux-idle-disconnect is a property of a parent node since it pertains to the mux/switch as a whole, so move it there and drop all of the concurrences in child nodes. Fixes: d031773169df ("ARM: dts: Adds device tree file

RE: [PATCH 0/2] peci: aspeed: Add AST2600 compatible

2019-10-03 Thread ChiaWei Wang
Sure. We will re-submit the patches with the revision suggested. Thanks. Regards, Chiawei * Email Confidentiality Notice DISCLAIMER: This message (and any attachments) may contain legally privileged and/or other confidential information. If you have received it

Re: [PATCH v2 7/9] arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states

2019-10-03 Thread Amit Kucheria
On Wed, Oct 2, 2019 at 11:48 PM Jeffrey Hugo wrote: > > On Wed, Oct 2, 2019 at 3:27 AM Niklas Cassel wrote: > > > > On Wed, Oct 02, 2019 at 11:19:50AM +0200, Niklas Cassel wrote: > > > On Mon, Sep 30, 2019 at 04:20:15PM -0600, Jeffrey Hugo wrote: > > > > Amit, the merged version of the below

[PATCH 0/2] gpio: brcm: XGS iProc GPIO driver

2019-10-03 Thread Chris Packham
This is ported this from Broadcom's XLDK. There seem to be 3 different IP blocks for 3 separate banks of GPIOs in the iProc chips. I've dropped everything except support for the Chip Common A GPIO controller because the other blocks actually seem to be supportable with other drivers. The driver

[PATCH 1/2] dt-bindings: gpio: brcm: Add bindings for xgs-iproc

2019-10-03 Thread Chris Packham
This GPIO controller is present on a number of Broadcom switch ASICs with integrated SoCs. It is similar to the nsp-gpio and iproc-gpio blocks but different enough to require a separate driver. Signed-off-by: Chris Packham --- .../bindings/gpio/brcm,xgs-iproc.txt | 41

[PATCH 2/2] gpio: Add xgs-iproc driver

2019-10-03 Thread Chris Packham
This driver supports the Chip Common A GPIO controller present on a number of Broadcom switch ASICs with integrated SoCs. The controller is similar to the pinctrl-nsp-gpio and pinctrl-iproc-gpio blocks but different enough that a separate driver is required. This has been ported from Broadcom's

[RESEND PATCH v3 9/9] hacking: Move DEBUG_FS to 'Generic Kernel Debugging Instruments'

2019-10-03 Thread Changbin Du
DEBUG_FS does not belong to 'Compile-time checks and compiler options'. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Kconfig.debug

[RESEND PATCH v3 7/9] hacking: Create a submenu for scheduler debugging options

2019-10-03 Thread Changbin Du
Create a submenu 'Scheduler Debugging' for scheduler debugging options. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 4 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index

[RESEND PATCH v3 1/9] hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

2019-10-03 Thread Changbin Du
Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug

[RESEND PATCH v3 0/9] hacking: make kconfig menu 'kernel hacking' better structurized

2019-10-03 Thread Changbin Du
This series is a trivial improvment for the layout of 'kernel hacking' configuration menu. Now we have many items in it which makes takes a little time to look up them since they are not well structurized yet. Early discussion is here: https://lkml.org/lkml/2019/9/1/39 This is a preview: │

[RESEND PATCH v3 6/9] hacking: Move SCHED_STACK_END_CHECK after DEBUG_STACK_USAGE

2019-10-03 Thread Changbin Du
They are both memory debug options to debug kernel stack issues. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug

[RESEND PATCH v3 3/9] hacking: Group kernel data structures debugging together

2019-10-03 Thread Changbin Du
Group these similar runtime data structures verification options together. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/lib/Kconfig.debug

[RESEND PATCH v3 2/9] hacking: Create submenu for arch special debugging options

2019-10-03 Thread Changbin Du
The arch special options are a little long, so create a submenu for them. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 4 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index

[RESEND PATCH v3 8/9] hacking: Move DEBUG_BUGVERBOSE to 'printk and dmesg options'

2019-10-03 Thread Changbin Du
I think DEBUG_BUGVERBOSE is a dmesg option which gives more debug info to dmesg. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/Kconfig.debug

[RESEND PATCH v3 4/9] hacking: Move kernel testing and coverage options to same submenu

2019-10-03 Thread Changbin Du
Move error injection, coverage, testing, kunit options to a new submenu 'Kernel Testing and Coverage'. They are all for test purpose. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 499 +++--- 1 file

[RESEND PATCH v3 5/9] hacking: Move Oops into 'Lockups and Hangs'

2019-10-03 Thread Changbin Du
They are similar options so place them together. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 58 +++ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/lib/Kconfig.debug

[v1 PATCH 0/2] Cleanup isa string access and print

2019-10-03 Thread Atish Patra
This is a cleanup series addressing issues around isa string accesses and prints. Patch 1 is actually a revised patch as a result of discussion in the following thread. http://lists.infradead.org/pipermail/linux-riscv/2019-September/006702.html Patch 2 is an additional cleanup that tries to

[v1 PATCH 2/2] RISC-V: Consolidate isa correctness check

2019-10-03 Thread Atish Patra
Currently, isa string is read and checked for correctness at multiple places. Consolidate them into one function and use it only during early bootup. In case of a incorrect isa string, the cpu shouldn't boot at all. Signed-off-by: Atish Patra --- arch/riscv/include/asm/processor.h | 1 +

[v1 PATCH 1/2] RISC-V: Remove unsupported isa string info print

2019-10-03 Thread Atish Patra
/proc/cpuinfo should just print all the isa string as an information instead of determining what is supported or not. ELF hwcap can be used by the userspace to figure out that. Simplify the isa string printing by removing the unsupported isa string print and all related code. The relevant

ulfh/next boot bisection: v5.4-rc1-17-g25812fcf7403 on bcm2837-rpi-3-b-32

2019-10-03 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the

Re: [PATCH] sched/fair: scale quota and period without losing quota/period ratio precision

2019-10-03 Thread Phil Auld
Hi, On Thu, Oct 03, 2019 at 05:12:43PM -0700 Xuewei Zhang wrote: > quota/period ratio is used to ensure a child task group won't get more > bandwidth than the parent task group, and is calculated as: > normalized_cfs_quota() = [(quota_us << 20) / period_us] > > If the quota/period ratio was

Re: [PATCH 3/3] arm64: dts: rockchip: fix RockPro64 sdmmc settings

2019-10-03 Thread Soeren Moch
On 04.10.19 02:01, Robin Murphy wrote: > On 2019-10-03 10:50 pm, Soeren Moch wrote: >> According to the RockPro64 schematic [1] the rk3399 sdmmc controller is >> connected to a microSD (TF card) slot, which cannot be switched to 1.8V. > > Really? AFAICS the SDMMC0 wiring looks pretty much

linux-next: build failure after merge of the hid tree

2019-10-03 Thread Stephen Rothwell
reference to `.devm_led_classdev_register_ext' Caused by commit 3a0275384c27 ("HID: Add driver for Logitech gaming keyboards (G15, G15 v2)") For this build, CONFIG_HID_LOGITECH=y and CONFIG_LEDS_CLASS=m. I have used the hid tree from next-20191003 for today. -- Cheers, Stephe

Re: [PATCH v3 1/2] tpm: Use GFP_KERNEL for allocating struct tpm_buf

2019-10-03 Thread James Bottomley
On Thu, 2019-10-03 at 21:51 +0300, Jarkko Sakkinen wrote: > Switch from GFP_HIGHUSER to GFP_KERNEL. On 32-bit platforms kmap() > space > could be unnecessarily wasted because of using GFP_HIGHUSER by taking > a > page of from the highmem. > > Suggested-by: James Bottomley > Signed-off-by: Jarkko

Re: [PATCH v22 16/24] x86/vdso: Add support for exception fixup in vDSO functions

2019-10-03 Thread Sean Christopherson
I'll tackle this tomorrow. I've been working on the feature control MSR series and will get that sent out tomorrow as well. I should also be able to get you the multi-page EADD patch.

[PATCH] sched/fair: scale quota and period without losing quota/period ratio precision

2019-10-03 Thread Xuewei Zhang
quota/period ratio is used to ensure a child task group won't get more bandwidth than the parent task group, and is calculated as: normalized_cfs_quota() = [(quota_us << 20) / period_us] If the quota/period ratio was changed during this scaling due to precision loss, it will cause inconsistency

[PATCH] Bluetooth: hci_core: fix init with HCI_QUIRK_NON_PERSISTENT_SETUP

2019-10-03 Thread Mattijs Korpershoek
Some HCI devices which have the HCI_QUIRK_NON_PERSISTENT_SETUP [1] require a call to setup() to be ran after every open(). During the setup() stage, these devices expect the chip to acknowledge its setup() completion via vendor specific frames. If userspace opens() such HCI device in

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-03 Thread Roman Gushchin
On Wed, Oct 02, 2019 at 05:59:36PM -0400, Bruce Ashfield wrote: > On Wed, Oct 2, 2019 at 2:19 PM Roman Gushchin wrote: > > > > On Wed, Oct 02, 2019 at 12:18:54AM -0400, Bruce Ashfield wrote: > > > On Tue, Oct 1, 2019 at 10:01 PM Roman Gushchin wrote: > > > > > > > > On Tue, Oct 01, 2019 at

RE: [RFC PATCH 00/13] vsock: add multi-transports support

2019-10-03 Thread Dexuan Cui
> From: Stefano Garzarella > Sent: Friday, September 27, 2019 4:27 AM > ... > Patch 9 changes the hvs_remote_addr_init(). setting the > VMADDR_CID_HOST as remote CID instead of VMADDR_CID_ANY to make > the choice of transport to be used work properly. > @Dexuan Could this change break anything?

Re: [PATCH v22 16/24] x86/vdso: Add support for exception fixup in vDSO functions

2019-10-03 Thread Sean Christopherson
On Thu, Oct 03, 2019 at 02:18:04AM +0300, Jarkko Sakkinen wrote: > Also there is two space bars after *every* sentence. Your text editor is > totally broken somehow. I completely misunderstood your earlier comment, I thought you were saying there were random spaces at the end of lines. It's not

Re: [v1] e1000e: EEH on e1000e adapter detects io perm failure can trigger crash

2019-10-03 Thread David Z. Dai
On Thu, 2019-10-03 at 13:39 -0700, Alexander Duyck wrote: > On Thu, Oct 3, 2019 at 11:51 AM David Z. Dai wrote: > > > > On Thu, 2019-10-03 at 10:39 -0700, Alexander Duyck wrote: > > > On Thu, Oct 3, 2019 at 9:59 AM David Dai wrote: > > > > > > > > We see the behavior when EEH e1000e adapter

Re: [PATCH 3/3] arm64: dts: rockchip: fix RockPro64 sdmmc settings

2019-10-03 Thread Robin Murphy
On 2019-10-03 10:50 pm, Soeren Moch wrote: According to the RockPro64 schematic [1] the rk3399 sdmmc controller is connected to a microSD (TF card) slot, which cannot be switched to 1.8V. Really? AFAICS the SDMMC0 wiring looks pretty much identical to the NanoPC-T4 schematic (it's the same

Re: [PATCH 4.4 00/99] 4.4.195-stable review

2019-10-03 Thread shuah
On 10/3/19 9:52 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.195 release. There are 99 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.19 000/211] 4.19.77-stable review

2019-10-03 Thread shuah
On 10/3/19 9:51 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.77 release. There are 211 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 000/185] 4.14.147-stable review

2019-10-03 Thread shuah
On 10/3/19 9:51 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.147 release. There are 185 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 000/129] 4.9.195-stable review

2019-10-03 Thread shuah
On 10/3/19 9:52 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.195 release. There are 129 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Murali Nalajala
Soc framework exposed sysfs entries are not sufficient for some of the h/w platforms. Currently there is no interface where soc drivers can expose further information about their SoCs via soc framework. This change address this limitation where clients can pass their custom entries as attribute

Re: [PATCH 5.2 000/313] 5.2.19-stable review

2019-10-03 Thread Kevin Hilman
"kernelci.org bot" writes: > stable-rc/linux-5.2.y boot: 136 boots: 1 failed, 126 passed with 9 offline > (v5.2.18-314-g2c8369f13ff8) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.2.y/kernel/v5.2.18-314-g2c8369f13ff8/ > Full Build Summary: >

Re: [PATCH 5.2 000/313] 5.2.19-stable review

2019-10-03 Thread shuah
On 10/3/19 9:49 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.2.19 release. There are 313 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.3 000/344] 5.3.4-stable review

2019-10-03 Thread shuah
On 10/3/19 9:49 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.3.4 release. There are 344 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-03 Thread Florian Fainelli
On 10/3/19 12:39 PM, Nicolas Saenz Julienne wrote: > On Thu, 2019-10-03 at 11:08 -0700, Florian Fainelli wrote: >> On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: >>> Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read >>> from MPIDR on SMP devices and set to 0 for non SMP.

Re: [PATCH] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread mnalajal
On 2019-10-03 16:22, Stephen Boyd wrote: Quoting Murali Nalajala (2019-10-02 17:06:14) @@ -121,6 +118,7 @@ static void soc_release(struct device *dev) struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr) { struct soc_device *soc_dev; + const struct

[PATCH v9 8/8] PCI/ACPI: Enable EDR support

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan As per PCI firmware specification r3.2 Downstream Port Containment Related Enhancements ECN, sec 4.5.1, OS must implement following steps to enable/use EDR feature. 1. OS can use bit 7 of _OSC Control Field to negotiate control over Downstream Port Containment

[PATCH v9 2/8] PCI/DPC: Allow dpc_probe() even if firmware first mode is enabled

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan As per ACPI specification v6.3, sec 5.6.6, Error Disconnect Recover (EDR) notification used by firmware to let OS know about the DPC event and permit OS to perform error recovery when processing the EDR notification. Also, as per PCI firmware specification r3.2

[PATCH v9 7/8] PCI/DPC: Clear AER registers in EDR mode

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan As per PCI firmware specification r3.2 Downstream Port Containment Related Enhancements ECN, OS is responsible for clearing the AER registers in EDR mode. So clear AER registers in dpc_process_error() function. Signed-off-by: Kuppuswamy Sathyanarayanan

[PATCH v9 1/8] PCI/ERR: Update error status after reset_link()

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Commit bdb5ac85777d ("PCI/ERR: Handle fatal error recovery") uses reset_link() to recover from fatal errors. But, if the reset is successful there is no need to continue the rest of the error recovery checks. Also, during fatal error recovery, if the initial

[PATCH v9 6/8] PCI/DPC: Update comments related to DPC recovery on NON_FATAL errors

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Currently, in native mode, DPC driver is configured to trigger DPC only for FATAL errors and hence it only supports port recovery for FATAL errors. But with Error Disconnect Recover (EDR) support, DPC configuration is done by firmware, and hence we should expect

[PATCH v9 3/8] PCI/DPC: Add dpc_process_error() wrapper function

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan With Error Disconnect Recover (EDR) support, we need to support processing DPC event either from DPC IRQ or ACPI EDR event. So create a wrapper function dpc_process_error() and move common error handling code in to it. It will be used to process the DPC event in

[PATCH v9 5/8] PCI/AER: Allow clearing Error Status Register in FF mode

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan As per PCI firmware specification r3.2 Downstream Port Containment Related Enhancements ECN, sec 4.5.1, table 4-6, Error Disconnect Recover (EDR) support allows OS to handle error recovery and clearing Error Registers even in FF mode. So remove FF mode checks in

[PATCH v9 4/8] PCI/DPC: Add Error Disconnect Recover (EDR) support

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan As per ACPI specification r6.3, sec 5.6.6, when firmware owns Downstream Port Containment (DPC), its expected to use the "Error Disconnect Recover" (EDR) notification to alert OSPM of a DPC event and if OS supports EDR, its expected to handle the software state

[PATCH v9 0/8] Add Error Disconnect Recover (EDR) support

2019-10-03 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan This patchset adds support for following features: 1. Error Disconnect Recover (EDR) support. 2. _OSC based negotiation support for DPC. You can find EDR spec in the following link. https://members.pcisig.com/wg/PCI-SIG/document/12614 Changes since v8: *

Re: [PATCH 3/3] soc: mediatek: pwrap: add support for MT6359 PMIC

2019-10-03 Thread Matthias Brugger
On 03/10/2019 09:48, Argus Lin wrote: > MT6359 is a new power management IC and it is used for > MT6779 SoCs. To define mt6359_regs for pmic register mapping > and pmic_mt6359 for accessing register. > > Signed-off-by: Argus Lin > --- > drivers/soc/mediatek/mtk-pmic-wrap.c | 72 >

Re: [PATCH 2/3] soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs

2019-10-03 Thread Matthias Brugger
On 03/10/2019 09:48, Argus Lin wrote: > MT6779 is a highly integrated SoCs, it uses MT6359 for power > management. This patch adds pwrap driver to access MT6359. > Pwrap of MT6779 support dynamic priority meichanism, sequence mechanism > monitor and starvation mechanism to make transaction

Re: [PATCH] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Stephen Boyd
Quoting Murali Nalajala (2019-10-02 17:06:14) > @@ -121,6 +118,7 @@ static void soc_release(struct device *dev) > struct soc_device *soc_device_register(struct soc_device_attribute > *soc_dev_attr) > { > struct soc_device *soc_dev; > + const struct attribute_group

RE: [PATCH 1/2] x86/hyperv: Allow guests to enable InvariantTSC

2019-10-03 Thread Michael Kelley
From: Andrea Parri Sent: Thursday, October 3, 2019 8:52 AM > > If the hardware supports TSC scaling, Hyper-V will set bit 15 of the > HV_PARTITION_PRIVILEGE_MASK in guest VMs with a compatible Hyper-V > configuration version. Bit 15 corresponds to the > AccessTscInvariantControls privilege.

RE: [PATCH v6 1/2] drivers: hv: vmbus: Introduce latency testing

2019-10-03 Thread Michael Kelley
From: Branden Bonaby Sent: Thursday, October 3, 2019 2:02 PM > > Introduce user specified latency in the packet reception path > By exposing the test parameters as part of the debugfs channel > attributes. We will control the testing state via these attributes. > > Signed-off-by: Branden

  1   2   3   4   5   6   7   8   9   10   >