Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-07-30 Thread Li, Aubrey
On 2019/7/26 23:21, Julien Desfossez wrote: > On 25-Jul-2019 10:30:03 PM, Aaron Lu wrote: >> >> I tried a different approach based on vruntime with 3 patches following. > [...] > > We have experimented with this new patchset and indeed the fairness is > now much better. Interactive tasks with v3 w

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Andrew Lunn
> Hi Andrew, > > The BCM54616S PHY on my machine is connected to a BCM5396 switch chip over > backplane (1000Base-KX). Ah, that is different. So the board is using it for RGMII to 1000Base-KX? phy-mode is about the MAC-PHY link. So in this case RGMII. There is no DT way to configure the PHY-Sw

Re: Reminder: 1 open syzbot bug in rtc subsystem

2019-07-30 Thread Eric Biggers
On Mon, Jul 29, 2019 at 03:47:45PM +0800, Hillf Danton wrote: > > On Tue, 23 Jul 2019 19:50:08 -0700 > > > > [This email was generated by a script. Let me know if you have any > > suggestions > > to make it better, or if you want it re-generated with the latest status.] > > > > Of the currentl

Re: Reminder: 1 open syzbot bug in rtc subsystem

2019-07-30 Thread Eric Biggers
On Sun, Jul 28, 2019 at 03:23:33PM +0200, Pavel Machek wrote: > On Tue 2019-07-23 19:50:08, Eric Biggers wrote: > > [This email was generated by a script. Let me know if you have any > > suggestions > > to make it better, or if you want it re-generated with the latest status.] > > > > Of the cur

Re: [PATCH v7 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-07-30 Thread Frank Rowand
Hi Greg, Rob, On 7/26/19 7:32 AM, Greg Kroah-Hartman wrote: > On Thu, Jul 25, 2019 at 02:04:23PM -0700, Frank Rowand wrote: >> On 7/25/19 6:42 AM, Greg Kroah-Hartman wrote: >>> On Tue, Jul 23, 2019 at 05:10:53PM -0700, Saravana Kannan wrote: Add device-links to track functional dependencies b

Re: [PATCH v2 0/5] Allocate memmap from hotadded memory

2019-07-30 Thread Rashmica Gupta
On Mon, 2019-07-29 at 10:06 +0200, David Hildenbrand wrote: > > > Of course, other interfaces might make sense. > > > > > > You can then start using these memory blocks and hinder them from > > > getting onlined (as a safety net) via memory notifiers. > > > > > > That would at least avoid you hav

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 6:36 PM, Andrew Lunn wrote: >> The INTF_SEL pins report correct mode (RGMII-Fiber) on my machine, >> but there are 2 "sub-modes" (1000Base-X and 100Base-FX) and I >> couldn't find a proper/safe way to auto-detect which "sub-mode" is >> active. The datasheet just describes instructions to

Re: [PATCH 19/24] tty: serial: fsl_lpuart: Introduce lpuart_tx_dma_startup()

2019-07-30 Thread Andrey Smirnov
On Tue, Jul 30, 2019 at 8:56 AM Greg Kroah-Hartman wrote: > > On Mon, Jul 29, 2019 at 12:52:21PM -0700, Andrey Smirnov wrote: > > Code configure DMA TX path in lpuart_startup(), lpuart32_startup() and > > lpuart_resume() is doing exactly the same thing, so move it into a > > standalone subroutine.

Re: [PATCH 06/24] tty: serial: fsl_lpuart: Drop unnecessary sg_set_buf() call

2019-07-30 Thread Andrey Smirnov
On Tue, Jul 30, 2019 at 8:51 AM Greg Kroah-Hartman wrote: > > On Mon, Jul 29, 2019 at 12:52:08PM -0700, Andrey Smirnov wrote: > > Sg_init_one() will already call sg_set_buf(), so another explicit call > > right after it is unnecessary. Drop it. > > > > Signed-off-by: Andrey Smirnov > > Cc: Stefan

Re: [PATCH v2 07/10] powerpc/fsl_booke/32: randomize the kernel image offset

2019-07-30 Thread Jason Yan
On 2019/7/30 17:44, Christophe Leroy wrote: Le 30/07/2019 à 09:42, Jason Yan a écrit : After we have the basic support of relocate the kernel in some appropriate place, we can start to randomize the offset now. Entropy is derived from the banner and timer, which will change every build and

Re: [PATCH v2 06/10] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-07-30 Thread Jason Yan
On 2019/7/30 17:34, Christophe Leroy wrote: Le 30/07/2019 à 09:42, Jason Yan a écrit : This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate. Freescale

Re: [RFC PATCH 13/16] RISC-V: KVM: Add timer functionality

2019-07-30 Thread Atish Patra
On Tue, 2019-07-30 at 13:26 +0200, Paolo Bonzini wrote: > On 29/07/19 13:57, Anup Patel wrote: > > + if (delta_ns > VCPU_TIMER_PROGRAM_THRESHOLD_NS) { > > + hrtimer_start(&t->hrt, ktime_add_ns(ktime_get(), > > delta_ns), > > I think the guest would prefer if you saved the time before e

[PATCH net v3] net: ipv6: Fix a bug in ndisc_send_ns when netdev only has a global address

2019-07-30 Thread Su Yanjun
When the egress interface does not have a link local address, it can not communicate with other hosts. In RFC4861, 7.2.2 says "If the source address of the packet prompting the solicitation is the same as one of the addresses assigned to the outgoing interface, that address SHOULD be placed in the

Re: [PATCH bpf-next v10 10/10] landlock: Add user and kernel documentation for Landlock

2019-07-30 Thread Randy Dunlap
On 7/21/19 2:31 PM, Mickaël Salaün wrote: > This documentation can be built with the Sphinx framework. > > Signed-off-by: Mickaël Salaün > Cc: Alexei Starovoitov > Cc: Andy Lutomirski > Cc: Daniel Borkmann > Cc: David S. Miller > Cc: James Morris > Cc: Jonathan Corbet > Cc: Kees Cook > Cc:

[PATCH v16 0/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI driver

2019-07-30 Thread Mason Yang
Hi Mark, v16 patch including: 1) fixed typo and spi-tx/rx-bus-width in DTS. 2) v14 dt-binding file has reviewed by Rob Herring. v15 patch including: 1) A typo in dt-bindings and add flash subnode description 2) v14 dt-binding file has reviewed by Rob Herring. v14 patch including: 1) Patch RPC-IF

[PATCH v16 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-07-30 Thread Mason Yang
Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. Signed-off-by: Mason Yang Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/spi-renesas-rpc.txt| 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/s

[PATCH v16 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-07-30 Thread Mason Yang
Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. Signed-off-by: Mason Yang Signed-off-by: Sergei Shtylyov --- drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-renesas-rpc.c | 754 ++ 3 files changed,

Re: [PATCH] tracefs: Restrict tracefs when the kernel is locked down

2019-07-30 Thread Steven Rostedt
On Tue, 30 Jul 2019 11:47:34 -0700 Matthew Garrett wrote: > Tracefs may release more information about the kernel than desirable, so > restrict it when the kernel is locked down in confidentiality mode by > preventing open(). > > Signed-off-by: Matthew Garrett > Cc: Steven Rostedt Reviewed-by

Re: [PATCH] scsi: ibmvfc: Mark expected switch fall-throughs

2019-07-30 Thread Tyrel Datwyler
On 7/28/19 5:26 PM, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_npiv_login_done': > drivers/scsi/ibmvscsi/ibmvfc.c:4022:3: warning: this statement may fa

Re: linux-next: build warnings after merge of the keys tree

2019-07-30 Thread Eric Biggers
On Tue, Jul 30, 2019 at 01:52:16PM +1000, Stephen Rothwell wrote: > Hi Eric, > > On Mon, 29 Jul 2019 20:47:04 -0700 Eric Biggers wrote: > > > > On Tue, Jul 30, 2019 at 12:30:42PM +1000, Stephen Rothwell wrote: > > > +static struct key_acl fsverity_acl = { > > > + .usage = REFCOUNT_INIT(1), > > >

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Andrew Lunn
> The INTF_SEL pins report correct mode (RGMII-Fiber) on my machine, > but there are 2 "sub-modes" (1000Base-X and 100Base-FX) and I > couldn't find a proper/safe way to auto-detect which "sub-mode" is > active. The datasheet just describes instructions to enable a > specific mode, but it doesn't s

linux-next: manual merge of the hwmon-staging tree with the mips tree

2019-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the hwmon-staging tree got a conflict in: drivers/hwmon/jz4740-hwmon.c between commit: d202742058b2 ("hwmon: Drop obsolete JZ4740 driver") from the mips tree and commit: 8d91bfd06bc1 ("hwmon: Remove dev_err() usage after platform_get_irq()") from the

[PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-07-30 Thread Dexuan Cui
There is a race condition for an established connection that is being closed by the guest: the refcnt is 4 at the end of hvs_release() (Note: here the 'remove_sock' is false): 1 for the initial value; 1 for the sk being in the bound list; 1 for the sk being in the connected list; 1 for the delay

[PATCH v2 0/5] Miscellaneous fixes

2019-07-30 Thread Atish Patra
This patch series have some unrelated fixes related to clocksource, dt-bindings and isa strings. I combined them into series as most of them are prerequisite for kvm patch series. Changes from v1->v2: 1. Dropped the case-insensitive support patch and added a dt-bindings update patch. 2. Added

[PATCH v2 3/5] RISC-V: Fix unsupported isa string info.

2019-07-30 Thread Atish Patra
Currently, kernel prints a info warning if any of the extensions from "mafdcsu" is missing in device tree. This is not entirely correct as Linux can boot with "f or d" extensions if kernel is configured accordingly. Moreover, it will continue to print the info string for future extensions such as h

[PATCH v2 2/5] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-07-30 Thread Atish Patra
From: Anup Patel This patch adds riscv_isa integer to represent ISA features common across all CPUs. The riscv_isa is not same as elf_hwcap because elf_hwcap will only have ISA features relevant for user-space apps whereas riscv_isa will have ISA features relevant to both kernel and user-space ap

[PATCH v2 5/5] dt-bindings: Update the isa string description

2019-07-30 Thread Atish Patra
The yaml documentation description of isa strings section doesn't specify anything about the case sensitiveness of the isa strings. The RISC-V specification clearly specifies it to be case insensitive. However, Linux kernel supports only lower case isa strings. Update the yaml documentation accord

[PATCH v2 1/5] RISC-V: Remove per cpu clocksource

2019-07-30 Thread Atish Patra
There is only one clocksource in RISC-V. The boot cpu initializes that clocksource. No need to keep a percpu data structure. Signed-off-by: Atish Patra --- drivers/clocksource/timer-riscv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/clocksource/timer-riscv.

[PATCH v2 4/5] RISC-V: Export few kernel symbols

2019-07-30 Thread Atish Patra
Export few symbols used by kvm module. Without this, kvm can not be compiled as a module. Signed-off-by: Atish Patra --- arch/riscv/kernel/smp.c | 2 +- arch/riscv/kernel/time.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.

Re: [PATCH 1/2] KEYS: Replace uid/gid/perm permissions checking with an ACL

2019-07-30 Thread Eric Biggers
On Mon, Jul 29, 2019 at 08:49:56PM -0700, Eric Biggers wrote: > Hi David, > > On Tue, Jul 09, 2019 at 06:16:01PM -0700, Eric Biggers wrote: > > On Thu, May 23, 2019 at 04:58:27PM +0100, David Howells wrote: > > > Replace the uid/gid/perm permissions checking on a key with an ACL to > > > allow >

Re: [PATCH 08/13] mm: remove the mask variable in hmm_vma_walk_hugetlb_entry

2019-07-30 Thread Ralph Campbell
On 7/29/19 10:51 PM, Christoph Hellwig wrote: The pagewalk code already passes the value as the hmask parameter. Signed-off-by: Christoph Hellwig --- mm/hmm.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/hmm.c b/mm/hmm.c index f26d6abc4ed2..88b77a4a6a1e 100

Re: [RFC 0/9] platform/x86: Huawei WMI laptop extras driver

2019-07-30 Thread Ayman Bagabas
On 19/07/25 04:05PM, Ayman Bagabas wrote: > On 19/07/25 08:33PM, Andy Shevchenko wrote: > > On Sun, Jun 30, 2019 at 8:41 AM Ayman Bagabas > > wrote: > > > > > > This patch series introduce changes to huawei-wmi driver that includes: > > > * Move to platform driver > > > * Implement WMI management

Re: [PATCH] ARM: dts: aspeed: Add Mihawk BMC platform

2019-07-30 Thread Andrew Jeffery
Hello Ben, Thanks for the patch! Some minor comments below. On Tue, 30 Jul 2019, at 15:30, Ben Pai wrote: > The Mihawk BMC is an ASPEED ast2500 based BMC that is part of an > OpenPower Power9 server. > > This adds the device tree description for most upstream components. It > is a squashed commi

Re: [PATCH 12/20] fs: fat: Initialize filesystem timestamp ranges

2019-07-30 Thread OGAWA Hirofumi
Deepa Dinamani writes: >> At least, it is wrong to call fat_time_fat2unix() before setup parameters >> in sbi. > > All the parameters that fat_time_fat2unix() cares in sbi is accessed through > > static inline int fat_tz_offset(struct msdos_sb_info *sbi) > { > return (sbi->options.tz_set ? >

linux-next: manual merge of the fsverity tree with the f2fs tree

2019-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the fsverity tree got conflicts in: fs/f2fs/file.c fs/f2fs/inode.c between commits: cf3dbe1481d1 ("f2fs: support FS_IOC_{GET,SET}FSLABEL") 01ff2b3740a6 ("f2fs: Support case-insensitive file name lookups") from the f2fs tree and commit: 60d7bf0f790

[PATCH v2] Fix annotate.c use of uninitialized value error

2019-07-30 Thread Numfor Mbiziwo-Tiapo
Our local MSAN (Memory Sanitizer) build of perf throws a warning that comes from the "dso__disassemble_filename" function in "tools/perf/util/annotate.c" when running perf record. The warning stems from the call to readlink, in which "build_id_path" was being read into "linkname". Since readlink d

Re: [GIT PULL] dax fix for v5.3-rc3

2019-07-30 Thread pr-tracker-bot
The pull request you sent on Tue, 30 Jul 2019 14:32:42 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm dax-fix-5.3-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4010b622f1d2a6112244101f38225eaee20c07f2 Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH v2 2/2] interconnect: qcom: Add tagging and wake/sleep support for sdm845

2019-07-30 Thread David Dai
On 7/30/2019 3:54 PM, Evan Green wrote: On Thu, Jul 18, 2019 at 10:59 AM David Dai wrote: On 7/16/2019 1:15 PM, Evan Green wrote: On Mon, Jul 15, 2019 at 4:34 PM David Dai wrote: Hi Evan, Thanks for the continued help in reviewing these patches! No problem. I want to do more, but haven't

Re: [PATCH v5 18/20] PM / devfreq: tegra30: Define ACTMON_DEV_CTRL_STOP

2019-07-30 Thread Chanwoo Choi
On 19. 7. 31. 오전 1:22, Dmitry Osipenko wrote: > Add verbose definition for the client's device control register value that > makes ACTMON to stop monitoring of the device. > > Suggested-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfreq.c | 4 +++- > 1 fil

Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string parsing.

2019-07-30 Thread Atish Patra
On Tue, 2019-07-30 at 17:08 -0700, Paul Walmsley wrote: > On Mon, 29 Jul 2019, Atish Patra wrote: > > > The yaml document did not specify anything about all isa-strings > > has to > > be lowercase unless I missed something. The two enum values are > > all > > lowercase but the description says a

Re: [PATCH] x86/asm: Add support for MOVDIR64B instruction

2019-07-30 Thread jinglin
On 7/30/19 4:05 PM, Kirill A. Shutemov wrote: Add support for a new instruction MOVDIR64B. The instruction moves 64-bytes as direct-store with 64-byte write atomicity from source memory address to destination memory address. MOVDIR64B requires the destination address to be 64-byte aligned. No

[PATCH v7 02/20] pinctrl: tegra210: Add Tegra210 pinctrl pm ops

2019-07-30 Thread Sowjanya Komatineni
This patch adds suspend and resume functionality to Tegra210 pinctrl. Signed-off-by: Sowjanya Komatineni --- drivers/pinctrl/tegra/pinctrl-tegra210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/tegra/pinctrl-tegra210.c b/drivers/pinctrl/tegra/pinctrl-tegra210.c index 39a

[PATCH v7 00/20] SC7 entry and exit support for Tegra210

2019-07-30 Thread Sowjanya Komatineni
This patch series includes Tegra210 deepsleep (SC7) support with RTC alarm wake event. This series also includes save and restore of PLLs, clocks, OSC contexts for deepsleep exit to normal operation. This patch series doesn't support 100% suspend/resume to allow fully functional state upon resume

[PATCH v7 12/20] clk: tegra210: Use fence_udelay during PLLU init

2019-07-30 Thread Sowjanya Komatineni
This patch uses fence_udelay rather than udelay during PLLU initialization to ensure writes to clock registers happens before waiting for specified delay. Acked-by: Thierry Reding Signed-off-by: Sowjanya Komatineni --- drivers/clk/tegra/clk-tegra210.c | 8 1 file changed, 4 insertions(

[PATCH v7 11/20] cpufreq: tegra124: Add suspend and resume support

2019-07-30 Thread Sowjanya Komatineni
This patch adds suspend and resume pm ops for cpufreq driver. PLLP is the safe clock source for CPU during system suspend and resume as PLLP rate is below the CPU Fmax at Vmin. CPUFreq driver suspend switches the CPU clock source to PLLP and disables the DFLL clock. During system resume, warmboo

[PATCH v7 06/20] clk: tegra: Support for OSC context save and restore

2019-07-30 Thread Sowjanya Komatineni
This patch adds support for saving OSC clock frequency and the drive-strength during OSC clock init and creates an API to restore OSC control register value from the saved context. This API is invoked by Tegra210 clock driver during system resume to restore the OSC clock settings. Acked-by: Thie

[PATCH v7 13/20] clk: tegra210: Add suspend and resume support

2019-07-30 Thread Sowjanya Komatineni
This patch adds support for clk: tegra210: suspend-resume. All the CAR controller settings are lost on suspend when core power goes off. This patch has implementation for saving and restoring all PLLs and clocks context during system suspend and resume to have the clocks back to same state for no

[PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-07-30 Thread Sowjanya Komatineni
This patch implements save and restore context for peripheral fixed clock ops, peripheral gate clock ops, sdmmc mux clock ops, and peripheral clock ops. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry clock and rese

[PATCH v7 08/20] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-07-30 Thread Sowjanya Komatineni
This patch has a fix to enable PLLP branches to CPU before changing the CPU clusters clock source to PLLP for Gen5 Super clock and disables PLLP branches to CPU when not in use. During system suspend entry and exit, CPU source will be switched to PLLP and this needs PLLP branches to be enabled to

[PATCH v7 01/20] pinctrl: tegra: Add suspend and resume support

2019-07-30 Thread Sowjanya Komatineni
This patch adds support for Tegra pinctrl driver suspend and resume. During suspend, context of all pinctrl registers are stored and on resume they are all restored to have all the pinmux and pad configuration for normal operation. Acked-by: Thierry Reding Reviewed-by: Dmitry Osipenko Signed-of

[PATCH v7 04/20] clk: tegra: pllout: Save and restore pllout context

2019-07-30 Thread Sowjanya Komatineni
This patch implements save and restore of pllout context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry the state of pllout is saved and on resume it is restored back to have pllout in same state as before suspend

[PATCH v7 03/20] clk: tegra: divider: Save and restore divider rate

2019-07-30 Thread Sowjanya Komatineni
This patch implements context restore for clock divider. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So on resume, clock dividers are restored back for normal operation. Signed-off-by: Sowjanya Komatineni --- drivers/clk/tegra/clk-d

[PATCH v7 17/20] soc/tegra: pmc: Configure core power request polarity

2019-07-30 Thread Sowjanya Komatineni
This patch configures polarity of the core power request signal in PMC control register based on the device tree property. PMC asserts and de-asserts power request signal based on it polarity when it need to power-up and power-down the core rail during SC7. Signed-off-by: Sowjanya Komatineni ---

[PATCH v7 05/20] clk: tegra: pll: Save and restore pll context

2019-07-30 Thread Sowjanya Komatineni
This patch implements save and restore of PLL context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry pll context is stored and on resume it is restored back along with its state. Acked-by: Thierry Reding Signed-

[PATCH v7 14/20] soc/tegra: pmc: Allow to support more tegras wake

2019-07-30 Thread Sowjanya Komatineni
This patch allows to create separate irq_set_wake and irq_set_type implementations for different tegra designs PMC that has different wake models which require difference wake registers and different programming sequence. AOWAKE model support is available for Tegra186 and Tegra194 only and it resi

[PATCH v7 15/20] soc/tegra: pmc: Add pmc wake support for tegra210

2019-07-30 Thread Sowjanya Komatineni
This patch implements PMC wakeup sequence for Tegra210 and defines common used RTC alarm wake event. Signed-off-by: Sowjanya Komatineni --- drivers/soc/tegra/pmc.c | 98 + 1 file changed, 98 insertions(+) diff --git a/drivers/soc/tegra/pmc.c b/dri

[PATCH v7 10/20] clk: tegra: clk-dfll: Add suspend and resume support

2019-07-30 Thread Sowjanya Komatineni
This patch implements DFLL suspend and resume operation. During system suspend entry, CPU clock will switch CPU to safe clock source of PLLP and disables DFLL clock output. DFLL driver suspend confirms DFLL disable state and errors out on being active. DFLL is re-initialized during the DFLL driv

[PATCH v7 09/20] clk: tegra: clk-super: Add save and restore support

2019-07-30 Thread Sowjanya Komatineni
This patch implements save and restore context for clk_super_mux and clk_super. During system supend, core power goes off the and context of Tegra CAR registers is lost. So during suspend entry, context of super clock registers are saved through save_context clk_ops and are restored through resto

[PATCH v7 16/20] arm64: tegra: Enable wake from deep sleep on RTC alarm

2019-07-30 Thread Sowjanya Komatineni
This patch updates device tree for RTC and PMC to allow system wake from deep sleep on RTC alarm. Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/ar

[PATCH v7 20/20] arm64: dts: tegra210-p3450: Jetson Nano SC7 timings

2019-07-30 Thread Sowjanya Komatineni
This patch adds Jetson Nano platform specific SC7 timing configuration in the device tree. Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra210-p3450-.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-.dts b/ar

[PATCH v7 18/20] soc/tegra: pmc: Configure deep sleep control settings

2019-07-30 Thread Sowjanya Komatineni
Tegra210 and prior Tegra chips have deep sleep entry and wakeup related timings which are platform specific that should be configured before entering into deep sleep. Below are the timing specific configurations for deep sleep entry and wakeup. - Core rail power-on stabilization timer - OSC clock

[PATCH v7 19/20] arm64: dts: tegra210-p2180: Jetson TX1 SC7 timings

2019-07-30 Thread Sowjanya Komatineni
This patch has Jetson TX1 platform specific SC7 timing configuration in device tree. Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/

Re: [v6 2/2] gpio: aspeed: Add SGPIO driver

2019-07-30 Thread Andrew Jeffery
On Wed, 31 Jul 2019, at 00:55, Hongwei Zhang wrote: > Add SGPIO driver support for Aspeed AST2500 SoC. > > Signed-off-by: Hongwei Zhang > --- > drivers/gpio/sgpio-aspeed.c | 521 > > 1 file changed, 521 insertions(+) > create mode 100644 drivers/

Re: [PATCH v6 09/57] devfreq: Remove dev_err() usage after platform_get_irq()

2019-07-30 Thread Chanwoo Choi
On 19. 7. 31. 오전 3:15, Stephen Boyd wrote: > We don't need dev_err() messages when platform_get_irq() fails now that > platform_get_irq() prints an error message itself when something goes > wrong. Let's remove these prints with a simple semantic patch. > > // > @@ > expression ret; > struct plat

Re: [PATCH v6 12/57] extcon: Remove dev_err() usage after platform_get_irq()

2019-07-30 Thread Chanwoo Choi
On 19. 7. 31. 오전 3:15, Stephen Boyd wrote: > We don't need dev_err() messages when platform_get_irq() fails now that > platform_get_irq() prints an error message itself when something goes > wrong. Let's remove these prints with a simple semantic patch. > > // > @@ > expression ret; > struct plat

RE: [PATCH 6/7] Drivers: hv: vmbus: Suspend/resume the vmbus itself for hibernation

2019-07-30 Thread Dexuan Cui
> From: Michael Kelley > Sent: Tuesday, July 30, 2019 4:26 PM > From: Dexuan Cui Sent: Monday, July 8, 2019 10:30 > PM > > > > This is needed when we resume the old kernel from the "current" kernel. > > Perhaps a bit more descriptive commit message could be supplied? I'll use this as the new c

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 6:17 AM, Andrew Lunn wrote: >> Again, I don't think Linux has generic support for overwriting (or >> even describing) the operating mode of a PHY, although maybe that's a >> direction we would want to push the discussion towards. RGMII to >> copper, RGMII to fiber, SGMII to copper, coppe

RE: [PATCH v3 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently

2019-07-30 Thread Michael Kelley
From: Nadav Amit Sent: Thursday, July 18, 2019 5:59 PM > > To improve TLB shootdown performance, flush the remote and local TLBs > concurrently. Introduce flush_tlb_multi() that does so. Introduce > paravirtual versions of flush_tlb_multi() for KVM, Xen and hyper-v (Xen > and hyper-v are only com

Re: [PATCH net-next 1/2] net: phy: broadcom: set features explicitly for BCM54616S

2019-07-30 Thread Tao Ren
On 7/29/19 11:00 PM, Heiner Kallweit wrote: > On 30.07.2019 07:05, Tao Ren wrote: >> On 7/29/19 8:35 PM, Andrew Lunn wrote: >>> On Mon, Jul 29, 2019 at 05:25:32PM -0700, Tao Ren wrote: BCM54616S feature "PHY_GBIT_FEATURES" was removed by commit dcdecdcfe1fc ("net: phy: switch drivers to u

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Helen Koike
On 7/30/19 5:50 PM, Helen Koike wrote: > > > On 7/30/19 5:15 PM, Hans Verkuil wrote: >> On 7/30/19 8:42 PM, Helen Koike wrote: >>> Hello, >>> >>> I'm re-sending a new version of ISP(Camera) v4l2 driver for rockchip >>> rk3399 SoC. >>> >>> I didn't change much from the last version, just applyi

Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string parsing.

2019-07-30 Thread Paul Walmsley
On Mon, 29 Jul 2019, Atish Patra wrote: > The yaml document did not specify anything about all isa-strings has to > be lowercase unless I missed something. The two enum values are all > lowercase but the description says all ISA strings are documented in ISA > specification which describes the

RES: PROPOSAL.

2019-07-30 Thread José Luiz Fabris
De: José Luiz Fabris Enviado: terça-feira, 30 de julho de 2019 18:37 Para: José Luiz Fabris Assunto: PROPOSAL. Good Day, I am Mrs.Margaret Ko May-Yee Leung Deputy Managing Director and Executive Director of Chong Hing Bank Limited. I write briefly to

RE: [PATCH 5/7] Drivers: hv: vmbus: Ignore the offers when resuming from hibernation

2019-07-30 Thread Dexuan Cui
> From: Michael Kelley > Sent: Tuesday, July 30, 2019 4:07 PM > > + > > + if (oldchannel != NULL) { > > + atomic_dec(&vmbus_connection.offer_in_progress); > > + > > + /* > > +* We're resuming from hibernation: we expect the host to send > > +* exactly

Re: [v6 1/2] dt-bindings: gpio: aspeed: Add SGPIO support

2019-07-30 Thread Andrew Jeffery
On Wed, 31 Jul 2019, at 00:55, Hongwei Zhang wrote: > Add bindings to support SGPIO on AST2400 or AST2500. > > Signed-off-by: Hongwei Zhang > --- > .../devicetree/bindings/gpio/sgpio-aspeed.txt | 55 > ++ > 1 file changed, 55 insertions(+) > create mode 100644 Docum

Re: [PATCH] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Gustavo A. R. Silva
On 7/30/19 3:24 PM, Tony Luck wrote: > Some processors may mispredict an array bounds check and > speculatively access memory that they should not. With > a user supplied array index we like to play things safe > by masking the value with the array size before it is > used as an index. > > Sign

Re: [PATCH] ext4: Fix deadlock on page reclaim

2019-07-30 Thread Dave Chinner
On Tue, Jul 30, 2019 at 02:06:33AM +, Damien Le Moal wrote: > If we had a pread_nofs()/pwrite_nofs(), that would work. Or we could define a > RWF_NORECLAIM flag for pwritev2()/preadv2(). This last one could actually be > the > cleanest approach. Clean, yes, but I'm not sure we want to expose

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 3:15 AM, Vladimir Oltean wrote: > On Tue, 30 Jul 2019 at 07:52, Tao Ren wrote: >> >> On 7/29/19 6:32 PM, Vladimir Oltean wrote: >>> Hi Tao, >>> >>> On Tue, 30 Jul 2019 at 03:31, Tao Ren wrote: Configure the BCM54616S for 1000Base-X mode when "brcm-phy-mode-1000bx" is set

Re: [PATCH v5] PM / wakeup: show wakeup sources stats in sysfs

2019-07-30 Thread Stephen Boyd
Quoting Rafael J. Wysocki (2019-07-30 16:05:55) > On Wed, Jul 31, 2019 at 12:26 AM Stephen Boyd wrote: > > > > Quoting Rafael J. Wysocki (2019-07-30 15:17:55) > > > On Tuesday, July 30, 2019 8:48:09 PM CEST Stephen Boyd wrote: > > > > > > > > Using the same prefix for the class and the device name

RE: [PATCH 7/7] Drivers: hv: vmbus: Implement suspend/resume for VSC drivers for hibernation

2019-07-30 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, July 8, 2019 10:30 PM > > The high-level VSC drivers will implement device-specific callbacks. > > Signed-off-by: Dexuan Cui > --- > drivers/hv/vmbus_drv.c | 42 ++ > include/linux/hyperv.h | 3 +++ > 2 files changed, 45 i

Re: [PATCH] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Ira Weiny
On Tue, Jul 30, 2019 at 01:24:07PM -0700, Tony Luck wrote: > Some processors may mispredict an array bounds check and > speculatively access memory that they should not. With > a user supplied array index we like to play things safe > by masking the value with the array size before it is > used as

Re: [PATCH v5] PM / wakeup: show wakeup sources stats in sysfs

2019-07-30 Thread Tri Vo
On Tue, Jul 30, 2019 at 4:06 PM Rafael J. Wysocki wrote: > > On Wed, Jul 31, 2019 at 12:26 AM Stephen Boyd wrote: > > > > Quoting Rafael J. Wysocki (2019-07-30 15:17:55) > > > On Tuesday, July 30, 2019 8:48:09 PM CEST Stephen Boyd wrote: > > > > Quoting Tri Vo (2019-07-30 11:39:34) > > > > > On M

ptrace.c:202:6: warning: this statement may fall through

2019-07-30 Thread Christian Kujau
While compiling mainline with gcc-9.1.1 the following warning is emitted: === ../arch/x86/kernel/ptrace.c: In function ‘set_segment_reg’: ../arch/x86/kernel/ptrace.c:202:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

RE: [PATCH 6/7] Drivers: hv: vmbus: Suspend/resume the vmbus itself for hibernation

2019-07-30 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, July 8, 2019 10:30 PM > > This is needed when we resume the old kernel from the "current" kernel. Perhaps a bit more descriptive commit message could be supplied? > > Signed-off-by: Dexuan Cui > --- > drivers/hv/connection.c | 3 +-- > drivers/hv/hyperv_vmb

Re: [PATCH v3 2/6] OPP: Add support for bandwidth OPP tables

2019-07-30 Thread Saravana Kannan
On Tue, Jul 30, 2019 at 3:57 AM Amit Kucheria wrote: > > On Wed, Jul 3, 2019 at 6:40 AM Saravana Kannan wrote: > > > > Not all devices quantify their performance points in terms of frequency. > > Devices like interconnects quantify their performance points in terms of > > bandwidth. We need a way

RE: [PATCH 3/7] Drivers: hv: vmbus: Split hv_synic_init/cleanup into regs and timer settings

2019-07-30 Thread Dexuan Cui
> From: Michael Kelley > Sent: Tuesday, July 30, 2019 3:36 PM > > From: Dexuan Cui Sent: Monday, July 8, 2019 10:29 > PM > > > > There is only one functional change: the unnecessary check > > "if (sctrl.enable != 1) return -EFAULT;" is removed, because when we're in > > hv_synic_cleanup(), we'r

Re: [PATCH] fs: nfsd: Fix three possible null-pointer dereferences

2019-07-30 Thread J. Bruce Fields
On Tue, Jul 30, 2019 at 07:03:39PM -0400, J. Bruce Fields wrote: > Thanks! But I think actually the correct fix is just to remove the NULL > checks entirely. So, something like the following (untested).--b. commit 7ce38d2d8a66 Author: J. Bruce Fields Date: Tue Jul 30 19:06:38 2019 -0400

RE: [PATCH 5/7] Drivers: hv: vmbus: Ignore the offers when resuming from hibernation

2019-07-30 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, July 8, 2019 10:29 PM > > When the VM resumes, the host re-sends the offers. We should not add the > offers to the global vmbus_connection.chn_list again. > > Added some debug code, in case the host screws up the exact info related to > the offers. > > Signed-off-

[PATCH] x86/asm: Add support for MOVDIR64B instruction

2019-07-30 Thread Kirill A. Shutemov
Add support for a new instruction MOVDIR64B. The instruction moves 64-bytes as direct-store with 64-byte write atomicity from source memory address to destination memory address. MOVDIR64B requires the destination address to be 64-byte aligned. No alignment restriction is enforced for source opera

Re: [PATCH v3 3/5] OPP: Improve require-opps linking

2019-07-30 Thread Saravana Kannan
On Tue, Jul 30, 2019 at 4:03 PM Hsin-Yi Wang wrote: > > On Wed, Jul 17, 2019 at 10:23 PM Saravana Kannan wrote: > > > -free_required_tables: > > - _opp_table_free_required_tables(opp_table); > > -put_np: > > - of_node_put(np); > > + for (i = 0; i < src->required_opp_count; i++)

Re: [PATCH v5] PM / wakeup: show wakeup sources stats in sysfs

2019-07-30 Thread Rafael J. Wysocki
On Wed, Jul 31, 2019 at 12:26 AM Stephen Boyd wrote: > > Quoting Rafael J. Wysocki (2019-07-30 15:17:55) > > On Tuesday, July 30, 2019 8:48:09 PM CEST Stephen Boyd wrote: > > > Quoting Tri Vo (2019-07-30 11:39:34) > > > > On Mon, Jul 29, 2019 at 10:46 PM Rafael J. Wysocki > > > > wrote: > > > >

Re: [PATCH] fs: nfsd: Fix three possible null-pointer dereferences

2019-07-30 Thread J. Bruce Fields
On Wed, Jul 24, 2019 at 04:28:03PM +0800, Jia-Ju Bai wrote: > In nfs4_xdr_dec_cb_recall(), nfs4_xdr_dec_cb_layout() and > nfs4_xdr_dec_cb_notify_lock(), there is an if statement to check whether > cb is NULL. > > When cb is NULL, the three functions all call: > decode_cb_op_status(..., &cb->cb

Re: [PATCH v3 3/5] OPP: Improve require-opps linking

2019-07-30 Thread Hsin-Yi Wang
On Wed, Jul 17, 2019 at 10:23 PM Saravana Kannan wrote: > -free_required_tables: > - _opp_table_free_required_tables(opp_table); > -put_np: > - of_node_put(np); > + for (i = 0; i < src->required_opp_count; i++) { > + if (src->required_opp_tables[i]) > +

Re: [PATCH 3/3] soc: qcom: mdt_loader: add offset to request_firmware_into_buf

2019-07-30 Thread Scott Branden
Hi Bjorn, On 2019-05-26 10:36 p.m., Bjorn Andersson wrote: On Thu 23 May 09:56 PDT 2019, Greg Kroah-Hartman wrote: On Thu, May 23, 2019 at 09:41:49AM -0700, Scott Branden wrote: Hi Greg, On 2019-05-22 10:52 p.m., Greg Kroah-Hartman wrote: On Wed, May 22, 2019 at 07:51:13PM -0700, Scott Bran

Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string parsing.

2019-07-30 Thread Paul Walmsley
On Sat, 27 Jul 2019, Anup Patel wrote: > On Sat, Jul 27, 2019 at 1:46 PM Paul Walmsley > wrote: > > > > On Sat, 27 Jul 2019, Anup Patel wrote: > > > > > If your only objection is uppercase letter not agreeing with YMAL > > > schema then why not fix the YMAL schema to have regex for RISC-V ISA

Re: [PATCH v2 2/2] interconnect: qcom: Add tagging and wake/sleep support for sdm845

2019-07-30 Thread Evan Green
On Thu, Jul 18, 2019 at 10:59 AM David Dai wrote: > > On 7/16/2019 1:15 PM, Evan Green wrote: > > On Mon, Jul 15, 2019 at 4:34 PM David Dai wrote: > >> Hi Evan, > >> > >> Thanks for the continued help in reviewing these patches! > > No problem. I want to do more, but haven't found time to do the

[PATCH] PM/sleep: Expose suspend stats in sysfs

2019-07-30 Thread Kalesh Singh
Userspace can get suspend stats from the suspend stats debugfs node. Since debugfs doesn't have stable ABI, expose suspend stats in sysfs under /sys/power/suspend_stats. Signed-off-by: Kalesh Singh --- kernel/power/main.c | 77 +++-- 1 file changed, 75 ins

Re: [PATCH v2] powerpc: Wire up clone3 syscall

2019-07-30 Thread Michael Ellerman
On Wed, 2019-07-24 at 14:02:59 UTC, Michael Ellerman wrote: > Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: > add clone3"). > > This requires a ppc_clone3 wrapper, in order to save the non-volatile > GPRs before calling into the generic syscall code. Otherwise we hit > the BU

Re: [PATCH v7 2/4] soc: qcom: Add AOSS QMP driver

2019-07-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-05-23 12:09:25) > > I had to read through the clock code to conclude that this was indeed > the design, so I'm happy with your patch of ensuring that this is > followed. Perhaps add a statement in the kerneldoc for struct clk_hw as > well to state that init won't be a

linux-next: Fixes tag needs some work in the scsi-mkp tree

2019-07-30 Thread Stephen Rothwell
Hi all, In commit d31ca849b04a ("scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag") Fixes tag Fixes: 79140e2f4fa7 ("scsi: qla2xxx: Fix login state machine freeze") has these problem(s): - Target SHA1 does not exist Did you mean Fixes: 2dee5521028c ("scsi: qla2xxx: Fix

[patch 5/7] posix-timers: Rework cancel retry loops

2019-07-30 Thread Thomas Gleixner
As a preparatory step for adding the PREEMPT RT specific synchronization mechanism to wait for a running timer callback, rework the timer cancel retry loops so they call a common function. This allows trivial substitution in one place. Originally-by: Anna-Maria Gleixner Signed-off-by: Thomas Glei

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