[PATCH v2 2/5] ASoC: amd: Passing card structure based on codec

2020-07-28 Thread Ravulapati Vishnu vardhan rao
Passing specific snd_soc_card structure depending on the ACPI ID. In future we can add other IDs in the ACPI table and pass the structure. Signed-off-by: Ravulapati Vishnu vardhan rao --- sound/soc/amd/acp3x-rt5682-max9836.c | 25 - 1 file changed, 20 insertions(+), 5 de

[PATCH v2 3/5] ASoC: amd: Adding support for ALC1015 codec in machine driver

2020-07-28 Thread Ravulapati Vishnu vardhan rao
Adding support for ALC1015 RTK codec in machine driver. Passing specific card structure based on its ACPI ID. Signed-off-by: Ravulapati Vishnu vardhan rao --- sound/soc/amd/Kconfig| 1 + sound/soc/amd/acp3x-rt5682-max9836.c | 63 ++-- 2 files changed, 60

[PATCH v2 5/5] ASoC: amd: Added hw_params support for ALC1015

2020-07-28 Thread Ravulapati Vishnu vardhan rao
Adding rt1015 hw_params which set Bit-clock ratio, PLL and appropriate sys clk specific with RTK1015. Signed-off-by: Ravulapati Vishnu vardhan rao --- sound/soc/amd/acp3x-rt5682-max9836.c | 29 1 file changed, 29 insertions(+) diff --git a/sound/soc/amd/acp3x-rt568

[PATCH 2/2] ASoC: tlv320adcx140: Add GPO configuration and drive output config

2020-07-28 Thread Dan Murphy
Add General Purpose Output (GPO) configuration and driver output configuration. The GPOs can be configured as a GPO, IRQ, SDOUT or a PDMCLK output. In addition the output drive can be configured with various configurations. Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 50 ++

Re: [PATCH v2 2/5] perf record: Prevent override of attr->sample_period for libpfm4 events

2020-07-28 Thread Jiri Olsa
On Tue, Jul 28, 2020 at 05:59:46PM +0200, Jiri Olsa wrote: > On Tue, Jul 28, 2020 at 01:57:31AM -0700, Ian Rogers wrote: > > From: Stephane Eranian > > > > Before: > > $ perf record -c 1 --pfm-events=cycles:period=7 > > > > Would yield a cycles event with period=1, instead of 7.

[PATCH 1/2] dt-bindings: tlv320adcx140: Add GPO config and drive config

2020-07-28 Thread Dan Murphy
Add properties for configuring the General Purpose Outputs (GPO). The GPOs. There are 2 settings for each GPO, configuration and the output drive type. Signed-off-by: Dan Murphy --- .../bindings/sound/tlv320adcx140.yaml | 28 +++ 1 file changed, 28 insertions(+) diff --g

Re: [PATCH] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Jens Axboe
On 7/28/20 10:05 AM, Daniel Wagner wrote: > No need to define typedefs for the callbacks, because there is not a > single user except blk_mq_ops. Concept looks fine to me, but you're mixing indentations a bit. Just remove the indentation bits, we don't need them here. -- Jens Axboe

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Sean V Kelley
On 28 Jul 2020, at 6:27, Zhuo, Qiuxu wrote: From: Jonathan Cameron Sent: Monday, July 27, 2020 7:17 PM To: Kelley, Sean V Cc: bhelg...@google.com; r...@rjwysocki.net; ashok@kernel.org; Luck, Tony ; sathyanarayanan.kuppusw...@linux.intel.com; linux-...@vger.kernel.org; linux-kernel@vger

Re: [PATCH] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Daniel Wagner
On Tue, Jul 28, 2020 at 10:13:06AM -0600, Jens Axboe wrote: > On 7/28/20 10:05 AM, Daniel Wagner wrote: > > No need to define typedefs for the callbacks, because there is not a > > single user except blk_mq_ops. > > Concept looks fine to me, but you're mixing indentations a bit. Just > remove the

Re: [PATCH v2 2/3] sched: Cleanup SCHED_THERMAL_PRESSURE kconfig entry

2020-07-28 Thread Valentin Schneider
Hi, On 27/07/20 18:45, Dietmar Eggemann wrote: > On 27/07/2020 16:18, Qian Cai wrote: >> On Sun, Jul 12, 2020 at 05:59:16PM +0100, Valentin Schneider wrote: >>> As Russell pointed out [1], this option is severely lacking in the >>> documentation department, and figuring out if one has the requir

Re: [PATCH] drm/vkms: add missing drm_crtc_vblank_put to the get/put pair on flush

2020-07-28 Thread Sidong Yang
On Sun, Jul 26, 2020 at 12:26:08PM +0200, Daniel Vetter wrote: > On Sat, Jul 25, 2020 at 9:29 PM Melissa Wen wrote: > > > > On Sat, Jul 25, 2020 at 4:19 PM Melissa Wen wrote: > > > > > > > No, this very first warning continues (only once) :( > > > > From here (drm_crtc_vblank_on): > > > >

Re: [PATCH RFC leds + net-next v4 1/2] net: phy: add API for LEDs controlled by PHY HW

2020-07-28 Thread Andrew Lunn
> +static int of_phy_register_led(struct phy_device *phydev, struct device_node > *np) > +{ > + struct led_init_data init_data = {}; > + struct phy_device_led *led; > + u32 reg; > + int ret; > + > + ret = of_property_read_u32(np, "reg", ®); > + if (ret < 0) > +

Re: [PATCH] selinux: add tracepoint on denials

2020-07-28 Thread Stephen Smalley
On 7/28/20 12:02 PM, Thiébaud Weksteen wrote: On Tue, Jul 28, 2020 at 5:12 PM Paul Moore wrote: Perhaps it would be helpful if you provided an example of how one would be expected to use this new tracepoint? That would help put things in the proper perspective. The best example is the one I

Re: [PATCH] selinux: add tracepoint on denials

2020-07-28 Thread Paul Moore
On Tue, Jul 28, 2020 at 12:02 PM Thiébaud Weksteen wrote: > On Tue, Jul 28, 2020 at 5:12 PM Paul Moore wrote: > > Perhaps it would be helpful if you provided an example of how one > > would be expected to use this new tracepoint? That would help put > > things in the proper perspective. > > The

[PATCH v1] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Daniel Wagner
No need to define typedefs for the callbacks, because there is not a single user except blk_mq_ops. Signed-off-by: Daniel Wagner --- v1: updated indentation include/linux/blk-mq.h | 50 ++ 1 file changed, 18 insertions(+), 32 deletions(-) diff -

[PATCH v2] scripts/kernel-doc: optionally treat warnings as errors

2020-07-28 Thread Pierre-Louis Bossart
The kbuild bot recently added the W=1 option, which triggered documentation cleanups to squelch hundreds of kernel-doc warnings. To make sure new kernel contributions don't add regressions to kernel-doc descriptors, this patch suggests an option to treat warnings as errors in CI/automated tests.

Re: [RFC 2/2] KVM: VMX: Enable bus lock VM exit

2020-07-28 Thread Sean Christopherson
On Mon, Jul 27, 2020 at 12:38:53PM +0800, Xiaoyao Li wrote: > On 7/23/2020 9:21 AM, Sean Christopherson wrote: > >On Wed, Jul 01, 2020 at 04:49:49PM +0200, Vitaly Kuznetsov wrote: > >>Xiaoyao Li writes: > >>>So you want an exit to userspace for every bus lock and leave it all to > >>>userspace. Ye

Re: [PATCH v1] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Jens Axboe
On 7/28/20 10:20 AM, Daniel Wagner wrote: > No need to define typedefs for the callbacks, because there is not a > single user except blk_mq_ops. v2 I guess, but looks good to me, thanks. -- Jens Axboe

Covid 19 Wohltätigkeitsfonds

2020-07-28 Thread ''Tayeb Souami''
Lieber Freund, Ich bin Herr Tayeb Souami, New Jersey, Vereinigte Staaten von Amerika, der Mega-Gewinner von $ 315million In Mega Millions Jackpot, spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt.Ich habe den größten Teil

Re: [PATCH V3fix ghak120] audit: initialize context values in case of mandatory events

2020-07-28 Thread Richard Guy Briggs
On 2020-07-27 22:14, Paul Moore wrote: > On Mon, Jul 27, 2020 at 5:30 PM Richard Guy Briggs wrote: > > Issue ghak120 enabled syscall records to accompany required records when > > no rules are present to trigger the storage of syscall context. A > > reported issue showed that the cwd was not alwa

Re: [PATCH RFC leds + net-next v4 1/2] net: phy: add API for LEDs controlled by PHY HW

2020-07-28 Thread Andrew Lunn
> > @@ -736,6 +777,16 @@ struct phy_driver { > > int (*set_loopback)(struct phy_device *dev, bool enable); > > int (*get_sqi)(struct phy_device *dev); > > int (*get_sqi_max)(struct phy_device *dev); > > + > > + /* PHY LED support */ > > + int (*led_init)(struct phy_device *dev, stru

Re: [PATCH v3 1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-28 Thread Mark Brown
On Thu, 23 Jul 2020 11:08:37 -0500, Dan Murphy wrote: > Convert the TAS2562 text file to yaml format. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: tas2562: Convert the tas2562 binding to yaml commit: e35cf9f5edb18fd9daf1c6ba7

Re: [PATCH v4 1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-28 Thread Mark Brown
On Fri, 12 Jun 2020 12:14:11 -0500, Dan Murphy wrote: > Convert the TAS2562 text file to yaml format. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml (no commit info) [2/2] ASo

Re: [PATCH v3 1/3] spi: rockchip: Config spi rx dma burst size depend on xfer length

2020-07-28 Thread Mark Brown
On Thu, 23 Jul 2020 08:43:54 +0800, Jon Lin wrote: > The burst length can be adjusted according to the transmission > length to improve the transmission rate Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/3] spi: rockchip: Config spi rx dma bur

Re: [PATCH] spi: spidev: Align buffers for DMA

2020-07-28 Thread Mark Brown
On Tue, 28 Jul 2020 12:08:32 +0200, Christian Eggers wrote: > Simply copying all xfers from userspace into one bounce buffer causes > alignment problems if the SPI controller uses DMA. > > Ensure that all transfer data blocks within the rx and tx bounce buffers > are aligned for DMA (according to

Re: [PATCH v3 1/1] PCI/ATS: Check PRI supported on the PF device when SRIOV is enabled

2020-07-28 Thread Raj, Ashok
Hi Sasha On Mon, Jul 27, 2020 at 09:24:35PM +, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: b16d0cb9e2fc ("iommu/vt-d: Always enable PASID/PRI PCI > capabilities before ATS"). > > The bot has

Re: [PATCH] regulator: cros-ec-regulator: Fix double free of desc->name.

2020-07-28 Thread Mark Brown
On Tue, 28 Jul 2020 17:19:09 +0800, Pi-Hsun Shih wrote: > The desc->name field is allocated with devm_kstrdup, but is also kfreed > on the error path, causing it to be double freed. Remove the kfree on > the error path. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulat

Re: [PATCH v2] dt-bindings: sound: convert Everest ES8316 binding to yaml

2020-07-28 Thread Mark Brown
On Sat, 25 Jul 2020 00:59:33 +0900, Katsuhiro Suzuki wrote: > This patch converts Everest Semiconductor ES8316 low power audio > CODEC binding to DT schema. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: convert Everest ES8316 bindin

Re: [PATCH v3] spi: spi-topcliff-pch: drop call to wakeup-disable

2020-07-28 Thread Mark Brown
On Mon, 27 Jul 2020 22:59:37 +0530, Vaibhav Gupta wrote: > Before generic upgrade, both .suspend() and .resume() were invoking > pci_enable_wake(pci_dev, PCI_D3hot, 0). Hence, disabling wakeup in both > states. (Normal trend is .suspend() enables and .resume() disables the > wakeup.) > > This was

Re: [PATCH v2] spi: spi-topcliff-pch: drop call to wakeup-disable

2020-07-28 Thread Mark Brown
On Mon, 27 Jul 2020 18:47:43 +0530, Vaibhav Gupta wrote: > Before generic upgrade, both .suspend() and .resume() were invoking > pci_enable_wake(pci_dev, PCI_D3hot, 0). Hence, disabling wakeup in both > states. (Normal trend is .suspend() enables and .resume() disables the > wakeup.) > > This was

Re: [PATCH] net: tipc: fix general protection fault in tipc_conn_delete_sub

2020-07-28 Thread Ying Xue
On 7/27/20 10:24 PM, Greg KH wrote: diff --git a/net/tipc/topsrv.c b/net/tipc/topsrv.c index 1489cfb941d8..6c8d0c6bb112 100644 --- a/net/tipc/topsrv.c +++ b/net/tipc/topsrv.c @@ -255,6 +255,9 @@ static void tipc_conn_send_to_sock(struct tipc_conn *con) int

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Madhavan T. Venkataraman
Thanks. See inline.. On 7/28/20 10:13 AM, David Laight wrote: > From: madve...@linux.microsoft.com >> Sent: 28 July 2020 14:11 > ... >> The kernel creates the trampoline mapping without any permissions. When >> the trampoline is executed by user code, a page fault happens and the >> kernel gets c

Re: [PATCH net-next] liquidio: Remove unneeded cast from memory allocation

2020-07-28 Thread Derek Chickles
> From: Joe Perches > Subject: [EXT] Re: [PATCH net-next] liquidio: Remove unneeded cast from > memory allocation > > On Tue, 2020-07-28 at 15:39 +, Derek Chickles wrote: > > I think that is fine as well. We just used vmalloc since there is no > > need for a physically contiguous piece of mem

Re: [RFC PATCH v5 01/14] i2c: tegra: Don't mark VI I2C as IRQ safe runtime PM

2020-07-28 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:57:19PM -0700, Sowjanya Komatineni wrote: > Tegra VI I2C is part of VE power domain and typically used for > camera usecases. > > VE power domain is not always on and is non-IRQ safe. So, IRQ safe > device cannot be attached to a non-IRQ safe domain as it prevents > powe

Re: [RFC PATCH v5 04/14] i2c: tegra: Fix runtime resume to re-init VI I2C

2020-07-28 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:57:22PM -0700, Sowjanya Komatineni wrote: > VI I2C is on host1x bus and is part of VE power domain. > > During suspend/resume VE power domain goes through power off/on. > > So, controller reset followed by i2c re-initialization is required > after the domain power up. >

Re: [RFC PATCH v5 05/14] i2c: tegra: Avoid tegra_i2c_init_dma() for Tegra210 vi i2c

2020-07-28 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:57:23PM -0700, Sowjanya Komatineni wrote: > VI I2C is on host1x bus so APB DMA can't be used for Tegra210 VI > I2C and there are no tx and rx dma channels for VI I2C. > > So, avoid attempt of requesting DMA channels. > > Reviewed-by: Dmitry Osipenko > Signed-off-by: So

Re: [RFC PATCH v5 03/14] i2c: tegra: Fix the error path in tegra_i2c_runtime_resume

2020-07-28 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:57:21PM -0700, Sowjanya Komatineni wrote: > tegra_i2c_runtime_resume does not disable prior enabled clocks > properly. > > This patch fixes it. > > Reviewed-by: Dmitry Osipenko > Signed-off-by: Sowjanya Komatineni Applied to for-next, thanks! signature.asc Descrip

Re: [RFC PATCH v5 02/14] i2c: tegra: Remove NULL pointer check before clk_enable/disable/prepare/unprepare

2020-07-28 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:57:20PM -0700, Sowjanya Komatineni wrote: > clk_enable, clk_disable, clk_prepare, and clk_unprepare APIs have > implementation for checking clk pointer not NULL and clock consumers > can safely call these APIs without NULL pointer check. > > So, this patch cleans up Tegr

[PATCH 01/23] fs: refactor do_mount

2020-07-28 Thread Christoph Hellwig
Factor out a path_mount helper that takes a struct path * instead of the actual file name. This will allow to convert the init and devtmpfs code to properly mount based on a kernel pointer instead of relying on the implicit set_fs(KERNEL_DS) during early init. Signed-off-by: Christoph Hellwig --

[PATCH 02/23] fs: refactor ksys_umount

2020-07-28 Thread Christoph Hellwig
Factor out a path_umount helper that takes a struct path * instead of the actual file name. This will allow to convert the init and devtmpfs code to properly mount based on a kernel pointer instead of relying on the implicit set_fs(KERNEL_DS) during early init. Signed-off-by: Christoph Hellwig -

[PATCH 03/23] fs: push the getname from do_rmdir into the callers

2020-07-28 Thread Christoph Hellwig
This mirrors do_unlinkat and will make life a little easier for the init code to reuse the whole function with a kernel filename. Signed-off-by: Christoph Hellwig --- fs/internal.h| 2 +- fs/namei.c | 10 -- include/linux/syscalls.h | 4 ++-- 3 files changed,

[PATCH 10/23] init: add an init_unlink helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to unlink with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_unlink. Signed-off-by: Christoph Hellwig --- fs/init.c | 5 + include/linux/init_syscalls.h | 1 + include/linux/syscalls.h | 7 ---

[PATCH 15/23] init: add an init_chmod helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chmod with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 13 + fs/internal.h | 2 +- fs/open.c | 4 ++-- include/linux/init_syscalls

[PATCH 12/23] init: add an init_chdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chdir. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 2 +- fs/init.c | 16 fs/open.c

[PATCH 14/23] init: add an init_chown helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chown with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 18 ++ fs/internal.h | 2 +- fs/open.c | 2 +- include/linux/init_sysca

[PATCH 13/23] init: add an init_chroot helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chroot with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chroot. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 2 +- fs/init.c | 24 fs/open.c

[PATCH 18/23] init: add an init_symlink helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to symlink with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_symlink. Signed-off-by: Christoph Hellwig --- fs/init.c | 16 fs/internal.h | 2 -- fs/namei.c

[PATCH 23/23] init: add an init_dup helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to grab a reference to a file and install it at the next available fd, and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 12 include/linux/init_syscalls.h | 1 + init/main.c | 7 +++

[PATCH 20/23] init: add an init_mknod helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to mknod with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_mknod. Signed-off-by: Christoph Hellwig --- fs/init.c | 25 + fs/internal.h | 2 -- fs/namei.c

[PATCH 06/23] init: mark console_on_rootfs as __init

2020-07-28 Thread Christoph Hellwig
This helper is only used for the early init code. Signed-off-by: Christoph Hellwig --- init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/main.c b/init/main.c index c2c9143db96795..47698427b15f62 100644 --- a/init/main.c +++ b/init/main.c @@ -1458,7 +1458,7 @@ s

[PATCH 07/23] init: mark create_dev as __init

2020-07-28 Thread Christoph Hellwig
This helper is only used for the early init code. Signed-off-by: Christoph Hellwig --- init/do_mounts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/do_mounts.h b/init/do_mounts.h index c855b3f0e06d19..021e2f60223e25 100644 --- a/init/do_mounts.h +++ b/init/do_mounts.

[PATCH 21/23] init: add an init_stat helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to stat with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- drivers/md/md-autodetect.c| 3 ++- fs/init.c | 15 +++ include/linux/init_syscalls.h | 1 + init/initramfs.c

[PATCH 05/23] init: initialize ramdisk_execute_command at compile time

2020-07-28 Thread Christoph Hellwig
Set ramdisk_execute_command to "/init" at compile time. The command line can still override it, but this saves a few instructions and removes a NULL check. Signed-off-by: Christoph Hellwig --- init/main.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init/main.c b/ini

Re: [PATCH net-next v2] net: dsa: qca8k: Add 802.1q VLAN support

2020-07-28 Thread Vladimir Oltean
Hi Jonathan, On Sun, Jul 26, 2020 at 03:56:11PM +0100, Jonathan McDowell wrote: > This adds full 802.1q VLAN support to the qca8k, allowing the use of > vlan_filtering and more complicated bridging setups than allowed by > basic port VLAN support. > > Tested with a number of untagged ports with s

[PATCH 22/23] init: add an init_utimes helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to set timestamps with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 13 + include/linux/init_syscalls.h | 1 + init/initramfs.c | 3 +-- 3 files changed, 15

[PATCH 19/23] init: add an init_mkdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to mkdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_mkdir. Signed-off-by: Christoph Hellwig --- fs/init.c | 18 ++ fs/internal.h | 1 - fs/namei.c

[PATCH 11/23] init: add an init_rmdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to rmdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_rmdir. Signed-off-by: Christoph Hellwig --- fs/init.c | 5 + include/linux/init_syscalls.h | 1 + include/linux/syscalls.h | 7 --- i

[PATCH 17/23] init: add an init_link helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to link with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_link. Signed-off-by: Christoph Hellwig --- fs/init.c | 33 + fs/internal.h | 3 +-- fs/namei.c

[PATCH 16/23] init: add an init_eaccess helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to check if a file exists based on kernel space file name and switch the early init code over to it. Note that this theoretically changes behavior as it always is based on the effective permissions. But during early init that doesn't make a difference. Signed-off-by: Christop

[PATCH 08/23] init: add an init_mount helper

2020-07-28 Thread Christoph Hellwig
Like do_mount, but takes a kernel pointer for the destination path. Switch over the mounts in the init code and devtmpfs to it, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 5 +++

[PATCH 09/23] init: add an init_umount helper

2020-07-28 Thread Christoph Hellwig
Like ksys_umount, but takes a kernel pointer for the destination path. Switch over the umount in the init code, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now. Signed-off-by: Christoph Hellwig --- fs/init.c | 14 ++ fs/

[PATCH 04/23] devtmpfs: refactor devtmpfsd()

2020-07-28 Thread Christoph Hellwig
Split the main worker loop into a separate function. This allows devtmpfsd_setup to be marked __init, which will allows us to call __init routines for the setup work. devtmpfѕ itself needs a __ref marker for that to work, and a comment explaining why it works. Signed-off-by: Christoph Hellwig -

Re: [PATCH v2 1/2] i2c: smbus: add core function handling SMBus host-notify

2020-07-28 Thread Wolfram Sang
Hi Alain, > I've taken your comments and prepared a new serie including them. > I'll wait for the conclusion regarding the bindings before pushing it. Thanks! I hope we can finish the discussion this week because Linus hasn't made a clear statement if there will be an rc8. But I still think we ca

add file system helpers that take kernel pointers for the init code v4

2020-07-28 Thread Christoph Hellwig
Hi Al and Linus, currently a lot of the file system calls in the early in code (and the devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during boot. This is one of the few last remaining places we need to deal with to kill off set_fs entirely, so this series adds new helpers that take ker

Re: [PATCH v4 3/5] irqchip/irq-pruss-intc: Add logic for handling reserved interrupts

2020-07-28 Thread Marc Zyngier
On 2020-07-28 10:18, Grzegorz Jaszczyk wrote: From: Suman Anna The PRUSS INTC has a fixed number of output interrupt lines that are connected to a number of processors or other PRUSS instances or other devices (like DMA) on the SoC. The output interrupt lines 2 through 9 are usually connected t

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-07-28 Thread Jacob Keller
On 7/27/2020 4:02 AM, Moshe Shemesh wrote: > Introduce new option on devlink reload API to enable the user to select the > reload level required. Complete support for all levels in mlx5. > The following reload levels are supported: > driver: Driver entities re-instantiation only. So, this is

Re: [PATCH v4 2/2] MIPS: ingenic: Enable JZ4780_NEMC manually

2020-07-28 Thread Thomas Bogendoerfer
On Tue, Jul 28, 2020 at 02:00:35PM +0200, Krzysztof Kozlowski wrote: > On Tue, Jul 28, 2020 at 01:37:02PM +0200, Thomas Bogendoerfer wrote: > > On Tue, Jul 28, 2020 at 01:19:35PM +0200, Krzysztof Kozlowski wrote: > > > On Tue, Jul 28, 2020 at 01:12:11PM +0200, Paul Cercueil wrote: > > > > Hi Krzysz

Spende von 2.000.000,00 Euro.

2020-07-28 Thread manuel franco
Sie haben eine Spende von 2.000.000,00 Euro. Mein Name ist Manuel Franco aus den USA. Ich habe die America-Lotterie im Wert von 768 Millionen US-Dollar gewonnen und spende einen Teil davon an nur 5 glückliche Menschen und einige Waisenhäuser als Wohlwollen für die Menschheit.

URGENT RESPONSE

2020-07-28 Thread BILL Exchange manager & Audit Department
Dear Friend, I am Mr. KARIM TRAORE Working with a reputable bank here in Burkina Faso as the manager in audit department. During our last banking audits we discovered an abandoned account belongs to one of our deceased customer, late Mr. Hamid Amine Razzaq, a billionaire businessman. Meanw

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-07-28 Thread Jacob Keller
On 7/27/2020 10:25 PM, Vasundhara Volam wrote: > On Mon, Jul 27, 2020 at 4:36 PM Moshe Shemesh wrote: >> >> Introduce new option on devlink reload API to enable the user to select the >> reload level required. Complete support for all levels in mlx5. >> The following reload levels are supported

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Dhiraj Sharma
> As the bot said, only do one type of thing per patch, and "fix all > checkpatch errors/warnings" is not one type of thing. So should I send a fresh patch with minimal fixes? instead of replying to this mail with [PATCH 01]

[PATCH] ASoC: tlv320adcx140: Fix various style errors and warnings

2020-07-28 Thread Dan Murphy
Fix white space issues and remove else case where it was not needed. Convert "static const char *" to "static const char * const" Fixes: 689c7655b50 ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 12 ++-

Re: [PATCH v4] mm/hugetlb: add mempolicy check in the reservation routine

2020-07-28 Thread Mike Kravetz
On 7/28/20 6:24 AM, Baoquan He wrote: > Hi Muchun, > > On 07/28/20 at 11:49am, Muchun Song wrote: >> In the reservation routine, we only check whether the cpuset meets >> the memory allocation requirements. But we ignore the mempolicy of >> MPOL_BIND case. If someone mmap hugetlb succeeds, but the

Re: [PATCH net-next RFC 01/13] devlink: Add reload level option to devlink reload command

2020-07-28 Thread Jacob Keller
On 7/28/2020 6:58 AM, Jiri Pirko wrote: > Tue, Jul 28, 2020 at 02:58:02AM CEST, k...@kernel.org wrote: >> On Mon, 27 Jul 2020 14:02:21 +0300 Moshe Shemesh wrote: >>> Add devlink reload level to allow the user to request a specific reload >>> level. The level parameter is optional, if not specifi

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Julien Grall
Hi, On 27/07/2020 10:13, Roger Pau Monne wrote: To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory devices in order to create struct pages and kernel virtual mappings for the IOMEM areas of such devices. Note that on kerne

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Madhavan T. Venkataraman
Thanks. On 7/28/20 11:05 AM, Casey Schaufler wrote: >> In this solution, the kernel recognizes certain sequences of instructions >> as "well-known" trampolines. When such a trampoline is executed, a page >> fault happens because the trampoline page does not have execute permission. >> The kernel r

drivers/video/fbdev/imsttfb.c:1538:20: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 92ed301919932f13b9172e525674157e983d commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 6 weeks ago config: arm-randconfig-s032-20200728 (attached

Re: [PATCH v4 4/5] arm64: dts: sdm845: Add OPP tables and power-domains for venus

2020-07-28 Thread Lina Iyer
On Mon, Jul 27 2020 at 18:45 -0600, Stephen Boyd wrote: Quoting Lina Iyer (2020-07-24 09:28:25) On Fri, Jul 24 2020 at 03:03 -0600, Rajendra Nayak wrote: >Hi Maulik/Lina, > >On 7/23/2020 11:36 PM, Stanimir Varbanov wrote: >>Hi Rajendra, >> >>After applying 2,3 and 4/5 patches on linaro-integrati

[PATCH v2] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
Unregister from suspend notifications and cancel suspend preparations before running hci_dev_do_close. Otherwise, the suspend notifier may race with unregister and cause cmd_timeout even after hdev has been freed. Below is the trace from when this panic was seen: [ 832.578518] Bluetooth: hci_cor

Re: [PATCH v2] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
I sent this a bit too quick without a Fixes tag. Please disregard. v3 coming up. On Tue, Jul 28, 2020 at 9:53 AM Abhishek Pandit-Subedi wrote: > > Unregister from suspend notifications and cancel suspend preparations > before running hci_dev_do_close. Otherwise, the suspend notifier may > race wi

Re: [PATCH v1] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Bart Van Assche
On 2020-07-28 09:20, Daniel Wagner wrote: > No need to define typedefs for the callbacks, because there is not a > single user except blk_mq_ops. Thanks for having done this work. Reviewed-by: Bart Van Assche

[no subject]

2020-07-28 Thread Mrs Nicole Marois Benoite
Dear Beloved I am Mrs Nicole Benoite Marois and i have been suffering from ovarian cancer disease and the doctor says that i have just few days to leave. I am from (Paris) France but based in Africa Burkina Faso since eight years ago as a business woman dealing with gold exportation. Now that i a

Re: [PATCH] /proc/PID/smaps: Consistent whitespace output format

2020-07-28 Thread Yang Shi
On 7/28/20 1:32 AM, Michal Koutný wrote: The keys in smaps output are padded to fixed width with spaces. All except for THPeligible that uses tabs (only since commit c06306696f83 ("mm: thp: fix false negative of shmem vma's THP eligibility")). Unify the output formatting to save time debugging

[PATCH v3] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
Unregister from suspend notifications and cancel suspend preparations before running hci_dev_do_close. Otherwise, the suspend notifier may race with unregister and cause cmd_timeout even after hdev has been freed. Below is the trace from when this panic was seen: [ 832.578518] Bluetooth: hci_cor

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Greg KH
On Tue, Jul 28, 2020 at 10:13:22PM +0530, Dhiraj Sharma wrote: > > As the bot said, only do one type of thing per patch, and "fix all > > checkpatch errors/warnings" is not one type of thing. > > So should I send a fresh patch with minimal fixes? instead of replying > to this mail with [PATCH 01]

Re: [External] Re: [PATCH 1/2] ftrace: clear module from hash of all ftrace ops

2020-07-28 Thread Chengming Zhou
在 2020/7/28 下午8:53, Steven Rostedt 写道: On Tue, 28 Jul 2020 18:27:19 +0800 Chengming Zhou wrote: We should clear module from hash of all ops on ftrace_ops_list when module going, or the ops including these modules will be matched wrongly by new module loaded later. This is really up to the o

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Dhiraj Sharma
Alright sorry, I will ignore this patch and will commit the new patch in another file. On Tue, Jul 28, 2020 at 10:28 PM Greg KH wrote: > > On Tue, Jul 28, 2020 at 10:13:22PM +0530, Dhiraj Sharma wrote: > > > As the bot said, only do one type of thing per patch, and "fix all > > > checkpatch erro

RE: [RFC 0/7] Add support to process rx packets in thread

2020-07-28 Thread Rakesh Pillai
> -Original Message- > From: David Laight > Sent: Sunday, July 26, 2020 4:46 PM > To: 'Sebastian Gottschall' ; Hillf Danton > > Cc: Andrew Lunn ; Rakesh Pillai ; > net...@vger.kernel.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; ath...@lists.infradead.org; > dia

Re: [PATCH 04/23] devtmpfs: refactor devtmpfsd()

2020-07-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 06:33:57PM +0200, Christoph Hellwig wrote: > Split the main worker loop into a separate function. This allows > devtmpfsd_setup to be marked __init, which will allows us to call > __init routines for the setup work. devtmpfѕ itself needs a __ref > marker for that to work,

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Roger Pau Monné
On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: > Hi, > > On 27/07/2020 10:13, Roger Pau Monne wrote: > > To be used in order to create foreign mappings. This is based on the > > ZONE_DEVICE facility which is used by persistent memory devices in > > order to create struct pages and k

RE: [PATCH] ASoC: Intel: Atom: use hardware counter to update hw_ptr

2020-07-28 Thread Lu, Brent
> > So if there are already quirks in atom machine drivers to change the period > size, why is this patch necessary? > The story is: google implemented the constraint but doesn't know why it works so asked us to explain. After checking the two counters I realized the increase of ring buffer poi

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Jonathan Cameron
On Tue, 28 Jul 2020 09:14:11 -0700 Sean V Kelley wrote: > On 28 Jul 2020, at 6:27, Zhuo, Qiuxu wrote: > > >> From: Jonathan Cameron > >> Sent: Monday, July 27, 2020 7:17 PM > >> To: Kelley, Sean V > >> Cc: bhelg...@google.com; r...@rjwysocki.net; ashok@kernel.org; > >> Luck, > >> Tony ; >

[PATCH 1/1] USB: PHY: JZ4770: Fix static checker warning.

2020-07-28 Thread Zhou Yanjie
The commit 2a6c0b82e651 ("USB: PHY: JZ4770: Add support for new Ingenic SoCs.") introduced the initialization function for different chips, but left the relevant code involved in the resetting process in the original function, resulting in uninitialized variable calls. This problem can be solved by

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread James Morris
On Tue, 28 Jul 2020, Casey Schaufler wrote: > You could make a separate LSM to do these checks instead of limiting > it to SELinux. Your use case, your call, of course. It's not limited to SELinux. This is hooked via the LSM API and implementable by any LSM (similar to execmem, execstack etc.)

[PATCH 0/1] Fix static checker warning.

2020-07-28 Thread Zhou Yanjie
Fix the warning that appears during Static analysis. 周琰杰 (Zhou Yanjie) (1): USB: PHY: JZ4770: Fix static checker warning. drivers/usb/phy/phy-jz4770.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) -- 2.11.0

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Andrew Cooper
On 28/07/2020 17:59, Roger Pau Monné wrote: > On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: >> Hi, >> >> On 27/07/2020 10:13, Roger Pau Monne wrote: >>> To be used in order to create foreign mappings. This is based on the >>> ZONE_DEVICE facility which is used by persistent memory d

KASAN: out-of-bounds Read in ath9k_hif_usb_rx_cb (2)

2020-07-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:25252919 xhci: dbgtty: Make some functions static git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=164adf2890 kernel config: https:

Re: [PATCH] amdgpu_dm: fix nonblocking atomic commit use-after-free

2020-07-28 Thread Kazlauskas, Nicholas
On 2020-07-28 5:22 a.m., Paul Menzel wrote: Dear Linux folks, Am 25.07.20 um 07:20 schrieb Mazin Rezk: On Saturday, July 25, 2020 12:59 AM, Duncan wrote: On Sat, 25 Jul 2020 03:03:52 + Mazin Rezk wrote: Am 24.07.20 um 19:33 schrieb Kees Cook: There was a fix to disable the async path

[PATCH 1/3] iommu: amd: Fix kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/iommu/amd/init.c:1586: warning: Function parameter or member 'ivrs' not described in 'get_highest_supported_ivhd_type' drivers/iommu/amd/init.c:1938: warning: Function parameter or member 'iommu' not described in 'iommu_update_intcapx

[PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/dma-buf/dma-fence-chain.c:233: warning: Function parameter or member 'seqno' not described in 'dma_fence_chain_init' Signed-off-by: Krzysztof Kozlowski --- drivers/dma-buf/dma-fence-chain.c | 1 + 1 file changed, 1 insertion(+) diff --

<    3   4   5   6   7   8   9   10   11   12   >