RE: [EXT] Re: [PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 Thread Stefan Chulski
> > @@ -5373,6 +5402,30 @@ static int > mvpp2_ethtool_set_pause_param(struct net_device *dev, > > struct ethtool_pauseparam *pause) { > > struct mvpp2_port *port = netdev_priv(dev); > > + int i; > > + > > + if (pause->tx_pause &&

Re: [EXT] Re: [PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 06:24:30PM +, Stefan Chulski wrote: > > > > > > +/* Routine calculate single queue shares address space */ static int > > > +mvpp22_calc_shared_addr_space(struct mvpp2_port *port) { > > > + /* If number of CPU's greater than number of threads, return last > > > + *

Re: [EXT] Re: [PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 06:27:57PM +, Stefan Chulski wrote: > > What also concerns me is whether flow control is supported in the existing > > driver at all, given this patch set. If it isn't supported without the > > firmware's > > help, then we should _not_ be negotiating flow control with

[PATCH v6] ehci: fix EHCI host controller initialization sequence

2021-01-10 Thread Eugene Korenevsky
According to EHCI spec, EHCI HC clears USBSTS.HCHalted whenever USBCMD.RS=1. However, it is a good practice to wait some time after setting USBCMD.RS (approximately 100ms) until USBSTS.HCHalted become zero. Without this waiting, VirtualBox's EHCI virtual HC accidentally hangs (see BugLink).

RE: [EXT] Re: [PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

2021-01-10 Thread Stefan Chulski
> Sorry, but that is not really a decision the driver can make. It is part of a > kernel > that _does_ support CPU hotplug, and the online CPUs can be changed today. > > It is likely that every distro out there builds the kernel with CPU hotplug > enabled. > > If changing the online CPUs causes

Malicious fs images was Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2021-01-10 Thread Pavel Machek
Hi! On Fri 2020-10-09 10:37:32, Theodore Y. Ts'o wrote: > On Thu, Oct 08, 2020 at 03:22:59PM -0700, Josh Triplett wrote: > > > > I wasn't trying to make a *new* general principle or policy. I was under > > the impression that this *was* the policy, because it never occurred to > > me that it

Re: [RFC PATCH v2 0/8] Count rlimits in each user namespace

2021-01-10 Thread Linus Torvalds
On Sun, Jan 10, 2021 at 9:34 AM Alexey Gladkov wrote: > > To address the problem, we bind rlimit counters to each user namespace. The > result is a tree of rlimit counters with the biggest value at the root (aka > init_user_ns). The rlimit counter increment/decrement occurs in the current > and

Re: Aw: [PATCH v2 3/3] regulator: mt6323: Add OF match table

2021-01-10 Thread Matthias Brugger
On 09/01/2021 17:44, Frank Wunderlich wrote: > Hi > >> Gesendet: Samstag, 09. Januar 2021 um 12:26 Uhr >> Von: matthias@kernel.org > >> Changes in v2: >> - check for CONFIG_OF >> - add Fixes tag > >> --- a/drivers/regulator/mt6323-regulator.c >> +++ b/drivers/regulator/mt6323-regulator.c

[GIT PULL] ARC fixes for 5.11-rc3

2021-01-10 Thread Vineet Gupta
Hi Linus, I ran into boot failures on ARC, which went unnoticed. This pull request addresses that. Thx, -Vineet --> The following changes since commit f6e7a024bfe5e11d91ccff46bb576e3fb5a516ea: Merge tag 'arc-5.11-rc3' of

[PATCH] scripts: mod: fix checkpatch.pl warnings

2021-01-10 Thread Dwaipayan Ray
Fix the following warnings in file2alias reported by checkpatch: CHECK: spaces preferred around that '*' (ctx:WxV) CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) CHECK: spaces preferred around that '&' (ctx:VxV) CHECK: braces {} should be used

RE: [EXT] Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Stefan Chulski
> > not connected to the GOP flow control generation mechanism. > > To solve this issue Armada has firmware running on CM3 CPU dedectated > > for Flow Control support. Firmware monitors Packet Processor resources > > and asserts XON/XOFF by writing to Ports Control 0 Register. > > What is the

[PATCH] ARM: dts: qcom: msm8974-klte: Fix shdc numbering

2021-01-10 Thread Alexey Minnekhanov
Since commit fa2d0aa96941 ("mmc: core: Allow setting slot index via device tree alias") proper aliases should be named "mmcN". Signed-off-by: Alexey Minnekhanov --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [EXT] Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 06:55:11PM +, Stefan Chulski wrote: > > > not connected to the GOP flow control generation mechanism. > > > To solve this issue Armada has firmware running on CM3 CPU dedectated > > > for Flow Control support. Firmware monitors Packet Processor resources > > > and

Re: [PATCH resend v13 5/5] leds: mt6360: Add LED driver for MT6360

2021-01-10 Thread Jacek Anaszewski
Hi Gene, On 12/24/20 2:47 AM, Gene Chen wrote: From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 3-channel RGB LED support Register/Flash/Breath Mode, and 1-channel for moonlight LED. You can carry my ack also for patches 4/5 and 5/5: Acked-by:

[PATCH 1/5] Input: omap4-keypad - disable unused long interrupts

2021-01-10 Thread Tony Lindgren
We are not using the long events and they produce extra interrupts. Let's not enable them at all. Note that also the v3.0.8 Linux Android kernel has long interrupts disabled. Cc: Arthur Demchenkov Cc: Carl Philipp Klemm Cc: Merlijn Wajer Cc: Pavel Machek Cc: ruleh Cc: Sebastian Reichel

[PATCHv5 0/5] Lost key-up interrupt handling for omap4-keypad

2021-01-10 Thread Tony Lindgren
Hi, This series updates omap4-keypad to disable unused long interrupts, and implements the missing parts for the lost key-up interrupt quirk as described in the silicon errata pdf. These are based on Linux next with the following pending patch applied: "Input: omap4-keypad - switch to use

[GIT PULL] SCSI fixes for 5.11-rc2

2021-01-10 Thread James Bottomley
This is two driver fixes (megaraid_sas and hisi_sas). The megaraid one is a revert of a previous revert of a cpu hotplug fix which exposed a bug in the block layer which has been fixed in this merge window and the hisi_sas performance enhancement comes from switching to interrupt managed

[PATCH 2/5] Input: omap4-keypad - scan keys in two phases and simplify with bitmask

2021-01-10 Thread Tony Lindgren
Because of errata i689 the keyboard can idle with state where no key up interrupts are seen until after the next key press. This means we need to first check for any lost key up events before scanning for new down events. For example, rapidly pressing shift-shift-j can sometimes produce a J

[PATCH 4/5] Input: omap4-keypad - use PM runtime autosuspend

2021-01-10 Thread Tony Lindgren
Implement PM runtime autosuspend support to prepare for adding handling to clear stuck last pressed key in the following patches. The hardware has support for autoidle and can wake up to keypress events. Cc: Arthur Demchenkov Cc: Carl Philipp Klemm Cc: Merlijn Wajer Cc: Pavel Machek Cc: ruleh

Re: [PATCH] fpga: dfl: fme: Constify static attribute_group structs

2021-01-10 Thread Moritz Fischer
On Sat, Jan 09, 2021 at 05:40:38PM -0800, Tom Rix wrote: > > On 1/9/21 2:52 PM, Rikard Falkeborn wrote: > > On Sat, Jan 09, 2021 at 01:55:13PM -0800, Tom Rix wrote: > >> On 1/8/21 3:54 PM, Rikard Falkeborn wrote: > >>> The only usage of these is to put their addresses in arrays of pointers > >>>

Re: [PATCH -next] fpga: Use DEFINE_SPINLOCK() for spinlock

2021-01-10 Thread Moritz Fischer
On Sat, Jan 09, 2021 at 02:08:53PM -0800, Tom Rix wrote: > > On 12/28/20 5:51 AM, Zheng Yongjun wrote: > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > > rather than explicitly calling spin_lock_init(). > > > > Signed-off-by: Zheng Yongjun > > This looks fine. > >

[PATCH 5/5] Input: omap4-keypad - implement errata check for lost key-up events

2021-01-10 Thread Tony Lindgren
We are still missing handling for errata i689 related issues for the case where we never see a key up interrupt for the last pressed key. To fix the issue, we must scan the key state again after the keyboard controller has idled to check if a key up event was missed. This is described in the

[PATCH 3/5] Input: omap4-keypad - move rest of key scanning to a separate function

2021-01-10 Thread Tony Lindgren
Let's move rest of the key scanning code to omap4_keypad_scan_keys(). We will use omap4_keypad_scan_keys() also for implementing errata handling to clear the stuck last key in the following patch. Cc: Arthur Demchenkov Cc: Carl Philipp Klemm Cc: Merlijn Wajer Cc: Pavel Machek Cc: ruleh Cc:

[PATCH] kbuild: partial revert of "remove cc-option test of -Werror=date-time"

2021-01-10 Thread Paul Gortmaker
In commit 87de84c9140e1ccb221c68bb7e4939e880b3f2bb ("kbuild: remove cc-option test of -Werror=date-time") the check for support of the date-time option was removed. However, by removing it from the top level Makefile, it breaks all the normal compiler version checks, because GCC fails at the

Re: [EXT] Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 06:55:11PM +, Stefan Chulski wrote: > > > not connected to the GOP flow control generation mechanism. > > > To solve this issue Armada has firmware running on CM3 CPU dedectated > > > for Flow Control support. Firmware monitors Packet Processor resources > > > and

RE: [EXT] Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Stefan Chulski
> > On Sun, Jan 10, 2021 at 06:55:11PM +, Stefan Chulski wrote: > > > > not connected to the GOP flow control generation mechanism. > > > > To solve this issue Armada has firmware running on CM3 CPU > > > > dedectated for Flow Control support. Firmware monitors Packet > > > > Processor

Re: [EXT] Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 07:11:53PM +, Stefan Chulski wrote: > > > > On Sun, Jan 10, 2021 at 06:55:11PM +, Stefan Chulski wrote: > > > > > not connected to the GOP flow control generation mechanism. > > > > > To solve this issue Armada has firmware running on CM3 CPU > > > > > dedectated

Re: Old platforms: bring out your dead

2021-01-10 Thread Arnd Bergmann
On Sun, Jan 10, 2021 at 7:12 PM Fabian Vogt wrote: > Am Samstag, 9. Januar 2021, 23:20:48 CET schrieb Arnd Bergmann: > > On Sat, Jan 9, 2021 at 1:06 AM Daniel Tang wrote: > > > > > > Hi Arnd, > > > > > > On 9 Jan 2021, at 9:55 am, Arnd Bergmann wrote: > > > > > > * nspire -- added in 2013, no

[PATCH net ] net: mvpp2: Remove Pause and Asym_Pause support

2021-01-10 Thread stefanc
From: Stefan Chulski Packet Processor hardware not connected to MAC flow control unit and cannot support TX flow control. This patch disable flow control support. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Signed-off-by: Stefan Chulski ---

Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

2021-01-10 Thread Linus Torvalds
On Sat, Jan 9, 2021 at 7:51 PM Linus Torvalds wrote: > > COW is about "I'm about to write to this page, and that means I need > an _exclusive_ page so that I don't write to a page that somebody else > is using". So this kind of fundamentally explains why I hate the games we used to play wrt

Re: [PATCH 1/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander

2021-01-10 Thread Linus Walleij
On Sun, Jan 10, 2021 at 3:32 PM AngeloGioacchino Del Regno wrote: > So, I've retried some basic usage of the regcache, relevant snippets here: > static bool aw9523_volatile_reg(struct device *dev, unsigned int reg) > { > > return reg == AW9523_REG_IN_STATE(0) || >reg ==

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-10 Thread Tom Rix
On 1/10/21 9:05 AM, Moritz Fischer wrote: > Tom, > > On Sun, Jan 10, 2021 at 07:46:29AM -0800, Tom Rix wrote: >> On 1/7/21 8:09 AM, Tom Rix wrote: >>> On 1/6/21 8:37 PM, Moritz Fischer wrote: This is a resend of the previous (unfortunately late) patchset of changes for FPGA DFL. >>> Is

[PATCH] arm64: dts: rockchip: rename pinctrl nodename to gmac2io for nanopi-r2s board

2021-01-10 Thread Johan Jonker
A test with the command below gives this error: /arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dt.yaml: ethernet-phy: 'reg' is a required property The pinctrl nodename "ethernet-phy" conflicts with the rules in the "ethernet-phy.yaml" document, so rename it to "gmac2io". make ARCH=arm64

Re: [PATCH 1/2] dt-bindings: arm: Convert nuvoton, npcm750 binding to YAML

2021-01-10 Thread Jonathan Neuschäfer
On Sun, Jan 10, 2021 at 11:18:46AM -0600, Rob Herring wrote: [...] > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > ./Documentation/devicetree/bindings/arm/npcm/npcm.yaml:20:13: [warning] wrong > indentation: expected 14 but found 12

Re: Old platforms: bring out your dead

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 06:27:12PM +0100, Arnd Bergmann wrote: > On Sun, Jan 10, 2021 at 5:48 PM Andrew Lunn wrote: > > > > > For this platform, I'm most interested in whether there are still users > > > that rely on board files instead of DT. AFAIU we could just fold > > > the DT variant into

[PATCH 0/2] arm64: small Kontron K-Box A-230-LS fixes

2021-01-10 Thread Michael Walle
This will enable the driver for the PHY found on this board as well as add SATA support. Michael Walle (2): arm64: defconfig: Enable Broadcom BCM54140 PHY arm64: dts: freescale: sl28: enable SATA support .../boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 4

[PATCH 2/2] arm64: dts: freescale: sl28: enable SATA support

2021-01-10 Thread Michael Walle
With a newer bootloader SATA might be used in a mPCI slot using a mSATA card. Enable the SATA controller on the Kontron K-Box LS-230-A which comes with such a slot. Signed-off-by: Michael Walle --- .../boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 4 1 file changed, 4

[PATCH 1/2] arm64: defconfig: Enable Broadcom BCM54140 PHY

2021-01-10 Thread Michael Walle
Enable support for the QuadPHY on the Kontron K-Box A-230-LS. Enable the driver as a module. Signed-off-by: Michael Walle --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

Re: [PATCH v5 0/2] UIO support for dfl devices

2021-01-10 Thread Moritz Fischer
Hi Xu, On Sat, Jan 02, 2021 at 11:13:00AM +0800, Xu Yilun wrote: > This patchset supports some dfl device drivers written in userspace. > > In the patchset v1, the "driver_override" interface should be used to bind > the DFL UIO driver to DFL devices. But there is concern that the >

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Heiko Stübner
Hi, Am Sonntag, 10. Januar 2021, 16:37:15 CET schrieb Chen-Yu Tsai: > > > + vcc_sd: sdmmc-regulator { > > > + compatible = "regulator-fixed"; > > > + gpio = < RK_PD6 GPIO_ACTIVE_LOW>; > > > + pinctrl-names = "default"; > > > + pinctrl-0 =

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-10 Thread Oliver Graute
On 10/01/21, Fabio Estevam wrote: > Hi Oliver, > > On Sun, Jan 10, 2021 at 12:35 PM Oliver Graute > wrote: > > > the first two errors are gone. But I still get this: > > > > [ 42.387107] mxsfb 21c8000.lcdif: Cannot connect bridge: -517 > > > > The panel is still off perhaps I miss something

Re: [GIT PULL] x86/urgent for v5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 11:34:36 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/x86_urgent_for_v5.11_rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a440e4d7618cbe232e4f96dea805bcb89f79b18c Thank you! --

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.11-3 tag

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 23:54:30 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.11-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b3cd1a16cc8829776523fcd114299373be4e5187 Thank you! --

Re: [GIT PULL] ARC fixes for 5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 18:49:21 +: > git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ > tags/arc-5.11-rc3-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0653161f0faca68b77b3f36fb4b4b9b8b07050e5 Thank you! --

Re: [PATCH v5 1/2] fpga: dfl: add the userspace I/O device support for DFL devices

2021-01-10 Thread Moritz Fischer
On Sat, Jan 02, 2021 at 11:13:01AM +0800, Xu Yilun wrote: > This patch supports the DFL drivers be written in userspace. This is > realized by exposing the userspace I/O device interfaces. > > The driver leverages the uio_pdrv_genirq, it adds the uio_pdrv_genirq > platform device with the DFL

Re: [PATCH v2 -next] media: zoran: convert comma to semicolon

2021-01-10 Thread LABBE Corentin
Le Fri, Jan 08, 2021 at 05:21:19PM +0800, Zheng Yongjun a écrit : > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun > --- > drivers/staging/media/zoran/zoran_driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [kbuild] drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c:443 sun8i_ss_hash_run() warn: possible memory leak of 'result'

2021-01-10 Thread LABBE Corentin
Le Thu, Jan 07, 2021 at 04:12:36PM +0300, Dan Carpenter a écrit : > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 > commit: d9b45418a91773b7672e4c60037a28074b495c6d crypto: sun8i-ss - support > hash

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Johan Jonker
Hi Chen-Yu, Most is already answered by Heiko. On 1/10/21 4:37 PM, Chen-Yu Tsai wrote: > Hi, > > On Sun, Jan 10, 2021 at 10:45 PM Johan Jonker wrote: >> >> Hi Chen-Yu, >> >> Some comments, have a look if it is useful... >> >> On 1/10/21 4:58 AM, Chen-Yu Tsai wrote: >>> From: Chen-Yu Tsai >>>

Re: [PATCH] Documentation: kbuild: Fix section reference

2021-01-10 Thread Masahiro Yamada
On Thu, Jan 7, 2021 at 8:42 PM Viresh Kumar wrote: > > Section 3.11 was incorrectly called 3.9, fix it. > > Signed-off-by: Viresh Kumar > --- > Documentation/kbuild/makefiles.rst | 2 +- Applied to linux-kbuild. Thanks. > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH 0/3] drm/sun4i: de2/de3: CSC improvements

2021-01-10 Thread Jernej Skrabec
This short series reworks CSC handling to remove duplicated constants (patch 1 and 2) and adds BT2020 encoding to DE3 (patch 3). Please take a look. Best regards, Jernej Jernej Skrabec (3): drm/sun4i: csc: Rework DE3 CSC macros drm/sun4i: de2/de3: Remove redundant CSC matrices drm/sun4i:

[PATCH 1/3] drm/sun4i: csc: Rework DE3 CSC macros

2021-01-10 Thread Jernej Skrabec
Rework DE3 CSC macros to take just one coordinate instead of two. This will make its usage easier in subsequent commit. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_csc.c | 2 +- drivers/gpu/drm/sun4i/sun8i_mixer.h | 6 ++ 2 files changed, 3 insertions(+), 5 deletions(-)

[PATCH 2/3] drm/sun4i: de2/de3: Remove redundant CSC matrices

2021-01-10 Thread Jernej Skrabec
YUV to RGB matrices are almost identical to YVU to RGB matrices. They only have second and third column reversed. Do that reversion in code in order to lower amount of static data and redundancy. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_csc.c | 99

[PATCH 3/3] drm/sun4i: Add support for BT2020 to DE3

2021-01-10 Thread Jernej Skrabec
DE3 supports 10-bit formats, so it's only naturally to also support BT2020 encoding. Add support for it. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_csc.c | 12 +++- drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-)

[GIT PULL] Kbuild fixes for v5.11-rc3

2021-01-10 Thread Masahiro Yamada
Hi Linus, Please pull some Kbuild fixes for v5.11-rc3 Thanks. The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at:

Re: [PATCH] scripts: mod: fix checkpatch.pl warnings

2021-01-10 Thread Randy Dunlap
Hi, On 1/10/21 10:57 AM, Dwaipayan Ray wrote: > Fix the following warnings in file2alias reported by > checkpatch: > > CHECK: spaces preferred around that '*' (ctx:WxV) > CHECK: spaces preferred around that '+' (ctx:VxV) > CHECK: spaces preferred around that '-' (ctx:VxV) > CHECK: spaces

Re: linux-next: build warning after merge of the f2fs tree

2021-01-10 Thread Stephen Rothwell
Hi Chao, On Thu, 7 Jan 2021 19:28:19 +0800 Chao Yu wrote: > > On 2021/1/7 11:11, Stephen Rothwell wrote: > > > > After merging the f2fs tree, today's linux-next build (htmldocs) produced > > this warning: > > > > Documentation/ABI/testing/sysfs-fs-f2fs:382: WARNING: Inline emphasis > >

[PATCH] Documentation: Replace lkml.org links with lore

2021-01-10 Thread Joe Perches
Replace the lkml.org links with lore to better use a single source that's more likely to stay available long-term. Done by bash script: cvt_lkml_to_lore () { tmpfile=$(mktemp ./.cvt_links.XXX) header=$(echo $1 | sed 's@/lkml/@/lkml/headers/@') wget -qO - $header > $tmpfile

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Mikulas Patocka
On Sun, 10 Jan 2021, Al Viro wrote: > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > >

Re: Expense of read_iter

2021-01-10 Thread Mikulas Patocka
On Sun, 10 Jan 2021, Matthew Wilcox wrote: > > That is the reason for that 10% degradation with read_iter. > > You seem to be focusing on your argument for "let's just permit > filesystems to implement both ->read and ->read_iter". My suggestion > is that we need to optimise the ->read_iter

[PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth

2021-01-10 Thread Jernej Skrabec
PineH64 model B has wifi+bt combo module. Wifi is already supported, so lets add also bluetooth node. Signed-off-by: Jernej Skrabec --- .../dts/allwinner/sun50i-h6-pine-h64-model-b.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git

Re: [GIT PULL] Staging driver fixes for 5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 15:10:02 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.11-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4ad9a28f56d70b950b1232151b2354636853727a Thank you! --

Re: [GIT PULL] USB driver fixes for 5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 15:10:56 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.11-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/28318f53503090fcd8fd27c49445396ea2ace44b Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] SCSI fixes for 5.11-rc2

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 11:05:27 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/688daed2e5daf0a1513effdc05ce3c56ade836f9 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Char/Misc driver fixes for 5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Jan 2021 15:09:30 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.11-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e07cd2f3e7e525fa8df334d11beceb4c1bdcc74e Thank you! --

Re: [GIT PULL] Kbuild fixes for v5.11-rc3

2021-01-10 Thread pr-tracker-bot
The pull request you sent on Mon, 11 Jan 2021 05:29:30 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v5.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/20210a98463e2abac31676ee141459fc23252927 Thank you! --

linux-next: build warning after merge of the scsi-fixes tree

2021-01-10 Thread Stephen Rothwell
Hi all, After merging the scsi-fixes tree, today's linux-next build (KCONFIG_NAME) produced this warning: Documentation/ABI/testing/sysfs-driver-ufs:915: WARNING: Malformed table. Text in column margin in table line 15. == 0 UFS device

Re: kernel BUG at mm/vmalloc.c:LINE! (2)

2021-01-10 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 537cf4e3cc2f6cc9088dcd6162de573f603adc29 Author: Magnus Karlsson Date: Fri Nov 20 11:53:39 2020 + xsk: Fix umem cleanup bug at socket destruct bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=139f3dfb50 start

Re: Old platforms: bring out your dead

2021-01-10 Thread Linus Walleij
On Sun, Jan 10, 2021 at 7:16 PM Fabian Vogt wrote: > Am Samstag, 9. Januar 2021, 23:20:48 CET schrieb Arnd Bergmann: > > On Sat, Jan 9, 2021 at 1:06 AM Daniel Tang wrote: > > > * nspire -- added in 2013, no notable changes after 2015 > > Most of the platform is just the DT sources and some

Re: INFO: trying to register non-static key in l2cap_sock_teardown_cb

2021-01-10 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:73b7a604 net: dsa: bcm_sf2: support BCM4908's integrated s.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12ec4a48d0 kernel config:

Re: Old platforms: bring out your dead

2021-01-10 Thread Sam Ravnborg
Hi all, > Hi Arnd! > > (Please let's have this cross-posted for more visibility. I only learned > about this > while reading Phoronix news) > > > I also looked at non-ARM platforms while preparing for my article. Some of > > these look like they are no longer actively maintained or used, but

[PATCH] block/rnbd-clt: improve find_or_create_sess() return check

2021-01-10 Thread trix
From: Tom Rix clang static analysis reports this problem rnbd-clt.c:1212:11: warning: Branch condition evaluates to a garbage value else if (!first) ^~ This is triggered in the find_and_get_or_create_sess() call because the variable first is not initialized and

Re: linux-next: build warning after merge of the scsi-fixes tree

2021-01-10 Thread Stephen Rothwell
Hi all, [Just cc'ing James] On Mon, 11 Jan 2021 08:31:45 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the scsi-fixes tree, today's linux-next build (KCONFIG_NAME) > produced this warning: > > Documentation/ABI/testing/sysfs-driver-ufs:915: WARNING: Malformed table. > Text in

arch/powerpc/kernel/head_44x.S:601: Error: invalid operands and sections) for `|'

2021-01-10 Thread kernel test robot
Hi Christophe, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0653161f0faca68b77b3f36fb4b4b9b8b07050e5 commit: 03fd42d458fb9cb69e712600bd69ff77ff3a45a8 powerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is

[drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-10 Thread Mikhail Gavrilov
Hi folks, today I joined to testing Kernel 5.11 and saw that the kernel log was flooded with BUG messages: BUG: sleeping function called from invalid context at mm/vmalloc.c:1756 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 266, name: kswapd0 INFO: lockdep is turned off. CPU: 15 PID: 266

linux-next: manual merge of the btrfs tree with the btrfs-fixes tree

2021-01-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the btrfs tree got conflicts in: fs/btrfs/inode.c fs/btrfs/space-info.c between commits: 3d45f221ce62 ("btrfs: fix deadlock when cloning inline extent and low on free metadata space") e076ab2a2ca7 ("btrfs: shrink delalloc pages instead of full

ERROR: modpost: ".printk" undefined!

2021-01-10 Thread kernel test robot
Hi Marc, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2ff90100ace886895e4fbb2850b8d5e49d931ed6 commit: 35556bed836f8dc07ac55f69c8d17dce3e7f0e25 HID: core: Sanitize event code and type when mapping input date:

[PATCH] rtc: opal: set range

2021-01-10 Thread Alexandre Belloni
It is a BCD RTC with 4 digits for the year. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-opal.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index 7b9f8bcf86fe..c586f695bdc9 100644 ---

[PATCH v7 04/28] coresight: tpiu: Prepare for using coresight device access abstraction

2021-01-10 Thread Suzuki K Poulose
Prepare the TPIU driver to make use of the CoreSight device access abstraction layer. The driver touches the device even before the coresight device is registered. Thus we could be accessing the devices without a csdev. As we are about to use the abstraction layer for accessing the device, pass in

[PATCH v7 01/28] coresight: etm4x: Handle access to TRCSSPCICRn

2021-01-10 Thread Suzuki K Poulose
TRCSSPCICR is present only if all of the following are true: TRCIDR4.NUMSSCC > n. TRCIDR4.NUMPC > 0b . TRCSSCSR.PC == 0b1 Add a helper function to check all the conditions. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes

Linux 5.11-rc3

2021-01-10 Thread Linus Torvalds
So in the rc2 announcement notes I thought we might have a slow week for rc3 as well due to people just coming back from vacations and it taking some time for bug reports etc to start tricking in. That turned out to be the incoherent ramblings of a crazy old man. Because while the week started

[PATCH v7 12/28] coresight: etm4x: Hide sysfs attributes for unavailable registers

2021-01-10 Thread Suzuki K Poulose
Some of the management registers in ETMv4.x are not accessible via system register instructions. Thus we must hide the sysfs files exposing them to the userspace, to prevent system crashes. This patch adds an is_visible() routine to control the visibility at runtime for the registers that may not

[PATCH v7 08/28] coresight: etm4x: Convert all register accesses

2021-01-10 Thread Suzuki K Poulose
Convert all register accesses from etm4x driver to use a wrapper to allow switching the access at runtime with little overhead. co-developed by sed tool ;-), mostly equivalent to : s/readl\(_relaxed\)\?(drvdata->base + \(.*\))/etm4x_\1_read32(csdev, \2) s/writel\(_relaxed\)\?(\(.*\),

[PATCH v7 11/28] coresight: etm4x: Add sysreg access helpers

2021-01-10 Thread Suzuki K Poulose
ETM architecture defines the system instructions for accessing via register accesses. Add basic support for accessing a given register via system instructions. We split the list of registers as : 1) Accessible only from memory mapped interface 2) Accessible from system register instructions.

[PATCH v7 00/28] coresight: etm4x: Support for system instructions

2021-01-10 Thread Suzuki K Poulose
CoreSight ETMv4.4 obsoletes memory mapped access to ETM and mandates the system instructions for registers. This also implies that they may not be on the amba bus. Right now all the CoreSight components are accessed via memory map. Also, we have some common routines in coresight generic code

[PATCH v7 03/28] coresight: Introduce device access abstraction

2021-01-10 Thread Suzuki K Poulose
We are about to introduce support for sysreg access to ETMv4.4+ component. Since there are generic routines that access the registers (e.g, CS_LOCK/UNLOCK , claim/disclaim operations, timeout) and in order to preserve the logic of these operations at a single place we introduce an abstraction

[PATCH v7 09/28] coresight: etm4x: Make offset available for sysfs attributes

2021-01-10 Thread Suzuki K Poulose
Some of the ETM management registers are not accessible via system instructions. Thus we need to filter accesses to these registers depending on the access mechanism for the ETM at runtime. The driver can cope with this for normal operation, by regular checks. But the driver also exposes them via

[PATCH v7 14/28] coresight: etm4x: Check for Software Lock

2021-01-10 Thread Suzuki K Poulose
The Software lock is not implemented for system instructions based accesses. So, skip the lock register access in such cases. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Change since v6: - Fixed indentation --- .../coresight/coresight-etm4x-core.c

[PATCH v7 02/28] coresight: etm4x: Skip accessing TRCPDCR in save/restore

2021-01-10 Thread Suzuki K Poulose
When the ETM is affected by Qualcomm errata, modifying the TRCPDCR could cause the system hang. Even though this is taken care of during enable/disable ETM, the ETM state save/restore could still access the TRCPDCR. Make sure we skip the access during the save/restore. Found by code inspection.

[PATCH v7 19/28] coresight: etm4x: Use TRCDEVARCH for component discovery

2021-01-10 Thread Suzuki K Poulose
We have been using TRCIDR1 for detecting the ETM version. This is in preparation for the future IP support. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../coresight/coresight-etm4x-core.c | 46 +-- 1 file changed, 23 insertions(+),

[PATCH v7 15/28] coresight: etm4x: Cleanup secure exception level masks

2021-01-10 Thread Suzuki K Poulose
We rely on the ETM architecture version to decide whether Secure EL2 is available on the CPU for excluding the level for address comparators and viewinst main control register. We must instead use the TRCDIDR3.EXLEVEL_S field to detect the supported levels. Reviewed-by: Mathieu Poirier

[PATCH v7 22/28] coresight: etm4x: Detect system instructions support

2021-01-10 Thread Suzuki K Poulose
ETM v4.4 onwards adds support for system instruction access to the ETM. Detect the support on an ETM and switch to using the mode when available. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../coresight/coresight-etm4x-core.c | 39

[PATCH v7 13/28] coresight: etm4x: Define DEVARCH register fields

2021-01-10 Thread Suzuki K Poulose
Define the fields of the DEVARCH register for identifying a component as an ETMv4.x unit. Going forward, we use the DEVARCH register for the component identification, rather than the TRCIDR3. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose ---

[PATCH v7 17/28] coresight: etm4x: Handle ETM architecture version

2021-01-10 Thread Suzuki K Poulose
We are about to rely on TRCDEVARCH for detecting the ETM and its architecture version, falling back to TRCIDR1 if the former is not implemented (in older broken implementations). Also, we use the architecture version information to make some decisions. Streamline the architecture version handling

[PATCH v7 26/28] dts: bindings: coresight: ETM system register access only units

2021-01-10 Thread Suzuki K Poulose
Document the bindings for ETMs with system register accesses. Cc: devicet...@vger.kernel.org Cc: Mathieu Poirier Cc: Mike Leach Acked-by: Rob Herring Signed-off-by: Suzuki K Poulose --- Documentation/devicetree/bindings/arm/coresight.txt | 5 - 1 file changed, 4 insertions(+), 1

[PATCH v7 28/28] coresight: Add support for v8.4 SelfHosted tracing

2021-01-10 Thread Suzuki K Poulose
From: Jonathan Zhou v8.4 tracing extensions added support for trace filtering controlled by TRFCR_ELx. This must be programmed to allow tracing at EL1/EL2 and EL0. The timestamp used is the virtual time. Also enable CONTEXIDR_EL2 tracing if we are running the kernel at EL2. Cc: Catalin Marinas

[PATCH v7 05/28] coresight: Convert coresight_timeout to use access abstraction

2021-01-10 Thread Suzuki K Poulose
Convert the generic routines to use the new access abstraction layer gradually, starting with coresigth_timeout. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since v4: - Remove stacking of parameters in coresight.h Changes since v3: - Fix style :

[PATCH v7 07/28] coresight: etm4x: Always read the registers on the host CPU

2021-01-10 Thread Suzuki K Poulose
As we are about to add support for sysreg access to ETM4.4+ components, make sure that we read the registers only on the host CPU. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../coresight/coresight-etm4x-sysfs.c | 23 --- 1 file

[PATCH v7 16/28] coresight: etm4x: Clean up exception level masks

2021-01-10 Thread Suzuki K Poulose
etm4_get_access_type() calculates the exception level bits for use in address comparator registers. This is also used by the TRCVICTLR register by shifting to the required position. This patch cleans up the logic to make etm4_get_access_type() calcualte a generic mask which can be used by all

[PATCH v7 24/28] coresight: etm4x: Run arch feature detection on the CPU

2021-01-10 Thread Suzuki K Poulose
As we are about to add support for system register based devices, we don't get an AMBA pid. So, the detection code could check the system registers running on the CPU to check for the architecture specific features. Thus we move the arch feature detection to run on the CPU. We cannot always read

[PATCH v7 18/28] coresight: etm4x: Detect access early on the target CPU

2021-01-10 Thread Suzuki K Poulose
In preparation to detect the support for system instruction support, move the detection of the device access to the target CPU. Cc: Mike Leach Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since v3 - Name constructs etm4_xx instead of etm_** (Mathieu) ---

<    1   2   3   4   5   6   >