Re: Linux 5.10-rc2 (docs build)

2020-11-01 Thread Mauro Carvalho Chehab
Hi Randy, Em Sun, 1 Nov 2020 16:01:54 -0800 Randy Dunlap escreveu: > Something broke the docs build (SEVERE): > > > Sphinx parallel build error: > docutils.utils.SystemMessage: > /home/rdunlap/lnx/lnx-510-rc2/Documentation/ABI/testing/sysfs-bus-rapidio:2: > (SEVERE/4) Title level

Re: [PATCH v4 1/3] dt-bindings: memory: mediatek: Convert SMI to DT

2020-11-01 Thread Krzysztof Kozlowski
On Mon, 2 Nov 2020 at 06:31, Yong Wu wrote: > > On Sat, 2020-10-31 at 12:36 +0100, Krzysztof Kozlowski wrote: > > On Fri, Oct 30, 2020 at 05:12:52PM +0800, Yong Wu wrote: > > > Convert MediaTek SMI to DT schema. > > > > > > CC: Fabien Parent > > > CC: Ming-Fan Chen > > > CC: Matthias Brugger >

[PATCH 4/4] spi: aspeed: Add ASPEED FMC/SPI memory controller driver

2020-11-01 Thread Chin-Ting Kuo
Add driver for ASPEED BMC FMC/SPI memory controller which supports spi-mem interface. There are three SPI memory controllers embedded in an ASPEED SoC. Each of them can connect to two or three SPI NOR flashes. The first SPI memory controller is also named as Firmware Memory Controller (FMC),

[PATCH 0/4] Porting ASPEED FMC/SPI memory controller driver

2020-11-01 Thread Chin-Ting Kuo
This patch series aims to porting ASPEED FMC/SPI memory controller driver with spi-mem interface. Adjust device tree setting of SPI NOR flash in order to fit real AST2600 EVB and new SPI memory controller driver. Also, this patch has been verified on AST2600-A1 EVB. Chin-Ting Kuo (4):

[PATCH 2/4] ARM: dts: aspeed: ast2600: Update FMC/SPI controller setting for spi-aspeed.c

2020-11-01 Thread Chin-Ting Kuo
- Adjust the value format of "reg" property: Instead of platform_get_resource(), platform_get_resource_byname() function can be used for more human-readable. - Add "num-cs" property for FMC/SPI controller: Each ASPEED FMC/SPI memory controller can support more than a chip select. By

[PATCH 3/4] ARM: dts: aspeed: ast2600-evb: Adjust SPI flash configuration

2020-11-01 Thread Chin-Ting Kuo
- Enable FMC CS1 and SPI2 CS0 SPI NOR flashes since both of these two flashes are mounted on AST2600 EVB by default. - Remove spi-max-frequency setting: 50MHz is usual SPI bus frequency adopted on AST2600 EVB which has already been configured in aspeed-g6.dtsi. Signed-off-by: Chin-Ting Kuo

[PATCH 1/4] dt-bindings: spi: Add binding file for ASPEED FMC/SPI memory controller

2020-11-01 Thread Chin-Ting Kuo
Create binding file with YAML syntax for ASPEED FMC/SPI memory controller. Signed-off-by: Chin-Ting Kuo --- .../bindings/spi/aspeed,spi-aspeed.yaml | 66 +++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/aspeed,spi-aspeed.yaml

[PATCH v3 6/6] mfd: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller

2020-11-01 Thread Shihlun Lin
This is one of sub-device driver for Advantech embedded controller AHC1EC0. This driver provide watchdog functionality for Advantech related applications to restart the system. Signed-off-by: Shihlun Lin Reported-by: kernel test robot --- drivers/mfd/Kconfig | 4 + drivers/mfd/Makefile

Re: [PATCH] dmaengine: ti: k3-udma-glue: move psi-l pairing in channel en/dis functions

2020-11-01 Thread Peter Ujfalusi
On 30/10/2020 22.30, Grygorii Strashko wrote: > The NAVSS UDMA will stuck if target IP module is disabled by PM while PSI-L > threads are paired UDMA<->IP and no further transfers is possible. This > could be the case for IPs J721E Main CPSW (cpsw9g). > > Hence, to avoid such situation do

Re: [PATCH v2] ubifs: Fix the printing type of c->big_lpt

2020-11-01 Thread kechengsong
On Sat, Oct 31, 2020 at 9:56 AM Chengsong Ke wrote: > > Ubifs uses %d to print c->big_lpt, but c->big_lpt is a variable of > type unsigned int and should be printed with %u. > > Well, it is: > unsigned int big_lpt:1; > So, either 0 or 1. > > Does changing it to %u silence some static checker or

[PATCH -next] watchdog: Fix potential dereferencing of null pointer

2020-11-01 Thread Wang Wensheng
A reboot notifier, which stops the WDT by calling the stop hook without any check, would be registered when we set WDOG_STOP_ON_REBOOT flag. Howerer we allow the WDT driver to omit the stop hook since commit "d0684c8a93549" ("watchdog: Make stop function optional") and provide a module parameter

Re: [PATCH] net: can: prevent potential access of uninitialized value in canfd_rcv()

2020-11-01 Thread Anant Thazhemadam
On 02-11-2020 12:40, Marc Kleine-Budde wrote: > On 11/2/20 4:13 AM, Anant Thazhemadam wrote: >> In canfd_rcv(), cfd->len is uninitialized when skb->len = 0, and this >> uninitialized cfd->len is accessed nonetheless by pr_warn_once(). >> >> Fix this uninitialized variable access by checking

Re: [PATCH v5 2/2] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-11-01 Thread Kalle Valo
+ ath10k list John Stultz writes: > Allow the qcom_scm driver to be loadable as a permenent module. > > This still uses the "depends on QCOM_SCM || !QCOM_SCM" bit to > ensure that drivers that call into the qcom_scm driver are > also built as modules. While not ideal in some cases its the >

Re: [PATCH v2 0/3] md superblock write alignment on 512e devices

2020-11-01 Thread Xiao Ni
On 10/30/2020 04:13 AM, Christopher Unkel wrote: Hello, Thanks for the feedback on the previous patch series. A updated patch series with the same function as the first patch (https://lkml.org/lkml/2020/10/22/1058 "md: align superblock writes to physical blocks") follows. As suggested, it

Re: drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match'

2020-11-01 Thread Alexandre Courbot
On Mon, Nov 2, 2020 at 9:09 AM kernel test robot wrote: > > Hi Alexandre, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3cea11cd5e3b00d91caf0b4730194039b45c5891 > commit:

[PATCH v2] selftests: intel_pstate: ftime() is deprecated

2020-11-01 Thread Tommi Rantala
Use clock_gettime() instead of deprecated ftime(). aperf.c: In function ‘main’: aperf.c:58:2: warning: ‘ftime’ is deprecated [-Wdeprecated-declarations] 58 | ftime(); | ^ In file included from aperf.c:9: /usr/include/sys/timeb.h:39:12: note: declared here 39 |

Re: lockdep: possible irq lock inversion dependency detected (trig->leddev_list_lock)

2020-11-01 Thread Andrea Righi
On Sun, Nov 01, 2020 at 05:28:38PM +0100, Pavel Machek wrote: > Hi! > > > I'm getting the following lockdep splat (see below). > > > > Apparently this warning starts to be reported after applying: > > > > e918188611f0 ("locking: More accurate annotations for read_lock()") > > > > It looks

[PATCH] remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF

2020-11-01 Thread Alexandre Courbot
Now that this driver can be compiled with COMPILE_TEST, we have no guarantee that CONFIG_OF will also be defined. When that happens, a warning about mtk_scp_of_match being defined but unused will be reported so make sure this variable is only defined if of_match_ptr() actually uses it. Fixes:

Re: [BUG] Error applying setting, reverse things back on lot of devices

2020-11-01 Thread Corentin Labbe
On Sun, Nov 01, 2020 at 02:31:15AM +0100, Ondřej Jirman wrote: > Hello Michał, > > On Sat, Oct 24, 2020 at 01:53:07PM +0200, Michał Mirosław wrote: > > On Fri, Oct 23, 2020 at 10:39:43PM +0200, Corentin Labbe wrote: > > > On Fri, Oct 23, 2020 at 03:42:01PM +0200, Corentin Labbe wrote: > > > > On

Re: dmaengine: pl330 rare NULL pointer dereference in pl330_tasklet

2020-11-01 Thread Marek Szyprowski
Hi Krzysztof, On 31.10.2020 20:01, Krzysztof Kozlowski wrote: > I hit quite rare issue with pl330 DMA driver, difficult to reproduce > (actually failed to do so): > > Happened during early reboot > > [ OK ] Stopped target Graphical Interface. > [ OK ] Stopped target Multi-User System. > [ OK

Re: [PATCH v3 0/2] uacce: fix some coding styles

2020-11-01 Thread Zhou Wang
On 2020/11/2 15:09, Greg Kroah-Hartman wrote: > On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote: >> On 2020/9/23 18:09, Kai Ye wrote: >>> 1. delete some redundant code. >>> 2. modify the module author information. "Hisilicon" >>> spelling is error. >>> >>> Changes v2 -> v3: >>> Two

My Greetings

2020-11-01 Thread Mrs. Maya Oliver
My Dear My Name is Mrs. Maya Oliver, from Norway. I know that this message will be a surprise to you. Firstly, I am married to Mr. Patrick Oliver, A gold merchant who owns a small gold Mine in Burkina Faso; He died of Cardiovascular Disease in mid-March 2011. During his life time he deposited the

Re: linux-next: Tree for Nov 2 (regulator/qcom-rpmh-regulator.c)

2020-11-01 Thread Randy Dunlap
On 11/1/20 9:28 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201030: > on i386: CONFIG_QCOM_RPMH=m CONFIG_REGULATOR_QCOM_RPMH=y ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_send_request': qcom-rpmh-regulator.c:(.text+0xcf): undefined reference to

Re: [PATCH v3 2/2] uacce: modify the module author information.

2020-11-01 Thread Zhou Wang
On 2020/9/23 18:09, Kai Ye wrote: > The spelling of "Hisilicon" is modified. > > Signed-off-by: Kai Ye > Reviewed-by: Zhou Wang > Reviewed-by: Jonathan Cameron > Acked-by: Zhangfei Gao > --- > drivers/misc/uacce/uacce.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH v4 3/3] arm: dts: ls1021a: fix rcpm failed to claim resource

2020-11-01 Thread Ran Wang
The range of dcfg reg is wrong, which overlap with other device, such as rcpm. This issue causing rcpm driver failed to claim reg resource when calling devm_ioremap_resource(). Signed-off-by: Ran Wang Acked-by: Li Yang --- Change in v4: - None Change in v3: - None Change in v2: - None

Re: [PATCH v3 1/2] uacce: delete some redundant code.

2020-11-01 Thread Zhou Wang
On 2020/9/23 18:09, Kai Ye wrote: > Delete some redundant code. > > Signed-off-by: Kai Ye > Reviewed-by: Zhou Wang > Reviewed-by: Jonathan Cameron > Acked-by: Zhangfei Gao > --- > drivers/misc/uacce/uacce.c | 11 --- > 1 file changed, 11 deletions(-) > > diff --git

[PATCH v4 2/3] arm: dts: ls1021a: fix flextimer failed to wake system

2020-11-01 Thread Ran Wang
The data of property 'fsl,rcpm-wakeup' is not corrcet, which causing RCPM driver incorrectly program register IPPDEXPCR1, then flextimer is wrongly clock gated during system suspend, can't send interrupt to wake. Signed-off-by: Ran Wang Acked-by: Li Yang --- Change in v4: - None Change in v3:

[PATCH v4 1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2020-11-01 Thread Ran Wang
From: Biwen Li Hardware issue: - Reading register RCPM_IPPDEXPCR1 always return zero, this causes system firmware could not get correct information and wrongly do clock gating for all wakeup source IP during system suspend. Then those IPs will never get chance to wake system. Workaround:

Re: [PATCH 29/29] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name

2020-11-01 Thread Jun Li
Serge Semin 于2020年10月20日周二 下午8:04写道: > > In accordance with the DWC USB3 bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible

Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-11-01 Thread Miquel Raynal
Hello, 赵仪峰 wrote on Mon, 2 Nov 2020 11:46:04 +0800: > Hi Johan, > > void nand_deselect_target(struct nand_chip *chip) > { > if (chip->legacy.select_chip) > chip->legacy.select_chip(chip, -1); > > chip->cur_cs = -1; > } > > I need add the code below and it work. >

Re: lockdep: possible irq lock inversion dependency detected (trig->leddev_list_lock)

2020-11-01 Thread Andrea Righi
On Sat, Oct 31, 2020 at 06:17:40PM +0800, Boqun Feng wrote: > Hi Andrea, > > On Sun, Nov 01, 2020 at 10:26:14AM +0100, Andrea Righi wrote: > > I'm getting the following lockdep splat (see below). > > > > Apparently this warning starts to be reported after applying: > > > > e918188611f0

[PATCH] riscv: uaccess: fix __put_kernel_nofault()

2020-11-01 Thread Changbin Du
The copy_from_kernel_nofault() is broken on riscv because the 'dst' and 'src' are mistakenly reversed in __put_kernel_nofault() macro. copy_to_kernel_nofault: ... 0xffe0003159b8 <+30>:sd a4,0(a1) # a1 aka 'src' Fixes: d464118cdc ("riscv: implement __get_kernel_nofault and

Re: [PATCH v5 08/15] mm: Add unsafe_follow_pfn

2020-11-01 Thread Christoph Hellwig
On Fri, Oct 30, 2020 at 11:08:08AM +0100, Daniel Vetter wrote: > Also mark up follow_pfn as EXPORT_SYMBOL_GPL. The only safe way to use > that by drivers/modules is together with an mmu_notifier, and that's > all _GPL stuff. I also think it also needs to be renamed to explicitly break any

Re: [PATCH v4] mm/oom_kill: change comment and rename is_dump_unreclaim_slabs()

2020-11-01 Thread Michal Hocko
On Sat 31-10-20 02:27:04, Hui Su wrote: > Change the comment of is_dump_unreclaim_slabs(), it just check > whether nr_unreclaimable slabs amount is greater than user > memory, and explain why we dump unreclaim slabs. > > Rename it to should_dump_unreclaim_slab() maybe better. > > Signed-off-by:

[PATCH 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek,keep-clock-on

2020-11-01 Thread Macpaul Lin
Some platform dose not support turn off clock when system suspending. We add an option "mediatek,keep-clock-on" for distinquish these platforms. When "mediatek,keep-clock-on" has been set, xhci-mtk driver will skip turning clock on and off during system suspend and resume. Signed-off-by: Macpaul

Re: [PATCH v8] Add MediaTek MT6779 devapc driver

2020-11-01 Thread Neal Liu
Gentle ping for these patch series. Thanks ! On Thu, 2020-10-15 at 11:24 +0800, Neal Liu wrote: > add subject > > On Thu, 2020-10-15 at 11:20 +0800, Neal Liu wrote: > > These patch series introduce a MediaTek MT6779 devapc driver. > > > > MediaTek bus fabric provides TrustZone security support

Hard lockup on Raspberry Pi 4 after v5.10-rc1

2020-11-01 Thread Nathan Chancellor
Hi everyone, Starting with v5.10-rc1, I appear to be experiencing hard lockups on my Raspberry Pi 4 when compiling LLVM. My standard workflow for testing the Raspberry Pi 4 has been compiling tip of tree LLVM (to catch host AArch64 issues), compiling linux-next ARCH=arm64 defconfig, then booting

Re: [GIT PULL] dma-mapping fix for 5.10

2020-11-01 Thread Christoph Hellwig
On Sat, Oct 31, 2020 at 12:50:44PM -0700, Linus Torvalds wrote: > So this is just a stylistic nit, and has no impact on this pull (which > I've done). But looking at the patch, it triggers one of my "this is > wrong" patterns. Adding the author and maintainer of that code so that they can sort it

Re: KASAN: slab-out-of-bounds Write in xfrm_attr_cpy32

2020-11-01 Thread syzbot
syzbot has bisected this issue to: commit 5106f4a8acff480e244300bc5097c0ad7048c3a2 Author: Dmitry Safonov Date: Mon Sep 21 14:36:55 2020 + xfrm/compat: Add 32=>64-bit messages translator bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16cefa8a50 start commit:

[PATCH] sound/core/seq: remove dead code

2020-11-01 Thread Yu Hao
The function snd_seq_queue_client_termination() is only called from function seq_free_client1(). The seq_free_client1() calls function snd_seq_queue_client_leave(), which deletes all objects whose owner equals to client->number in global array queue_list, before the function

Re: [PATCH v3 3/3] arm64/ima: add ima_arch support

2020-11-01 Thread Chester Lin
On Fri, Oct 30, 2020 at 12:53:25PM +0100, Ard Biesheuvel wrote: > On Fri, 30 Oct 2020 at 07:09, Chester Lin wrote: > > > > Add arm64 IMA arch support. The code and arch policy is mainly inherited > > from x86. > > > > Signed-off-by: Chester Lin > > --- > > arch/arm64/Kconfig | 1 + >

RE: [PATCH net-next v2] net/usb/r8153_ecm: support ECM mode for RTL8153

2020-11-01 Thread Hayes Wang
Jakub Kicinski [...] > Can you describe the use case in more detail? > > AFAICT r8152 defines a match for the exact same device. > Does it not mean that which driver is used will be somewhat random > if both are built? I export rtl_get_version() from r8152. It would return none zero value if

[PATCH 1/2] dt-bindings: usb: mediatek,mtk-xhci: add keep-clock-on

2020-11-01 Thread Macpaul Lin
Option "mediatek,keep-clock-on" means to keep clock on during system suspend and resume. Some platform will flush register settings if clock has been disabled when system is suspended. Set this option to avoid clock off. Signed-off-by: Macpaul Lin ---

[tip:irq/urgent] BUILD SUCCESS 17bb415fefedb74d2ff02656cf59e4e3ab92ee20

2020-11-01 Thread kernel test robot
randconfig-a004-20201101 x86_64 randconfig-a003-20201101 x86_64 randconfig-a005-20201101 x86_64 randconfig-a002-20201101 x86_64 randconfig-a006-20201101 x86_64 randconfig-a001-20201101 i386 randconfig

Re: [PATCH] net: can: prevent potential access of uninitialized value in canfd_rcv()

2020-11-01 Thread Marc Kleine-Budde
On 11/2/20 4:13 AM, Anant Thazhemadam wrote: > In canfd_rcv(), cfd->len is uninitialized when skb->len = 0, and this > uninitialized cfd->len is accessed nonetheless by pr_warn_once(). > > Fix this uninitialized variable access by checking cfd->len's validity > condition (cfd->len >

Re: [PATCH v3 0/2] uacce: fix some coding styles

2020-11-01 Thread Greg Kroah-Hartman
On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote: > On 2020/9/23 18:09, Kai Ye wrote: > > 1. delete some redundant code. > > 2. modify the module author information. "Hisilicon" > > spelling is error. > > > > Changes v2 -> v3: > > Two things, splited to two patches. > > Changes v1 ->

Re: [PATCH v7 0/3] iio: adc: mt6360: Add ADC driver for MT6360

2020-11-01 Thread Gene Chen
Jonathan Cameron 於 2020年11月1日 週日 下午11:40寫道: > > On Tue, 20 Oct 2020 16:07:44 +0800 > Gene Chen wrote: > > > In-Reply-To: > > > > This patch series add MT6360 ADC support contains driver, testing document > > and binding document > > > Hi Gene, > > Other than that small edit needed in the dt

Re: [PATCH 0/3] mdraid sb and bitmap write alignment on 512e drives

2020-11-01 Thread Xiao Ni
On 10/23/2020 11:31 AM, Christopher Unkel wrote: Hello all, While investigating some performance issues on mdraid 10 volumes formed with "512e" disks (4k native/physical sector size but with 512 byte sector emulation), I've found two cases where mdraid will needlessly issue writes that start

Re: [PATCH] usb: dwc2: Fix unused label warning

2020-11-01 Thread Minas Harutyunyan
On 10/31/2020 10:03 AM, YueHaibing wrote: > drivers/usb/dwc2/platform.c: In function ‘dwc2_driver_probe’: > drivers/usb/dwc2/platform.c:611:1: warning: label ‘error_debugfs’ defined but > not used [-Wunused-label] > error_debugfs: > ^ > > Move label 'error_debugfs' to ifdef

man-pages-5.09 is released

2020-11-01 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-5.09 - man pages for Linux This release resulted from patches, bug reports, reviews, and comments from more than 40 people, with just over 500 commits making changes to nearly 600 pages. Nine new pages have been added (six

Re: [PATCH v5 14/21] kprobes: Remove NMI context check

2020-11-01 Thread Masami Hiramatsu
On Mon, 2 Nov 2020 14:53:34 +0900 Masami Hiramatsu wrote: > On Mon, 2 Nov 2020 14:11:38 +0900 > Masami Hiramatsu wrote: > > > On Fri, 30 Oct 2020 21:38:31 -0400 > > Steven Rostedt wrote: > > > > > On Sat, 29 Aug 2020 22:02:36 +0900 > > > Masami Hiramatsu wrote: > > > > > > > Since the

Re: [PATCH] iio: core: centralize ioctl() calls to the main chardev

2020-11-01 Thread Alexandru Ardelean
On Fri, Sep 25, 2020 at 3:38 PM Jonathan Cameron wrote: > > On Thu, 24 Sep 2020 11:41:55 +0300 > Alexandru Ardelean wrote: > > > The aim of this is to improve a bit the organization of ioctl() calls in > > IIO core. Currently the chardev is split across IIO core sub-modules/files. > > The main

Re: [PATCH v6 7/7] arm64: kgdb: Roundup cpus using IPI as NMI

2020-11-01 Thread Sumit Garg
On Thu, 29 Oct 2020 at 22:09, Daniel Thompson wrote: > > On Thu, Oct 29, 2020 at 04:22:34PM +, Daniel Thompson wrote: > > On Thu, Oct 29, 2020 at 08:26:27PM +0530, Sumit Garg wrote: > > > arm64 platforms with GICv3 or later supports pseudo NMIs which can be > > > leveraged to roundup CPUs

Re: [PATCH AUTOSEL 5.9 075/147] coresight: Make sysfs functional on topologies with per core sink

2020-11-01 Thread Linu Cherian
Hi, Upstream commit, commit bb1860efc817c18fce4112f25f51043e44346d1b Author: Linu Cherian Date: Wed Sep 16 13:17:34 2020 -0600 coresight: etm: perf: Sink selection using sysfs is deprecated need to go along with this, else there will be build breakage. This applies for 5.4, 5.8 and 5.9

Re: [PATCH] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-11-01 Thread Tomi Valkeinen
On 31/10/2020 09:19, Sam Ravnborg wrote: > Hi YueHaibing > > Thanks for the fix. Appreciated but please update as per comments below. > > On Sat, Oct 31, 2020 at 11:16:48AM +0800, YueHaibing wrote: >> gpiod_to_irq() return negative value in case of error, >> the existing code handle negative

Re: [PATCH] memstick: mspro_block: remove unneeded semicolon

2020-11-01 Thread kajoljain
On 10/31/20 7:18 PM, t...@redhat.com wrote: > From: Tom Rix > > A semicolon is not needed after a switch statement. Hi Tom, I was checking this patch. Not sure if it will come under as fix patch. Since this is not fixing any logical issue do we still need to add fix tag? Thanks, Kajol

[PATCH v7 3/4] net: dsa: mv88e6xxx: Change serdes lane parameter from u8 type to int

2020-11-01 Thread Pavana Sharma
Returning 0 is no more an error case with MV88E6393 family which has serdes lane numbers 0, 9 or 10. So with this change .serdes_get_lane will return lane number or error (-ENODEV). Signed-off-by: Pavana Sharma --- drivers/net/dsa/mv88e6xxx/chip.c | 28 +--

[PATCH v7 4/4] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-11-01 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) Co-developed-by: Ashkan

[PATCH v7 2/4] net: phy: Add 5GBASER interface mode

2020-11-01 Thread Pavana Sharma
Add 5GBASE-R phy interface mode Signed-off-by: Pavana Sharma --- include/linux/phy.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/phy.h b/include/linux/phy.h index 3a09d2bf69ea..977b94a44e15 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -105,6 +105,8 @@

[PATCH v7 1/4] dt-bindings: net: Add 5GBASER phy interface mode

2020-11-01 Thread Pavana Sharma
Add 5gbase-r PHY interface mode. Signed-off-by: Pavana Sharma --- Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml

[PATCH v7 0/4] Add support for mv88e6393x family of Marvell

2020-11-01 Thread Pavana Sharma
Thanks for the review. Here's updated patchset. Pavana Sharma (4): dt-bindings: net: Add 5GBASER phy interface mode net: phy: Add 5GBASER interface mode net: dsa: mv88e6xxx: Change serdes lane parameter from u8 type to int net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

Re: [PATCH v3 0/2] uacce: fix some coding styles

2020-11-01 Thread Zhou Wang
On 2020/9/23 18:09, Kai Ye wrote: > 1. delete some redundant code. > 2. modify the module author information. "Hisilicon" > spelling is error. > > Changes v2 -> v3: > Two things, splited to two patches. > Changes v1 -> v2: > deleted extra NULL pointer check in uacce_fops. > > Kai Ye

[PATCH -next] kernel/watchdog_hld.c: Complete the flush of the hard deadlock log messages to the serial port

2020-11-01 Thread Xu Qiang
when hardlockup_all_cpu_backtrace is on, and there are a large number of cores in the system, it takes a long time to output the hard deadlock logs of all cores to the serial port. When the console_flush_on_panic function in panic is executed, console_locked is still held. As a result, garbled

Re: [PATCH] AER: aer_root_reset() non-native handling

2020-11-01 Thread Ethan Zhao
On Sat, Oct 31, 2020 at 6:36 AM Sean V Kelley wrote: > > If an OS has not been granted AER control via _OSC, then > the OS should not make changes to PCI_ERR_ROOT_COMMAND and > PCI_ERR_ROOT_STATUS related registers. Per section 4.5.1 of > the System Firmware Intermediary (SFI) _OSC and DPC

[PATCH v3 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic

2020-11-01 Thread Ajye Huang
In addition, having mixer control to switch between DMICs by using "dmic-gpios" property. Refer to this one as an example, commit b7a742cff3f6 ("ASoC: AMD: Use mixer control to switch between DMICs") Signed-off-by: Ajye Huang --- sound/soc/qcom/sc7180.c | 65

[PATCH v3 0/2] Modify documentation and machine driver for SC7180 sound card

2020-11-01 Thread Ajye Huang
Note: - The patch is made by the collaboration of Ajye Huang Cheng-Yi Chiang Changes from v1 to v2: - Ducumentation: Modify the dimc-gpios property description and examples. - Machine driver: - Remove "qcom,sc7180-sndcard-rt5682-m98357-2mic" compatible - See gpio property and use

[PATCH v3 1/2] ASoC: google: dt-bindings: modify machine bindings for two MICs case

2020-11-01 Thread Ajye Huang
Add a property "dmic-gpios" for switching between two MICs. Signed-off-by: Ajye Huang --- .../bindings/sound/google,sc7180-trogdor.yaml | 58 +++ 1 file changed, 58 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml

[PATCH v3] f2fs: move ioctl interface definitions to separated file

2020-11-01 Thread Chao Yu
Like other filesystem does, we introduce a new file f2fs.h in path of include/uapi/linux/, and move f2fs-specified ioctl interface definitions to that file, after then, in order to use those definitions, userspace developer only need to include the new header file rather than copy & paste

Re: [PATCH v6 6/7] kgdb: roundup: Allow runtime arch specific override

2020-11-01 Thread Sumit Garg
On Thu, 29 Oct 2020 at 20:51, Daniel Thompson wrote: > > On Thu, Oct 29, 2020 at 08:26:26PM +0530, Sumit Garg wrote: > > Add a new API kgdb_arch_roundup_cpus() for a particular archichecture to > > override default kgdb roundup and if it detects at runtime to not support > > NMI roundup then it

Re: v5.8+ powersave governor breakage?

2020-11-01 Thread Mike Galbraith
On Sun, 2020-11-01 at 17:23 +0100, Mike Galbraith wrote: > Greetings, > > As you can see in the data below, my i4790 box used to default to the > powersave governor despite CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y, and > disallowed switching to ondemand. Ok, my HP lappy running master.today still

RE: [EXT] Re: [v2 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-01 Thread Biwen Li (OSS)
> > > > > > Caution: EXT Email > > > > > > On 27/10/2020 05.46, Biwen Li wrote: > > > > From: Hou Zhiqiang > > > > > > > > Add an new IRQ chip declaration for LS1043A and LS1088A > > > > - compatible "fsl,ls1043a-extirq" for LS1043A, LS1046A. > SCFG_INTPCR[31:0] > > > > of these SoCs is

[PATCH] KVM: VMX: Enable Notify VM exit

2020-11-01 Thread Tao Xu
There are some cases that malicious virtual machines can cause CPU stuck (event windows don't open up), e.g., infinite loop in microcode when nested #AC (CVE-2015-5307). No event window obviously means no events, e.g. NMIs, SMIs, and IRQs will all be blocked, may cause the related hardware CPU

[PATCH net-next 12/13] octeontx2-af: Add new mbox messages to retrieve MCAM entries

2020-11-01 Thread Naveen Mamindlapalli
This patch introduces new mailbox mesages to retrieve a given MCAM entry or base flow steering rule of a VF installed by its parent PF. This helps while updating the existing MCAM rules with out re-framing the whole mailbox request again. The INSTALL FLOW mailbox consumer can read-modify-write the

[PATCH net-next 08/13] octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries

2020-11-01 Thread Naveen Mamindlapalli
From: Vamsi Attunuru This patch modifies the existing nix_vtag_config mailbox message to allocate and free TX VTAG entries as requested by a NIX PF. The TX VTAG entries are global resource that shared by all PFs and each entry specifies the size of VTAG to insert and the VTAG header data to

[PATCH net-next 07/13] octeontx2-af: Add debugfs entry to dump the MCAM rules

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Add debugfs support to dump the MCAM rules installed using NPC_INSTALL_FLOW mbox message. Debugfs file can display mcam entry, counter if any, flow type and counter hits. Ethtool will dump the ntuple flows related to the PF only. The debugfs file gives systemwide view of

[PATCH net-next 05/13] octeontx2-pf: Add support for ethtool ntuple filters

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep This patch adds support for adding and deleting ethtool ntuple filters. The filters for ether, ipv4, ipv6, tcp, udp and sctp are supported. The mask is also supported. The supported actions are drop and direct to a queue. Additionally we support FLOW_EXT field vlan_tci

[PATCH net-next 11/13] octeontx2-af: Handle PF-VF mac address changes

2020-11-01 Thread Naveen Mamindlapalli
From: Hariprasad Kelam This patch handles the VF mac address changes as given below. 1. mac addr configrued by VF will be retained until VF module unload. 2. mac addr configred by PF for VF will be retained until power cycle. 3. mac addr confgired by PF for its VF can't be

[PATCH net-next 04/13] octeontx2-af: Add mbox messages to install and delete MCAM rules

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Added new mailbox messages to install and delete MCAM rules. These mailbox messages will be used for adding/deleting ethtool n-tuple filters by NIX PF. The installed MCAM rules are stored in a list that will be traversed later to delete the MCAM entries when the interface

[PATCH net-next 09/13] octeontx2-pf: Implement ingress/egress VLAN offload

2020-11-01 Thread Naveen Mamindlapalli
From: Hariprasad Kelam This patch implements egress VLAN offload by appending NIX_SEND_EXT_S header to NIX_SEND_HDR_S. The VLAN TCI information is specified in the NIX_SEND_EXT_S. The VLAN offload in the ingress path is implemented by configuring the NIX_RX_VTAG_ACTION_S to strip and capture the

[PATCH net-next 06/13] octeontx2-pf: Add support for unicast MAC address filtering

2020-11-01 Thread Naveen Mamindlapalli
From: Hariprasad Kelam Add unicast MAC address filtering support using install flow message. Total of 8 MCAM entries are allocated for adding unicast mac filtering rules. If the MCAM allocation fails, the unicast filtering support will not be advertised. Signed-off-by: Hariprasad Kelam

[PATCH net-next 13/13] octeontx2-af: Delete NIX_RXVLAN_ALLOC mailbox message

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Since mailbox message for installing flows is in place, remove the RXVLAN_ALLOC mbox message which is redundant. Signed-off-by: Subbaraya Sundeep Signed-off-by: Sunil Goutham Signed-off-by: Naveen Mamindlapalli --- drivers/net/ethernet/marvell/octeontx2/af/mbox.h |

[PATCH net-next 10/13] octeontx2-pf: Add support for SR-IOV management functions

2020-11-01 Thread Naveen Mamindlapalli
This patch adds support for ndo_set_vf_mac, ndo_set_vf_vlan and ndo_get_vf_config handlers. The traffic redirection based on the VF mac address or vlan id is done by installing MCAM rules. Reserved RX_VTAG_TYPE7 in each NIXLF for VF VLAN which strips the VLAN tag from ingress VLAN traffic. The NIX

[PATCH net-next 02/13] octeontx2-af: Verify MCAM entry channel and PF_FUNC

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep This patch adds support to verify the channel number sent by mailbox requester before writing MCAM entry for Ingress packets. Similarly for Egress packets, verifying the PF_FUNC sent by the mailbox user. Signed-off-by: Subbaraya Sundeep Signed-off-by: Kiran Kumar K

[PATCH net-next 00/13] Add ethtool ntuple filters support

2020-11-01 Thread Naveen Mamindlapalli
This patch series adds support for ethtool ntuple filters, unicast address filtering, VLAN offload and SR-IOV ndo handlers. All of the above features are based on the Admin Function(AF) driver support to install and delete the low level MCAM entries. Each MCAM entry is programmed with the packet

[PATCH net-next 01/13] octeontx2-af: Modify default KEX profile to extract TX packet fields

2020-11-01 Thread Naveen Mamindlapalli
From: Stanislaw Kardach The current default Key Extraction(KEX) profile can only use RX packet fields while generating the MCAM search key. The profile can't be used for matching TX packet fields. This patch modifies the default KEX profile to add support for extracting TX packet fields into

[PATCH net-next 03/13] octeontx2-af: Generate key field bit mask from KEX profile

2020-11-01 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Key Extraction(KEX) profile decides how the packet metadata such as layer information and selected packet data bytes at each layer are placed in MCAM search key. This patch reads the configured KEX profile parameters to find out the bit position and bit mask for each

[PATCH v4 1/2] dt-bindings: arm64: add compatible for LX2162A QDS Board

2020-11-01 Thread meenakshi . aggarwal
From: Meenakshi Aggarwal Add support for LX2162A, LX2162A is LX2160A based SoC. Signed-off-by: Meenakshi Aggarwal Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

[PATCH v4 0/2] Add device tree support for LX2162AQDS board

2020-11-01 Thread meenakshi . aggarwal
From: Meenakshi Aggarwal LX2162A has same die as of LX2160A with different packaging. Changes: v2: - divided patch into two, binding and dts support v3: - incorporated review comments on voltage regulator node v4: - fixed check-patch warning.

[PATCH v4 2/2] arm64: dts: lx2160a: add device tree for lx2162aqds board

2020-11-01 Thread meenakshi . aggarwal
From: Meenakshi Aggarwal Add device tree support for LX2162AQDS board. LX2162A has same die as of LX2160A with different packaging. Signed-off-by: Ioana Ciornei Signed-off-by: Kuldeep Singh Signed-off-by: Meenakshi Aggarwal --- arch/arm64/boot/dts/freescale/Makefile| 1 +

Re: [PATCH v6 5/6] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2020-11-01 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, Thank you for the review comments... On 30/10/2020 11:18 pm, Rob Herring wrote: On Fri, Oct 30, 2020 at 01:31:52PM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Convert the cadence-quadspi.txt documentation to cadence-quadspi.yaml remove the

Re: [PATCH mlx5-next v1 03/11] net/mlx5_core: Clean driver version and name

2020-11-01 Thread Leon Romanovsky
On Mon, Nov 02, 2020 at 05:07:59AM +, Parav Pandit wrote: > > > > From: Leon Romanovsky > > Sent: Monday, November 2, 2020 1:46 AM > > > > From: Leon Romanovsky > > > > Remove exposed driver version as it was done in other drivers, so module > > version will work correctly by displaying the

Re: [PATCH v1 2/2] mfd: rt4505: Adds DT binding document for Richtek RT4831 MFD core

2020-11-01 Thread ChiYuan Huang
Hi, I seems I typo the wrong comment headline, not RT4505. It's RT4831. Please just review the contents, I'll fix it in next series patch. cy_huang 於 2020年11月2日 週一 上午11:13寫道: > > From: ChiYuan Huang > > Adds DT binding document for Richtek RT4831 MFD core. > > Signed-off-by: ChiYuan Huang >

Re: [PATCH v5 14/21] kprobes: Remove NMI context check

2020-11-01 Thread Masami Hiramatsu
On Mon, 2 Nov 2020 14:11:38 +0900 Masami Hiramatsu wrote: > On Fri, 30 Oct 2020 21:38:31 -0400 > Steven Rostedt wrote: > > > On Sat, 29 Aug 2020 22:02:36 +0900 > > Masami Hiramatsu wrote: > > > > > Since the commit 9b38cc704e84 ("kretprobe: Prevent triggering > > > kretprobe from within

[PATCHv10] arm64: dts: layerscape: Add PCIe EP node for ls1088a

2020-11-01 Thread Zhiqiang Hou
From: Xiaowei Bao Add PCIe EP node for ls1088a to support EP mode. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang Reviewed-by: Andrew Murray --- V10: - Add a space between compatibles. .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 +++ 1 file changed, 31

Re: [PATCH v2 28/39] docs: ABI: fix syntax to be parsed using ReST notation

2020-11-01 Thread Jinpu Wang
On Fri, Oct 30, 2020 at 8:41 AM Mauro Carvalho Chehab wrote: > > There are a number of new changes at the ABI files that cause > them to produce warnings when generating ABI output. > > Fix them. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../ABI/stable/sysfs-driver-firmware-zynqmp | 62

RE: [PATCH] KVM: x86: emulate wait-for-SIPI and SIPI-VMExit

2020-11-01 Thread Qi, Yadong
> -Original Message- > From: Paolo Bonzini > Sent: Tuesday, September 22, 2020 5:10 PM > To: Qi, Yadong ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; x...@kernel.org > Cc: Christopherson, Sean J ; > vkuzn...@redhat.com; wanpen...@tencent.com; jmatt...@google.com; >

[PATCH 2/2] lockdep/selftest: Add spin_nest_lock test

2020-11-01 Thread Boqun Feng
Add a self test case to test the behavior for the following case: lock(A); lock_nest_lock(C1, A); lock(B); lock_nest_lock(C2, A); This is a reproducer for a problem[1] reported by Chris Wilson, and is helpful to prevent this. [1]:

[PATCH 1/2] lockdep: Avoid to modify chain keys in validate_chain()

2020-11-01 Thread Boqun Feng
Chris Wilson reported a problem spotted by check_chain_key(): a chain key got changed in validate_chain() because we modify the ->read in validate_chain() to skip checks for dependency adding, and ->read is taken into calculation for chain key since commit f611e8cf98ec ("lockdep: Take read/write

Re: [PATCH v4 1/3] dt-bindings: memory: mediatek: Convert SMI to DT

2020-11-01 Thread Yong Wu
On Sat, 2020-10-31 at 12:36 +0100, Krzysztof Kozlowski wrote: > On Fri, Oct 30, 2020 at 05:12:52PM +0800, Yong Wu wrote: > > Convert MediaTek SMI to DT schema. > > > > CC: Fabien Parent > > CC: Ming-Fan Chen > > CC: Matthias Brugger > > Signed-off-by: Yong Wu > > --- > >

Re: [PATCH v3 1/3] efi: generalize efi_get_secureboot

2020-11-01 Thread Chester Lin
Hi Ard, Thanks for your time and reviewing. On Fri, Oct 30, 2020 at 12:51:10PM +0100, Ard Biesheuvel wrote: > Hello Chester, > > Thanks again for looking into this. > > On Fri, 30 Oct 2020 at 07:09, Chester Lin wrote: > > > > Generalize the efi_get_secureboot() function so not only efistub

  1   2   3   4   5   6   >