[PATCH 3/3] nvme: Use USEC_PER_SEC instead of magic numbers

2020-06-23 Thread Baolin Wang
Use USEC_PER_SEC instead of magic numbers to make code more readable. Signed-off-by: Baolin Wang --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index c3a60d8..0eca820 100644 ---

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

2020-06-23 Thread Baolin Wang
>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 with urgent priority class or round robin arbitration, host software

Re: [RFC PATCH 1/3 v2] futex: introduce FUTEX_SWAP operation

2020-06-23 Thread Aaron Lu
On Tue, Jun 16, 2020 at 10:22:26AM -0700, Peter Oskolkov wrote: > static void futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q > *q, > - struct hrtimer_sleeper *timeout) > + struct hrtimer_sleeper *timeout, > +

[ANNOUNCE] 5.4.47-rt28

2020-06-23 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.47-rt28 stable release. This release is just an update to the new stable 5.4.47 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH] riscv: Fixup __vdso_gettimeofday broke dynamic ftrace

2020-06-23 Thread Greentime Hu
於 2020年6月23日 週二 下午5:52寫道: > > From: Guo Ren > > For linux-5.8-rc1, enable ftrace of riscv will cause boot panic: > > [2.388980] Run /sbin/init as init process > [2.529938] init[39]: unhandled signal 4 code 0x1 at 0x003ff449e000 > [2.531078] CPU: 0 PID: 39 Comm: init Not tainted

Re: [PATCH 0/8] remove unicore32 support

2020-06-23 Thread Guenter Roeck
On 6/22/20 11:57 PM, Mike Rapoport wrote: > From: Mike Rapoport > > Hi, > > The unicore32 port do not seem maintained for a long time now, there is no > upstream toolchain that can create unicore32 binaries and all the links to > prebuilt toolchains for unicore32 are dead. Even compilers that

[PATCH 0/2] riscv: Add context tracker support

2020-06-23 Thread Greentime Hu
This patchset adds support for irq_work via self IPI and context tracking. It is tested in qemu-system-riscv64 and SiFive HiFive Unleashed board based on v5.8-rc2. Greentime Hu (2): riscv: Support irq_work via self IPIs riscv: Enable context tracking arch/riscv/Kconfig| 1 +

[PATCH 2/2] riscv: Enable context tracking

2020-06-23 Thread Greentime Hu
This patch implements and enables context tracking for riscv (which is a prerequisite for CONFIG_NO_HZ_FULL support) It adds checking for previous state in the entry that all excepttions and interrupts goes to and calls context_tracking_user_exit() if it comes from user space. It also calls

[PATCH 1/2] riscv: Support irq_work via self IPIs

2020-06-23 Thread Greentime Hu
Support for arch_irq_work_raise() and arch_irq_work_has_interrupt() was missing from riscv (a prerequisite for FULL_NOHZ). Signed-off-by: Greentime Hu --- arch/riscv/include/asm/irq_work.h | 10 ++ arch/riscv/kernel/smp.c | 15 +++ 2 files changed, 25 insertions(+)

Re: Strange problem with SCTP+IPv6

2020-06-23 Thread Corey Minyard
On Tue, Jun 23, 2020 at 06:13:30PM +0800, Xin Long wrote: > On Tue, Jun 23, 2020 at 2:34 AM Michael Tuexen > wrote: > > > > > On 22. Jun 2020, at 20:32, Marcelo Ricardo Leitner > > > wrote: > > > > > > On Mon, Jun 22, 2020 at 08:01:24PM +0200, Michael Tuexen wrote: > > >>> On 22. Jun 2020, at

[PATCH v3 6/7] docs: Add remaining Documentation/*.txt at staging/index.rst

2020-06-23 Thread Mauro Carvalho Chehab
There are a few text files that aren't yet at the docs building system. Add those to the staging/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Documentation/staging/index.rst

[PATCH v3 4/7] docs: move mailbox.txt to driver-api and rename it

2020-06-23 Thread Mauro Carvalho Chehab
This file is already at the ReST format. Move it to driver-api and rename it. Suggested-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst| 1 + Documentation/{mailbox.txt => driver-api/mailbox.rst} | 0 2 files changed, 1

[PATCH v3 5/7] docs: move other kAPI documents to core-api

2020-06-23 Thread Mauro Carvalho Chehab
There are a number of random documents that seem to be describing some aspects of the core-api. Move them to such directory, adding them at the core-api/index.rst file. Signed-off-by: Mauro Carvalho Chehab --- .../bus-virt-phys-mapping.rst} | 0

[PATCH v3 7/7] docs: staging: use small font for literal includes

2020-06-23 Thread Mauro Carvalho Chehab
The normal font is too big to display 80 columns, causing extra breaks to be added at weird places. change to the footnotesize, as this would fit a little bit better. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 33 ++--- 1 file

[PATCH v3 2/7] docs: trace: ring-buffer-design.txt: convert to ReST format

2020-06-23 Thread Mauro Carvalho Chehab
- Just like some media documents, this file is dual licensed with GPL and GFDL. As right now the GFDL SPDX definition is bogus (as it doesn't tell anything about invariant parts), let's not use SPDX here. Let's use, instead, the same test as we have on media. - Convert title to ReST

[PATCH v3 3/7] docs: move nommu-mmap.txt to admin-guide and rename to ReST

2020-06-23 Thread Mauro Carvalho Chehab
The nommu-mmap.txt file provides description of user visible behaviuour. So, move it to the admin-guide. As it is already at the ReST, also rename it. Suggested-by: Mike Rapoport Suggested-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/mm/index.rst

[PATCH v3 1/7] docs: dt: convert booting-without-of.txt to ReST format

2020-06-23 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Adjust document title; - Adjust document and section titles; - Some whitespace fixes and new line breaks; - Mark literal blocks as such; - Add table markups; - Add it to devicetree/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/arm/booting.rst

[PATCH] mmc: sdhci-acpi: For amd device set driver type as MMC_SET_DRIVER_TYPE_A

2020-06-23 Thread Akshu Agrawal
HS400/HS200/eMMC HS doesn't have Preset Value register. Hence, sdhci_set_ios function overrides the value set by fmw to SDHCI_CTRL_DRV_TYPE_B. This patch sets drv_type to MMC_SET_DRIVER_TYPE_A so that host_control2 register gets updated with the required strength value. Signed-off-by: Akshu

Re: [PATCH 12/13] ARM: dts: mmp3: Add the GPU

2020-06-23 Thread Pavel Machek
On Tue 2020-06-16 20:23:40, Lubomir Rintel wrote: > There's a GC2000 3D core accompanied by a GC300 2D core. According to the next patch, it is GC200... Best regards, Pavel -- (english)

Re: [PATCH v4 3/5] drm: panel: Add Xingbangda XBD599 panel (ST7703 controller)

2020-06-23 Thread Pavel Machek
Hi! > > > > Would it not be better to have one st7703 driver that suipports both > > > > panels? > > > > > > > > The driver would need dedicated init functions depending on the panel. > > > > But a lot could also be shared. > > > > > > I guess I can move the code there. > > In the same process

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

2020-06-23 Thread Pavel Machek
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 parameter enabling this kind of support or something? Kconfig option as

Re: [PATCH v2] Input: document inhibiting

2020-06-23 Thread Pavel Machek
Hi! > +Inhibiting input devices > + > + > +Inhibiting a device means ignoring input events from it. As such it is about > maintaining > +relationships with input handlers - either already existing relationships, > or relationships > +to be established while the device is

Re: [PATCH] scsi: sd: stop SSD (non-rotational) disks before reboot

2020-06-23 Thread Pavel Machek
Hi! > > I need to use "reboot=p" on my desktop because one of the PCIe devices > > does not appear after a warm boot. This results in a very cold boot > > because the BIOS turns the PSU off and on. > > > > The scsi sd shutdown process does not send a stop command to disks > > before the reboot

Re: [PATCH v2 0/9] Convert the remaining text files to ReST and add SPDX for GFDL

2020-06-23 Thread Mauro Carvalho Chehab
Hi Kate, Em Tue, 23 Jun 2020 06:58:55 -0500 Kate Stewart escreveu: > On Tue, Jun 23, 2020 at 4:53 AM Mauro Carvalho Chehab > wrote: > > > > The main goal of this series is to finish the ReST conversion. After this > > series, we have just those files still in plain old format: > > > >

Re: [PATCH v2] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-06-23 Thread Konrad Rzeszutek Wilk
On Mon, Apr 27, 2020 at 06:53:18PM +, Ashish Kalra wrote: > Hello Konrad, > > On Mon, Mar 30, 2020 at 10:25:51PM +, Ashish Kalra wrote: > > Hello Konrad, > > > > On Tue, Mar 03, 2020 at 12:03:53PM -0500, Konrad Rzeszutek Wilk wrote: > > > On Tue, Feb 04, 2020 at 07:35:00PM +, Ashish

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

2020-06-23 Thread Joerg Roedel
On Tue, Jun 23, 2020 at 02:52:01PM +0200, Peter Zijlstra wrote: > On Tue, Jun 23, 2020 at 02:04:33PM +0200, Joerg Roedel wrote: > > No, the recursion check is fine, because overwriting an already used IST > > stack doesn't matter (as long as it can be detected) if we are going to > > panic anyway.

[PATCH V5 1/3] mmc: sdhci: Allow platform controlled voltage switching

2020-06-23 Thread Veerabhadrarao Badiganti
From: Vijay Viswanath If vendor platform drivers are controlling whole logic of voltage switching, then sdhci driver no need control vqmmc regulator. So skip enabling/disable vqmmc from SDHC driver. Signed-off-by: Vijay Viswanath Signed-off-by: Veerabhadrarao Badiganti Acked-by: Adrian Hunter

[PATCH V5 3/3] mmc: sdhci-msm: Use internal voltage control

2020-06-23 Thread Veerabhadrarao Badiganti
On qcom SD host controllers voltage switching be done after the HW is ready for it. The HW informs its readiness through power irq. The voltage switching should happen only then. Use the internal voltage switching and then control the voltage switching using power irq. IO-bus supply of eMMC

[PATCH V5 2/3] mmc: core: Set default power mode in mmc_alloc_host

2020-06-23 Thread Veerabhadrarao Badiganti
Set the default power mode (which is MMC_POWER_UNDEFINE) in mmc_alloc_host, so that the vendor drivers can make use of this state to perform needed actions during the platform driver probe. Signed-off-by: Veerabhadrarao Badiganti --- drivers/mmc/core/host.c | 1 + 1 file changed, 1 insertion(+)

[PATCH V5 0/3] Internal voltage control for qcom SDHC

2020-06-23 Thread Veerabhadrarao Badiganti
On qcom SD host controllers voltage switching be done after the HW is ready for it. The HW informs its readiness through power irq. The voltage switching should happen only then. So added support to register voltage regulators from the msm driver and use them. This patchset was posted long back

RE: [PATCH v4 3/5] stack: Optionally randomize kernel stack offset each syscall

2020-06-23 Thread David Laight
From: Kees Cook > Sent: 23 June 2020 01:56 > On Mon, Jun 22, 2020 at 08:05:10PM -0400, Arvind Sankar wrote: > > But I still don't see anything _stopping_ the compiler from optimizing > > this better in the future. The "=m" is not a barrier: it just informs > > the compiler that the asm produces an

Re: [PATCH kcsan 0/10] KCSAN updates for v5.9

2020-06-23 Thread Paul E. McKenney
On Tue, Jun 23, 2020 at 08:31:15AM +0200, Marco Elver wrote: > On Tue, 23 Jun 2020 at 02:43, Paul E. McKenney wrote: > > > > Hello! > > > > This series provides KCSAN updates: > > > > 1. Annotate a data race in vm_area_dup(), courtesy of Qian Cai. > > > > 2. x86/mm/pat: Mark an

drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: sparse: incorrect type in argument 2 (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: alpha-randconfig-s032-20200623 (attached

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”. >

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

[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

[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

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

[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

[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

[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 ---

[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

[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

[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 ---

[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

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,

[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

[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

[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 ---

[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

[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

[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:

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

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

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 ;

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,

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,

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:

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

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

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

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:

[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

[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

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 >

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

[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

[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

[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

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

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 ;

[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

[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

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 ++--

[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

[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:

[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:

[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

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: > > > >

[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

[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 ++-

[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 +

[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 ++

[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

[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:

[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

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