[tip:irq/core] BUILD SUCCESS 559db8c7e6ed1f24baf7264a6966ee4f051c6446

2020-12-12 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: 559db8c7e6ed1f24baf7264a6966ee4f051c6446 Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core elapsed time: 725m configs tested: 123 configs

x86_32: CONFIG_PHYSICAL_START problem

2020-12-12 Thread Randy Dunlap
background: I was trying to debug a MIPS build error, but it wasn't MIPS-specific, so I did this, using the MIPS .config file: make ARCH=i386 O=xx32 olddefconfig Little to my knowledge, this came up with CONFIG_PHYSICAL_START=0x8100 Then I built the i386 kernel, and got this message: ld:

[tip:master] BUILD SUCCESS dc780fed5a1be01ece7e0d5588337340a642183c

2020-12-12 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: dc780fed5a1be01ece7e0d5588337340a642183c Merge branch 'core/entry' elapsed time: 720m configs tested: 151 configs skipped: 3 The following configs have been built successfully. More configs may be

[tip:timers/core] BUILD SUCCESS a3356a079da268cd35460d9bfe052c74383e179b

2020-12-12 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core branch HEAD: a3356a079da268cd35460d9bfe052c74383e179b ntp: Fix build error elapsed time: 720m configs tested: 155 configs skipped: 3 The following configs have been built successfully. More configs may be

[PATCH] spi: spi-qcom-qspi: Use irq trigger flags from firmware

2020-12-12 Thread Stephen Boyd
We don't need to force this to be trigger high here, as the firmware properly configures the irq flags already. Drop it to save a line. Cc: Douglas Anderson Cc: Rajendra Nayak Cc: Mukesh Kumar Savaliya Cc: Akash Asthana Signed-off-by: Stephen Boyd --- drivers/spi/spi-qcom-qspi.c | 3 +-- 1

Re: [PATCH v11] ARM: uncompress: Validate start of physical memory against passed DTB

2020-12-12 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2020-12-10 01:32:01) > diff --git a/arch/arm/boot/compressed/fdt_check_mem_start.c > b/arch/arm/boot/compressed/fdt_check_mem_start.c > new file mode 100644 > index ..e58c3a79c8a31ec4 > --- /dev/null > +++

Re: [PATCH v6 01/11] firmware: raspberrypi: Keep count of all consumers

2020-12-12 Thread Stephen Boyd
Quoting Nicolas Saenz Julienne (2020-12-11 08:47:50) > When unbinding the firmware device we need to make sure it has no > consumers left. Otherwise we'd leave them with a firmware handle > pointing at freed memory. > > Keep a reference count of all consumers and introduce rpi_firmware_put() >

Re: [PATCH v6 03/11] clk: bcm: rpi: Release firmware handle on unbind

2020-12-12 Thread Stephen Boyd
Quoting Nicolas Saenz Julienne (2020-12-11 08:47:52) > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware > interface when unbinding the device. > > Signed-off-by: Nicolas Saenz Julienne > Reviewed-by: Florian Fainelli > --- Acked-by: Stephen Boyd

Re: [PATCH v8 1/2] PCI/ERR: Call pci_bus_reset() before calling ->slot_reset() callback

2020-12-12 Thread Kuppuswamy, Sathyanarayanan
On 10/26/20 12:37 PM, Kuppuswamy Sathyanarayanan wrote: Currently if report_error_detected() or report_mmio_enabled() functions requests PCI_ERS_RESULT_NEED_RESET, current pcie_do_recovery() implementation does not do the requested explicit device reset, but instead just calls the

Re: [PATCH v3] Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK

2020-12-12 Thread Miguel Ojeda
On Sat, Dec 12, 2020 at 5:18 PM Guenter Roeck wrote: > > This patch results in: > > arch/sh/kernel/cpu/sh4a/smp-shx3.c: In function 'shx3_prepare_cpus': > arch/sh/kernel/cpu/sh4a/smp-shx3.c:76:3: error: ignoring return value of > 'request_irq' declared with attribute 'warn_unused_result' > >

Re: [PATCH v3 0/3] Support wakeup methods of Atmel maXTouch controllers

2020-12-12 Thread Dmitry Torokhov
On Sat, Dec 12, 2020 at 10:54:35AM +0300, Dmitry Osipenko wrote: > Hello, > > 12.12.2020 05:43, Dmitry Torokhov пишет: > > Hi Dmitry, > > > > On Mon, Dec 07, 2020 at 12:22:14AM +0300, Dmitry Osipenko wrote: > >> Some Atmel maXTouch controllers, like mXT1386 and mXT3432S1 for example, > >> have a

[GIT PULL] auxdisplay for v5.11

2020-12-12 Thread Miguel Ojeda
Hi Linus, This time there have been quite a few changes in auxdisplay thanks to a refactor by Lars Poeschel to share code in order to introduce a new driver. I am sending these earlier than usual. Please also note I am using a different email address than usual, too. Cheers, Miguel The

Re: [PATCH v2 net-next 6/6] net: dsa: ocelot: request DSA to fix up lack of address learning on CPU port

2020-12-12 Thread Florian Fainelli
On 12/12/2020 6:40 PM, Vladimir Oltean wrote: > Given the following setup: > > ip link add br0 type bridge > ip link set eno0 master br0 > ip link set swp0 master br0 > ip link set swp1 master br0 > ip link set swp2 master br0 > ip link set swp3 master br0 > > Currently, packets received on a

Re: [PATCH v2 net-next 5/6] net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neighbors

2020-12-12 Thread Florian Fainelli
On 12/12/2020 6:40 PM, Vladimir Oltean wrote: > Some DSA switches (and not only) cannot learn source MAC addresses from > packets injected from the CPU. They only perform hardware address > learning from inbound traffic. > > This can be problematic when we have a bridge spanning some DSA

[PATCH] kvm: don't lose the higher 32 bits of tlbs_dirty

2020-12-12 Thread Lai Jiangshan
From: Lai Jiangshan In kvm_mmu_notifier_invalidate_range_start(), tlbs_dirty is used as: need_tlb_flush |= kvm->tlbs_dirty; with need_tlb_flush's type being int and tlbs_dirty's type being long. It means that tlbs_dirty is always used as int and the higher 32 bits is useless. We can

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-12-12 Thread Ian Kent
On Fri, 2020-12-11 at 10:17 +0800, Ian Kent wrote: > On Fri, 2020-12-11 at 10:01 +0800, Ian Kent wrote: > > > For the patches, there is a mutex_lock in kn->attr_mutex, as > > > Tejun > > > mentioned here > > > (https://lore.kernel.org/lkml/x8fe0cmu+aq1g...@mtj.duckdns.org/), > > > maybe a global

Re: [PATCH v2 net-next 2/6] net: dsa: don't use switchdev_notifier_fdb_info in dsa_switchdev_event_work

2020-12-12 Thread Florian Fainelli
On 12/12/2020 6:40 PM, Vladimir Oltean wrote: > Currently DSA doesn't add FDB entries on the CPU port, because it only > does so through switchdev, which is associated with a net_device, and > there are none of those for the CPU port. > > But actually FDB addresses on the CPU port have some

Re: [PATCH v2 net-next 3/6] net: dsa: move switchdev event implementation under the same switch/case statement

2020-12-12 Thread Florian Fainelli
On 12/12/2020 6:40 PM, Vladimir Oltean wrote: > We'll need to start listening to SWITCHDEV_FDB_{ADD,DEL}_TO_DEVICE > events even for interfaces where dsa_slave_dev_check returns false, so > we need that check inside the switch-case statement for SWITCHDEV_FDB_*. > > This movement also avoids a

Re: [PATCH v2 net-next 4/6] net: dsa: exit early in dsa_slave_switchdev_event if we can't program the FDB

2020-12-12 Thread Florian Fainelli
On 12/12/2020 6:40 PM, Vladimir Oltean wrote: > Right now, the following would happen for a switch driver that does not > implement .port_fdb_add or .port_fdb_del. > > dsa_slave_switchdev_event returns NOTIFY_OK and schedules: > -> dsa_slave_switchdev_event_work >-> dsa_port_fdb_add >

INFO: task can't die in irqentry_exit (2)

2020-12-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:14240d4c Add linux-next specific files for 20201210 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=137b0f9b50 kernel config: https://syzkaller.appspot.com/x/.config?x=6dbe20fdaa5aaebe dashboard

Re: [PATCH v2] dt-bindings: leds: Document commonly used LED triggers

2020-12-12 Thread Leizhen (ThunderTown)
On 2020/12/13 10:39, Leizhen (ThunderTown) wrote: > > > On 2020/12/10 16:24, Manivannan Sadhasivam wrote: >> This commit documents the LED triggers used commonly in the SoCs. Not >> all triggers are documented as some of them are very application specific. >> Most of the triggers documented

[PATCH v2 net-next 2/6] net: dsa: don't use switchdev_notifier_fdb_info in dsa_switchdev_event_work

2020-12-12 Thread Vladimir Oltean
Currently DSA doesn't add FDB entries on the CPU port, because it only does so through switchdev, which is associated with a net_device, and there are none of those for the CPU port. But actually FDB addresses on the CPU port have some use cases of their own, if the switchdev operations are

[PATCH v2 net-next 3/6] net: dsa: move switchdev event implementation under the same switch/case statement

2020-12-12 Thread Vladimir Oltean
We'll need to start listening to SWITCHDEV_FDB_{ADD,DEL}_TO_DEVICE events even for interfaces where dsa_slave_dev_check returns false, so we need that check inside the switch-case statement for SWITCHDEV_FDB_*. This movement also avoids a useless allocation / free of switchdev_work on the

[PATCH v2 net-next 5/6] net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neighbors

2020-12-12 Thread Vladimir Oltean
Some DSA switches (and not only) cannot learn source MAC addresses from packets injected from the CPU. They only perform hardware address learning from inbound traffic. This can be problematic when we have a bridge spanning some DSA switch ports and some non-DSA ports (which we'll call "foreign

[PATCH v2 net-next 6/6] net: dsa: ocelot: request DSA to fix up lack of address learning on CPU port

2020-12-12 Thread Vladimir Oltean
Given the following setup: ip link add br0 type bridge ip link set eno0 master br0 ip link set swp0 master br0 ip link set swp1 master br0 ip link set swp2 master br0 ip link set swp3 master br0 Currently, packets received on a DSA slave interface (such as swp0) which should be routed by the

[PATCH v2 net-next 4/6] net: dsa: exit early in dsa_slave_switchdev_event if we can't program the FDB

2020-12-12 Thread Vladimir Oltean
Right now, the following would happen for a switch driver that does not implement .port_fdb_add or .port_fdb_del. dsa_slave_switchdev_event returns NOTIFY_OK and schedules: -> dsa_slave_switchdev_event_work -> dsa_port_fdb_add -> dsa_port_notify(DSA_NOTIFIER_FDB_ADD) ->

[PATCH v2 net-next 1/6] net: bridge: notify switchdev of disappearance of old FDB entry upon migration

2020-12-12 Thread Vladimir Oltean
Currently the bridge emits atomic switchdev notifications for dynamically learnt FDB entries. Monitoring these notifications works wonders for switchdev drivers that want to keep their hardware FDB in sync with the bridge's FDB. For example station A wants to talk to station B in the diagram

[PATCH v2 net-next 0/6] Offload software learnt bridge addresses to DSA

2020-12-12 Thread Vladimir Oltean
This small series tries to make DSA behave a bit more sanely when bridged with "foreign" (non-DSA) interfaces. When a station A connected to a DSA switch port needs to talk to another station B connected to a non-DSA port through the Linux bridge, DSA must explicitly add a route for station B

Re: [PATCH v2] dt-bindings: leds: Document commonly used LED triggers

2020-12-12 Thread Leizhen (ThunderTown)
On 2020/12/10 16:24, Manivannan Sadhasivam wrote: > This commit documents the LED triggers used commonly in the SoCs. Not > all triggers are documented as some of them are very application specific. > Most of the triggers documented here are currently used in devicetrees > of many SoCs. > >

[tip:efi/core 9/12] drivers/firmware/efi/capsule.c:15:10: fatal error: asm/efi.h: No such file or directory

2020-12-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi/core head: 54649911f31b6e7c2a79a1426ca98259139e4c35 commit: 4dbe44fb538c59a4adae5abfa9ded2f310250315 [9/12] efi: capsule: clean scatter-gather entries from the D-cache config: ia64-randconfig-r011-20201213 (attached as

[tip:x86/urgent] BUILD SUCCESS 0d07c0ec4381f630c801539c79ad8dcc627f6e4a

2020-12-12 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20201212 i386 randconfig-a004

Re: [PATCH AUTOSEL 5.7 03/30] ima: extend boot_aggregate with kernel measurements

2020-12-12 Thread Mimi Zohar
On Fri, 2020-12-11 at 09:46 -0800, James Bottomley wrote: > On Fri, 2020-12-11 at 06:01 -0500, Mimi Zohar wrote: > > On Thu, 2020-12-10 at 21:10 -0600, Tyler Hicks wrote: > > > On 2020-11-29 08:17:38, Mimi Zohar wrote: > > > > Hi Sasha, > > > > > > > > On Wed, 2020-07-08 at 21:27 -0400, Sasha

Re: [PATCH v3] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Guenter Roeck
On Sun, Dec 13, 2020 at 02:55:33AM +0300, Dmitry Baryshkov wrote: > On shutdown the driver core calls the bus' shutdown callback also for > unbound devices. A driver's shutdown callback however is only called for > devices bound to this driver. Commit 9c30921fe799 ("driver core: > platform: use

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

2020-12-12 Thread Tushar Sugandhi
On 2020-12-12 11:20 a.m., Tyler Hicks wrote: On 2020-12-12 10:02:47, 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 measuring the input buffer. The policy rule should ensure the buffer would get

Re: [PATCH v9 5/8] IMA: limit critical data measurement based on a label

2020-12-12 Thread Tushar Sugandhi
On 2020-12-12 11:20 a.m., Tyler Hicks wrote: On 2020-12-12 10:02:48, Tushar Sugandhi wrote: System administrators should be able to limit which kernel subsystems they want to measure the critical data for. To enable that, an IMA policy condition to choose specific kernel subsystems is

[PATCH] ASoC: dapm: remove widget from dirty list on free

2020-12-12 Thread Thomas Hebb
A widget's "dirty" list_head, much like its "list" list_head, eventually chains back to a list_head on the snd_soc_card itself. This means that the list can stick around even after the widget (or all widgets) have been freed. Currently, however, widgets that are in the dirty list when freed remain

Re: [PATCH net-next] net: x25: Remove unimplemented X.25-over-LLC code stubs

2020-12-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 8 Dec 2020 19:33:46 -0800 you wrote: > According to the X.25 documentation, there was a plan to implement > X.25-over-802.2-LLC. It never finished but left various code stubs in the > X.25 code. At this time it is

Re: [PATCH v2, 04/17] drm/mediatek: add component OVL_2L2

2020-12-12 Thread Chun-Kuang Hu
Hi, Yongqiang: Yongqiang Niu 於 2020年12月12日 週六 下午12:12寫道: > > This patch add component OVL_2L2 Break drm part and soc part into different patches. Regards, Chun-Kuang. > > Signed-off-by: Yongqiang Niu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + >

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Matthew Garrett
On Sun, Dec 13, 2020 at 12:39:26AM +0100, Daniel Lezcano wrote: > On 12/12/2020 21:08, Matthew Garrett wrote: > > Anything that provides a trip point that has no active notifications and > > doesn't provide any information that tells the kernel to poll it. > > I'm not able to create a setup as

APPLY FOR LOAN AND FUNDING

2020-12-12 Thread GLOBAL SERVIEC FINANCE
Apply for Loan, Investment Funding or Project/Contract Funding .We finance contracts, Projects, Business and Companies. We also deal on 24karat Gold with 99.9% purity. We issue loans at 2% interest rate within duration of 10 - 20years.Funding occurs within 2 to 3 working days after

Re: [PATCH] lib/find_bit_bench: fix the unmatched iterations cnt

2020-12-12 Thread Yun Levi
> Can you please welcome those people to join the discussion? What exactly > confuses them? What is their usecase? Will they be satisfied if we add > the comment pointing that we count _iterations_, not number of bits? > Again, we count iterations, not the number of set bits. If you are able to >

Re: [PATCH] power: supply: Fix a typo in warning message

2020-12-12 Thread Sebastian Reichel
Hi, On Sat, Dec 05, 2020 at 10:25:32AM +0900, Masanari Iida wrote: > This patch fix a warning messages in power_supply_sysfs.c > > Signed-off-by: Masanari Iida > --- Thanks, queued. -- Sebastian > drivers/power/supply/power_supply_sysfs.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH v3] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Dmitry Baryshkov
On shutdown the driver core calls the bus' shutdown callback also for unbound devices. A driver's shutdown callback however is only called for devices bound to this driver. Commit 9c30921fe799 ("driver core: platform: use bus_type functions") changed the platform bus from driver callbacks to bus

Re: [PATCH v5 2/3] Documentation: DT: binding documentation for regulator-poweroff

2020-12-12 Thread Sebastian Reichel
Hi, On Fri, Dec 11, 2020 at 04:14:44PM +0100, Michael Klein wrote: > Add devicetree binding documentation for regulator-poweroff driver. > > Signed-off-by: Michael Klein > --- Thanks, queued. -- Sebastian > .../power/reset/regulator-poweroff.yaml | 37 +++ > 1 file

Re: [PATCH v5 1/3] power: reset: new driver regulator-poweroff

2020-12-12 Thread Sebastian Reichel
Hi, On Fri, Dec 11, 2020 at 04:14:43PM +0100, Michael Klein wrote: > This driver registers a pm_power_off function to turn off the board > by force-disabling a devicetree-defined regulator. > > Signed-off-by: Michael Klein > --- Thanks, queued. -- Sebastian > drivers/power/reset/Kconfig

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Daniel Lezcano
On 12/12/2020 21:08, Matthew Garrett wrote: > On Sat, Dec 12, 2020 at 10:11:31AM +0100, Daniel Lezcano wrote: >> On 12/12/2020 04:50, Matthew Garrett wrote: >>> Yes - what's the reason to do so? >> >> I'm cleaning up the thermal core code, so questioning every old ABI. >> >>> The code isn't

Re: [PATCH v4] net/ipv4/inet_fragment: Batch fqdir destroy works

2020-12-12 Thread Jakub Kicinski
On Fri, 11 Dec 2020 15:36:53 +0100 Eric Dumazet wrote: > On Fri, Dec 11, 2020 at 12:24 PM SeongJae Park wrote: > > From: SeongJae Park > > > > On a few of our systems, I found frequent 'unshare(CLONE_NEWNET)' calls > > make the number of active slab objects including 'sock_inode_cache' type > >

Re: [PATCH] net: bcmgenet: Fix a resource leak in an error handling path in the probe functin

2020-12-12 Thread Florian Fainelli
On 12/12/2020 10:20 AM, Christophe JAILLET wrote: > If the 'register_netdev()' call fails, we must undo a previous > 'bcmgenet_mii_init()' call. > > Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")> Signed-off-by: > Christophe JAILLET Acked-by: Florian Fainelli > --- > The

Re: [PATCH] nfc: s3fwrn5: let core configure the interrupt trigger

2020-12-12 Thread Jakub Kicinski
On Thu, 10 Dec 2020 22:18:24 +0100 Krzysztof Kozlowski wrote: > If interrupt trigger is not set when requesting the interrupt, the core > will take care of reading trigger type from Devicetree. There is no > point to do it in the driver. > > Signed-off-by: Krzysztof Kozlowski Applied, thank

Re: [PATCH v2] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Uwe Kleine-König
Hello Dmitry, On Sun, Dec 13, 2020 at 12:38:32AM +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 shutdown callback. I'd write:

Re: [PATCH v2 1/2] dt-bindings: regulator: add pf8x00 PMIC

2020-12-12 Thread Adrien Grassein
Hello, Le ven. 11 déc. 2020 à 15:04, Mark Brown a écrit : > > On Thu, Dec 10, 2020 at 11:16:28PM +0100, Adrien Grassein wrote: > > Add a devicetree binding documentation for the pf8x00 regulator driver. > > Please don't send new patches in reply to old threads, it makes it hard > to keep track

WARNING in yurex_write/usb_submit_urb

2020-12-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a256e240 usb: phy: convert comma to semicolon git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=14c2cef350 kernel config:

[PATCH] drm/rockchip: dsi: remove extra component_del() call

2020-12-12 Thread Thomas Hebb
commit cf6d100dd238 ("drm/rockchip: dsi: add dual mipi support") added this devcnt field and call to component_del(). However, these both appear to be erroneous changes left over from an earlier version of the patch. In the version merged, nothing ever modifies devcnt, meaning component_del() runs

arch/sh/kernel/dwarf.c:411:24: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-12 Thread kernel test robot
Hi Luc, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7b1b868e1d9156484ccce9bf11122c053de82617 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 4

Re: [PATCH 1/1] net: Fix use of proc_fs

2020-12-12 Thread Jakub Kicinski
On Sat, 12 Dec 2020 23:39:20 +0200 Yonatan Linik wrote: > On Sat, Dec 12, 2020 at 9:48 PM Jakub Kicinski wrote: > > > > On Fri, 11 Dec 2020 18:37:49 +0200 Yonatan Linik wrote: > > > proc_fs was used, in af_packet, without a surrounding #ifdef, > > > although there is no hard dependency on

RE: [PATCH 3/3] kbuild: rewrite ld-version.sh in shell script

2020-12-12 Thread David Laight
From: Masahiro Yamada > Sent: 12 December 2020 16:55 > > This script was written in awk in spite of the file extension '.sh'. > Rewrite it as a shell script. ... > +# > +# Usage: $ ./scripts/ld-version.sh ld > +# > +# Print the linker version of `ld' in a 5 or 6-digit form > +# such as `23501'

Re: [PATCH 3/3] kbuild: rewrite ld-version.sh in shell script

2020-12-12 Thread kernel test robot
Hi Masahiro, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on kbuild/for-next arm64/for-next/core linus/master v5.10-rc7 next-20201211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH] net: qlcnic: remove casting dma_alloc_coherent

2020-12-12 Thread Jakub Kicinski
On Fri, 11 Dec 2020 08:59:20 + Xu Wang wrote: > Remove casting the values returned by dma_alloc_coherent. > > Signed-off-by: Xu Wang This patch does not apply to net-next, please rebase against: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/ if you want it to be

[PATCH v2] driver core: platform: don't oops in platform_shutdown() on unbound devices

2020-12-12 Thread Dmitry Baryshkov
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 shutdown callback. [ 57.832972] platform 3d6a000.gmu: shutdown [ 57.837778] Unable to handle kernel paging

Re: [PATCH 1/1] net: Fix use of proc_fs

2020-12-12 Thread Yonatan Linik
On Sat, Dec 12, 2020 at 9:48 PM Jakub Kicinski wrote: > > On Fri, 11 Dec 2020 18:37:49 +0200 Yonatan Linik wrote: > > proc_fs was used, in af_packet, without a surrounding #ifdef, > > although there is no hard dependency on proc_fs. > > That caused the initialization of the af_packet module to

Re: [PATCH 3/3] driver core: platform: use bus_type functions

2020-12-12 Thread Uwe Kleine-König
Hi Marek, On Fri, Dec 11, 2020 at 05:12:16PM +0100, Marek Szyprowski wrote: > On 19.11.2020 13:46, Uwe Kleine-König wrote: > > +static void platform_shutdown(struct device *_dev) > > +{ > > + struct platform_driver *drv = to_platform_driver(_dev->driver); > > + struct platform_device *dev =

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

2020-12-12 Thread Uwe Kleine-König
Hello Dmitry, On Sat, Dec 12, 2020 at 11:49:26PM +0300, Dmitry Baryshkov wrote: > On Sat, 12 Dec 2020 at 18:39, Uwe Kleine-König > wrote: > > 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: > > > >

Re: [GIT PULL] SCSI fixes for 5.10-rc7

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Dec 2020 11:32:54 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6bff9bb8a292668e7da3e740394b061e5201f683 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PULL REQUEST] i2c for 5.10

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Dec 2020 19:30:46 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5ee595d9079b94ee931287ce004d34886b7d3c24 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH v2] proc: Allow pid_revalidate() during LOOKUP_RCU

2020-12-12 Thread Matthew Wilcox
On Thu, Dec 03, 2020 at 04:02:12PM -0800, Stephen Brennan wrote: > -void pid_update_inode(struct task_struct *task, struct inode *inode) > +static int do_pid_update_inode(struct task_struct *task, struct inode *inode, > +unsigned int flags) I'm really nitpicking here,

Re: [PATCH 3/3] kbuild: rewrite ld-version.sh in shell script

2020-12-12 Thread kernel test robot
Hi Masahiro, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on kbuild/for-next arm64/for-next/core linus/master v5.10-rc7 next-20201211] [cannot apply to mmarek/misc] [If your patch is applied to the wrong git tree, kindly drop us a

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

2020-12-12 Thread Dmitry Baryshkov
Hello, On Sat, 12 Dec 2020 at 18:39, Uwe Kleine-König wrote: > > 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 > > >

[PATCH] remoteproc: Create a separate workqueue for recovery tasks

2020-12-12 Thread Rishabh Bhatnagar
Create an unbound high priority workqueue for recovery tasks. Recovery time is an important parameter for a subsystem and there might be situations where multiple subsystems crash around the same time. Scheduling into an unbound workqueue increases parallelization and avoids time impact. Also

[net-next PATCH v3] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-12 Thread Alexander Duyck
From: Alexander Duyck There are cases where a fastopen SYN may trigger either a ICMP_TOOBIG message in the case of IPv6 or a fragmentation request in the case of IPv4. This results in the socket stalling for a second or more as it does not respond to the message by retransmitting the SYN frame.

Re: [PATCH 3/3] kbuild: rewrite ld-version.sh in shell script

2020-12-12 Thread kernel test robot
Hi Masahiro, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on kbuild/for-next arm64/for-next/core linus/master v5.10-rc7 next-20201211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Matthew Garrett
On Sat, Dec 12, 2020 at 10:11:31AM +0100, Daniel Lezcano wrote: > On 12/12/2020 04:50, Matthew Garrett wrote: > > Yes - what's the reason to do so? > > I'm cleaning up the thermal core code, so questioning every old ABI. > > > The code isn't specific to ACPI, > > so being able to override ACPI

[net-next PATCH v2] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-12 Thread Alexander Duyck
From: Alexander Duyck There are cases where a fastopen SYN may trigger either a ICMP_TOOBIG message in the case of IPv6 or a fragmentation request in the case of IPv4. This results in the socket stalling for a second or more as it does not respond to the message by retransmitting the SYN frame.

Re: [PATCH 1/2] futex: mark futex_detect_cmpxchg() as 'noinline'

2020-12-12 Thread Thomas Gleixner
On Sat, Dec 12 2020 at 13:26, Marco Elver wrote: > On Thu, Mar 07, 2019 at 10:14AM +0100, Arnd Bergmann wrote: >> -static void __init futex_detect_cmpxchg(void) >> +static noinline void futex_detect_cmpxchg(void) >> { >> #ifndef CONFIG_HAVE_FUTEX_CMPXCHG >> u32 curval; > > What ever

Re: [net-next PATCH] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-12 Thread Alexander Duyck
On Sat, Dec 12, 2020 at 11:07 AM Yuchung Cheng wrote: > > On Sat, Dec 12, 2020 at 11:01 AM Alexander Duyck > wrote: > > > > On Sat, Dec 12, 2020 at 10:34 AM Yuchung Cheng wrote: > > > > > > On Fri, Dec 11, 2020 at 5:28 PM Alexander Duyck > > > wrote: > > > > > > > > From: Alexander Duyck > >

[PATCH] leds: Use DEVICE_ATTR_{RW, RO, WO} macros

2020-12-12 Thread Dwaipayan Ray
Instead of open coding DEVICE_ATTR() defines, use the DEVICE_ATTR_RW(), DEVICE_ATTR_WO(), and DEVICE_ATTR_RO() macros intead. This required a few functions to be renamed, but the functionality itself is unchanged. Note that this is compile tested only. Cc: Greg Kroah-Hartman Cc: Dan Murphy

Re: [PATCH 1/1] net: Fix use of proc_fs

2020-12-12 Thread Jakub Kicinski
On Fri, 11 Dec 2020 18:37:49 +0200 Yonatan Linik wrote: > proc_fs was used, in af_packet, without a surrounding #ifdef, > although there is no hard dependency on proc_fs. > That caused the initialization of the af_packet module to fail > when CONFIG_PROC_FS=n. > > Specifically, proc_create_net()

[tip: irq/core] Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/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: 559db8c7e6ed1f24baf7264a6966ee4f051c6446 Gitweb: https://git.kernel.org/tip/559db8c7e6ed1f24baf7264a6966ee4f051c6446 Author:Thomas Gleixner AuthorDate:Sat, 12 Dec 2020 20:35:24 +01:00

Re: [RFC] ravb: Add support for optional txc_refclk

2020-12-12 Thread Adam Ford
On Sat, Dec 12, 2020 at 11:55 AM Sergei Shtylyov wrote: > > Hello! > > On 12.12.2020 19:56, Adam Ford wrote: > > > The SoC expects the txv_refclk is provided, but if it is provided > > by a programmable clock, there needs to be a way to get and enable > > this clock to operate. It needs to be

Re: [PATCH v10 4/4] arm64: dts: sparx5: Add Sparx5 serdes driver node

2020-12-12 Thread Andrew Lunn
On Fri, Dec 11, 2020 at 10:05:41AM +0100, Steen Hegelund wrote: > Add Sparx5 serdes driver node, and enable it generally for all > reference boards. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund Reviewed-by: Andrew Lunn Andrew

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

2020-12-12 Thread Ioana Ciornei
On Sat, Dec 12, 2020 at 04:58:56PM +0100, Jon Nettleton wrote: > 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

Re: [PATCH v10 3/4] phy: Add Sparx5 ethernet serdes PHY driver

2020-12-12 Thread Andrew Lunn
On Fri, Dec 11, 2020 at 10:05:40AM +0100, Steen Hegelund wrote: > Add the Microchip Sparx5 ethernet serdes PHY driver for the 6G, 10G and 25G > interfaces available in the Sparx5 SoC. > > Signed-off-by: Bjarni Jonasson > Signed-off-by: Steen Hegelund Reviewed-by: Andrew Lunn Andrew

Re: common_interrupt: No irq handler for vector

2020-12-12 Thread Thomas Gleixner
On Fri, Dec 11 2020 at 13:41, Shuah Khan wrote: > I am debugging __common_interrupt: 1.55 No irq handler for vector > messages and noticed comments and code don't agree: I bet that's on an AMD system with broken AGESA BIOS Good luck debugging it :) BIOS updates are on the way so I'm told. >

[GIT PULL] SCSI fixes for 5.10-rc7

2020-12-12 Thread James Bottomley
Five small fixes: four in drivers: hisi_sas: fix internal queue timeout, be2iscsi: revert a prior fix causing problems, bnx2i: add missing dependency, storvsc: late arriving revert of a problem fix, and one in the core. The core one is a minor change to stop paying attention to the busy count

Re: [PATCH v10 2/4] phy: Add ethernet serdes configuration option

2020-12-12 Thread Andrew Lunn
On Fri, Dec 11, 2020 at 10:05:39AM +0100, Steen Hegelund wrote: > Provide a new ethernet phy configuration structure, that > allow PHYs used for ethernet to be configured with > speed, media type and clock information. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund

Re: [PATCH v10 1/4] dt-bindings: phy: Add sparx5-serdes bindings

2020-12-12 Thread Andrew Lunn
On Fri, Dec 11, 2020 at 10:05:38AM +0100, Steen Hegelund wrote: > Document the Sparx5 ethernet serdes phy driver bindings. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund > Reviewed-by: Rob Herring Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v9 5/8] IMA: limit critical data measurement based on a label

2020-12-12 Thread Tyler Hicks
On 2020-12-12 10:02:48, Tushar Sugandhi wrote: > System administrators should be able to limit which kernel subsystems > they want to measure the critical data for. To enable that, an IMA policy > condition to choose specific kernel subsystems is needed. This policy > condition would constrain the

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

2020-12-12 Thread Tyler Hicks
On 2020-12-12 10:02:47, 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 > measuring the input buffer. The policy rule should ensure the buffer > would get measured only when the policy rule allows

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

2020-12-12 Thread Andy Shevchenko
On Sat, Dec 12, 2020 at 7:05 PM Randy Dunlap wrote: > On 12/12/20 5:24 AM, Andy Shevchenko wrote: > > On Fri, Dec 11, 2020 at 9:20 PM Randy Dunlap wrote: ... > >> +#ifdef CONFIG_PM_SLEEP > >> static int surface_gpe_suspend(struct device *dev) > > > > Perhaps __maybe_unused ? > > Yes, I am

Re: [net-next PATCH] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-12 Thread Yuchung Cheng
On Sat, Dec 12, 2020 at 11:01 AM Alexander Duyck wrote: > > On Sat, Dec 12, 2020 at 10:34 AM Yuchung Cheng wrote: > > > > On Fri, Dec 11, 2020 at 5:28 PM Alexander Duyck > > wrote: > > > > > > From: Alexander Duyck > > > > > > There are cases where a fastopen SYN may trigger either a

Re: [git pull] Input updates for v5.10-rc7

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Dec 2020 19:13:21 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/643e69aff89a2d0abc53979acc441b68ce86139b Thank you! -- Deet-doot-dot, I am a bot.

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

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Dec 2020 10:53:42 -0500: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7b1b868e1d9156484ccce9bf11122c053de82617 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] xen: branch for v5.10-rc8

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Dec 2020 09:53:09 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.10c-rc8-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b53966ffd4c0676c02987d4fc33b99bdfc548cf0 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] RISC-V Fixes for 5.10 (unless there's an rc8)

2020-12-12 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Dec 2020 13:41:44 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.10-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b01deddb8d3cb779ac250978afd200931fd91dcd Thank you! --

Re: [net-next PATCH] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-12 Thread Alexander Duyck
On Sat, Dec 12, 2020 at 10:34 AM Yuchung Cheng wrote: > > On Fri, Dec 11, 2020 at 5:28 PM Alexander Duyck > wrote: > > > > From: Alexander Duyck > > > > There are cases where a fastopen SYN may trigger either a ICMP_TOOBIG > > message in the case of IPv6 or a fragmentation request in the case

[PATCH 2/9] KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read

2020-12-12 Thread Eric Auger
The doc says: "The characteristics of a specific redistributor region can be read by presetting the index field in the attr data. Only valid for KVM_DEV_TYPE_ARM_VGIC_V3" Unfortunately the existing code fails to read the input attr data and thus the index always is 0. Fixes: 04c110932225

[PATCH 1/9] KVM: arm64: vgic-v3: Fix some error codes when setting RDIST base

2020-12-12 Thread Eric Auger
KVM_DEV_ARM_VGIC_GRP_ADDR group doc says we should return -EEXIST in case the base address of the redist is already set. We currently return -EINVAL. However we need to return -EINVAL in case a legacy REDIST address is attempted to be set while REDIST_REGIONS were set. This case is discriminated

Re: [PATCH] lib/find_bit_bench: fix the unmatched iterations cnt

2020-12-12 Thread Yury Norov
On Fri, Dec 11, 2020 at 4:09 PM Yun Levi wrote: > > > I didn't understand why is so (I mean "same", I think you rather talking > > about > > same order of amount of itterations). > > Yes. That's what I want to talk about. Thanks! > > > Can you provide before and after to compare? > > I tested

[PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2020-12-12 Thread Eric Auger
has_run_once is set to true at the beginning of kvm_vcpu_first_run_init(). This generally is not an issue except when exercising the code with KVM selftests. Indeed, if kvm_vgic_map_resources() fails due to erroneous user settings, has_run_once is set and this prevents from continuing executing

[PATCH 7/9] KVM: arm64: Simplify argument passing to vgic_uaccess_[read|write]

2020-12-12 Thread Eric Auger
Instead of converting the vgic_io_device handle to a kvm_io_device handled and then do the oppositive, pass a vgic_io_device pointer all along the call chain. Signed-off-by: Eric Auger --- arch/arm64/kvm/vgic/vgic-mmio.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff

[PATCH 8/9] KVM: arm64: vgic-v3: Expose GICR_TYPER.Last for userspace

2020-12-12 Thread Eric Auger
Commit 23bde34771f1 ("KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace") temporarily fixed a bug identified when attempting to access the GICR_TYPER register before the redistributor region setting but dropped the support of the LAST bit. This patch restores its support (if

  1   2   3   4   >