Re: [PATCH] crypto: sun8i-ce - Fix runtime PM imbalance in sun8i_ce_cipher_init

2020-06-23 Thread Maxime Ripard
On Mon, Jun 22, 2020 at 07:50:08PM +0200, Markus Elfring wrote: > > Fix this by … > > Please replace the beginning of this sentence with the tag “Fixes”. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=625d3449788f8556909678

Re: [PATCH] ibft: Replace zero-length array with flexible-array

2020-06-23 Thread Konrad Rzeszutek Wilk
On Thu, May 21, 2020 at 01:32:35PM -0500, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping: who can take this? It is in the tree. Let me send out a git pull to Linus in a week or two. Thanks! > > Thanks > -- > Gustavo > > On Thu, May 07, 2020 at 01:55:44PM -0500, Gustavo A. R. Silva wrot

[PATCH net-next v10 0/5] RGMII Internal delay common property

2020-06-23 Thread Dan Murphy
Hello The RGMII internal delay is a common setting found in most RGMII capable PHY devices. It was found that many vendor specific device tree properties exist to do the same function. This creates a common property to be used for PHY's that have internal delays for the Rx and Tx paths. If the i

[PATCH net-next v10 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-23 Thread Dan Murphy
Add a helper function that will return the index in the array for the passed in internal delay value. The helper requires the array, size and delay value. The helper will then return the index for the exact match or return the index for the index to the closest smaller value. Signed-off-by: Dan

[PATCH net-next v10 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-23 Thread Dan Murphy
tx-internal-delays and rx-internal-delays are a common setting for RGMII capable devices. These properties are used when the phy-mode or phy-controller is set to rgmii-id, rgmii-rxid or rgmii-txid. These modes indicate to the controller that the PHY will add the internal delay for the connection.

RE: [PATCH 1/1] power_supply: wilco_ec: Add permanent long life charging mode

2020-06-23 Thread Mario.Limonciello
> -Original Message- > From: Crag Wang > Sent: Tuesday, June 23, 2020 3:20 AM > To: Sebastian Reichel > Cc: math...@chromium.org; Limonciello, Mario; Wang, Crag; linux- > p...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH 1/1] power_supply: wilco_ec: Add permanent long li

[PATCH net-next v10 3/5] dt-bindings: net: Add RGMII internal delay for DP83869

2020-06-23 Thread Dan Murphy
Add the internal delay values into the header and update the binding with the internal delay properties. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ti,dp83869.yaml | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bi

[PATCH net-next v10 4/5] net: dp83869: Add RGMII internal delay configuration

2020-06-23 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 53 --- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 53ed3abc26c9..581

[PATCH net-next v10 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-23 Thread Dan Murphy
The DP83822 can be configured to use the RGMII interface. There are independent fixed 3.5ns clock shift (aka internal delay) for the TX and RX paths. This allow either one to be set if the MII interface is RGMII and the value is set in the firmware node. Signed-off-by: Dan Murphy --- drivers/net

[PATCH v2 net 0/9] net: qed/qede: various stability fixes

2020-06-23 Thread Alexander Lobakin
This set addresses several near-critical issues that were observed and reproduced on different test and production configurations. v2: - don't split the "Fixes:" tag across several lines in patch 9; - no functional changes. Alexander Lobakin (9): net: qed: fix left elements count calculation

Re: [PATCH v7 00/19] The new cgroup slab memory controller

2020-06-23 Thread Vlastimil Babka
On 6/23/20 3:58 AM, Roman Gushchin wrote: > This is v7 of the slab cgroup controller rework. Hi, As you and Jesper did those measurements on v6, and are sending v7, it would be great to put some summary in the cover letter? Thanks, Vlastimil > The patchset moves the accounting from the page lev

[PATCH v2 net 1/9] net: qed: fix left elements count calculation

2020-06-23 Thread Alexander Lobakin
qed_chain_get_element_left{,_u32} returned 0 when the difference between producer and consumer page count was equal to the total page count. Fix this by conditional expanding of producer value (vs unconditional). This allowed to eliminate normalizaton against total page count, which was the cause o

[PATCH v2 net 7/9] net: qede: fix use-after-free on recovery and AER handling

2020-06-23 Thread Alexander Lobakin
Set edev->cdev pointer to NULL after calling remove() callback to avoid using of already freed object. Fixes: ccc67ef50b90 ("qede: Error recovery process") Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede_mai

[PATCH v2 net 4/9] net: qed: fix NVMe login fails over VFs

2020-06-23 Thread Alexander Lobakin
25ms sleep cycles in waiting for PF response are excessive and may lead to different timeout failures. Start to wait with short udelays, and in most cases polling will end here. If the time was not sufficient, switch to msleeps. usleep_range() may go far beyond 100us depending on platform and tick

Re: [PATCH v2 3/6] spi: dw: Add Microchip Sparx5 support

2020-06-23 Thread Lars Povlsen
Mark Brown writes: On Mon, Jun 22, 2020 at 12:46:33PM +0200, Lars Povlsen wrote: >> On Fri, Jun 19, 2020 at 01:31:18PM +0200, Lars Povlsen wrote: > >> >> + if (!nEnable) { >> >> + /* Ensure CS toggles, so start off all disabled */ >> >> + regmap_write(dwsmscc->syscon, SPARX5_FORC

[PATCH v2 net 9/9] net: qed: fix "maybe uninitialized" warning

2020-06-23 Thread Alexander Lobakin
Variable 'abs_ppfid' in qed_dev.c:qed_llh_add_mac_filter() always gets printed, but is initialized only under 'ref_cnt == 1' condition. This results in: In file included from ./include/linux/kernel.h:15:0, from ./include/asm-generic/bug.h:19, from ./arch/x86/inclu

[PATCH v2 net 5/9] net: qed: fix excessive QM ILT lines consumption

2020-06-23 Thread Alexander Lobakin
This is likely a copy'n'paste mistake. The amount of ILT lines to reserve for a single VF was being multiplied by the total VFs count. This led to a huge redundancy in reservation and potential lines drainouts. Fixes: 1408cc1fa48c ("qed: Introduce VFs") Signed-off-by: Alexander Lobakin Signed-off

[PATCH v2 net 3/9] net: qede: stop adding events on an already destroyed workqueue

2020-06-23 Thread Alexander Lobakin
Set rdma_wq pointer to NULL after destroying the workqueue and check for it when adding new events to fix crashes on driver unload. Fixes: cee9fbd8e2e9 ("qede: Add qedr framework") Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh Signed-off-by: Michal Kalderon --- drivers/net/ethe

[GIT PULL] Btrfs fixes for 5.8-rc3

2020-06-23 Thread David Sterba
Hi, a number of fixes, located in two areas, one performance fix and one fixup for better integration with another patchset. Please pull, thanks. - bug fixes in nowait aio: - fix snapshot creation hang after nowait-aio was used - fix failure to write to prealloc extent past EOF - don't blo

[PATCH v2 net 8/9] net: qed: reset ILT block sizes before recomputing to fix crashes

2020-06-23 Thread Alexander Lobakin
Sizes of all ILT blocks must be reset before ILT recomputing when disabling clients, or memory allocation may exceed ILT shadow array and provoke system crashes. Fixes: 1408cc1fa48c ("qed: Introduce VFs") Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh Signed-off-by: Michal Kaldero

[PATCH v2 net 2/9] net: qed: fix async event callbacks unregistering

2020-06-23 Thread Alexander Lobakin
qed_spq_unregister_async_cb() should be called before qed_rdma_info_free() to avoid crash-spawning uses-after-free. Instead of calling it from each subsystem exit code, do it in one place on PF down. Fixes: 291d57f67d24 ("qed: Fix rdma_info structure allocation") Signed-off-by: Alexander Lobakin

[PATCH v2 net 6/9] net: qede: fix PTP initialization on recovery

2020-06-23 Thread Alexander Lobakin
Currently PTP cyclecounter and timecounter are initialized only on the first probing and are cleaned up during removal. This means that PTP becomes non-functional after device recovery. Fix this by unconditional PTP initialization on probing and clearing Tx pending bit on exiting. Fixes: ccc67ef50

Re: [PATCH] binder: fix null deref of proc->context

2020-06-23 Thread Joel Fernandes
On Mon, Jun 22, 2020 at 4:07 PM 'Todd Kjos' via kernel-team wrote: > > The binder driver makes the assumption proc->context pointer is invariant > after > initialization (as documented in the kerneldoc header for struct proc). > However, in commit f0fe2c0f050d ("binder: prevent UAF for binderfs d

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-06-23 Thread Andrew Cooper
On 23/06/2020 13:47, Peter Zijlstra wrote: > On Tue, Jun 23, 2020 at 12:51:03PM +0100, Andrew Cooper wrote: > >> There are cases which are definitely non-recoverable. >> >> For both ES and SNP, a malicious hypervisor can mess with the guest >> physmap to make the the NMI, #VC and #DF stacks all ali

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-06-23 Thread Peter Zijlstra
On Tue, Jun 23, 2020 at 03:40:03PM +0200, Joerg Roedel wrote: > On Tue, Jun 23, 2020 at 02:52:01PM +0200, Peter Zijlstra wrote: > > You only have that guarantee when any SNP #VC from kernel is an > > automatic panic. But in that case, what's the point of having the > > recursion count? > > It is

Re: [PATCH][next] mm/zswap: fix a couple of memory leaks and rework kzalloc failure check

2020-06-23 Thread Vitaly Wool
On Tue, Jun 23, 2020, 1:12 PM Colin Ian King wrote: > > On 22/06/2020 20:55, Song Bao Hua (Barry Song) wrote: > > > > > >> -Original Message- > >> From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > >> Sent: Tuesday, June 23, 2020 6:28 AM > >> To: Colin King > >> Cc: Seth Jennings ; D

Re: [PATCH] ima: extend boot_aggregate with kernel measurements

2020-06-23 Thread Mimi Zohar
Hi Maurizio, When re-posting patches, please include the version number (e.g. [PATCH v4] ima: ... ). On Mon, 2020-06-22 at 00:50 -0400, Maurizio Drocco wrote: > IMA is not considering TPM registers 8-9 when calculating the boot > aggregate. This line is unnecessary with the following change. >

Re: [PATCH v2] hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist

2020-06-23 Thread Guenter Roeck
On Sun, Jun 21, 2020 at 12:52:48AM -0400, Jeffrey Lin wrote: > This allows manual PWM control without the BIOS fighting back on Dell > Latitude 5480. > > Signed-off-by: Jeffrey Lin > Acked-by: Pali Rohár Applied. Thanks, Guenter > --- > > The last email should have been labeled v2, apologies

Re: [PATCH v6] hwmon:(adm1275) Enable adm1278 ADM1278_TEMP1_EN

2020-06-23 Thread Guenter Roeck
On Mon, Jun 22, 2020 at 09:07:27PM +0530, Manikandan Elumalai wrote: > The adm1278 temp attribute need it for openbmc platform . > This feature not enabled by default, so PMON_CONFIG needs to enable it. > > Reported-by: kernel test robot > Signed-off-by: Manikandan Elumalai Applied. Thanks, Gu

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-06-23 Thread Michael Zhivich
> From: Jonas Bonn > To: Paolo Abeni , > "net...@vger.kernel.org" , > LKML , > "David S . Miller" , > John Fastabend > Subject: Re: Packet gets stuck in NOLOCK pfifo_fast qdisc > Date: Fri, 11 Oct 2019 02:39:48 +0200 > Message-ID: <465a540e-5296-32e7-f6a6-79942dfe2...@netr

Re: [PATCH v2 3/6] spi: dw: Add Microchip Sparx5 support

2020-06-23 Thread Mark Brown
On Tue, Jun 23, 2020 at 03:53:22PM +0200, Lars Povlsen wrote: > Mark Brown writes: > >If there's a mux that needs to be handled specially that mux should be > >described in DT on the relevant boards, there shouldn't just be > >something hard coded in the controller driver. > I looked at the spi-m

Re: [PATCH 2/2] hwmon: (gsc): add 16bit pre-scaled voltage mode

2020-06-23 Thread Guenter Roeck
On Tue, Jun 09, 2020 at 07:57:20AM -0700, Tim Harvey wrote: > add a 16-bit pre-scaled voltage mode to adc and clarify that existing > pre-scaled mode is 24bit. > > Signed-off-by: Tim Harvey > Reviewed-by: Guenter Roeck Applied. Thanks, Guenter > --- > drivers/hwmon/gsc-hwmon.c

Re: [RFC][PATCH v5 00/51] objtool: Make recordmcount a subcommand

2020-06-23 Thread Matt Helsley
On Thu, Jun 18, 2020 at 01:37:46PM -0700, Matt Helsley wrote: > recordmcount has its own ELF wrapper code and could utilize > objtool's ELF code to more-portably handle architecture variations. > This series makes recordmcount a subcommand of objtool. It very > gradually converts recordmcount to be

linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-06-23 Thread Christian Borntraeger
Jens Markwardt reported a regression in the linux-next runs. with "umh: fix processed error when UMH_WAIT_PROC is used" (from linux-next) a linux bridge with an KVM guests no longer activates : without patch # ip addr show dev virbr1 6: virbr1: mtu 1500 qdisc noqueue state UP group default qlen

Are you interested?

2020-06-23 Thread Yingluck Shinawatra
Hi, Greetings, I am Yingluck Shinawatra, a former Thailand Prime minister. I have a business proposal for you which will be highly beneficial to you. I will give you more details as soon as I receive your reply. Thanks, Yingluck Shinawatra Former Prime Minister of Thailand. Email: yinglucko

[PATCH] staging: rts5208: fix memleaks on error handling paths in probe

2020-06-23 Thread Evgeny Novikov
rtsx_probe() allocates host, but does not free it on error handling paths. The patch adds missed scsi_host_put(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov --- drivers/staging/rts5208/rtsx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/d

[PATCH net-next] mlxsw: spectrum_dcb: Fix a spelling typo in spectrum_dcb.c

2020-06-23 Thread Masanari Iida
This patch fixes a spelling typo in spectrum_dcb.c Signed-off-by: Masanari Iida --- drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c b/drivers/net/ethernet/mellanox/mlxsw/spe

Re: [PATCH] sound: usb: quirks: add quirk for Samsung USBC Headset (AKG)

2020-06-23 Thread Takashi Iwai
On Tue, 23 Jun 2020 13:03:23 +0200, Macpaul Lin wrote: > > We've found Samsung USBC Headset (AKG) (VID: 0x04e8, PID: 0xa051) > need a tiny delay after each class compliant request. > Otherwise the device might not be able to be recognized each times. > > Signed-off-by: Chihhao Chen > Signed-off-

drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-23 Thread kernel test robot
: x86_64-randconfig-r004-20200623 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 1d4c87335d5236ea1f35937e1014980ba961ae34) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

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

2020-06-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dd0d718152e4c65b173070d48ea9dfc06894c3e5 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 5 days ago config: parisc-randconfig-s032-20200623

Re: [PATCH v1] ARM: imx6plus: enable internal routing of clk_enet_ref where possible

2020-06-23 Thread Fabio Estevam
Hi Sven, On Sat, Jun 13, 2020 at 5:17 PM Sven Van Asbroeck wrote: > + /* > +* On imx6 plus, enet_ref from ANATOP/CCM can be internally routed to > +* be the PTP clock source, instead of having to be routed through > +* pads. > +* Board designs which route th

[PATCH v2 1/2] cpufreq: Register governors at core_initcall

2020-06-23 Thread Quentin Perret
Currently, most CPUFreq governors are registered at core_initcall time when used as default, and module_init otherwise. In preparation for letting users specify the default governor on the kernel command line, change all of them to use core_initcall unconditionally, as is already the case for sched

[PATCH v2 0/2] cpufreq: Specify the default governor on command line

2020-06-23 Thread Quentin Perret
This series enables users of prebuilt kernels (e.g. distro kernels) to specify their CPUfreq governor of choice using the kernel command line, instead of having to wait for the system to fully boot to userspace to switch using the sysfs interface. This is helpful for 2 reasons: 1. users get to ch

[PATCH v2 2/2] cpufreq: Specify default governor on command line

2020-06-23 Thread Quentin Perret
Currently, the only way to specify the default CPUfreq governor is via Kconfig options, which suits users who can build the kernel themselves perfectly. However, for those who use a distro-like kernel (such as Android, with the Generic Kernel Image project), the only way to use a different default

krzysztof/for-next bisection: baseline.dmesg.crit on bcm2837-rpi-3-b

2020-06-23 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem

RE: [PATCH v2] dmabuf: use spinlock to access dmabuf->name

2020-06-23 Thread Ruhl, Michael J
>-Original Message- >From: charante=codeaurora@mg.codeaurora.org > On Behalf Of Charan Teja >Kalla >Sent: Tuesday, June 23, 2020 7:34 AM >To: Ruhl, Michael J ; Sumit Semwal >; david.lai...@aculab.com; open list:DMA >BUFFER SHARING FRAMEWORK ; DRI mailing >list >Cc: Linaro MM SIG ; LKML

[PATCH v2 0/8] virt: vbox: Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl

2020-06-23 Thread Hans de Goede
Hi All, Here is v2 of my vboxguest driver patch-set adding support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl which is necessary to make guest resizing work with the new(ish) VMSVGA emulation in vbox + some other small fixes. The only change since v2 is rate-limiting the error-logging

[PATCH v2 2/8] virt: vbox: Fix guest capabilities mask check

2020-06-23 Thread Hans de Goede
Check the passed in capabilities against VMMDEV_GUEST_CAPABILITIES_MASK instead of against VMMDEV_EVENT_VALID_EVENT_MASK. This tightens the allowed mask from 0x7ff to 0x7. Fixes: 0ba002bc4393 ("virt: Add vboxguest driver for Virtual Box Guest integration") Cc: sta...@vger.kernel.org Signed-off-by

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-06-23 Thread Christian Borntraeger
On 23.06.20 16:11, Christian Borntraeger wrote: > Jens Markwardt reported a regression in the linux-next runs. with "umh: fix > processed error when UMH_WAIT_PROC is used" (from linux-next) a linux bridge > with an KVM guests no longer activates : > > without patch > # ip addr show dev virbr1

[PATCH v2 3/8] virt: vbox: Rename guest_caps struct members to set_guest_caps

2020-06-23 Thread Hans de Goede
Rename guest_caps[_tracker] struct members to set_guest_caps[_tracker] this is a preparation patch for adding support for the VBGL_IOCTL_GUEST_CAPS_ACQUIRE ioctl. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 20 ++-- drivers/virt/vboxguest/vboxguest_

[PATCH v2 4/8] virt: vbox: Add vbg_set_host_capabilities() helper function

2020-06-23 Thread Hans de Goede
Add vbg_set_host_capabilities() helper function, this is a preparation patch for adding support for the VBGL_IOCTL_GUEST_CAPS_ACQUIRE ioctl. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 79 ++--- 1 file changed, 46 insertions(+), 33 deletions(-)

[PATCH v2 5/8] virt: vbox: Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl

2020-06-23 Thread Hans de Goede
Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl, this is necessary for automatic resizing of the guest resolution to match the VM-window size to work with the new VMSVGA virtual GPU which is now the new default in VirtualBox. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=

[PATCH v2 1/8] virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream

2020-06-23 Thread Hans de Goede
Until this commit the mainline kernel version (this version) of the vboxguest module contained a bug where it defined VBGL_IOCTL_VMMDEV_REQUEST_BIG and VBGL_IOCTL_LOG using _IOC(_IOC_READ | _IOC_WRITE, 'V', ...) instead of _IO(V, ...) as the out of tree VirtualBox upstream version does. Since the

[PATCH v2 7/8] virt: vbox: Log unknown ioctl requests as error

2020-06-23 Thread Hans de Goede
Every now and then upstream adds new ioctls without notifying us, log unknown ioctl requests as an error to catch these. Signed-off-by: Hans de Goede --- Changes in v2: - Rate-limit the error logging to avoid userspace potentially DOS-ing the log --- drivers/virt/vboxguest/vboxguest_core.c | 2

[PATCH v2 6/8] virt: vbox: Add a few new vmmdev request types to the userspace whitelist

2020-06-23 Thread Hans de Goede
Upstream VirtualBox has defined and is using a few new request types for vmmdev requests passed through /dev/vboxguest to the hypervisor. Add the defines for these to vbox_vmmdev_types.h and add add them to the whitelists of vmmdev requests which userspace is allowed to make. BugLink: https://bug

[PATCH v2 8/8] virt: vbox: Fix some comments which talk about the "session spinlock"

2020-06-23 Thread Hans de Goede
The session lock is a mutex, not a spinlock, fix the comments to match. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virt/vboxguest/vboxguest_core.c b/drivers/virt/vboxguest/vboxguest_cor

Re: linux-next: build failures after merge of the hid tree

2020-06-23 Thread Benjamin Tissoires
[adding Cristian, the author of the patch] On Tue, Jun 23, 2020 at 2:37 AM Stephen Rothwell wrote: > > Hi all, > > On Sun, 21 Jun 2020 14:04:21 +1000 Stephen Rothwell > wrote: > > > > After merging the hid tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > drive

[PATCH net-next v2 0/5] hinic: add some ethtool ops support

2020-06-23 Thread Luo bin
patch #1: support to set and get pause params with "ethtool -A/a" cmd patch #2: support to set and get irq coalesce params with "ethtool -C/c" cmd patch #3: support to do self test with "ethtool -t" cmd patch #4: support to identify physical device with "ethtool -p" cmd patch #5

[PATCH net-next v2 1/5] hinic: add support to set and get pause params

2020-06-23 Thread Luo bin
add support to set pause params with ethtool -A and get pause params with ethtool -a. Also remove set_link_ksettings ops for VF and enable pause by default. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 96 ++- .../net/ethernet/huawei/hinic/hinic_hw_d

[PATCH net-next v2 5/5] hinic: add support to get eeprom information

2020-06-23 Thread Luo bin
add support to get eeprom information from the plug-in module with ethtool -m cmd. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 69 + .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 4 + .../net/ethernet/huawei/hinic/hinic_port.c| 75 +++

[PATCH net-next v2 3/5] hinic: add self test support

2020-06-23 Thread Luo bin
add support to excute internal and external loopback test with ethtool -t cmd. Signed-off-by: Luo bin --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 6 + .../net/ethernet/huawei/hinic/hinic_ethtool.c | 178 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 3 + .../net/

[PATCH net-next v2 2/5] hinic: add support to set and get irq coalesce

2020-06-23 Thread Luo bin
add support to set TX/RX irq coalesce params with ethtool -C and get these params with ethtool -c. Signed-off-by: Luo bin --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 8 + .../net/ethernet/huawei/hinic/hinic_ethtool.c | 294 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.

[PATCH net-next v2 4/5] hinic: add support to identify physical device

2020-06-23 Thread Luo bin
add support to identify physical device by flashing an LED attached to it with ethtool -p cmd. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 41 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.c | 2 + .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 1 +

[PATCH v2 4/8] virt: vbox: Add vbg_set_host_capabilities() helper function

2020-06-23 Thread Hans de Goede
Add vbg_set_host_capabilities() helper function, this is a preparation patch for adding support for the VBGL_IOCTL_GUEST_CAPS_ACQUIRE ioctl. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 79 ++--- 1 file changed, 46 insertions(+), 33 deletions(-)

[PATCH v2 1/8] virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream

2020-06-23 Thread Hans de Goede
Until this commit the mainline kernel version (this version) of the vboxguest module contained a bug where it defined VBGL_IOCTL_VMMDEV_REQUEST_BIG and VBGL_IOCTL_LOG using _IOC(_IOC_READ | _IOC_WRITE, 'V', ...) instead of _IO(V, ...) as the out of tree VirtualBox upstream version does. Since the

[PATCH v2 5/8] virt: vbox: Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl

2020-06-23 Thread Hans de Goede
Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl, this is necessary for automatic resizing of the guest resolution to match the VM-window size to work with the new VMSVGA virtual GPU which is now the new default in VirtualBox. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=

[PATCH v2 2/8] virt: vbox: Fix guest capabilities mask check

2020-06-23 Thread Hans de Goede
Check the passed in capabilities against VMMDEV_GUEST_CAPABILITIES_MASK instead of against VMMDEV_EVENT_VALID_EVENT_MASK. This tightens the allowed mask from 0x7ff to 0x7. Fixes: 0ba002bc4393 ("virt: Add vboxguest driver for Virtual Box Guest integration") Cc: sta...@vger.kernel.org Signed-off-by

[PATCH v2 8/8] virt: vbox: Fix some comments which talk about the "session spinlock"

2020-06-23 Thread Hans de Goede
The session lock is a mutex, not a spinlock, fix the comments to match. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virt/vboxguest/vboxguest_core.c b/drivers/virt/vboxguest/vboxguest_cor

[PATCH v2 7/8] virt: vbox: Log unknown ioctl requests as error

2020-06-23 Thread Hans de Goede
Every now and then upstream adds new ioctls without notifying us, log unknown ioctl requests as an error to catch these. Signed-off-by: Hans de Goede --- Changes in v2: - Rate-limit the error logging to avoid userspace potentially DOS-ing the log --- drivers/virt/vboxguest/vboxguest_core.c | 2

Re: [RESEND PATCH v2 1/2] PM / domains: Introduce multi PM domains helpers

2020-06-23 Thread kernel test robot
Hi Daniel, I love your patch! Perhaps something to improve: [auto build test WARNING on pm/linux-next] [also build test WARNING on shawnguo/for-next linux/master linus/master v5.8-rc2 next-20200623] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

[PATCH v2 0/8 resend] virt: vbox: Add support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl

2020-06-23 Thread Hans de Goede
Hi All, Here is v2 of my vboxguest driver patch-set adding support for the new VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES ioctl which is necessary to make guest resizing work with the new(ish) VMSVGA emulation in vbox + some other small fixes. The only change since v2 is rate-limiting the error-loggi

[PATCH v2 6/8] virt: vbox: Add a few new vmmdev request types to the userspace whitelist

2020-06-23 Thread Hans de Goede
Upstream VirtualBox has defined and is using a few new request types for vmmdev requests passed through /dev/vboxguest to the hypervisor. Add the defines for these to vbox_vmmdev_types.h and add add them to the whitelists of vmmdev requests which userspace is allowed to make. BugLink: https://bug

[PATCH v2 3/8] virt: vbox: Rename guest_caps struct members to set_guest_caps

2020-06-23 Thread Hans de Goede
Rename guest_caps[_tracker] struct members to set_guest_caps[_tracker] this is a preparation patch for adding support for the VBGL_IOCTL_GUEST_CAPS_ACQUIRE ioctl. Signed-off-by: Hans de Goede --- drivers/virt/vboxguest/vboxguest_core.c | 20 ++-- drivers/virt/vboxguest/vboxguest_

Re: linux-next: build failure after merge of the printk tree

2020-06-23 Thread Petr Mladek
On Tue 2020-06-23 22:19:37, Herbert Xu wrote: > On Tue, Jun 23, 2020 at 02:16:38PM +0200, Petr Mladek wrote: > > > > I have removed the problematic commit for now. It tried to remove > > some cyclic dependencies from heavily used include files. It clearly > > needs more love. > > Hmm, the cyclic d

Re: [PATCH 2/2] block: remove retry loop in ioc_release_fn()

2020-06-23 Thread Daniel Wagner
On Fri, Jun 19, 2020 at 05:23:18PM +0206, John Ogness wrote: > The reverse-order double lock dance in ioc_release_fn() is using a > retry loop. This is a problem on PREEMPT_RT because it could preempt > the task that would release q->queue_lock and thus live lock in the > retry loop. > > RCU is al

Re: [PATCH v2 1/2] thunderbolt: Add support for separating the flush to SPI and authenticate

2020-06-23 Thread Mika Westerberg
On Mon, Jun 22, 2020 at 01:57:57PM -0500, Mario Limonciello wrote: > This allows userspace to have a shorter period of time that the device > is unusable and to call it at a more convenient time. > > For example flushing the image may happen while the user is using the > machine and authenticating

Re: ARM: imx6: add missing put_device() call in imx6q_suspend_init()

2020-06-23 Thread Markus Elfring
>> ARM: imx6: Add missing put_device() call in imx6q_suspend_init() >> https://lore.kernel.org/linux-arm-kernel/5acd7308-f6e1-4b1e-c744-bb2e5fdca...@web.de/ >> https://lore.kernel.org/patchwork/patch/1151158/ >> https://lkml.org/lkml/2019/11/9/125 … >> Are you going

[RFC v6] drm/nouveau/kms/nvd9-: Add CRC support

2020-06-23 Thread Lyude Paul
This introduces support for CRC readback on gf119+, using the documentation generously provided to us by Nvidia: https://github.com/NVIDIA/open-gpu-doc/blob/master/Display-CRC/display-crc.txt We expose all available CRC sources. SF, SOR, PIOR, and DAC are exposed through a single set of "outp" so

[PATCH net-next v4 0/8] net: phy: mscc: PHC and timestamping support

2020-06-23 Thread Antoine Tenart
Hello, This series aims at adding support for PHC and timestamping operations in the MSCC PHY driver, for the VSC858x and VSC8575. Those PHYs are capable of timestamping in 1-step and 2-step for both L2 and L4 traffic. As of this series, only IPv4 support was implemented when using L4 mode. This

[PATCH net-next v4 6/8] net: phy: mscc: timestamping and PHC support

2020-06-23 Thread Antoine Tenart
This patch adds support for PHC and timestamping operations for the MSCC PHY. PTP 1-step and 2-step modes are supported, over Ethernet and UDP. To get and set the PHC time, a GPIO has to be used and changes are only retrieved or committed when on a rising edge. The same GPIO is shared by all PHYs,

[PATCH net-next v4 8/8] MIPS: dts: ocelot: describe the load/save GPIO

2020-06-23 Thread Antoine Tenart
From: Quentin Schulz This patch adds a description of the load/save GPIN pin, used in the VSC8584 PHY for timestamping operations. The related pinctrl description is also added. Signed-off-by: Quentin Schulz Signed-off-by: Antoine Tenart --- arch/mips/boot/dts/mscc/ocelot_pcb120.dts | 12

[PATCH net-next v4 4/8] net: phy: mscc: take into account the 1588 block in MACsec init

2020-06-23 Thread Antoine Tenart
This patch takes in account the use of the 1588 block in the MACsec initialization, as a conditional configuration has to be done (when the 1588 block is used). Signed-off-by: Antoine Tenart --- drivers/net/phy/mscc/mscc_macsec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --g

[PATCH net-next v4 1/8] net: phy: add support for a common probe between shared PHYs

2020-06-23 Thread Antoine Tenart
Shared PHYs (PHYs in the same hardware package) may have shared registers and their drivers would usually need to share information. There is currently a way to have a shared (part of the) init, by using phy_package_init_once(). This patch extends the logic to share parts of the probe to allow shar

[PATCH net-next v4 3/8] net: phy: mscc: remove the TR CLK disable magic value

2020-06-23 Thread Antoine Tenart
From: Quentin Schulz This patch adds a define for the 0x8000 magic value used to perform enable/disable actions on the "token ring clock". The patch is only cosmetic. Signed-off-by: Quentin Schulz Signed-off-by: Antoine Tenart Reviewed-by: Andrew Lunn --- drivers/net/phy/mscc/mscc.h |

[PATCH net-next v4 2/8] net: phy: mscc: fix copyright and author information in MACsec

2020-06-23 Thread Antoine Tenart
All headers in the MSCC PHY driver have been copied and pasted from the original mscc.c file. However the information is not necessarily correct, as in the MACsec support. Fix this. Signed-off-by: Antoine Tenart Reviewed-by: Andrew Lunn --- drivers/net/phy/mscc/mscc_fc_buffer.h | 2 +- drivers/

[PATCH net-next v4 7/8] dt-bindings: net: phy: vsc8531: document the load/save GPIO

2020-06-23 Thread Antoine Tenart
A new optional property can be used to reference the load/save GPIO, used for PTP hardware clock (PHC) operations. This patch documents it in the binding documentation. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt | 3 +++ 1 file changed, 3 inserti

[PATCH net-next v4 5/8] net: phy: mscc: 1588 block initialization

2020-06-23 Thread Antoine Tenart
From: Quentin Schulz This patch adds the first parts of the 1588 support in the MSCC PHY, with registers definition and the 1588 block initialization. Those PHYs are distributed in hardware packages containing multiple times the PHY. The VSC8584 for example is composed of 4 PHYs. With hardware p

Re: krzysztof/for-next bisection: baseline.dmesg.crit on bcm2837-rpi-3-b

2020-06-23 Thread Krzysztof Kozlowski
On Tue, 23 Jun 2020 at 16:23, kernelci.org bot wrote: > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This automated bisection report was sent to you on the basis * > * that you may be involved with the breaking commit it has * > * found. No manual investigation ha

Re: [PATCH tip/core/rcu 13/14] tools/memory-model/README: Expand dependency of klitmus7

2020-06-23 Thread Akira Yokosawa
On Mon, 22 Jun 2020 17:52:30 -0700, paul...@kernel.org wrote: > From: Akira Yokosawa > > klitmus7 is independent of the memory model but depends on the > build-target kernel release. > It occasionally lost compatibility due to kernel API changes [1, 2, 3]. > It was remedied in a backwards-compati

Re: [PATCH 15/15] io_uring: support true async buffered reads, if file provides it

2020-06-23 Thread Jens Axboe
On 6/23/20 6:39 AM, Pavel Begunkov wrote: > On 18/06/2020 17:43, Jens Axboe wrote: >> If the file is flagged with FMODE_BUF_RASYNC, then we don't have to punt >> the buffered read to an io-wq worker. Instead we can rely on page >> unlocking callbacks to support retry based async IO. This is a lot m

Re: [PATCH v2 2/2] thunderbolt: Add support for authenticate on disconnect

2020-06-23 Thread Mika Westerberg
On Mon, Jun 22, 2020 at 01:57:58PM -0500, Mario Limonciello wrote: > Some external devices can support completing thunderbolt authentication > when they are unplugged. For this to work though, the link controller must > remain operational. > > The only device known to support this right now is the

[PATCH] gpio: Drop superfluous dependencies on GPIOLIB

2020-06-23 Thread Geert Uytterhoeven
All config options for GPIO drivers are inside a big "if GPIOLIB ... endif" block, so there is no reason for individual config options to have expicit dependencies on GPIOLIB. Hence remove them. Signed-off-by: Geert Uytterhoeven --- drivers/gpio/Kconfig | 4 ++-- 1 file changed, 2 insertions(+)

Re: [PATCH 1/3] nvme: Add Arbitration Burst support

2020-06-23 Thread Keith Busch
On Tue, Jun 23, 2020 at 09:24:32PM +0800, Baolin Wang wrote: > From the NVMe spec, "In order to make efficient use of the non-volatile > memory, it is often advantageous to execute multiple commands from a > Submission Queue in parallel. For Submission Queues that are using > weighted round robin w

Re: [RESEND PATCH V13 3/3] Input: new da7280 haptic driver

2020-06-23 Thread Uwe Kleine-König
Hello, On Mon, Jun 15, 2020 at 08:40:23PM +0900, Roy Im wrote: > Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with > multiple mode and integrated waveform memory and wideband support. > It communicates via an I2C bus to the device. > > Signed-off-by: Roy Im Just some picky comments

RE: [PATCH v2 1/2] thunderbolt: Add support for separating the flush to SPI and authenticate

2020-06-23 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg > Sent: Tuesday, June 23, 2020 9:33 AM > To: Limonciello, Mario > Cc: Andreas Noever; Michael Jamet; Yehezkel Bernat; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 1/2] thunderbolt: Add support for separating

Re: [RFC v9 02/11] vhost: use batched get_vq_desc version

2020-06-23 Thread Michael S. Tsirkin
On Fri, Jun 19, 2020 at 08:22:53PM +0200, Eugenio Pérez wrote: > From: "Michael S. Tsirkin" > > As testing shows no performance change, switch to that now. > > Signed-off-by: Michael S. Tsirkin > Signed-off-by: Eugenio Pérez > Link: https://lore.kernel.org/r/20200401183118.8334-3-epere...@redh

Switching dmaengine tree to kernel.org

2020-06-23 Thread Vinod Koul
Hello Stephen, I have switched dmaengine tree to kernel.org [1], please update your database to new tree which can be found at [2] [1]: https://lore.kernel.org/dmaengine/20200623143729.781403-1-vk...@kernel.org/ [2]: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git Thanks -- ~V

Re: [PATCH v2]: arch: arm64: vdso: export the symbols for time()

2020-06-23 Thread Will Deacon
On Mon, Jun 15, 2020 at 07:38:24AM -0700, Mark Salyzyn wrote: > From: Chiawei Wang > > __cvdso_time() can be found in vDSO implementation, > but the symbols for time() are not exported. > > Export the symbols and run bionic-benchmarks. > > BEFORE: > bionic-benchmarks32 --bionic_extra BM_time_ti

Re: [PATCH v4] platform: x86: Add ACPI driver for ChromeOS

2020-06-23 Thread Enric Balletbo i Serra
Hi Rafael, On 6/6/20 20:04, Dmitry Torokhov wrote: > Hi Rafael, > > On Fri, Jun 05, 2020 at 01:17:15PM +0200, Rafael J. Wysocki wrote: >> >> First off, GGL0001 is not a valid ACPI device ID, because the GGL prefix is >> not >> present in the list at https://uefi.org/acpi_id_list >> True, this d

Re: [PATCH v3 3/4] nvmem: qfprom: Add fuse blowing support

2020-06-23 Thread Doug Anderson
Hi, On Tue, Jun 23, 2020 at 6:36 AM Pavel Machek wrote: > > Hi! > > > This patch adds support for blowing fuses to the qfprom driver if the > > required properties are defined in the device tree. > > Should we have this in kernel? > > If so, should we make it harder to use, like passing module pa

<    1   2   3   4   5   6   7   8   9   10   >