Re: [PATCH v4 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-13 Thread Kuppuswamy, Sathyanarayanan
On 10/13/20 10:44 PM, Ethan Zhao wrote: This patch only reverts the commit bdb5ac85777d ? or you'd better separate the revert and code you added. We cannot revert the commit as it is. pcie_do_recovery() function and Documentation/* folder changed a lot since fatal and non-fatal error

[PATCH] i2c: designware: fix slave omitted IC_INTR_STOP_DET

2020-10-13 Thread Michael Wu
When an I2C slave works, sometimes both IC_INTR_RX_FULL and IC_INTR_STOP_DET are rising during an IRQ handle, especially when system is busy or too late to handle interrupts. If IC_INTR_RX_FULL is rising and the system doesn't handle immediately, IC_INTR_STOP_DET may be rising and the system has

[tip:auto-latest] BUILD SUCCESS f1fd159ac6fa12cc197caae397b36060f41cacef

2020-10-13 Thread kernel test robot
powerpc allnoconfig x86_64 randconfig-a004-20201013 x86_64 randconfig-a002-20201013 x86_64 randconfig-a006-20201013 x86_64 randconfig-a001-20201013 x86_64 randconfig-a003-20201013 x86_64

RE: [PATCH 1/1] clk: aspeed: modify some default clks are critical

2020-10-13 Thread Ryan Chen
> -Original Message- > From: Joel Stanley > Sent: Wednesday, October 14, 2020 1:28 PM > To: Stephen Boyd > Cc: Andrew Jeffery ; Michael Turquette > ; Ryan Chen ; > BMC-SW ; Linux ARM > ; linux-aspeed > ; linux-...@vger.kernel.org; Linux Kernel > Mailing List > Subject: Re: [PATCH 1/1]

[GIT PULL] xen: branch for v5.10-rc1

2020-10-13 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.10b-rc1-tag xen: branch for v5.10-rc1 It contains: - 2 small cleanup patches - A fix for avoiding error messages when initializing MCA banks in a Xen dom0 - A small series for

Re: [External] Re: [PATCH] mm: proc: add Sock to /proc/meminfo

2020-10-13 Thread Mike Rapoport
On Tue, Oct 13, 2020 at 08:21:13AM -0700, Randy Dunlap wrote: > On 10/13/20 8:12 AM, Mike Rapoport wrote: > > On Tue, Oct 13, 2020 at 07:43:59AM -0700, Randy Dunlap wrote: > >> On 10/13/20 1:09 AM, Mike Rapoport wrote: > >>> On Mon, Oct 12, 2020 at 05:53:01PM +0800, Muchun Song wrote: > On

[PATCH v2] x86/unwind/orc: fix inactive tasks with stack pointer in %sp

2020-10-13 Thread Jiri Slaby
gcc 10 optimizes the scheduler code differently than its predecessors. When DEBUG_SECTION_MISMATCH config is enabled, Makefile forces gcc not to inline some functions (-fno-inline-functions-called-once). Before gcc 10, "no-inlined" __schedule starts with the usual prologue (push %bp; mov %sp,%bp).

Re: disabling CONFIG_LED_CLASS

2020-10-13 Thread Udo van den Heuvel
On 14-10-2020 07:07, Randy Dunlap wrote: > On 10/13/20 9:56 PM, Udo van den Heuvel wrote: >> I.e.: it looks like I will lose some funcionality when I disable >> SND_HDA_CODEC_REALTEK. > > OK. At present you can't have it both ways, i.e., SND_HDA_CODEC_REALTEK > with no LEDS. That driver

Re: [PATCH] x86/unwind/orc: fix inactive tasks with sp in sp

2020-10-13 Thread Jiri Slaby
On 07. 10. 20, 16:54, Josh Poimboeuf wrote: -ENOPARSE on $SUBJECT. Also please address it to x...@kernel.org, I think the tip maintainers can pick up the fix directly. Hmm, weird, I must have sent an older version as my current patch in the tree has: Cc: Miroslav Benes Cc: Josh Poimboeuf

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-10-13 Thread Anshuman Khandual
On 10/12/2020 12:59 PM, Ard Biesheuvel wrote: > On Tue, 6 Oct 2020 at 08:36, Anshuman Khandual > wrote: >> >> >> >> On 09/30/2020 01:32 PM, Anshuman Khandual wrote: >>> But if __is_lm_address() checks against the effective linear range instead >>> i.e [_PAGE_OFFSET(vabits_actual)..(PAGE_END -

[PATCH] Add support for mv88e6393x family of Marvell.

2020-10-13 Thread Pavana Sharma
The Marvell 88E6393X device is a single-chip integration of a 11-port Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers and three 10-Gigabit interfaces. This patch adds functionalities specific to mv88e6393x family (88E6393X, 88E6193X and 88E6191X) Signed-off-by: Pavana

Re: disabling CONFIG_LED_CLASS

2020-10-13 Thread Udo van den Heuvel
On 14-10-2020 06:49, Randy Dunlap wrote: > If you disable SND_HDA_CODEC_REALTEK, then the rest of the > LED kconfig symbols can be disabled. Sure, but: # dmesg|grep audi (...) [ 19.971537] snd_hda_codec_generic hdaudioC0D0: ignore pin 0x7, too many assigned pins [ 19.973547]

Re: [PATCH v2 4/8] dt-bindings: phy: convert HDMI PHY binding to YAML schema

2020-10-13 Thread CK Hu
Hi, Chunfeng: On Tue, 2020-10-13 at 16:52 +0800, Chunfeng Yun wrote: > Convert HDMI PHY binding to YAML schema mediatek,ufs-phy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: fix binding check warning of reg in example > --- > .../display/mediatek/mediatek,hdmi.txt| 17 +--- >

Re: [PATCH] DMA: PL330: Remove unreachable code

2020-10-13 Thread Vinod Koul
On 13-10-20, 17:17, Surendran K wrote: > _setup_req(..) never returns negative value. > Hence the condition ret < 0 is never met The subsystem is "dmaengine", git log would tell you the tags to use > > Signed-off-by: Surendran K > --- > drivers/dma/pl330.c | 2 -- > 1 file changed, 2

Re: disabling CONFIG_LED_CLASS

2020-10-13 Thread Udo van den Heuvel
On 13-10-2020 18:03, Randy Dunlap wrote: > On 10/13/20 8:53 AM, Randy Dunlap wrote: >> [adding LED people + list] >> >> On 10/13/20 6:24 AM, Udo van den Heuvel wrote: (...) So how do I disable this stuff? > > I was able to disable LEDS_CLASS and NEW_LEDS after I disabled the

GREETINGS....

2020-10-13 Thread Dawuda Usman
Dear Beloved Friend, Sorry if this email came to you as a surprise,I am Dr.Dawuda Usman and we are looking for a company or individual from your region to help us receive investment fund .I will send you full details As soon As I hear from you thanks. Yours Faithfully, Dr.Dawuda Usman.

Re: [PATCH 1/2] Asoc: qcom: lpass-cpu: Fix clock disable failure

2020-10-13 Thread Srinivasa Rao Mandadapu
Thanks  Mark Brown for your time !!! On 10/13/2020 8:45 PM, Mark Brown wrote: On Tue, Oct 13, 2020 at 07:09:46PM +0530, Srinivasa Rao Mandadapu wrote: From: V Sujith Kumar Reddy Disable MI2S bit clock from PAUSE/STOP/SUSPEND usecase instead of shutdown time. Acheive this by invoking

Re: [PATCH v3 09/15] arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop

2020-10-13 Thread JC Kuo
I will add a dt-bindings commit for this change. Thanks for review. JC On 9/28/20 9:18 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:35PM +0800, JC Kuo wrote: >> PMC driver provides USB sleepwalk registers access to XUSB PADCTL >> driver. This commit adds a "nvidia,pmc" property

Re: [PATCH v3 08/15] soc/tegra: pmc: Provide usb sleepwalk register map

2020-10-13 Thread JC Kuo
I will amend commit accordingly and submit a new patch. Thanks for review. JC On 9/28/20 9:17 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:34PM +0800, JC Kuo wrote: >> This commit implements a register map which grants USB (UTMI and HSIC) >> sleepwalk registers access to USB PHY

iwlwifi: spaces in procfs filenames ?

2020-10-13 Thread Joe Perches
commit 64fa3aff89785b5a924ce3934f6595c35b4dffee Author: Sharon Dvir Date: Wed Aug 17 15:35:09 2016 +0300 iwlwifi: pcie: give a meaningful name to interrupt request perhaps unintentionally for file: drivers/net/wireless/intel/iwlwifi/pcie/internal.h in function static inline const char

[PATCH] perf: Improve PT documentation slightly

2020-10-13 Thread Andi Kleen
Document the higher level --insn-trace etc. perf script options. Include the howto how to build xed into the manpage Cc: adrian.hun...@intel.com Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-intel-pt.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git

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

2020-10-13 Thread Andi Kleen
Peter suggested that using the exclusive mode in perf could avoid some problems with bad scheduling of groups. Exclusive is implemented in the kernel, but wasn't exposed by the perf tool, so hard to use without custom low level API users. Add support for marking groups or events with :e for

Re: [PATCH v2 1/2] extcon: add driver for TI TUSB320

2020-10-13 Thread Chanwoo Choi
Hi, Looks good to me. I add some comment. Please check them. On 10/12/20 11:47 PM, Michael Auchter wrote: > This patch adds an extcon driver for the TI TUSB320 USB Type-C device. > This can be used to detect whether the port is configured as a > downstream or upstream facing port. > >

Re: [PATCH] tracing: Check return value of __create_val_fields() before using its result

2020-10-13 Thread Masami Hiramatsu
On Tue, 13 Oct 2020 15:48:52 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > After having a typo for writing a histogram trigger. > > Wrote: > echo 'hist:key=pid:ts=common_timestamp.usec' > > events/sched/sched_waking/trigger > > Instead of: > echo

Re: [PATCH v3 04/15] phy: tegra: xusb: tegra210: Do not reset UPHY PLL

2020-10-13 Thread JC Kuo
Asserting reset to a PLL when it's managed by hardware power sequencer would break sequencer's state machine. Putting PLL in reset doesn't save some extra power. Thanks for review. JC On 9/28/20 9:06 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:30PM +0800, JC Kuo wrote: >> Once

Re: [PATCH] powerpc/features: Remove CPU_FTR_NODSISRALIGN

2020-10-13 Thread Aneesh Kumar K.V
On 10/13/20 3:45 PM, Michael Ellerman wrote: Christophe Leroy writes: Le 13/10/2020 à 09:23, Aneesh Kumar K.V a écrit : Christophe Leroy writes: CPU_FTR_NODSISRALIGN has not been used since commit 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")

[PATCH v1 5/6] i2c: iproc: handle master read request

2020-10-13 Thread Dhananjay Phadke
On Sun, 11 Oct 2020 23:52:53 +0530, Rayagonda Kokatanur wrote: > --- a/drivers/i2c/busses/i2c-bcm-iproc.c > +++ b/drivers/i2c/busses/i2c-bcm-iproc.c > > - } else if (status & BIT(IS_S_RD_EVENT_SHIFT)) { > - /* Start of SMBUS for Master Read */ > +

[PATCH v7 4/4] mmc: mediatek: Add subsys clock control for MT8192 msdc

2020-10-13 Thread Wenbin Mei
MT8192 msdc is an independent sub system, we need control more bus clocks for it. Add support for the additional subsys clocks to allow it to be configured appropriately. Signed-off-by: Wenbin Mei Reviewed-by: Nicolas Boichat --- drivers/mmc/host/mtk-sd.c | 74

[PATCH v7 3/4] arm64: dts: mt8192: add mmc device node

2020-10-13 Thread Wenbin Mei
This commit adds mmc device node for mt8192 Signed-off-by: Wenbin Mei --- arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 89 + arch/arm64/boot/dts/mediatek/mt8192.dtsi| 34 2 files changed, 123 insertions(+) diff --git

[PATCH v7 1/4] dt-bindings: mmc: Convert mtk-sd to json-schema

2020-10-13 Thread Wenbin Mei
Convert the mtk-sd binding to DT schema format using json-schema. Signed-off-by: Wenbin Mei Reviewed-by: Rob Herring --- .../devicetree/bindings/mmc/mtk-sd.txt| 75 .../devicetree/bindings/mmc/mtk-sd.yaml | 165 ++ 2 files changed, 165 insertions(+), 75

[PATCH v7 2/4] mmc: dt-bindings: add support for MT8192 SoC

2020-10-13 Thread Wenbin Mei
MT8192 mmc host ip is compatible with MT8183. Add support for this. Signed-off-by: Wenbin Mei --- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml

[PATCH v7 0/4] Add mmc support for MT8192 SoC

2020-10-13 Thread Wenbin Mei
Change in v7: 1)add "unevaluatedProperties" in mtk-sd.yaml 2)add Reviewed-by tag Change in v6: 1)use devm_clk_get function for required clocks Change in v5: 1)remove Reviewed-by tag 2)use devm_clk_bulk_get_optional instead of devm_clk_get_optional for bulk clks Change in v4: 1)drop "vmmc" and

Re: [PATCH 1/5] clk: ingenic: Use to_clk_info() macro for all clocks

2020-10-13 Thread Stephen Boyd
Quoting Paul Cercueil (2020-09-02 18:50:44) > The to_clk_info() previously had a BUG_ON() to check that it was only > called for PLL clocks. Yet, all the other clocks were doing the exact > same thing the macro does, in-line. > > Move the to_clk_info() macro to the top of the file, remove the >

Re: [PATCH 2/5] clk: ingenic: Use readl_poll_timeout instead of custom loop

2020-10-13 Thread Stephen Boyd
Quoting Paul Cercueil (2020-09-02 18:50:45) > Use the readl_poll_timeout() function instead of rolling our own > busy-wait loops. This makes the code simpler. > > Signed-off-by: Paul Cercueil > --- Applied to clk-next

Re: [PATCH 4/5] clk: ingenic: Don't tag custom clocks with CLK_SET_RATE_PARENT

2020-10-13 Thread Stephen Boyd
Quoting Paul Cercueil (2020-09-02 18:50:47) > The custom clocks have custom functions to round, get or set their rate. > Therefore, we can't assume that they need the CLK_SET_RATE_PARENT flag. > > Signed-off-by: Paul Cercueil > --- Applied to clk-next

Re: [PATCH 3/5] clk: ingenic: Don't use CLK_SET_RATE_GATE for PLL

2020-10-13 Thread Stephen Boyd
Quoting Paul Cercueil (2020-09-02 18:50:46) > CLK_SET_RATE_GATE means that the clock must be gated when being > reclocked. This is not the case for the PLLs in Ingenic SoCs. > > Signed-off-by: Paul Cercueil > --- Applied to clk-next

Re: [PATCH 5/5] clk: ingenic: Respect CLK_SET_RATE_PARENT in .round_rate

2020-10-13 Thread Stephen Boyd
Quoting Paul Cercueil (2020-09-02 18:50:48) > Clocks that don't have a divider are in our case all marked with the > CLK_SET_RATE_PARENT flag. In this case, the .round_rate implementation > should modify the value pointed to by parent_rate, in order to propagate > the rate change to the parent, as

Re: [PATCH] clk: bcm2835: add missing release if devm_clk_hw_register fails

2020-10-13 Thread Stephen Boyd
Quoting Navid Emamdoost (2020-08-09 16:11:58) > In the implementation of bcm2835_register_pll(), the allocated pll is > leaked if devm_clk_hw_register() fails to register hw. Release pll if > devm_clk_hw_register() fails. > > Signed-off-by: Navid Emamdoost > --- Applied to clk-next

Re: [PATCH v2 3/3] clk: at91: clk-sam9x60-pll: remove unused variable

2020-10-13 Thread Stephen Boyd
Quoting Claudiu Beznea (2020-08-24 23:59:11) > Fix variable set but not used compilation warning. > > Fixes: 43b1bb4a9b3e ("clk: at91: clk-sam9x60-pll: re-factor to support plls > with multiple outputs") > Reported-by: kernel test robot > Signed-off-by: Claudiu Beznea > --- Applied to

Re: [PATCH v2 1/3] clk: at91: remove the checking of parent_name

2020-10-13 Thread Stephen Boyd
Quoting Claudiu Beznea (2020-08-24 23:59:09) > There is no need to check parent_name variable while assigning it to > init.parent_names. parent_name variable is already checked at > the beginning of at91_clk_register_peripheral() function. > > Fixes: 6114067e437eb ("clk: at91: add PMC peripheral

Re: [PATCH v2 2/3] clk: at91: clk-main: update key before writing AT91_CKGR_MOR

2020-10-13 Thread Stephen Boyd
Quoting Claudiu Beznea (2020-08-24 23:59:10) > SAMA5D2 datasheet specifies on chapter 33.22.8 (PMC Clock Generator > Main Oscillator Register) that writing any value other than > 0x37 on KEY field aborts the write operation. Use the key when > selecting main clock parent. > > Fixes: 27cb1c2083373

Re: [PATCH] clk: clk-prima2: fix return value check in prima2_clk_init()

2020-10-13 Thread Stephen Boyd
Quoting Xu Wang (2020-09-20 20:45:22) > In case of error, the function clk_register() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check > should be replaced with IS_ERR(). > > Signed-off-by: Xu Wang > --- Applied to clk-next

Re: [PATCH] clk: mmp2: Fix the display clock divider base

2020-10-13 Thread Stephen Boyd
Quoting Lubomir Rintel (2020-09-25 16:39:14) > The LCD clock dividers are apparently based on one. No datasheet, > determined empirically, but seems to be confirmed by line 19 of lcd.fth in > OLPC laptop's Open Firmware [1]: > >h# 0700 value pmua-disp-clk-sel \ PLL1 / 7 -> 113.86 MHz >

Re: [PATCH 1/1] clk: aspeed: modify some default clks are critical

2020-10-13 Thread Stephen Boyd
Quoting Ryan Chen (2020-09-28 00:01:08) > In ASPEED SoC LCLK is LPC clock for all SuperIO device, UART1/UART2 are > default for Host SuperIO UART device, eSPI clk for Host eSPI bus access > eSPI slave channel, those clks can't be disable should keep default, > otherwise will affect Host side

Re: [PATCH 1/2] clk: qoriq: modify MAX_PLL_DIV to 32

2020-10-13 Thread Stephen Boyd
Quoting Qiang Zhao (2020-09-15 20:03:10) > From: Zhao Qiang > > On LS2088A, Watchdog need clk divided by 32, > so modify MAX_PLL_DIV to 32 > > Signed-off-by: Zhao Qiang > --- Applied to clk-next

Re: [PATCH] clk: baikal-t1: Mark Ethernet PLL as critical

2020-10-13 Thread Stephen Boyd
Quoting Serge Semin (2020-09-20 04:03:35) > We've discovered that disabling the so called Ethernet PLL causes reset of > the devices consuming its outgoing clock. The resets happen automatically > even if each underlying clock gate is turned off. Due to that we can't > disable the Ethernet PLL

[PATCH stable-5.4] backport enospc issues during balance

2020-10-13 Thread Anand Jain
Patch 1 is a preparatory patch to reduce conflicts. Patch 2 fixes balance failure due to ENOSPC in btrfs/156 on arm64 systems with pagesize=64k. Minor conflicts in fs/btrfs/block-group.c are resolved. Thanks. Josef Bacik (2): btrfs: don't pass system_chunk into can_overcommit btrfs: take

Re: [PATCH 1/2] clk: axi-clkgen: Add support for fractional dividers

2020-10-13 Thread Stephen Boyd
Quoting Alexandru Ardelean (2020-10-01 01:59:47) > From: Lars-Peter Clausen > > The axi-clkgen has (optional) fractional dividers on the output clock > divider and feedback clock divider path. Utilizing the fractional dividers > allows for a better resolution of the output clock, being able to >

Re: [PATCH 2/2] clk: axi-clkgen: Set power bits for fractional mode

2020-10-13 Thread Stephen Boyd
Quoting Alexandru Ardelean (2020-10-01 01:59:48) > From: Lars-Peter Clausen > > Using the fractional dividers requires some additional power bits to be > set. > > The fractional power bits are not documented and the current heuristic > for setting them seems be insufficient for some cases. Just

[PATCH stable-5.4 1/2] btrfs: don't pass system_chunk into can_overcommit

2020-10-13 Thread Anand Jain
From: Josef Bacik commit 9f246926b4d5db4c5e8c78e4897757de26c95be6 upstream We have the space_info, we can just check its flags to see if it's the system chunk space info. Reviewed-by: Nikolay Borisov Reviewed-by: Qu Wenruo Reviewed-by: Johannes Thumshirn Signed-off-by: Josef Bacik

[PATCH stable-5.4 2/2] btrfs: take overcommit into account in inc_block_group_ro

2020-10-13 Thread Anand Jain
From: Josef Bacik commit a30a3d2067536cbcce26c055e70cc3a6ae4fd45c upstream inc_block_group_ro does a calculation to see if we have enough room left over if we mark this block group as read only in order to see if it's ok to mark the block group as read only. The problem is this calculation

Re: [PATCH 1/2] soc: samsung: exynos-pmu: instantiate clkout driver as MFD

2020-10-13 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-10-01 09:56:45) > The Exynos clock output (clkout) driver uses same register address space > (Power Management Unit address space) as Exynos PMU driver and same set > of compatibles. It was modeled as clock provider instantiated with > CLK_OF_DECLARE_DRIVE(). >

Re: [PATCH 2/2] clk: samsung: exynos-clkout: convert to module driver

2020-10-13 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-10-01 09:56:46) > diff --git a/drivers/clk/samsung/clk-exynos-clkout.c > b/drivers/clk/samsung/clk-exynos-clkout.c > index 34ccb1d23bc3..68af082d4716 100644 > --- a/drivers/clk/samsung/clk-exynos-clkout.c > +++ b/drivers/clk/samsung/clk-exynos-clkout.c > @@

[PATCH v4 0/5] clk: rockchip: Support for some new features

2020-10-13 Thread Elaine Zhang
1. Support for some new features 2. fix up some error Chang in V4: [PATCH v3 1/5] : Update the commit message. [PATCH v3 2/5] : Update the commit message. Chang in V3: [PATCH v2 3/6] : It's been merged So rebased and resubmit. Chang in V2: [PATCH v2 5/6] : fix up the Register error, and add

[PATCH v4 2/5] clk: rockchip: fix up the frac clk get rate error

2020-10-13 Thread Elaine Zhang
support fractional divider with one level and two level parent clock .i.e: normal fractional divider is: |--\ ---[GPLL]---| \ |--\ ---[CPLL]---|mux|--[GATE]--[DIV]---| \ ---[NPLL]---| /|

[PATCH v4 5/5] clk: rockchip: support pll setting by auto

2020-10-13 Thread Elaine Zhang
If setting freq is not support in rockchip_pll_rate_table, It can calculate and set pll params by auto. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-pll.c | 215 ++--- 1 file changed, 200 insertions(+), 15 deletions(-) diff --git

Re: [PATCH 1/7] clk: qcom: clk-alpha-pll: Add support for Stromer PLLs

2020-10-13 Thread Stephen Boyd
Can you check your get_maintainers script invocation? Not sure why arm64 maintainers are Cced on a clk patch. Quoting Varadarajan Narayanan (2020-09-27 22:15:34) > Add programming sequence support for managing the Stromer > PLLs. > > Signed-off-by: Varadarajan Narayanan > --- >

[PATCH v4 3/5] clk: rockchip: add a clock-type for muxes based in the pmugrf

2020-10-13 Thread Elaine Zhang
Rockchip socs often have some tiny number of muxes not controlled from the core clock controller but through bits set in the pmugrf. Use MUXPMUGRF() to cover this special clock-type. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk.c | 9 + drivers/clk/rockchip/clk.h | 17

[PATCH v4 4/5] clk: rockchip: add pll up and down when change pll freq

2020-10-13 Thread Elaine Zhang
set pll sequence: ->set pll to slow mode or other plls ->set pll down ->set pll params ->set pll up ->wait pll lock status ->set pll to normal mode To slove the system error: wait_pll_lock: timeout waiting for pll to lock pll_set_params: pll update

[PATCH v4 1/5] clk: rockchip: Add supprot to limit input rate for fractional divider

2020-10-13 Thread Elaine Zhang
>From Rockchips fractional divider usage, some clocks can be generated by fractional divider, but the input clock frequency of fractional divider should be less than a specified value. .i.e: |--\ ---[GPLL]---| \ |--\

Re: [PATCH v3] Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst

2020-10-13 Thread Alex Shi
Reviewed-by: Alex Shi 在 2020/10/14 上午10:20, Bailu Lin 写道: > This is a Chinese translated version of > Documentation/arm64/hugetlbpage.rst > > Signed-off-by: Bailu Lin > --- > Changes in v3: > - Modify a translation as Alex sugguested. > Changes in v2: > - Fix Sphinx 2.4.4's waring by

Re: [PATCH v6 4/4] mmc: mediatek: Add subsys clock control for MT8192 msdc

2020-10-13 Thread Wenbin Mei
On Tue, 2020-10-13 at 17:10 +0200, Matthias Brugger wrote: > > On 12/10/2020 14:45, Wenbin Mei wrote: > > MT8192 msdc is an independent sub system, we need control more bus > > clocks for it. > > Add support for the additional subsys clocks to allow it to be > > configured appropriately. > > > >

Re: [PATCH 3/7] clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018

2020-10-13 Thread Stephen Boyd
Quoting Varadarajan Narayanan (2020-09-27 22:15:36) > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 0583273..d1a2504 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -155,6 +155,14 @@ config IPQ_GCC_8074 > i2c, USB, SD/eMMC, etc.

Re: [PATCH v3 00/15] Tegra XHCI controller ELPG support

2020-10-13 Thread JC Kuo
Yes, it's safe to apply "clk: tegra: Don't enable PLLE HW sequencer at init" before the others have applied. Disabling PLLE hardware power sequencer will not cause any functionality problem to XUSB/PCIE/SATA. The only thing changed is PLLE won't be powered off by hardware when all clients are in

RE: [PATCH] rtw88: fix fw_fifo_addr check

2020-10-13 Thread Andy Huang
> On Sun, Oct 11, 2020 at 08:54:38AM -0700, t...@redhat.com wrote: > > From: Tom Rix > > > > The clang build reports this warning > > > > fw.c:1485:21: warning: address of array 'rtwdev->chip->fw_fifo_addr' > > will always evaluate to 'true' > > if (!rtwdev->chip->fw_fifo_addr) { > >

[PATCH v3] Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst

2020-10-13 Thread Bailu Lin
This is a Chinese translated version of Documentation/arm64/hugetlbpage.rst Signed-off-by: Bailu Lin --- Changes in v3: - Modify a translation as Alex sugguested. Changes in v2: - Fix Sphinx 2.4.4's waring by increasing underline' size. --- Documentation/arm64/hugetlbpage.rst | 2

Re: [PATCH 1/1] watchdog: remove unneeded inclusion of

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/9/8 11:34, Leizhen (ThunderTown) wrote: > > > On 2020/9/8 10:40, Guenter Roeck wrote: >> On 9/7/20 12:50 AM, Leizhen (ThunderTown) wrote: >>> Hi, Wim Van Sebroeck, Guenter Roeck: >>> What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago. >>> >> >> The patch is in my

[RFC v2 2/7] KVM: VMX: Expose IA32_PKRS MSR

2020-10-13 Thread Chenyi Qiang
Protection Keys for Supervisor Pages (PKS) uses IA32_PKRS MSR (PKRS) at index 0x6E1 to allow software to manage supervisor protection key rights. For performance consideration, PKRS intercept will be disabled so that the guest can access the PKRS without VM exits. PKS introduces dedicated control

[RFC v2 3/7] KVM: MMU: Rename the pkru to pkr

2020-10-13 Thread Chenyi Qiang
PKRU represents the PKU register utilized in the protection key rights check for user pages. Protection Keys for Superviosr Pages (PKS) extends the protection key architecture to cover supervisor pages. Rename the *pkru* related variables and functions to *pkr* which stands for both of the PKRU

[kvm-unit-tests PATCH] x86: Add tests for PKS

2020-10-13 Thread Chenyi Qiang
This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or Write can be disabled via a MSR update without TLB flushes when permissions change.

[RFC v2 7/7] KVM: VMX: Enable PKS for nested VM

2020-10-13 Thread Chenyi Qiang
PKS MSR passes through guest directly. Configure the MSR to match the L0/L1 settings so that nested VM runs PKS properly. Signed-off-by: Chenyi Qiang --- arch/x86/kvm/vmx/nested.c | 37 +++-- arch/x86/kvm/vmx/vmcs12.c | 2 ++ arch/x86/kvm/vmx/vmcs12.h | 6

[RFC v2 4/7] KVM: MMU: Refactor pkr_mask to cache condition

2020-10-13 Thread Chenyi Qiang
pkr_mask bitmap indicates if protection key checks are needed for user pages currently. It is indexed by page fault error code bits [4:1] with PFEC.RSVD replaced by the ACC_USER_MASK from the page tables. Refactor it by reverting to the use of PFEC.RSVD. After that, PKS and PKU can share the same

[RFC v2 1/7] KVM: VMX: Introduce PKS VMCS fields

2020-10-13 Thread Chenyi Qiang
PKS(Protection Keys for Supervisor Pages) is a feature that extends the Protection Key architecture to support thread-specific permission restrictions on supervisor pages. A new PKS MSR(PKRS) is defined in kernel to support PKS, which holds a set of permissions associated with each protection

[RFC v2 0/7] KVM: PKS Virtualization support

2020-10-13 Thread Chenyi Qiang
Protection Keys for Supervisor Pages(PKS) is a feature that extends the Protection Keys architecture to support thread-specific permission restrictions on supervisor pages. PKS works similar to an existing feature named PKU(protecting user pages). They both perform an additional check after all

[RFC v2 5/7] KVM: MMU: Add support for PKS emulation

2020-10-13 Thread Chenyi Qiang
Advertise pkr_mask to cache the conditions where pretection key checks for supervisor pages are needed. When the accessed pages are those with a translation for which the U/S flag is 0 in at least one paging-structure entry controlling the translation, they are the supervisor pages and PKRS

[RFC v2 6/7] KVM: X86: Expose PKS to guest and userspace

2020-10-13 Thread Chenyi Qiang
Existence of PKS is enumerated via CPUID.(EAX=7H,ECX=0):ECX[31]. It is enabled by setting CR4.PKS when long mode is active. PKS is only implemented when EPT is enabled and requires the support of VM_{ENTRY, EXIT}_LOAD_IA32_PKRS currently. Signed-off-by: Chenyi Qiang ---

Re: [PATCH v2 2/3] dt-bindings: clock: Add YAML schemas for the QCOM Camera clock bindings.

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:49) > diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml > b/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml > new file mode 100644 > index 000..07bd38e > --- /dev/null > +++

Re: [PATCH RFC V3 3/9] x86/pks: Enable Protection Keys Supervisor (PKS)

2020-10-13 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:23:08AM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > +/* > > + * PKS is independent of PKU and either or both may be supported on a CPU. > > + * Configure PKS if the cpu supports the feature. > > + */ > > Let's at least be consistent

Re: [PATCH v2 1/3] clk: qcom: clk-alpha-pll: Add support for controlling Agera PLLs

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:48) > diff --git a/drivers/clk/qcom/clk-alpha-pll.c > b/drivers/clk/qcom/clk-alpha-pll.c > index 26139ef..17e1fc0 100644 > --- a/drivers/clk/qcom/clk-alpha-pll.c > +++ b/drivers/clk/qcom/clk-alpha-pll.c > @@ -1561,3 +1571,73 @@ const struct clk_ops

Re: [PATCH v3 7/7] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-13 Thread Masami Hiramatsu
Hi Tom, On Tue, 13 Oct 2020 09:17:58 -0500 Tom Zanussi wrote: > Add a selftest that verifies that the syntax error messages and caret > positions are correct for most of the possible synthetic event syntax > error cases. > > Signed-off-by: Tom Zanussi > --- >

Re: [PATCH v2 3/3] clk: qcom: camcc: Add camera clock controller driver for SC7180

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:50) > diff --git a/drivers/clk/qcom/camcc-sc7180.c b/drivers/clk/qcom/camcc-sc7180.c > new file mode 100644 > index 000..e954d21 > --- /dev/null > +++ b/drivers/clk/qcom/camcc-sc7180.c > @@ -0,0 +1,1737 @@ [...] > + > +enum { > + P_BI_TCXO, > +

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

2020-10-13 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 12:38:36PM -0400, Alan Stern wrote: > On Tue, Oct 13, 2020 at 09:33:54AM -0700, Paul E. McKenney wrote: > > On Tue, Oct 13, 2020 at 02:14:29PM +0200, Mauro Carvalho Chehab wrote: > > > - The sysfs.txt file was converted to ReST and renamed; > > > - The

Re: [PATCH v6 70/80] rcu/tree: docs: document bkvcache new members at struct kfree_rcu_cpu

2020-10-13 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 10:46:08PM +0200, Mauro Carvalho Chehab wrote: > Em Tue, 13 Oct 2020 09:34:04 -0700 > "Paul E. McKenney" escreveu: > > > On Tue, Oct 13, 2020 at 01:54:25PM +0200, Mauro Carvalho Chehab wrote: > > > Changeset 53c72b590b3a ("rcu/tree: cache specified number of objects") > >

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

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/10/14 1:53, Dan Murphy wrote: > Zhen > > On 10/13/20 11:08 AM, Zhen Lei wrote: >> There are so many properties have not been described in this yaml file, >> and a lot of errors will be reported. Especially, some yaml files such as >> google,cros-ec-typec.yaml, extcon-usbc-cros-ec.yaml

Re: [PATCH v2 3/4] clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks

2020-10-13 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2020-09-25 03:31:14) > GFM Muxes in AUDIO_CC control clocks to LPASS WSA and RX Codec Macros. > This patch adds support to these muxes. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/clk/qcom/Kconfig| 6 + > drivers/clk/qcom/Makefile

Re: [PATCH v2] drm/of: Consider the state in which the ep is disabled

2020-10-13 Thread Kever Yang
Hi Maintainers,     Does this patch ready to merge? On 2020/7/7 下午7:25, Sandy Huang wrote: don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_of.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_of.c

Re: [PATCH v2 0/4] clk: qcom : add sm8250 LPASS GFM drivers

2020-10-13 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2020-09-25 03:31:11) > This patchset adds support for GFM Muxes found in LPASS > (Low Power Audio SubSystem) IP in Audio Clock Controller > and Always ON clock controller. > > Clocks derived from these muxes are consumed by LPASS Digital Codec. > Currently the driver

[tip:sched/urgent] BUILD SUCCESS da912c29a4a552588cbfa895487d9d5523b6faa7

2020-10-13 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20201013 i386 randconfig-a006-20201013 i386 randconfig-a001-20201013 i386 randconfig-a003-20201013 i386

[tip:x86/asm] BUILD SUCCESS 3e626682046e30282979f7d71e054cd4c00069a7

2020-10-13 Thread kernel test robot
defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201013 x86_64

[tip:objtool/core] BUILD SUCCESS ab0a40ea88204e1291b56da8128e2845fec8ee88

2020-10-13 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201013 x86_64 randconfig-a002-20201013

[tip:master] BUILD SUCCESS 2c8a2700c3256eefe1e783a104b420af09424e54

2020-10-13 Thread kernel test robot
-a005-20201013 i386 randconfig-a006-20201013 i386 randconfig-a001-20201013 i386 randconfig-a003-20201013 i386 randconfig-a004-20201013 i386 randconfig-a002-20201013 x86_64 randconfig-a004-20201013 x86_64

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-13 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: This patch introduces a character device interface for the Counter subsystem. Device data is exposed through standard character device read operations. Device data is gathered when a Counter event is pushed by the respective Counter device

[PATCH v2] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-13 Thread Jing Xiangfeng
ring_request_msix() misses to call ida_simple_remove() in an error path. Add a label 'err_ida_remove' and jump to it. Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") Signed-off-by: Jing Xiangfeng --- drivers/thunderbolt/nhi.c | 17 ++--- 1 file changed, 14 insertions(+), 3

Re: [PATCH] interconnect: qcom: Simplify the vcd compare function

2020-10-13 Thread Mike Tipton
On 10/13/2020 10:19 AM, Georgi Djakov wrote: Let's simplify the cmp_vcd() function and replace the conditionals with just a single statement, which also improves readability. Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/bcm-voter.c | 15 --- 1 file changed, 4

Re: [PATCH v1 08/10] bus: mhi: core: Move to an error state on any firmware load failure

2020-10-13 Thread Bhaumik Bhatt
On 2020-10-09 09:42, Manivannan Sadhasivam wrote: On Fri, Sep 18, 2020 at 07:02:33PM -0700, Bhaumik Bhatt wrote: Move MHI to a firmware download error state for a failure to find the firmware files or to load SBL or EBL image using BHI/BHIe. This helps detect an error state sooner and shortens

[PATCH] ARM: dts: imx: add usb alias

2020-10-13 Thread peng . fan
From: Peng Fan Add usb alias for bootloader emulator the controller in correct order. Signed-off-by: Peng Fan --- arch/arm/boot/dts/imx6qdl.dtsi | 4 arch/arm/boot/dts/imx6sl.dtsi | 3 +++ arch/arm/boot/dts/imx6sll.dtsi | 2 ++ arch/arm/boot/dts/imx6sx.dtsi | 3 +++

Re: [PATCH v4 2/2] clk: qcom: Add display clock controller driver for SM8150 and SM8250

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-27 12:06:51) > Add support for the display clock controller found on SM8150 and SM8250. > > Signed-off-by: Jonathan Marek > Tested-by: Dmitry Baryshkov (SM8250) > --- Applied to clk-next

Re: [PATCH v4 1/2] dt-bindings: clock: add QCOM SM8150 and SM8250 display clock bindings

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-27 12:06:50) > Add device tree bindings for display clock controller for > Qualcomm Technology Inc's SM8150 and SM8250 SoCs. > > Signed-off-by: Jonathan Marek > Tested-by: Dmitry Baryshkov (SM8250) > --- Applied to clk-next

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

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/10/14 1:32, Dan Murphy wrote: > Zhen > > On 10/13/20 11:08 AM, Zhen Lei wrote: >> The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is >> cmd-gpio. >> >> arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:235: >> cmd-gpio = < 155 GPIO_ACTIVE_HIGH>; >> >> Signed-off-by: Zhen Lei

RE: [PATCH] vfio/platform: Replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-13 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, October 14, 2020 1:50 PM > To: Song Bao Hua (Barry Song) > Cc: tiantao (H) ; eric.au...@redhat.com; > coh...@redhat.com; k...@vger.kernel.org; linux-kernel@vger.kernel.org; > Linuxarm >

  1   2   3   4   5   6   7   8   9   10   >