Re: [RFC] treewide: cleanup unreachable breaks

2020-10-17 Thread Greg KH
On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > From: Tom Rix > > This is a upcoming change to clean up a new warning treewide. > I am wondering if the change could be one mega patch (see below) or > normal patch per file about 100 patches or somewhere half way by collecting >

RE: [PATCH v2 5/5] soc: imx8: Add the SC SECVIO driver

2020-10-17 Thread Aisheng Dong
> From: Shawn Guo > Sent: Wednesday, August 19, 2020 9:32 PM > > > > The SNVS is a hardware component in the imx8 SoC. One of its function > > is to detect hardware attacks, in which case it creates a SECurity > > VIOlation. > > > > This patch adds the support for the reception of these secvio

Re: [PATCH v39 13/24] x86/sgx: Add SGX_IOC_ENCLAVE_ADD_PAGES

2020-10-17 Thread Jarkko Sakkinen
On Fri, Oct 16, 2020 at 02:25:50PM -0700, Dave Hansen wrote: > > > +/** > > + * struct sgx_enclave_add_pages - parameter structure for the > > + *%SGX_IOC_ENCLAVE_ADD_PAGE ioctl > > + * @src: start address for the page data > > + * @offset:starting page

RE: [PATCH v2 4/5] dt-bindings: arm: imx: Documentation of the SC secvio driver

2020-10-17 Thread Aisheng Dong
> From: Franck Lenormand (OSS) > Sent: Tuesday, July 21, 2020 11:21 PM > > This patch adds the documentation for the SECurity VIOlation driver using the > SCU on imx8x and imx8q. > > Signed-off-by: Franck LENORMAND > --- > .../bindings/arm/freescale/fsl,imx-sc-secvio.yaml | 34 >

RE: [PATCH v2 3/5] dt-bindings: firmware: imx-scu: Add SECVIO resource

2020-10-17 Thread Aisheng Dong
> From: Franck Lenormand (OSS) > Sent: Tuesday, July 21, 2020 11:21 PM > > The SNVS can trigger interruption when detecting a SECurity VIOlation. > This patch adds the definition of the resource. > Not sure if the uppercase of 'SECurity VIOlation' is intended because it looks strange.

RE: [PATCH v2 2/5] firmware: imx: scu-irq: Add API to retrieve status of IRQ

2020-10-17 Thread Aisheng Dong
> From: Franck Lenormand (OSS) > Sent: Tuesday, July 21, 2020 11:21 PM > > This patch adds the API to retrieve the status of an IRQ. > > It also adds values used to process SECVIO IRQ from the SCU. > > Signed-off-by: Franck LENORMAND > --- > drivers/firmware/imx/imx-scu-irq.c | 37 >

drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!

2020-10-17 Thread kernel test robot
Hi Mauro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9d9af1007bc08971953ae915d88dc9bb21344b53 commit: d38c8cfb057183f619dc8534030bb64b63f78043 scripts: kernel-doc: add support for typedef enum date: 3 days

RE: [PATCH v2 1/5] firmware: imx: scu-seco: Add SEcure Controller APIS

2020-10-17 Thread Aisheng Dong
> From: Franck Lenormand (OSS) > Sent: Tuesday, July 21, 2020 11:21 PM > Subject: [PATCH v2 1/5] firmware: imx: scu-seco: Add SEcure Controller APIS Is 'Secure' intended? Not 'Secure'? > > This patch adds the APIs: > - imx_sc_seco_build_info: get commit and sha of SECO > -

Re: [PATCH v39 24/24] x86/sgx: Update MAINTAINERS

2020-10-17 Thread Jarkko Sakkinen
On Fri, Oct 16, 2020 at 02:04:05PM -0700, Dave Hansen wrote: > On 10/2/20 9:50 PM, Jarkko Sakkinen wrote: > > +INTEL SGX > > +M: Jarkko Sakkinen > > +M: Sean Christopherson > > +L: linux-...@vger.kernel.org > > +S: Maintained > > Should be Supported, not Maintained. Thanks, fixed. /Jarkko

Re: [PATCH v39 12/24] x86/sgx: Add SGX_IOC_ENCLAVE_CREATE

2020-10-17 Thread Jarkko Sakkinen
On Fri, Oct 16, 2020 at 10:07:47AM -0700, Dave Hansen wrote: > > +static u32 sgx_calc_ssa_frame_size(u32 miscselect, u64 xfrm) > > +{ > > + u32 size_max = PAGE_SIZE; > > + u32 size; > > + int i; > > + > > + for (i = 2; i < 64; i++) { > > Should this be: > > for (i = XFEATURE_YMM; i

drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!

2020-10-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9d9af1007bc08971953ae915d88dc9bb21344b53 commit: d38c8cfb057183f619dc8534030bb64b63f78043 scripts: kernel-doc: add support for typedef enum date: 3 days ago config: x86_64-rhel (attached as .config)

Re: [PATCH v1 09/29] virtio-mem: don't always trigger the workqueue when offlining memory

2020-10-17 Thread Wei Yang
On Fri, Oct 16, 2020 at 11:18:39AM +0200, David Hildenbrand wrote: >On 16.10.20 06:03, Wei Yang wrote: >> On Mon, Oct 12, 2020 at 02:53:03PM +0200, David Hildenbrand wrote: >>> Let's trigger from offlining code when we're not allowed to touch online Here "touch" means "unplug"? If so, maybe

Re: [PATCH] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 3:57 AM Matt Ranostay wrote: > > On Fri, Oct 16, 2020 at 11:41 AM Vaishnav M A > wrote: > > > > > > This patch aims to replace the of_property_read_u32 for reading > > the ams,tuning-capacitor-pf, ams,nflwdth properties with > > device_property_read_u32. > > > > Thanks

[PATCH v2] iio: light: vcnl4035 add i2c_device_id

2020-10-17 Thread Vaishnav M A
add i2c_device_id for the vcnl4035 driver so that the device can be instantiated using i2c_new_client_device or from userspace, useful in cases where device tree based description is not possible now(Eg. a device on a gbphy i2c adapter created by greybus) Signed-off-by: Vaishnav M A --- v2:

[PATCH v2] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-17 Thread Vaishnav M A
add i2c_device_id for the vl53l0x-i2c driver so that the device can be instantiated using i2c_new_client_device or from userspace, useful in cases where device tree based description is not possible now(Eg. a device on a gbphy i2c adapter created by greybus). Signed-off-by: Vaishnav M A --- v2:

[PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
replace the of_property_read_u32 for reading the amstaos,cover-comp-gain property with device_property_read_u32,allows the driver to get the properties information using the more generic device_property_* helpers and opens the possibility of passing the properties during platform instantiation of

[PATCH v2] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
replace the of_property_read_u32 for reading the ams,tuning-capacitor-pf, ams,nflwdth properties with device_property_read_u32, allows the driver to get the properties information using the more generic device_property_* helpers and opens the possibility of passing the properties during platform

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Colm MacCarthaigh
On 17 Oct 2020, at 6:24, Jason A. Donenfeld wrote: There are a few design goals of notifying userspace: it should be fast, because people who are using userspace RNGs are usually doing so in the first place to completely avoid syscall overhead for whatever high performance application they

[PATCH] fs/quota: update quota state flags scheme with project quota flags

2020-10-17 Thread Roman Anufriev
Current quota state flags scheme doesn't include project quota and thus shows all flags after DQUOT_USAGE_ENABLED wrong. Fix this and also add DQUOT_NOLIST_DIRTY to the scheme. Signed-off-by: Roman Anufriev --- include/linux/quota.h | 15 --- 1 file changed, 8 insertions(+), 7

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-17 Thread Leizhen (ThunderTown)
On 2020/10/17 3:27, Florian Fainelli wrote: > On 10/16/20 11:23 AM, Arnd Bergmann wrote: >> On Fri, Oct 16, 2020 at 6:48 PM Florian Fainelli >> wrote: >>> On 10/16/20 4:01 AM, Arnd Bergmann wrote: On Fri, Oct 16, 2020 at 11:09 AM Zhen Lei wrote: > > Suggested-by: Arnd

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Jann Horn
On Sat, Oct 17, 2020 at 8:09 PM Alexander Graf wrote: > There are applications way beyond that though. What do you do with > applications that already consumed randomness? For example a cached pool > of SSL keys. Or a higher level language primitive that consumes > randomness and caches its seed

[PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-10-17 Thread Lino Sanfilippo
Introduce an unlocked version of iio_map_array_unregister(). This function can help to unwind in case of error while the iio_map_list_lock mutex is held. Signed-off-by: Lino Sanfilippo --- drivers/iio/inkern.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-)

[PATCH 2/2] iio:core: In iio_map_array_register() cleanup in case of error.

2020-10-17 Thread Lino Sanfilippo
In function iio_map_array_register() properly rewind in case of error. Signed-off-by: Lino Sanfilippo --- drivers/iio/inkern.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index 39c1d63..fe30bcb 100644 --- a/drivers/iio/inkern.c +++

Re: [PATCH v2] iio:core: In map_array_register() cleanup in case of error

2020-10-17 Thread Lino Sanfilippo
Hi Andy, Thanks for you suggestion. I agree that it is nicer to reuse the cleanup in iio_map_array_unregister() than to reimplement it. However I would like to avoid dropping and regaining the mutex in case of error. What about the attached approach: Introduce an unlocked version of

Re: [RFC 13/13] m68k: mac: convert to generic clockevent

2020-10-17 Thread Finn Thain
On Thu, 15 Oct 2020, Arnd Bergmann wrote: > On Thu, Oct 15, 2020 at 3:19 AM Finn Thain wrote: > > > > On Sat, 10 Oct 2020, Arnd Bergmann wrote: > > > > > > Perhaps patch 13 does not belong in this series (?). > > > > > > > > All m68k platforms will need conversion before the TODO can be removed

Re: [PATCH v7 6/6] rcu/segcblist: Add additional comments to explain smp_mb()

2020-10-17 Thread joel
On Sat, Oct 17, 2020 at 03:29:54PM +0200, Frederic Weisbecker wrote: > On Fri, Oct 16, 2020 at 11:19:41PM -0400, j...@joelfernandes.org wrote: > > On Fri, Oct 16, 2020 at 09:27:53PM -0400, j...@joelfernandes.org wrote: > > [..] > > > > > + * > > > > > + * Memory barrier is needed after adding to

Re: [PATCH 3/3] serial: 8250_dw: Fix clk-notifier/port suspend deadlock

2020-10-17 Thread Jonathan Liu
On Wed, 23 Sep 2020 at 16:19, Serge Semin wrote: > > It has been discovered that there is a potential deadlock between > the clock-change-notifier thread and the UART port suspending one: > >CPU0 (suspend CPU/UART) CPU1 (update clock) > >

Re: [PATCH] fat: Add KUnit tests for checksums and timestamps

2020-10-17 Thread kernel test robot
-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/David-Gow/fat-Add-KUnit-tests-for-checksums-and-timestamps/20201017-144157 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 071a0578b0ce0b0e543d1e38ee6926b9cc21c198 config: m68k-allmodconfig

Re: autofs: use __kernel_write() for the autofs pipe writing causes regression in -next was Re: 5.9.0-next-20201015: autofs oops in update-binfmts

2020-10-17 Thread Linus Torvalds
On Sat, Oct 17, 2020 at 12:48 PM Pavel Machek wrote: > > But: you are the last one to sign it off, so I assume committed it to > git, and you are the one to talk to about fixing it. The thing is, the commit you point to - and the one I signed off on - is fine. The buggy one is in linux-next,

Re: [RESEND PATCH v2 0/3] NFS User Namespaces with new mount API

2020-10-17 Thread Sargun Dhillon
On Fri, Oct 16, 2020 at 05:45:47AM -0700, Sargun Dhillon wrote: > This patchset adds some functionality to allow NFS to be used from > NFS namespaces (containers). > > Changes since v1: > * Added samples > > Sargun Dhillon (3): > NFS: Use cred from fscontext during fsmount > samples/vfs:

Re: [PATCH v2] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-17 Thread Samuel Čavoj
Hello everyone. On 17.09.2020 15:34, Samuel Čavoj wrote: > The UX360CA has a WMI device id 0x00060062, which reports whether the > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > This commit adds a quirk (quirk_asus_use_lid_flip_devid) for devices on > which this WMI device

Re: Remove __napi_schedule_irqoff?

2020-10-17 Thread Jakub Kicinski
On Sat, 17 Oct 2020 15:45:57 +0200 Heiner Kallweit wrote: > When __napi_schedule_irqoff was added with bc9ad166e38a > ("net: introduce napi_schedule_irqoff()") the commit message stated: > "Many NIC drivers can use it from their hard IRQ handler instead of > generic variant." Eric, do you think

[bugreport] [5.10] DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww) We 'forgot' to unlock everything else first?

2020-10-17 Thread Mikhail Gavrilov
Hi folks. I observed this issue since 5.3 and it still happens with 5.10 git. This warning has reproductivity 100% reliable when I launch "Wolfenstein: Youngblood" version of Mesa doesn't matter. [73690.883948] [ cut here ] [73690.883953]

Re: [PATCH] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-17 Thread Matt Ranostay
On Fri, Oct 16, 2020 at 11:41 AM Vaishnav M A wrote: > > > This patch aims to replace the of_property_read_u32 for reading > the ams,tuning-capacitor-pf, ams,nflwdth properties with > device_property_read_u32. > > Thanks and Regards, > Vaishnav M A Could you explain a bit more in the commit

Re: [PATCH 2/2] mips: boot compressed: add support for vlinuz ELF DTB

2020-10-17 Thread John Thomson
I think it would be safer to make these changes by adding a different boot/compressed target: vmlinuz.elf? So that this would not break kernel build cases where both a normal RAW_APPENDED_DTB zImage is wanted, and additionally an ELF boot vmlinuz.elf. -- John Thomson

Re: [PATCH net-next 1/3] net: dsa: don't pass cloned skb's to drivers xmit function

2020-10-17 Thread Vladimir Oltean
On Sat, Oct 17, 2020 at 10:56:24PM +0200, Christian Eggers wrote: > The status page seems to be out of date: > http://vger.kernel.org/~davem/net-next.html Yeah, it can do that sometimes. Extremely rarely, but it happens. But net-next is still closed, nonetheless. > The FAQ says: "Do not send new

Re: [PATCH v4 1/2] dt-bindings: vendor-prefixes: Add kobol prefix

2020-10-17 Thread Uwe Kleine-König
Hi Rob, On 10/16/20 6:20 PM, Rob Herring wrote: > On Wed, 14 Oct 2020 22:00:29 +0200, Uwe Kleine-König wrote: >> The prefix is already used in arm/armada-388-helios4.dts. >> >> Signed-off-by: Uwe Kleine-König >> --- >> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ >> 1 file

Re: [PATCH] dt-bindings: pwm: mtk-disp: add MT8167 SoC binding

2020-10-17 Thread Uwe Kleine-König
On Fri, Oct 16, 2020 at 08:50:15PM +0200, Fabien Parent wrote: > Add binding for MT8167 SoC. The IP is compatible with MT8173. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] task_work: cleanup notification modes

2020-10-17 Thread Thomas Gleixner
On Sat, Oct 17 2020 at 15:03, Jens Axboe wrote: > On 10/17/20 3:01 PM, Thomas Gleixner wrote: >> Sure. I assume you ship it to Linus, otherwise let me know and I'll pick >> it up. > > I can, I have it bundled up with the TIF_NOTIFY_RESUME cleanup. Either > way is fine with me, so if you're good

Re: [Cocci] [PATCH v8] coccinelle: api: add kfree_mismatch script

2020-10-17 Thread Julia Lawall
On Fri, 16 Oct 2020, Denis Efremov wrote: > Check that alloc and free types of functions match each other. > > Signed-off-by: Denis Efremov Applied, thanks. > --- > Changes in v2: > - Lines are limited to 80 characters where possible > - Confidence changed from High to Medium because of >

[PATCH v5 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-17 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed control via PWM, reading fan speed and reading on-board temperature sensors. The driver registers a HWMON device and a simple thermal cooling device to enable in-kernel fan management. This driver depends on the iEi WT61P803

[PATCH v5 5/6] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-10-17 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v5 0/6] Add support for the iEi WT61P803 PUZZLE MCU

2020-10-17 Thread Luka Kovacic
This patchset adds support for the iEi WT61P803 PUZZLE microcontroller, which enables some board specific features like fan and LED control, system power management and temperature sensor reading on some iEi Puzzle series boards. The first board to use this functionality is iEi Puzzle-M801 1U

[PATCH v5 6/6] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-10-17 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 867157311dc8..d56fdc300066 100644 ---

[PATCH v5 2/6] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-10-17 Thread Luka Kovacic
Add a driver for the iEi WT61P803 PUZZLE microcontroller, used in some iEi Puzzle series devices. The microcontroller controls system power, temperature sensors, fans and LEDs. This driver implements the core functionality for device communication over the system serial (serdev bus). It handles

[PATCH v5 1/6] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-10-17 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++

[PATCH v5 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-17 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++

Re: [linux-stable-rc:linux-5.4.y 665/2391] drivers/android/binder.c:3776: Error: unrecognized keyword/register name `l.lwz

2020-10-17 Thread Stafford Horne
On Fri, Oct 16, 2020 at 11:06:38AM +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 16, 2020 at 08:05:17AM +0900, Stafford Horne wrote: > > On Fri, Oct 16, 2020, 6:46 AM Jann Horn wrote: > > > > > +openrisc folks > > > > > > On Thu, Oct 15, 2020 at 11:28 PM kernel test robot wrote: > > > > tree:

Re: [PATCH] task_work: cleanup notification modes

2020-10-17 Thread Jens Axboe
On 10/17/20 3:01 PM, Thomas Gleixner wrote: > Jens, > > On Sat, Oct 17 2020 at 14:32, Jens Axboe wrote: >> On 10/17/20 2:18 PM, Thomas Gleixner wrote: >> >> Thanks! Fixed the two typos, and also included the guest mode. If you're fine >> with it now, would be great to have your reviewed-by or

Re: [PATCH v39 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-10-17 Thread Jarkko Sakkinen
On Fri, Oct 16, 2020 at 06:48:53PM -0700, Andy Lutomirski wrote: > On Fri, Oct 2, 2020 at 9:51 PM Jarkko Sakkinen > wrote: > > > > From: Sean Christopherson > > > > An SGX runtime must be aware of the exceptions, which happen inside an > > enclave. Introduce a vDSO call that wraps EENTER/ERESUME

Re: [PATCH] task_work: cleanup notification modes

2020-10-17 Thread Thomas Gleixner
Jens, On Sat, Oct 17 2020 at 14:32, Jens Axboe wrote: > On 10/17/20 2:18 PM, Thomas Gleixner wrote: > > Thanks! Fixed the two typos, and also included the guest mode. If you're fine > with it now, would be great to have your reviewed-by or similar. Sure. I assume you ship it to Linus, otherwise

Re: [RFC] treewide: cleanup unreachable breaks

2020-10-17 Thread Dan Williams
On Sat, Oct 17, 2020 at 9:10 AM wrote: > > From: Tom Rix > > This is a upcoming change to clean up a new warning treewide. > I am wondering if the change could be one mega patch (see below) or > normal patch per file about 100 patches or somewhere half way by collecting > early acks. > > clang

[GIT PULL] uml updates for 5.10

2020-10-17 Thread Richard Weinberger
[re-sending, this time with Linus in the recipient list...] Linus, The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git

Re: [PATCH net-next 1/3] net: dsa: don't pass cloned skb's to drivers xmit function

2020-10-17 Thread Christian Eggers
On Saturday, 17 October 2020, 21:12:47 CEST, Vladimir Oltean wrote: > On Sat, Oct 17, 2020 at 08:53:19PM +0200, Christian Eggers wrote: > > > Does 1588 work for you using this change, or you haven't finished > > > implementing it yet? If you haven't, I would suggest finishing that > > > part

[tip:master] BUILD SUCCESS c8cd075be67b25278b7a2eb47b21002228a11b9c

2020-10-17 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a005-20201017 i386 randconfig-a006-20201017 i386 randconfig-a001-20201017 i386 randconfig-a003-20201017 i386 randconfig-a004

Re: [PATCH v39 00/24] Intel SGX foundations

2020-10-17 Thread Jarkko Sakkinen
On Thu, Oct 15, 2020 at 12:06:52PM -0700, Dave Hansen wrote: > On 10/2/20 9:50 PM, Jarkko Sakkinen wrote: > ... > > You can tell if your CPU supports SGX by looking into /proc/cpuinfo: > > > > cat /proc/cpuinfo | grep sgx > > This is only true *after* applying this series, right? Yes,

Re: [PATCH v1 2/2] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500

2020-10-17 Thread Andrew Lunn
> - err = mdiobus_register(priv->mii_bus); > + mdio_np = of_get_child_by_name(np, "mdio"); > + if (mdio_np) > + err = of_mdiobus_register(priv->mii_bus, mdio_np); > + else > + err = mdiobus_register(priv->mii_bus); of_mdiobus_register() will do the right

Re: [PATCH v1 1/2] net: ftgmac100: move phy connect out from ftgmac100_setup_mdio

2020-10-17 Thread Andrew Lunn
On Thu, Oct 15, 2020 at 03:49:16PM +0300, Ivan Mikhaylov wrote: > Split MDIO registration and PHY connect into ftgmac100_setup_mdio and > ftgmac100_mii_probe. > > Signed-off-by: Ivan Mikhaylov > --- > drivers/net/ethernet/faraday/ftgmac100.c | 92 > 1 file changed, 47

Re: [PATCH] task_work: cleanup notification modes

2020-10-17 Thread Jens Axboe
On 10/17/20 2:18 PM, Thomas Gleixner wrote: > On Sat, Oct 17 2020 at 09:36, Jens Axboe wrote: >> diff --git a/kernel/task_work.c b/kernel/task_work.c >> index 613b2d634af8..d82c224ab5d5 100644 >> --- a/kernel/task_work.c >> +++ b/kernel/task_work.c >> @@ -9,23 +9,28 @@ static struct callback_head

Re: [PATCH v7 6/6] rcu/segcblist: Add additional comments to explain smp_mb()

2020-10-17 Thread Alan Stern
[I sent this reply earlier, but since it hasn't shown up in the mailing list archives, I may have forgotten to include the proper CC's. At the risk of repeating myself, here it is again.] On Fri, Oct 16, 2020 at 11:19:41PM -0400, j...@joelfernandes.org wrote: > So I made a litmus test to show

Re: [PATCH] task_work: cleanup notification modes

2020-10-17 Thread Thomas Gleixner
On Sat, Oct 17 2020 at 09:36, Jens Axboe wrote: > diff --git a/kernel/task_work.c b/kernel/task_work.c > index 613b2d634af8..d82c224ab5d5 100644 > --- a/kernel/task_work.c > +++ b/kernel/task_work.c > @@ -9,23 +9,28 @@ static struct callback_head work_exited; /* all we need is > ->next == NULL */

[PATCH 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-10-17 Thread Kent Overstreet
Convert generic_file_buffered_read() to get pages to read from in batches, and then copy data to userspace from many pages at once - in particular, we now don't touch any cachelines that might be contended while we're in the loop to copy data to userspace. This is is a performance improvement on

[PATCH 0/2] generic_file_buffered_read() refactoring, perf improvements

2020-10-17 Thread Kent Overstreet
Rebased this patchset onto 5.9, I'd like to finally get this because generic_file_buffered_read() has turned into a real monstrosity to work with. And it's a major performance improvement, for both small random and large sequential reads. On my test box, 4k buffered random reads go from ~150k to

[PATCH 1/2] fs: Break generic_file_buffered_read up into multiple functions

2020-10-17 Thread Kent Overstreet
This is prep work for changing generic_file_buffered_read() to use find_get_pages_contig() to batch up all the pagecache lookups. This patch should be functionally identical to the existing code and changes as little as of the flow control as possible. More refactoring could be done, this patch

Re: [EXT] Re: [PATCH v4 03/13] task_isolation: userspace hard isolation from kernel

2020-10-17 Thread Thomas Gleixner
On Sat, Oct 17 2020 at 16:15, Alex Belits wrote: > On Sat, 2020-10-17 at 18:08 +0200, Thomas Gleixner wrote: >> On Sat, Oct 17 2020 at 01:08, Alex Belits wrote: >> > I think that the goal of "finding source of disturbance" interface >> > is >> > different from what can be accomplished by tracing

Re: [PATCH net] ravb: Fix bit fields checking in ravb_hwtstamp_get()

2020-10-17 Thread Sergei Shtylyov
Hello! On 10/1/20 10:13 AM, Andrew Gabbasov wrote: The patch was set to the "Changes Requested" state -- most probably because of this mail. Though unintentionally, it served to throttle actions on this patch. I did only remember about this patch yesterday... :-) [...] >> In the function

Re: autofs: use __kernel_write() for the autofs pipe writing causes regression in -next was Re: 5.9.0-next-20201015: autofs oops in update-binfmts

2020-10-17 Thread Pavel Machek
Hi! > > Bad Linus! > > Christ people. https://www.christpeople.church/ ? Those are unlikely to help, I'd say :-). > The bug is in linux-next, not in mainline. I've told the people > involved already over a week ago. Yes, I reported the bug against -next. But: you are the last one to sign it

[PATCH v3] mm: Optional full ASLR for mmap() and mremap()

2020-10-17 Thread Topi Miettinen
Writing a new value of 3 to /proc/sys/kernel/randomize_va_space enables full randomization of memory mappings created with mmap(NULL, ...). With 2, the base of the VMA used for such mappings is random, but the mappings are created in predictable places within the VMA and in sequential order. With

[GIT PULL] UBI and UBIFS fixes for 5.10

2020-10-17 Thread Richard Weinberger
Linus, sorry for sending you two UBIFS pull requests. for-linus-5.10-rc1-part2 is material from my fixes branch, the plan was sending it before the merge window closes but I got badly interrupted. Therefore I'm sending it parallel to my regular UBIFS pull request. The following changes since

[GIT PULL] UBIFS updates for 5.10

2020-10-17 Thread Richard Weinberger
Linus, The following changes since commit f4d51dffc6c01a9e94650d95ce0104964f8ae822: Linux 5.9-rc4 (2020-09-06 17:11:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/for-linus-5.10-rc1 for you to fetch changes up to

Re: [GIT PULL] perf tools changes for v5.10

2020-10-17 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 17:26:40 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-tools-for-v5.10-2020-10-15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9d9af1007bc08971953ae915d88dc9bb21344b53 Thank you! --

ERROR: "spurious_interrupt" undefined!

2020-10-17 Thread kernel test robot
config: mips-randconfig-r024-20201017 (attached as .config) compiler: mips64el-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH v3] Add support for mv88e6393x family of Marvell.

2020-10-17 Thread Andrew Lunn
> +static void mv88e6393x_phylink_validate(struct mv88e6xxx_chip *chip, int > port, > + unsigned long *mask, > + struct phylink_link_state *state) > +{ > + if (port == 0 || port >= 9) { > + phylink_set(mask,

Re: [PATCH] clk: qcom: gdsc: Keep RETAIN_FF bit set if gdsc is already on

2020-10-17 Thread Taniya Das
Reviewed-by: Taniya Das On 10/17/2020 7:31 AM, Stephen Boyd wrote: If the GDSC is enabled out of boot but doesn't have the retain ff bit set we will get confusing results where the registers that are powered by the GDSC lose their contents on the first power off of the GDSC but thereafter they

Re: [PATCH v3] ata: sata_rcar: Fix DMA boundary mask

2020-10-17 Thread Sergei Shtylyov
On 10/16/20 7:40 PM, Andy Shevchenko wrote: >> Before commit 9495b7e92f716ab2 ("driver core: platform: Initialize >> dma_parms for platform devices"), the R-Car SATA device didn't have DMA >> parameters. Hence the DMA boundary mask supplied by its driver was >> silently ignored, as

Re: [PATCH net-next 1/3] net: dsa: don't pass cloned skb's to drivers xmit function

2020-10-17 Thread Vladimir Oltean
On Sat, Oct 17, 2020 at 08:53:19PM +0200, Christian Eggers wrote: > > Does 1588 work for you using this change, or you haven't finished > > implementing it yet? If you haven't, I would suggest finishing that > > part first. > Yes it does. Just after finishing this topic, I would to sent the

Re: [Regression 5.9][Bisected 1df2bdba528b] Wifi GTK rekeying fails: Sending of EAPol packages broken

2020-10-17 Thread Mathy Vanhoef
I've managed to reproduce the issue, or at least a related issue. Can you try the draft patch below and see if that fixes it? [PATCH] mac80211: fix regression where EAPOL frames were sent in plaintext When sending EAPOL frames via NL80211 they are treated as injected frames in mac80211. Due to

[PATCH v5 1/3] dt-bindings: Add vendor prefix for Novatek Microelectronics Corp.

2020-10-17 Thread kholk11
From: AngeloGioacchino Del Regno Add prefix for Novatek Microelectronics Corp. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v5 2/3] Input: Add Novatek NT36xxx touchscreen driver

2020-10-17 Thread kholk11
From: AngeloGioacchino Del Regno This is a driver for the Novatek in-cell touch controller and supports various chips from the NT36xxx family, currently including NT36525, NT36672A, NT36676F, NT36772 and NT36870. Functionality like wake gestures and firmware flashing is not included: I am not

[PATCH v5 0/3] Add Novatek NT36xxx touchscreen driver

2020-10-17 Thread kholk11
From: AngeloGioacchino Del Regno This patch series adds support for the Novatek NT36xxx Series' In-Cell touchscreen (integrated into the DriverIC). This patch series has been tested against the following devices: - Sony Xperia 10(SDM630 Ganges Kirin) - Sony Xperia 10 Plus (SDM636

[PATCH v5 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-17 Thread kholk11
From: AngeloGioacchino Del Regno Add binding for the Novatek NT36xxx series touchscreen driver. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/input/touchscreen/nt36xxx.yaml | 59 +++ 1 file changed, 59 insertions(+) create mode 100644

Re: [Cocci] [RFC] treewide: cleanup unreachable breaks

2020-10-17 Thread Joe Perches
On Sat, 2020-10-17 at 20:21 +0200, Julia Lawall wrote: > On Sat, 17 Oct 2020, Joe Perches wrote: > > On Sat, 2020-10-17 at 09:09 -0700, t...@redhat.com wrote: > > > From: Tom Rix > > > > > > This is a upcoming change to clean up a new warning treewide. > > > I am wondering if the change could be

Re: [PATCH net-next 1/3] net: dsa: don't pass cloned skb's to drivers xmit function

2020-10-17 Thread Christian Eggers
Hi Vladimir, On Saturday, 17 October 2020, 02:48:16 CEST, Vladimir Oltean wrote: > On Fri, Oct 16, 2020 at 10:02:24PM +0200, Christian Eggers wrote: > > Ensure that the skb is not cloned and has enough tail room for the tail > > tag. This code will be removed from the drivers in the next commits.

[RFC PATCH iproute2] bridge: add support for L2 multicast groups

2020-10-17 Thread Vladimir Oltean
Extend the 'bridge mdb' command for the following syntax: bridge mdb add dev br0 port swp0 grp 01:02:03:04:05:06 permanent Signed-off-by: Vladimir Oltean --- bridge/mdb.c | 54 ++ include/uapi/linux/if_bridge.h | 2 ++ 2 files changed, 43

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-10-17 Thread Jason Gunthorpe
On Sat, Oct 17, 2020 at 11:21:51AM -0700, Linus Torvalds wrote: > On Fri, Oct 16, 2020 at 11:52 AM Jason Gunthorpe wrote: > > > > You'll need to apply this fixup to the merge commit (it is in the tag > > for-linus-merged for reference): > > Ugh. That's unbelievably and unnecessarily ugly. > >

[RFC PATCH] net: bridge: multicast: add support for L2 entries

2020-10-17 Thread Vladimir Oltean
From: Nikolay Aleksandrov Extend the bridge multicast control and data path to configure routes for L2 (non-IP) multicast groups. The uapi struct br_mdb_entry union u is extended with another variant, interpretation, mac_addr, which does not change the structure size, and which is valid when

drivers/hwspinlock/sprd_hwspinlock.c:141:34: warning: unused variable 'sprd_hwspinlock_of_match'

2020-10-17 Thread kernel test robot
Hi Baolin, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 071a0578b0ce0b0e543d1e38ee6926b9cc21c198 commit: ffd0bbfb378ecd56eac22bf932ccdbf89ac7f725 hwspinlock: Allow drivers to be built with COMPILE_TEST date:

Re: [GIT PULL] i3c: Changes for 5.10

2020-10-17 Thread pr-tracker-bot
The pull request you sent on Sat, 17 Oct 2020 10:02:47 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux.git tags/i3c/for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2a934b38c066ff221b08a9c703314a2a1c885dbd Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-10-17 Thread pr-tracker-bot
The pull request you sent on Fri, 16 Oct 2020 15:51:55 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a1e16bc7d5f7ca3599d8a7f061841c93a563665e Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] MTD updates for 5.10

2020-10-17 Thread pr-tracker-bot
The pull request you sent on Fri, 16 Oct 2020 14:14:19 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f78b9acf04fbf9ede7f4265e7282f9fb39d2c8c Thank you! -- Deet-doot-dot,

Re: [GIT PULL] thermal for v5.10-rc1

2020-10-17 Thread pr-tracker-bot
The pull request you sent on Fri, 16 Oct 2020 10:47:01 +0200: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git > tags/thermal-v5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5a77b6a0131f7197e1a037f65fc7cbabcb4fe680 Thank you! --

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-10-17 Thread Linus Torvalds
On Fri, Oct 16, 2020 at 11:52 AM Jason Gunthorpe wrote: > > You'll need to apply this fixup to the merge commit (it is in the tag > for-linus-merged for reference): Ugh. That's unbelievably and unnecessarily ugly. There's no point in that unnecessary "ret" variable and the "goto out" etc, when

Re: [Cocci] [RFC] treewide: cleanup unreachable breaks

2020-10-17 Thread Julia Lawall
On Sat, 17 Oct 2020, Joe Perches wrote: > On Sat, 2020-10-17 at 09:09 -0700, t...@redhat.com wrote: > > From: Tom Rix > > > > This is a upcoming change to clean up a new warning treewide. > > I am wondering if the change could be one mega patch (see below) or > > normal patch per file about

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Andy Lutomirski
On Fri, Oct 16, 2020 at 6:40 PM Jann Horn wrote: > > [adding some more people who are interested in RNG stuff: Andy, Jason, > Theodore, Willy Tarreau, Eric Biggers. also linux-api@, because this > concerns some pretty fundamental API stuff related to RNG usage] > > On Fri, Oct 16, 2020 at 4:33 PM

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Alexander Graf
Hi Jason, On 17.10.20 15:24, Jason A. Donenfeld wrote: After discussing this offline with Jann a bit, I have a few general comments on the design of this. First, the UUID communicated by the hypervisor should be consumed by the kernel -- added as another input to the rng -- and then userspace

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Catangiu, Adrian Costin
After discussing this offline with Jann a bit, I have a few general comments on the design of this. First, the UUID communicated by the hypervisor should be consumed by the kernel -- added as another input to the rng -- and then userspace should be notified that it should

Re: autofs: use __kernel_write() for the autofs pipe writing causes regression in -next was Re: 5.9.0-next-20201015: autofs oops in update-binfmts

2020-10-17 Thread Linus Torvalds
On Sat, Oct 17, 2020 at 3:02 AM Pavel Machek wrote: > > Bad Linus! Christ people. The bug is in linux-next, not in mainline. I've told the people involved already over a week ago. I can't do anything about linux-next being broken and people not fixing it. Linus

[PATCH v4] KVM: Check the allocation of pv cpu mask

2020-10-17 Thread lihaiwei . kernel
From: Haiwei Li check the allocation of per-cpu __pv_cpu_mask. Init 'send_IPI_mask_allbutself' only when successful and check the allocation of __pv_cpu_mask in 'kvm_flush_tlb_others'. Suggested-by: Vitaly Kuznetsov Signed-off-by: Haiwei Li --- v1 -> v2: * add CONFIG_SMP for

[PATCH v4] tee: add support for application-based session login methods

2020-10-17 Thread Elvira Khabirova
GP TEE Client API in addition to login methods already supported in the kernel also defines several application-based methods: TEEC_LOGIN_APPLICATION, TEEC_LOGIN_USER_APPLICATION, and TEEC_LOGIN_GROUP_APPLICATION. It specifies credentials generated for TEEC_LOGIN_APPLICATION as only depending on

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-17 Thread Eric W. Biederman
"Enrico Weigelt, metux IT consult" writes: > On 30.08.20 16:39, Christian Brauner wrote: > > Hi Christian, > >> P1. Isolated id mappings can only be guaranteed to be locally isolated. >> A container runtime/daemon can only guarantee non-overlapping id mappings >> when no other users on

  1   2   3   >