[PATCH AUTOSEL 5.4 12/14] drm/amd/display: Init clock value by current vbios CLKs

2020-12-12 Thread Sasha Levin
From: Brandon Syu [ Upstream commit 7e0b367db85ef7b91399006253759a024eab7653 ] [Why] While booting into OS, driver updates DPP/DISP CLKs. But init clock value is zero which is invalid. [How] Get current clocks value to update init clocks. To avoid underflow. Signed-off-by: Brandon Syu

Re: [PATCH] xfs: clean code for setting bma length in xfs_bmapi_write

2020-12-12 Thread Gao Xiang
On Sat, Dec 12, 2020 at 08:48:17PM +0800, chenle...@gmail.com wrote: > From: Lei Chen > > xfs_bmapi_write may need alloc blocks when it encounters a hole > or delay extent. When setting bma.length, it does not need comparing > MAXEXTLEN and the length that the caller wants, because >

[PATCH AUTOSEL 4.14 6/8] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2020-12-12 Thread Sasha Levin
From: "Andrea Parri (Microsoft)" [ Upstream commit 3b8c72d076c42bf27284cda7b2b2b522810686f8 ] Check that the packet is of the expected size at least, don't copy data past the packet. Link: https://lore.kernel.org/r/20201118145348.109879-1-parri.and...@gmail.com Cc: "James E.J. Bottomley" Cc:

[PATCH AUTOSEL 5.9 15/23] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2020-12-12 Thread Sasha Levin
From: "Andrea Parri (Microsoft)" [ Upstream commit 3b8c72d076c42bf27284cda7b2b2b522810686f8 ] Check that the packet is of the expected size at least, don't copy data past the packet. Link: https://lore.kernel.org/r/20201118145348.109879-1-parri.and...@gmail.com Cc: "James E.J. Bottomley" Cc:

[PATCH AUTOSEL 4.4 2/2] dm table: Remove BUG_ON(in_interrupt())

2020-12-12 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit e7b624183d921b49ef0a96329f21647d38865ee9 ] The BUG_ON(in_interrupt()) in dm_table_event() is a historic leftover from a rework of the dm table code which changed the calling context. Issuing a BUG for a wrong calling context is frowned upon and

[PATCH AUTOSEL 5.9 16/23] scsi: mpt3sas: Increase IOCInit request timeout to 30s

2020-12-12 Thread Sasha Levin
From: Sreekanth Reddy [ Upstream commit 85dad327d9b58b4c9ce08189a2707167de392d23 ] Currently the IOCInit request message timeout is set to 10s. This is not sufficient in some scenarios such as during HBA FW downgrade operations. Increase the IOCInit request timeout to 30s. Link:

[PATCH AUTOSEL 4.9 4/5] scsi: mpt3sas: Increase IOCInit request timeout to 30s

2020-12-12 Thread Sasha Levin
From: Sreekanth Reddy [ Upstream commit 85dad327d9b58b4c9ce08189a2707167de392d23 ] Currently the IOCInit request message timeout is set to 10s. This is not sufficient in some scenarios such as during HBA FW downgrade operations. Increase the IOCInit request timeout to 30s. Link:

[PATCH AUTOSEL 4.19 6/9] vxlan: Copy needed_tailroom from lowerdev

2020-12-12 Thread Sasha Levin
From: Sven Eckelmann [ Upstream commit a5e74021e84bb5eadf760aaf2c583304f02269be ] While vxlan doesn't need any extra tailroom, the lowerdev might need it. In that case, copy it over to reduce the chance for additional (re)allocations in the transmit path. Signed-off-by: Sven Eckelmann Link:

[PATCH AUTOSEL 5.4 14/14] kbuild: avoid split lines in .mod files

2020-12-12 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit 7d32358be8acb119dcfe39b6cf67ec6d94bf1fe7 ] "xargs echo" is not a safe way to remove line breaks because the input may exceed the command line limit and xargs may break it up into multiple invocations of echo. This should never happen because

[PATCH AUTOSEL 5.4 03/14] drm/tegra: sor: Disable clocks on error in tegra_sor_init()

2020-12-12 Thread Sasha Levin
From: Qinglang Miao [ Upstream commit bf3a3cdcad40e5928a22ea0fd200d17fd6d6308d ] Fix the missing clk_disable_unprepare() before return from tegra_sor_init() in the error handling case. Signed-off-by: Qinglang Miao Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.19 7/9] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2020-12-12 Thread Sasha Levin
From: "Andrea Parri (Microsoft)" [ Upstream commit 3b8c72d076c42bf27284cda7b2b2b522810686f8 ] Check that the packet is of the expected size at least, don't copy data past the packet. Link: https://lore.kernel.org/r/20201118145348.109879-1-parri.and...@gmail.com Cc: "James E.J. Bottomley" Cc:

[PATCH AUTOSEL 5.9 12/23] arm64: syscall: exit userspace before unmasking exceptions

2020-12-12 Thread Sasha Levin
From: Mark Rutland [ Upstream commit ca1314d73eed493c49bb1932c60a8605530db2e4 ] In el0_svc_common() we unmask exceptions before we call user_exit(), and so there's a window where an IRQ or debug exception can be taken while RCU is not watching. In do_debug_exception() we account for this in via

[PATCH AUTOSEL 5.9 23/23] tools/testing/selftests/vm: fix build error

2020-12-12 Thread Sasha Levin
From: Xingxing Su [ Upstream commit d8cbe8bfa7df3c680ddfd5e1eee3a5c86d8dc764 ] Only x86 and PowerPC implement the pkey-xxx.h, and an error was reported when compiling protection_keys.c. Add a Arch judgment to compile "protection_keys" in the Makefile. If other arch implement this, add the

[PATCH AUTOSEL 5.9 11/23] habanalabs: put devices before driver removal

2020-12-12 Thread Sasha Levin
From: Ofir Bitton [ Upstream commit b7c56bdec7a29c789fec27f84d40f52fbdfa ] Driver never puts its device and control_device objects, hence a memory leak is introduced every driver removal. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay Signed-off-by: Sasha

[PATCH 2/2] dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function

2020-12-12 Thread Christophe JAILLET
In case of error, the previous 'fsl_dma_chan_probe()' calls must be undone by some 'fsl_dma_chan_remove()', as already done in the remove function. It was added in the remove function in commit 77cd62e8082b ("fsldma: allow Freescale Elo DMA driver to be compiled as a module") Fixes: d3f620b2c4fe

[PATCH 1/2] dmaengine: fsldma: Fix a resource leak in the remove function

2020-12-12 Thread Christophe JAILLET
A 'irq_dispose_mapping()' call is missing in the remove function. Add it. This is needed to undo the 'irq_of_parse_and_map() call from the probe function and already part of the error handling path of the probe function. It was added in the probe function only in commit d3f620b2c4fe ("fsldma:

Re: [PATCH 07/13] ia64: make SPARSEMEM default and disable DISCONTIGMEM

2020-12-12 Thread Guenter Roeck
On Tue, Oct 27, 2020 at 01:29:49PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > SPARSEMEM memory model suitable for systems with large holes in their > phyiscal memory layout. With SPARSEMEM_VMEMMAP enabled it provides > pfn_to_page() and page_to_pfn() as fast as FLATMEM. > > Make it

Re: [PATCH RESEND net-next 1/2] dpaa2-eth: send a scatter-gather FD instead of realloc-ing

2020-12-12 Thread Jon Nettleton
On Fri, Dec 11, 2020 at 5:56 PM Ioana Ciornei wrote: > > On Fri, Dec 11, 2020 at 04:29:14PM +, Daniel Thompson wrote: > > On Fri, Dec 11, 2020 at 02:01:28PM +, Ioana Ciornei wrote: > > > On Thu, Dec 10, 2020 at 08:06:36PM +0200, Ioana Ciornei wrote: > > > > [Added also the netdev mailing

[GIT PULL] Final batch of KVM changes for Linux 5.10

2020-12-12 Thread Paolo Bonzini
Linus, The following changes since commit 9a2a0d3ca163fc645991804b8b032f7d59326bb5: kvm: x86/mmu: Fix get_mmio_spte() on CPUs supporting 5-level PT (2020-11-27 11:14:27 -0500) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you

Re: [PATCH] driver core: platform: don't oops on unbound devices

2020-12-12 Thread Uwe Kleine-König
Hello, On Sat, Dec 12, 2020 at 12:41:32PM +0100, Greg Kroah-Hartman wrote: > On Sat, Dec 12, 2020 at 04:14:26AM +0300, Dmitry Baryshkov wrote: > > Platform code stopped checking if the device is bound to the actual > > platform driver, thus calling non-existing drv->shutdown(). Verify that > >

Re: [Patch v2 6/6] dt-bindings: crypto: qcom-qce: Add v5.4 to binding

2020-12-12 Thread Thara Gopinath
On 12/7/20 5:09 PM, Rob Herring wrote: On Thu, Nov 19, 2020 at 10:52:33AM -0500, Thara Gopinath wrote: Add compatible string to support v5.4 crypto engine. Signed-off-by: Thara Gopinath Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/crypto/qcom-qce.txt | 4 +++- 1

Re: [RFC PATCH 4/4] powerpc: Use common of_kexec_setup_new_fdt()

2020-12-12 Thread Lakshmi Ramasubramanian
On 12/11/20 2:10 PM, Rob Herring wrote: Signed-off-by: Rob Herring --- After the IMA changes, delete_fdt_mem_rsv() can also be removed. arch/powerpc/kexec/file_load.c | 125 ++--- 1 file changed, 6 insertions(+), 119 deletions(-) This change looks good to me.

Re: [RFC PATCH 3/4] arm64: Use common of_kexec_setup_new_fdt()

2020-12-12 Thread Lakshmi Ramasubramanian
On 12/11/20 2:10 PM, Rob Herring wrote: Signed-off-by: Rob Herring --- arch/arm64/kernel/machine_kexec_file.c | 123 + 1 file changed, 3 insertions(+), 120 deletions(-) This change looks good to me. Reviewed-by: Lakshmi Ramasubramanian -lakshmi diff --git

Re: [PATCH v2 1/4] PCI: rockchip: Make 'ep-gpios' DT property optional

2020-12-12 Thread Chen-Yu Tsai
On Mon, Dec 7, 2020 at 10:11 PM Rob Herring wrote: > > On Wed, Nov 18, 2020 at 1:17 AM Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > The Rockchip PCIe controller DT binding clearly states that 'ep-gpios' is > > an optional property. And indeed there are boards that don't require it. >

Re: [PATCH] mm/memory_hotplug: quieting offline operation

2020-12-12 Thread Souptick Joarder
On Fri, Dec 11, 2020 at 8:32 PM Laurent Dufour wrote: > > On PowerPC, when dymically removing memory from a system we can see in the > console a > lot of messages like this: > [ 186.575389] Offlined Pages 4096 Is it specific to PowerPC ? > > This message is displayed on each LMB (256MB)

[PATCH linux-next] drm/amd/display: Adding prototype for dccg21_update_dpp_dto()

2020-12-12 Thread Souptick Joarder
Kernel test robot throws below warning -> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_dccg.c:46:6: warning: no previous prototype for 'dccg21_update_dpp_dto' [-Wmissing-prototypes] Adding prototype for dccg21_update_dpp_dto(). Reported-by: kernel test robot Signed-off-by: Souptick

Re: [PATCH v8 4/8] IMA: add policy rule to measure critical data

2020-12-12 Thread Tyler Hicks
On 2020-12-11 17:17:22, Tushar Sugandhi wrote: > > > On 2020-12-11 4:25 p.m., Tyler Hicks wrote: > > On 2020-12-11 15:58:03, Tushar Sugandhi wrote: > > > A new IMA policy rule is needed for the IMA hook > > > ima_measure_critical_data() and the corresponding func CRITICAL_DATA for > > >

[tip: x86/urgent] x86/kprobes: Fix optprobe to detect INT3 padding correctly

2020-12-12 Thread tip-bot2 for Masami Hiramatsu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 0d07c0ec4381f630c801539c79ad8dcc627f6e4a Gitweb: https://git.kernel.org/tip/0d07c0ec4381f630c801539c79ad8dcc627f6e4a Author:Masami Hiramatsu AuthorDate:Fri, 11 Dec 2020 16:04:17 +09:00

Re: [PATCH] net/netconsole: Support VLAN for netconsole

2020-12-12 Thread Vladimir Oltean
On Thu, Dec 10, 2020 at 09:55:16AM -0800, Florian Fainelli wrote: > > > On 12/10/2020 2:07 AM, Libing Zhou wrote: > > During kernel startup phase, current netconsole doesn’t support VLAN > > since there is no VLAN interface setup already. > > > > This patch provides VLAN ID and PCP as optional

WARNING in ext4_xattr_set_entry

2020-12-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:cd796ed3 Merge tag 'trace-v5.10-rc7' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1472128750 kernel config: https://syzkaller.appspot.com/x/.config?x=e597c2b53c984cd8

RE: [PATCH v6 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-12-12 Thread Zulkifli, Muhammad Husaini
Hi Linus, >-Original Message- >From: Linus Walleij >Sent: Sunday, December 6, 2020 7:02 AM >To: Zulkifli, Muhammad Husaini >Cc: Ulf Hansson ; Hunter, Adrian >; Michal Simek ; linux- >mmc ; Linux ARM ker...@lists.infradead.org>; linux-kernel@vger.kernel.org; Shevchenko, >Andriy ; Raja

Re: [PATCH v14 10/10] secretmem: test: add basic selftest for memfd_secret(2)

2020-12-12 Thread Mike Rapoport
Hi John, On Fri, Dec 11, 2020 at 10:16:23PM -0800, John Hubbard wrote: > On 12/2/20 10:29 PM, Mike Rapoport wrote: > > From: Mike Rapoport > ... > > +#include "../kselftest.h" > > + > > +#define fail(fmt, ...) ksft_test_result_fail(fmt, ##__VA_ARGS__) > > +#define pass(fmt, ...)

[PATCH] clk: ingenic: Fix divider calculation with div tables

2020-12-12 Thread Paul Cercueil
The previous code assumed that a higher hardware value always resulted in a bigger divider, which is correct for the regular clocks, but is an invalid assumption when a divider table is provided for the clock. Perfect example of this is the PLL0_HALF clock, which applies a /2 divider with the

[GIT PULL] irqchip updates for Linux 5.11

2020-12-12 Thread Marc Zyngier
Hi Thomas, Here the delivery from the irqchip department for 5.11. No new driver for once, but an assortment of support for new SoCs (Microsemi Ocelot derivatives, NXP SoCs), small fixes (QC PDC, TI SCI, Loongson HTPIC) and cleanups (EZChip dead platform). We also have some preliminary support

Re: [PATCH v5 1/2] net: dsa: add optional stats64 support

2020-12-12 Thread Vladimir Oltean
On Fri, Dec 11, 2020 at 11:53:21AM +0100, Oleksij Rempel wrote: > Allow DSA drivers to export stats64 > > Signed-off-by: Oleksij Rempel > Reviewed-by: Vladimir Oltean > --- > include/net/dsa.h | 3 +++ > net/dsa/slave.c | 14 +- > 2 files changed, 16 insertions(+), 1 deletion(-)

Re: [PATCH v5 2/2] net: dsa: qca: ar9331: export stats64

2020-12-12 Thread Vladimir Oltean
On Fri, Dec 11, 2020 at 11:53:22AM +0100, Oleksij Rempel wrote: > Add stats support for the ar9331 switch. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/dsa/qca/ar9331.c | 256 ++- > 1 file changed, 255 insertions(+), 1 deletion(-) > > diff --git

[PATCH] powerpc/mm: Fix hugetlb_free_pmd_range() and hugetlb_free_pud_range()

2020-12-12 Thread Christophe Leroy
Commit 7bfe54b5f165 ("powerpc/mm: Refactor the floor/ceiling check in hugetlb range freeing functions") inadvertely removed the mask applied to start parameter in those two functions, leading to the following crash on power9. [ 7703.114640][T58070] LTP: starting hugemmap05_1 (hugemmap05 -m) [

Re: [PATCH 1/6] iio:pressure:ms5637: switch to probe_new

2020-12-12 Thread Andy Shevchenko
On Thu, Dec 10, 2020 at 2:01 AM Alexandre Belloni wrote: > > Switch to the modern i2c probe_new callback and drop the i2c_device_id > array. First part is okay. The second is interesting. It depends if we would like to keep a possibility to instantiate devices from user space (strictly speaking

include/linux/compiler_types.h:338:38: error: call to '__compiletime_assert_520' declared with attribute error: BUILD_BUG_ON failed: sizeof(cmd_a64_entry_t) != 64

2020-12-12 Thread kernel test robot
-20201212 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux

Re: [PATCH v2] net: dsa: qca: ar9331: fix sleeping function called from invalid context bug

2020-12-12 Thread Vladimir Oltean
On Fri, Dec 11, 2020 at 12:03:17PM +0100, Oleksij Rempel wrote: > With lockdep enabled, we will get following warning: > > ar9331_switch ethernet.1:10 lan0 (uninitialized): PHY > [!ahb!ethernet@1a00!mdio!switch@10:00] driver [Qualcomm Atheros AR9331 > built-in PHY] (irq=13) > BUG:

Re: [PATCH -next] platform: surface: fix non-PM_SLEEP build warnings

2020-12-12 Thread Andy Shevchenko
On Fri, Dec 11, 2020 at 9:20 PM Randy Dunlap wrote: > > Fix build warnings when CONFIG_PM_SLEEP is not enabled and these > functions are not used: > > ../drivers/platform/surface/surface_gpe.c:189:12: warning: > ‘surface_gpe_resume’ defined but not used [-Wunused-function] > static int

Re: [patch 03/30] genirq: Move irq_set_lockdep_class() to core

2020-12-12 Thread Andy Shevchenko
On Sat, Dec 12, 2020 at 12:07 AM Thomas Gleixner wrote: > > On Fri, Dec 11 2020 at 22:08, Thomas Gleixner wrote: > > > On Fri, Dec 11 2020 at 19:53, Andy Shevchenko wrote: > > > >> On Thu, Dec 10, 2020 at 10:14 PM Thomas Gleixner > >> wrote: > >>> > >>> irq_set_lockdep_class() is used from

Re: mmc: atmel-mci: Reduce scope for the variable “slot” in atmci_request_end()

2020-12-12 Thread Alexandre Belloni
On 12/12/2020 01:16:39-0800, Joe Perches wrote: > On Fri, 2020-12-11 at 09:03 +0100, Alexandre Belloni wrote: > > On 11/12/2020 07:34:41+0100, Markus Elfring wrote: > > > > > How do you think about a patch like “staging: speakup: remove > > > > > redundant initialization > > > > > of pointer

[tip: irq/core] xen/events: Use immediate affinity setting

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 9b23ffcbfa15f2d4959eaa42faae11e3e39d027a Gitweb: https://git.kernel.org/tip/9b23ffcbfa15f2d4959eaa42faae11e3e39d027a Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:02 +01:00

[tip: irq/core] net/mlx5: Replace irq_to_desc() abuse

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 3d18847680102182fed60b90ae65cbbb3d929a3c Gitweb: https://git.kernel.org/tip/3d18847680102182fed60b90ae65cbbb3d929a3c Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:58 +01:00

[tip: irq/core] net/mlx4: Use effective interrupt affinity

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: f23130b1af7bccb23dff1e9223d826869c2ad45d Gitweb: https://git.kernel.org/tip/f23130b1af7bccb23dff1e9223d826869c2ad45d Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:57 +01:00

[tip: irq/core] genirq: Remove export of irq_to_desc()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: f07147b162a1cec348d8a9a7e7e73fdf7ce5f88b Gitweb: https://git.kernel.org/tip/f07147b162a1cec348d8a9a7e7e73fdf7ce5f88b Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:06 +01:00

[tip: irq/core] net/mlx5: Use effective interrupt affinity

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: ca00c76aa8acf5a7563dd9f5020f9c6dc9a0577d Gitweb: https://git.kernel.org/tip/ca00c76aa8acf5a7563dd9f5020f9c6dc9a0577d Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:59 +01:00

[tip: irq/core] xen/events: Remove disfunct affinity spreading

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 26599cd34323b73894ebcb5197693cdd668b4aa8 Gitweb: https://git.kernel.org/tip/26599cd34323b73894ebcb5197693cdd668b4aa8 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:01 +01:00

[tip: irq/core] xen/events: Remove unused bind_evtchn_to_irq_lateeoi()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 16b2efd9e4c60f9010f27ada31b0c7d73f23e0d3 Gitweb: https://git.kernel.org/tip/16b2efd9e4c60f9010f27ada31b0c7d73f23e0d3 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:00 +01:00

[tip: irq/core] xen/events: Reduce irq_info:: Spurious_cnt storage size

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6e8e8d49554722ddc076a6b87dc7048ddceb2375 Gitweb: https://git.kernel.org/tip/6e8e8d49554722ddc076a6b87dc7048ddceb2375 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:04 +01:00

[tip: irq/core] PCI: xilinx-nwl: Use irq_data_get_irq_chip_data()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: f44d2329d5c179d24708ada87f5e77b781e336ca Gitweb: https://git.kernel.org/tip/f44d2329d5c179d24708ada87f5e77b781e336ca Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:54 +01:00

[tip: irq/core] mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 4fa1cf7cde28ad4d7e4388cccfe682dded6a7aca Gitweb: https://git.kernel.org/tip/4fa1cf7cde28ad4d7e4388cccfe682dded6a7aca Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:52 +01:00

[tip: irq/core] parisc/irq: Simplify irq count output for /proc/interrupts

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 89c1ca3058ced5cc8176de7b668b9d0ff08f8f4b Gitweb: https://git.kernel.org/tip/89c1ca3058ced5cc8176de7b668b9d0ff08f8f4b Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:42 +01:00

[tip: irq/core] PCI: mobiveil: Use irq_data_get_irq_chip_data()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: c9bfac576ac620b71f42fb695493d6eb6e382637 Gitweb: https://git.kernel.org/tip/c9bfac576ac620b71f42fb695493d6eb6e382637 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:55 +01:00

[tip: irq/core] pinctrl: nomadik: Use irq_has_action()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 52ae486b230b6d9508068d49da850fb17d25a174 Gitweb: https://git.kernel.org/tip/52ae486b230b6d9508068d49da850fb17d25a174 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:51 +01:00

[tip: irq/core] s390/irq: Use irq_desc_kstat_cpu() in show_msi_interrupt()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 7a0a6b22431b36549151df8f30cec4f667a018fc Gitweb: https://git.kernel.org/tip/7a0a6b22431b36549151df8f30cec4f667a018fc Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:48 +01:00

[tip: irq/core] arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 2f516e34383d0e97ced094d18424838181ce51b7 Gitweb: https://git.kernel.org/tip/2f516e34383d0e97ced094d18424838181ce51b7 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:46 +01:00

[tip: irq/core] net/mlx4: Replace irq_to_desc() abuse

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 5ea444c8f27b50f14ccfece192a6199d3ada9253 Gitweb: https://git.kernel.org/tip/5ea444c8f27b50f14ccfece192a6199d3ada9253 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:56 +01:00

[tip: timers/core] clocksource/drivers/arm_arch_timer: Use stable count reader in erratum sne

2020-12-12 Thread tip-bot2 for Keqian Zhu
The following commit has been merged into the timers/core branch of tip: Commit-ID: d8cc3905b8073c7cfbff94af889fa8dc71f21dd5 Gitweb: https://git.kernel.org/tip/d8cc3905b8073c7cfbff94af889fa8dc71f21dd5 Author:Keqian Zhu AuthorDate:Fri, 04 Dec 2020 15:31:25 +08:00

[tip: timers/core] clocksource/drivers/dw_apb_timer_of: Add error handling if no clock available

2020-12-12 Thread tip-bot2 for Dinh Nguyen
The following commit has been merged into the timers/core branch of tip: Commit-ID: 5d9814df0aec56a638bbf20795abb4cfaf3cd331 Gitweb: https://git.kernel.org/tip/5d9814df0aec56a638bbf20795abb4cfaf3cd331 Author:Dinh Nguyen AuthorDate:Sat, 05 Dec 2020 04:52:23 -06:00

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-12 Thread Thomas Gleixner
On Fri, Dec 11 2020 at 22:59, Paolo Bonzini wrote: > On 11/12/20 22:04, Thomas Gleixner wrote: > The nanosecond and TSC times are sent as part of the paused-VM state at > the very end of the live migration process. > > So it's still true that the time advances during live migration > brownout;

[tip: irq/core] genirq: Move status flag checks to core

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: a578bb32cb1a46676caae72dc0c668630ab40c1f Gitweb: https://git.kernel.org/tip/a578bb32cb1a46676caae72dc0c668630ab40c1f Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:38 +01:00

[tip: irq/core] genirq: Annotate irq stats data races

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: fb4f676fc901cb547226efb3e69ffeaeefa124be Gitweb: https://git.kernel.org/tip/fb4f676fc901cb547226efb3e69ffeaeefa124be Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:41 +01:00

[tip: irq/core] genirq: Provide irq_get_effective_affinity()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 276b1e6e6fecc2f138c72519705dabc8bd01ffa9 Gitweb: https://git.kernel.org/tip/276b1e6e6fecc2f138c72519705dabc8bd01ffa9 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:40 +01:00

[tip: timers/core] clocksource/drivers/sh_cmt: Fix potential deadlock when calling runtime PM

2020-12-12 Thread tip-bot2 for Niklas Söderlund
The following commit has been merged into the timers/core branch of tip: Commit-ID: 8ae954caf49ac403c177d117fb8e05cbc866aa3c Gitweb: https://git.kernel.org/tip/8ae954caf49ac403c177d117fb8e05cbc866aa3c Author:Niklas Söderlund AuthorDate:Sat, 05 Dec 2020 03:19:20 +01:00

[tip: irq/core] ARM: smp: Use irq_desc_kstat_cpu() in show_ipi_list()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: fe80f1d579dfd4edf78a66c3bd3befa985b4b02b Gitweb: https://git.kernel.org/tip/fe80f1d579dfd4edf78a66c3bd3befa985b4b02b Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:45 +01:00

[PATCH] sata_fsl: Fix a resource leak in an error handling path in the probe function

2020-12-12 Thread Christophe JAILLET
'irq_dispose_mapping()' should be called in the error handling path of the probe function, as already done in the remove function. Fixes: 6b4b8fc87dc5 ("sata_fsl: add support for interrupt coalsecing feature") Signed-off-by: Christophe JAILLET --- drivers/ata/sata_fsl.c | 3 +++ 1 file changed,

[tip: irq/core] genirq: Make kstat_irqs() static

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 63ca4e066a62afce8ebaf75ebd4c6ef67f7bb5ee Gitweb: https://git.kernel.org/tip/63ca4e066a62afce8ebaf75ebd4c6ef67f7bb5ee Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:43 +01:00

[tip: irq/core] drm/i915/lpe_audio: Remove pointless irq_to_desc() usage

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 766ba1f937be5ec418bd759e40fccc0c8c42e271 Gitweb: https://git.kernel.org/tip/766ba1f937be5ec418bd759e40fccc0c8c42e271 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:49 +01:00

[tip: irq/core] NTB/msi: Use irq_has_action()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: d53c576bd3d4787b3d7d0d814b28ae67099d84a1 Gitweb: https://git.kernel.org/tip/d53c576bd3d4787b3d7d0d814b28ae67099d84a1 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:53 +01:00

[tip: irq/core] drm/i915/pmu: Replace open coded kstat_irqs() copy

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: b64217174467e1c4c3da04a7f7835393fa234818 Gitweb: https://git.kernel.org/tip/b64217174467e1c4c3da04a7f7835393fa234818 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:50 +01:00

[tip: timers/core] clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI

2020-12-12 Thread tip-bot2 for Keqian Zhu
The following commit has been merged into the timers/core branch of tip: Commit-ID: 8b7770b877d187bfdae1eaf587bd2b792479a31c Gitweb: https://git.kernel.org/tip/8b7770b877d187bfdae1eaf587bd2b792479a31c Author:Keqian Zhu AuthorDate:Fri, 04 Dec 2020 15:31:26 +08:00

[tip: irq/core] genirq: Provide kstat_irqdesc_cpu()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: ea5f36556b8bde14234ec223ebc59968ade4735a Gitweb: https://git.kernel.org/tip/ea5f36556b8bde14234ec223ebc59968ade4735a Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:44 +01:00

[tip: irq/core] parisc/irq: Use irq_desc_kstat_cpu() in show_interrupts()

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 27fb43cb32d016366d1d87986970d5be7d6607e1 Gitweb: https://git.kernel.org/tip/27fb43cb32d016366d1d87986970d5be7d6607e1 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:47 +01:00

[tip: irq/core] genirq: Move irq_set_lockdep_class() to core

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: a07d244f00de679c66643e89eba6e1baa62d3517 Gitweb: https://git.kernel.org/tip/a07d244f00de679c66643e89eba6e1baa62d3517 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:39 +01:00

[tip: irq/core] genirq: Move irq_has_action() into core code

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: db123744af5d237048f23ede05cc7ef0dc48db01 Gitweb: https://git.kernel.org/tip/db123744af5d237048f23ede05cc7ef0dc48db01 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:25:37 +01:00

[tip: irq/core] xen/events: Implement irq distribution

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 93b6adbf0420a7bd84167a4feb289cc2c1b4efca Gitweb: https://git.kernel.org/tip/93b6adbf0420a7bd84167a4feb289cc2c1b4efca Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:05 +01:00

[tip: irq/core] xen/events: Only force affinity mask for percpu interrupts

2020-12-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: f61b8351facda691f1564097074976b30e987a81 Gitweb: https://git.kernel.org/tip/f61b8351facda691f1564097074976b30e987a81 Author:Thomas Gleixner AuthorDate:Thu, 10 Dec 2020 20:26:03 +01:00

Re: [GIT PULL] timers changes for v5.11 #2

2020-12-12 Thread Thomas Gleixner
On Thu, Dec 10 2020 at 12:23, Daniel Lezcano wrote: > please consider pulling those 3 last changes which fixes some issues on > the drivers. > > The following changes since commit fef92cd2bc04c64bb3743d40c0b4be47aedf9e23: > > Merge tag 'timers-v5.11' of >

[PATCH] xfs: clean code for setting bma length in xfs_bmapi_write

2020-12-12 Thread chenlei0x
From: Lei Chen xfs_bmapi_write may need alloc blocks when it encounters a hole or delay extent. When setting bma.length, it does not need comparing MAXEXTLEN and the length that the caller wants, because xfs_bmapi_allocate will handle every thing properly for bma.length. Signed-off-by: Lei Chen

[PATCH v2] mfd: db8500-prcmu: Add devicetree bindings

2020-12-12 Thread Linus Walleij
This driver was merged in the early days of device tree on Arm in 2012 and somehow we failed to provide bindings for it. Fix it up with some YAML bindings. Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Make the main PRCMU node name more generic instead of

[PATCH] clk: s2mps11: Fix a resource leak in error handling paths in the probe function

2020-12-12 Thread Christophe JAILLET
Some resource should be released in the error handling path of the probe function, as already done in the remove function. The remove function was fixed in commit bf416bd45738 ("clk: s2mps11: Add missing of_node_put and of_clk_del_provider") Fixes: 7cc560dea415 ("clk: s2mps11: Add support for

Re: [PATCH 1/2] Add support for Cadence XSPI controller

2020-12-12 Thread Lukas Wunner
On Wed, Dec 09, 2020 at 08:57:57AM +0100, Jayshri Pawar wrote: > + master = spi_alloc_master(dev, sizeof(*cdns_xspi)); > + if (!master) { > + ret = -ENOMEM; > + dev_err(dev, "Failed to allocate memory for spi_master\n"); > + goto err_no_mem; > + }

Re: [PATCH v2] close_range.2: new page documenting close_range(2)

2020-12-12 Thread Christian Brauner
On Thu, Dec 10, 2020 at 01:24:28AM +0100, Alejandro Colomar (man-pages) wrote: > Hi Stephen, > > A few more comments below. > > Michael, please have a look at them too. > > Christian, do you have any program that you used to test the syscall > that could be added as an example program to the

Re: [patch] close_range.2: new page documenting close_range(2)

2020-12-12 Thread Christian Brauner
On Thu, Dec 10, 2020 at 03:36:42PM +0100, Alejandro Colomar (man-pages) wrote: > Hi Christian, Hi Alex, > > Thanks for confirming that behavior. Seems reasonable. > > I was wondering... > If this call is equivalent to unshare(2)+{close(2) in a loop}, > shouldn't it fail for the same reasons

Re: [PATCH RFC 03/39] KVM: x86/xen: register shared_info page

2020-12-12 Thread David Woodhouse
On Tue, 2020-12-01 at 16:40 -0800, Ankur Arora wrote: > > How come we get to pin the page and directly dereference it every time, > > while kvm_setup_pvclock_page() has to use kvm_write_guest_cached() > > instead? > > So looking at my WIP trees from the time, this is something that > we went back

Re: [PATCH v3 4/9] spi: tegra210-quad: Add support for Tegra210 QSPI controller

2020-12-12 Thread Lukas Wunner
On Fri, Dec 11, 2020 at 01:15:58PM -0800, Sowjanya Komatineni wrote: > Tegra SoC has a Quad SPI controller starting from Tegra210. The probe/remove hooks LGTM now. Just two tiny nits that caught my eye: > + master = devm_spi_alloc_master(>dev, sizeof(*tqspi)); > + if (!master) { > +

[PATCH] mtd: spi-nor: sfdp: Fix SMPT parsing when 4BAIT table is before SMPT

2020-12-12 Thread Vignesh Raghavendra
If 4BAIT table appears before SMPT then, nor->addr_width is set to 4 before SMPT table is parsed. This causes SMPT parser code to use addr_width of 4 for reading current sector map configuration in spi_nor_get_map_in_use() if SMPT_CMD_ADDRESS_LEN reads SMPT_CMD_ADDRESS_LEN_USE_CURRENT (see

Re: Fair Pay: Some interesting observations of symboldevelopment..

2020-12-12 Thread Ywe Cærlyn
I have also included the sign for Adams giad on the mascot culture now: https://www.youtube.com/channel/UCi7TCodsP4Y4UTuIigrG9GQ Symbolizing perfectness of "Allah" (written right to left in arabic script), in the East, and SINO (left to right Latin script) perfect in the West. Serenity! Ywe

Re: [PATCH] ACPI: Use fwnode_init() to set up fwnode

2020-12-12 Thread Greg Kroah-Hartman
On Fri, Dec 11, 2020 at 09:53:09PM +0100, Rafael J. Wysocki wrote: > On Friday, December 11, 2020 9:26:29 PM CET Saravana Kannan wrote: > > Commit 01bb86b380a3 ("driver core: Add fwnode_init()") was supposed to > > fix up all instances of fwnode creation to use fwnode_init(). But looks > > like

Re: [PATCH] driver core: platform: don't oops on unbound devices

2020-12-12 Thread Greg Kroah-Hartman
On Sat, Dec 12, 2020 at 04:14:26AM +0300, Dmitry Baryshkov wrote: > Platform code stopped checking if the device is bound to the actual > platform driver, thus calling non-existing drv->shutdown(). Verify that > _dev->driver is not NULL before calling remove/shutdown callbacks. > > Signed-off-by:

!!! Ask Details For Relief

2020-12-12 Thread United Nations Covid-19 Relief Unit
You has been chosen via E-mail for the United Nations Covid-19 Relief F und, for more details reply to sangior...@aclipisa.it Best regards, Dr. Susan Marshal

Re: [PATCH v3 5/9] spi: spi-mem: Allow masters to transfer dummy cycles directly by hardware

2020-12-12 Thread Boris Brezillon
On Fri, 11 Dec 2020 13:15:59 -0800 Sowjanya Komatineni wrote: > This patch adds a flag SPI_MASTER_USES_HW_DUMMY_CYCLES for the controllers > that support transfer of dummy cycles by the hardware directly. Hm, not sure this is a good idea. I mean, if we expect regular SPI devices to use this

Re: [PATCH] crypto: x86/crc32c-intel - Don't match some Zhaoxin CPUs

2020-12-12 Thread Ard Biesheuvel
On Sat, 12 Dec 2020 at 10:36, Ard Biesheuvel wrote: > > On Fri, 11 Dec 2020 at 20:07, Eric Biggers wrote: > > > > On Fri, Dec 11, 2020 at 07:29:04PM +0800, Tony W Wang-oc wrote: > > > The driver crc32c-intel match CPUs supporting X86_FEATURE_XMM4_2. > > > On platforms with Zhaoxin CPUs

[irqchip: irq/irqchip-next] irqchip/qcom-pdc: Fix phantom irq when changing between rising/falling

2020-12-12 Thread irqchip-bot for Douglas Anderson
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 2f5fbc4305d07725bfebaedb09e57271315691ef Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/2f5fbc4305d07725bfebaedb09e57271315691ef Author:Douglas Anderson

Re: (subset) [PATCH v4 1/4] irqchip: qcom-pdc: Fix phantom irq when changing between rising/falling

2020-12-12 Thread Marc Zyngier
On Fri, 11 Dec 2020 14:15:35 -0800, Douglas Anderson wrote: > We have a problem if we use gpio-keys and configure wakeups such that > we only want one edge to wake us up. AKA: > wakeup-event-action = ; > wakeup-source; > > Specifically we end up with a phantom interrupt that blocks suspend

Re: [PATCH v2 1/2] s390/vfio-ap: No need to disable IRQ after queue reset

2020-12-12 Thread Greg KH
On Fri, Dec 11, 2020 at 05:22:10PM -0500, Tony Krowiak wrote: > The queues assigned to a matrix mediated device are currently reset when: > > * The VFIO_DEVICE_RESET ioctl is invoked > * The mdev fd is closed by userspace (QEMU) > * The mdev is removed from sysfs. > > Immediately after the reset

Re: [PATCH v2 2/2] s390/vfio-ap: reverse group notifier actions when KVM pointer invalidated

2020-12-12 Thread Greg KH
On Fri, Dec 11, 2020 at 05:22:11PM -0500, Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event).

[PATCH v4] Serial: silabs si4455 serial driver

2020-12-12 Thread József Horváth
This is a serial port driver for Silicon Labs Si4455 Sub-GHz transciver. The goal of this driver is to removing wires between central(linux) device and remote serial devices/sensors, but keeping the original user software. It represents regular serial interface for the user space. Datasheet:

<    1   2   3   4   >