Re: [PATCH v1 0/5] Add Tiger Lake/Elkhart Lake support to pmc_core driver

2019-09-27 Thread Andy Shevchenko
On Thu, Sep 26, 2019 at 9:43 PM Gayatri Kammela wrote: Thank you for the series, I'll comment them later. For now, check how to properly setup prefix for all patches. The Title all broken. > Patch 1: Cleans up termination lines > Patch 2: Refactor driver for ease of adding new SoCs > Patch 3:

[PATCH v2] async: Let kfree() out of the critical area of the lock

2019-09-27 Thread Yunfeng Ye
The async_lock is big global lock, and kfree() is not always cheap, it will increase lock contention. it's better let kfree() outside the lock to keep the critical area as short as possible. Signed-off-by: Yunfeng Ye Reviewed-by: Alexander Duyck Reviewed-by: Bart Van Assche --- v1 -> v2: -

Re: [PATCH v1 0/5] Add Tiger Lake/Elkhart Lake support to pmc_core driver

2019-09-27 Thread Andy Shevchenko
On Fri, Sep 27, 2019 at 9:01 AM Andy Shevchenko wrote: > On Thu, Sep 26, 2019 at 9:43 PM Gayatri Kammela > wrote: > > Thank you for the series, I'll comment them later. > > For now, check how to properly setup prefix for all patches. The Title > all broken. > On top of that the fully

Re: [PATCH 1/2] dt-bindings: clock: meson: add A1 clock controller bindings

2019-09-27 Thread Jian Hu
Hi, Jerome Thank you for review. On 2019/9/25 22:29, Jerome Brunet wrote: On Wed 25 Sep 2019 at 19:44, Jian Hu wrote: In addition to the comment expressed by Stephen on patch 2 got it. Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings.

[PATCH 2/3] dt-bindings: arm: fsl: add compatible string for Kobo Clara HD

2019-09-27 Thread Andreas Kemnade
This adds a compatible string fro the Kobo Clara HD eBook reader. Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

[PATCH 1/3] ARM: dts: add Netronix E60K02 board common file

2019-09-27 Thread Andreas Kemnade
The Netronix board E60K02 can be found some several Ebook-Readers, at least the Kobo Clara HD and the Tolino Shine 3. The board is equipped with different SoCs. For now the following peripherals are included: - LED - Power Key - Cover (gpio via hall sensor) - RC5T619 PMIC (the kernel misses

[PATCH 0/3] dts: ARM: add Kobo Clara HD eBook reader

2019-09-27 Thread Andreas Kemnade
This adds a device tree for the Kobo Clara HD eBook reader. Name on mainboard is: 37NB-E60K00+4A4 Serials start with: E60K02 (a number also seen in vendor kernel sources) These boards are also found in the Tolino Shine 3 reader but equipped with a i.MX6SL processor. Support for that device is

[PATCH 3/3] ARM: dts: imx: add devicetree for Kobo Clara HD

2019-09-27 Thread Andreas Kemnade
This adds a devicetree for the Kobo Clara HD Ebook reader. It is on based on boards called "e60k02". It is equipped with an imx6sll SoC. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6sll-kobo-clarahd.dts | 275 +

Re: [PATCH] binfmt_elf: Do not move brk for INTERP-less ET_EXEC

2019-09-27 Thread Richard Kojedzinszky
Hi, Thanks for the fix, again. I am not familiar with the code here, I suspect the intent was to fix or improve something. That happens sometimes, that things get broken. I am happy that I could report it, and it got fixed quickly. Thanks again, Richard 2019-09-26 20:37 időpontban Kees

Re: [PATCH v3] arm64: use generic free_initrd_mem()

2019-09-27 Thread Anshuman Khandual
On 09/25/2019 10:39 AM, Mike Rapoport wrote: > From: Mike Rapoport > > arm64 calls memblock_free() for the initrd area in its implementation of > free_initrd_mem(), but this call has no actual effect that late in the boot > process. By the time initrd is freed, all the reserved memory is

[PATCH v2 2/3] selftests: netfilter: add ipvs nat test case

2019-09-27 Thread Haishuang Yan
Test virtual server via NAT. Tested: # selftests: netfilter: ipvs.sh # Testing DR mode... # Testing NAT mode... # ipvs.sh: PASS Signed-off-by: Haishuang Yan --- tools/testing/selftests/netfilter/ipvs.sh | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git

[PATCH v2 0/3] selftests: netfilter: introduce test cases for ipvs

2019-09-27 Thread Haishuang Yan
This series patch include test cases for ipvs. The test topology is who as below: +--+ | | | | ns0 | ns1 | | ---

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Tomi Valkeinen
On 26/09/2019 17:12, Adam Ford wrote: And what is the hdmi5_configure there? I don't see anything in the driver that would print hdmi5_configure. And, of course, there's no hdmi5 on that platform. Hmm, ok... it's from component.c, using "%ps". Somehow that goes wrong. Which is a bit alarming,

[PATCH v2 3/3] selftests: netfilter: add ipvs tunnel test case

2019-09-27 Thread Haishuang Yan
Test virtual server via ipip tunnel. Tested: # selftests: netfilter: ipvs.sh # Testing DR mode... # Testing NAT mode... # Testing Tunnel mode... # ipvs.sh: PASS ok 6 selftests: netfilter: ipvs.sh Signed-off-by: Haishuang Yan --- v2: optimize test script ---

[PATCH v2 1/3] selftests: netfilter: add ipvs test script

2019-09-27 Thread Haishuang Yan
Test virutal server via directing routing for IPv4. Tested: # selftests: netfilter: ipvs.sh # Testing DR mode... # ipvs.sh: PASS ok 6 selftests: netfilter: ipvs.sh Signed-off-by: Haishuang Yan --- v2: optimize test script --- tools/testing/selftests/netfilter/Makefile | 2 +-

Re: [PATCH] xhci: Increase STS_SAVE timeout in xhci_suspend()

2019-09-27 Thread Mathias Nyman
On 26.9.2019 20.57, Kai-Heng Feng wrote: After commit f7fac17ca925 ("xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()"), ASMedia xHCI may fail to suspend. Although the algorithms are essentially the same, the old max timeout is (usec + usec * time of doing readl()), and the new

RE: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-27 Thread Alastair D'Silva
On Thu, 2019-09-26 at 09:46 +0200, David Hildenbrand wrote: > On 26.09.19 09:43, Michal Hocko wrote: > > On Thu 26-09-19 09:12:50, David Hildenbrand wrote: > > > On 26.09.19 03:34, Alastair D'Silva wrote: > > > > From: Alastair D'Silva > > > > > > > > On PowerPC, the address ranges allocated to

Re: [PATCH] dt-bindings: timer: Use defines instead of numbers in Exynos MCT examples

2019-09-27 Thread Marek Szyprowski
Hi Krzysztof, On 26.09.2019 20:36, Krzysztof Kozlowski wrote: > Make the examples in Exynos Multi Core Timer bindings more readable and > bring them closer to real DTS by using defines for interrupt flags. > > Suggested-by: Marek Szyprowski > Signed-off-by: Krzysztof Kozlowski > > --- > >

Re: [PATCH v4 5/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-27 Thread Mark Marshall
Comment below... On Thu, 26 Sep 2019 at 12:18, Alastair D'Silva wrote: > > From: Alastair D'Silva > > When presented with large amounts of memory being hotplugged > (in my test case, ~890GB), the call to flush_dcache_range takes > a while (~50 seconds), triggering RCU stalls. > > This patch

Re: [PATCH v2 1/1] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-27 Thread Greg Kroah-Hartman
On Tue, Sep 24, 2019 at 11:30:08PM +0200, Jacek Anaszewski wrote: > Hi Greg, > > Akinobu seems to have addressed all issues that have been > raised regarding this patch. I'd be happy to have your ack before > applying it. You have to wait until after -rc1 is out before doing anything, so there's

Re: [PATCH RFC 0/2] clk: meson: g12a: handle clock hw changes while in suspend

2019-09-27 Thread Neil Armstrong
On 26/09/2019 22:46, Kevin Hilman wrote: > Neil Armstrong writes: > >> This serie aime to support when the suspend/resume firmware alters the >> clock tree, leading to an incorrect representation of the clock tree >> after a resume from suspend-to-mem. >> >> For the Amlogic G12A/G12B/SM1 case,

Re: [PATCH v2 1/1] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-27 Thread Greg Kroah-Hartman
On Sat, Sep 14, 2019 at 12:03:24AM +0900, Akinobu Mita wrote: > Reading /sys/class/leds//trigger returns all available LED triggers. > However, the size of this file is limited to PAGE_SIZE because of the > limitation for sysfs attribute. > > Enabling LED CPU trigger on systems with thousands of

Re: [PATCH RFC 1/2] clk: introduce clk_invalidate_rate()

2019-09-27 Thread Neil Armstrong
On 27/09/2019 02:14, Stephen Boyd wrote: > Quoting Neil Armstrong (2019-09-19 03:25:17) >> This introduces the clk_invalidate_rate() call used to recalculate the >> rate and parent tree of a particular clock if it's known that the >> underlying registers set has been altered by the firmware, like

Re: [PATCH] Bluetooth: btusb: avoid unused function warning

2019-09-27 Thread Marcel Holtmann
Hi Arnd, > The btusb_rtl_cmd_timeout() function is used inside of an > ifdef, leading to a warning when this part is hidden > from the compiler: > > drivers/bluetooth/btusb.c:530:13: error: unused function > 'btusb_rtl_cmd_timeout' [-Werror,-Wunused-function] > > Use an IS_ENABLED() check

RE: [PATCH v4 5/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-27 Thread Alastair D'Silva
On Fri, 2019-09-27 at 08:37 +0200, Mark Marshall wrote: > Comment below... > > On Thu, 26 Sep 2019 at 12:18, Alastair D'Silva > wrote: > > From: Alastair D'Silva > > > > When presented with large amounts of memory being hotplugged > > (in my test case, ~890GB), the call to flush_dcache_range

RE: [PATCH -next 7/8] dmaengine: xilinx_dma: Check for both idle and halted state in axidma stop_transfer

2019-09-27 Thread Radhey Shyam Pandey
> -Original Message- > From: Vinod Koul > Sent: Thursday, September 26, 2019 10:51 PM > To: Radhey Shyam Pandey > Cc: dan.j.willi...@intel.com; Michal Simek ; > nick.graum...@gmail.com; andrea.mere...@gmail.com; Appana Durga > Kedareswara Rao ; mcg...@kernel.org; >

RE: [PATCH v5 1/3] x86/hyper-v: Suspend/resume the hypercall page for hibernation

2019-09-27 Thread Dexuan Cui
> From: Vitaly Kuznetsov > Sent: Thursday, September 26, 2019 3:44 AM > > [...] > > +static int hv_suspend(void) > > +{ > > + union hv_x64_msr_hypercall_contents hypercall_msr; > > + > > + /* Reset the hypercall page */ > > + rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); > > +

Re: [PATCH] dt-bindings: timer: Use defines instead of numbers in Exynos MCT examples

2019-09-27 Thread Krzysztof Kozlowski
On Fri, Sep 27, 2019 at 08:36:47AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > > timer@1005 { > > compatible = "samsung,exynos4412-mct"; > > reg = <0x1005 0x800>; > > > > -interrupts = <0 57 0>, <0 69 0>, <0 70 0>, <0 71 0>, > > -

Re: [GIT PULL] treewide conversion to sizeof_member() for v5.4-rc1

2019-09-27 Thread Alexey Dobriyan
On Thu, Sep 26, 2019 at 01:06:01PM -0700, Linus Torvalds wrote: > On Thu, Sep 26, 2019 at 10:33 AM Kees Cook wrote: > > > > Please pull this mostly mechanical treewide conversion to the single and > > more accurately named sizeof_member() macro for the end of v5.4-rc1. This > > replaces 3 macros

[PATCH] erspan: remove the incorrect mtu limit for erspan

2019-09-27 Thread Haishuang Yan
erspan driver calls ether_setup(), after commit 61e84623ace3 ("net: centralize net_device min/max MTU checking"), the range of mtu is [min_mtu, max_mtu], which is [68, 1500] by default. It causes the dev mtu of the erspan device to not be greater than 1500, this limit value is not correct for

RE: [PATCH 2/4] PCI: hv: Add the support of hibernation

2019-09-27 Thread Dexuan Cui
> From: Lorenzo Pieralisi > Sent: Thursday, September 26, 2019 9:31 AM > > On Wed, Sep 11, 2019 at 11:38:20PM +, Dexuan Cui wrote: > > Implement the suspend/resume callbacks for hibernation. > > > > hv_pci_suspend() needs to prevent any new work from being queued: a later > > patch will

RE: [PATCH 4/4] PCI: hv: Change pci_protocol_version to per-hbus

2019-09-27 Thread Dexuan Cui
> From: Lorenzo Pieralisi > Sent: Thursday, September 26, 2019 9:29 AM > > On Wed, Sep 11, 2019 at 11:38:23PM +, Dexuan Cui wrote: > > A VM can have multiple hbus. It looks incorrect for the second hbus's > > hv_pci_protocol_negotiation() to set the global variable > > 'pci_protocol_version'

Compliments

2019-09-27 Thread Christopher Quinlan QC
Compliments, My name is Christopher Quinlan QC I am a solicitor at law / investment adviser to your late relative. Your late relative left behind Cash deposit in capital and investment security account along with properties, I will like to discuss with you regarding making this claim since

Re: pull-request: wireless-drivers 2019-09-26

2019-09-27 Thread David Miller
From: Kalle Valo Date: Thu, 26 Sep 2019 15:57:33 +0300 > here's a pull request to net tree for v5.4. Please let me know if there > are any problems. Pulled, thanks Kalle.

[PATCH 3/4] hwspinlock: sprd: Use devm_add_action_or_reset() for calls to clk_disable_unprepare()

2019-09-27 Thread Baolin Wang
Use devm_add_action_or_reset() for calls to clk_disable_unprepare(), which can simplify the error handling. Signed-off-by: Baolin Wang --- drivers/hwspinlock/sprd_hwspinlock.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH 1/4] hwspinlock: sprd: Change to use devm_platform_ioremap_resource()

2019-09-27 Thread Baolin Wang
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together, which can simpify the code. Signed-off-by: Baolin Wang --- drivers/hwspinlock/sprd_hwspinlock.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 4/4] hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controller

2019-09-27 Thread Baolin Wang
Use devm_hwspin_lock_register() to register the hwlock controller instead of unregistering the hwlock controller explicitly when removing the device. Signed-off-by: Baolin Wang --- drivers/hwspinlock/sprd_hwspinlock.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 0/4] Some optimization for Spreadtrum hwlock controller

2019-09-27 Thread Baolin Wang
This patch set did some optimization for Spreadtrum hwlock controller, including using some devm_xxx APIs to simplify code and validating the return value when enabling clock. Baolin Wang (4): hwspinlock: sprd: Change to use devm_platform_ioremap_resource() hwspinlock: sprd: Check the return

[PATCH 2/4] hwspinlock: sprd: Check the return value of clk_prepare_enable()

2019-09-27 Thread Baolin Wang
We must check the return value of clk_prepare_enable() to make sure the hardware spinlock controller can be enabled successfully, otherwise we should return error. Signed-off-by: Baolin Wang --- drivers/hwspinlock/sprd_hwspinlock.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [PATCH v6 7/7] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE

2019-09-27 Thread Hans Verkuil
On 9/20/19 3:51 PM, Ricardo Ribalda Delgado wrote: > From: Ricardo Ribalda Delgado > > According to the product brief, the unit cell size is 1120 nanometers^2. > > https://www.sony-semicon.co.jp/products_en/IS/sensor1/img/products/ProductBrief_IMX214_20150428.pdf > > Signed-off-by: Ricardo

Re: [PATCH] vhost: introduce mdev based hardware backend

2019-09-27 Thread Jason Wang
On 2019/9/27 下午12:54, Tiwei Bie wrote: + + /* +* In vhost-mdev, userspace should pass ring addresses +* in guest physical addresses when IOMMU is disabled or +* IOVAs when IOMMU is enabled. +*/ A question here,

Re: [PATCH] vhost: introduce mdev based hardware backend

2019-09-27 Thread Jason Wang
On 2019/9/27 下午12:54, Tiwei Bie wrote: The name could be confusing, get_queue_max() is to get the maximum number of entries for a virtqueue supported by this device. OK. It might be better to rename it to something like: get_vq_num_max() which is more consistent with the

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-27 Thread David Hildenbrand
On 27.09.19 08:33, Alastair D'Silva wrote: > On Thu, 2019-09-26 at 09:46 +0200, David Hildenbrand wrote: >> On 26.09.19 09:43, Michal Hocko wrote: >>> On Thu 26-09-19 09:12:50, David Hildenbrand wrote: On 26.09.19 03:34, Alastair D'Silva wrote: > From: Alastair D'Silva > > On

[PATCH v2] scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()

2019-09-27 Thread Daniel Wagner
Commit 88263208dd23 ("scsi: qla2xxx: Complain if sp->done() is not called from the completion path") introduced the WARN_ON_ONCE in qla2x00_status_cont_entry(). The assumption was that there is only one status continuations element. According to the firmware documentation it is possible that

Re: [PATCH] scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()

2019-09-27 Thread Daniel Wagner
Hi, > Should the following be added? > > Fixes: 88263208dd23 ("scsi: qla2xxx: Complain if sp->done() is not > called from the completion path") Good point. Just send out and updated version > Anyway: > > Reviewed-by: Bart Van Assche Thanks! Daniel

Re: [PATCH v6 7/7] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE

2019-09-27 Thread Ricardo Ribalda Delgado
Hi Hans On Fri, 27 Sep 2019, 09:14 Hans Verkuil, wrote: > > On 9/20/19 3:51 PM, Ricardo Ribalda Delgado wrote: > > From: Ricardo Ribalda Delgado > > > > According to the product brief, the unit cell size is 1120 nanometers^2. > > > >

Re: [PATCH] reap out the dead mutt config links

2019-09-27 Thread Jonathan Corbet
On Fri, 27 Sep 2019 11:10:13 +0530 Bhaskar Chowdhury wrote: > Signed-off-by: Bhaskar Chowdhury > --- > Documentation/process/email-clients.rst | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/Documentation/process/email-clients.rst > b/Documentation/process/email-clients.rst >

Re: [PATCH v3 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SC7180

2019-09-27 Thread Taniya Das
Hi Stephen, On 9/25/2019 6:33 PM, Stephen Boyd wrote: Quoting Taniya Das (2019-09-25 04:20:07) Hi Stephen, Please find my comments. On 9/25/2019 4:42 AM, Stephen Boyd wrote: Quoting Taniya Das (2019-09-23 01:01:11) Hi Stephen, Thanks for your comments. On 9/19/2019 3:09 AM, Stephen Boyd

Re: IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-27 Thread Paul Bolle
Norbert Preining schreef op vr 27-09-2019 om 10:04 [+0900]: > Sep 27 09:08:35 burischnitzel kernel: WARNING: CPU: 0 PID: 525 at > iwl_mvm_rx_umac_scan_complete_notif.cold+0xc/0x13 [iwlmvm] > [...] > > This repeats a few times (2-4) and then it settles down. > > WIFI works without any problems,

Re: [patch for-5.3 0/4] revert immediate fallback to remote hugepages

2019-09-27 Thread Michal Hocko
On Thu 26-09-19 12:03:37, David Rientjes wrote: [...] > Your patch is setting __GFP_THISNODE for __GFP_DIRECT_RECLAIM: this > allocation will fail in the fastpath for both my case (fragmented local > node) and Andrea's case (out of memory local node). The first > get_page_from_freelist() will

[PATCH net 2/8] net: stmmac: xgmac: Detect Hash Table size dinamically

2019-09-27 Thread Jose Abreu
Since commit b8ef7020d6e5 ("net: stmmac: add support for hash table size 128/256 in dwmac4"), we can detect the Hash Table dinamically. Let's implement this feature in XGMAC cores and fix possible setups that don't support the maximum size for Hash Table. Signed-off-by: Jose Abreu --- Cc:

[PATCH net 5/8] net: stmmac: Correctly take timestamp for PTPv2

2019-09-27 Thread Jose Abreu
The case for PTPV2_EVENT requires event packets to be captured so add this setting to the list of enabled captures. Fixes: 891434b18ec0 ("stmmac: add IEEE PTPv1 and PTPv2 support.") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller"

[PATCH net 8/8] net: stmmac: xgmac: Fix RSS not writing all Keys to HW

2019-09-27 Thread Jose Abreu
The sizeof(cfg->key) is != ARRAY_SIZE(cfg->key). Fix it. Reported-by: kbuild test robot Reported-by: Nick Desaulniers Fixes: 76067459c686 ("net: stmmac: Implement RSS and enable it in XGMAC core") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc:

[PATCH net 7/8] net: stmmac: xgmac: Disable the Timestamp interrupt by default

2019-09-27 Thread Jose Abreu
We don't use it anyway as XGMAC only supports polling for timestamp (in current SW implementation). This greatly reduces the system load by reducing the number of interrupts. Fixes: 2142754f8b9c ("net: stmmac: Add MAC related callbacks for XGMAC2") Signed-off-by: Jose Abreu --- Cc: Giuseppe

[PATCH net 0/8] net: stmmac: Fixes for -net

2019-09-27 Thread Jose Abreu
Misc fixes for -net tree. More info in commit logs. --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH net 4/8] net: stmmac: dwmac4: Always update the MAC Hash Filter

2019-09-27 Thread Jose Abreu
We need to always update the MAC Hash Filter so that previous entries are invalidated. Found out while running stmmac selftests. Fixes: b8ef7020d6e5 ("net: stmmac: add support for hash table size 128/256 in dwmac4") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue

[PATCH net 1/8] net: stmmac: xgmac: Not all Unicast addresses may be available

2019-09-27 Thread Jose Abreu
Some setups may not have all Unicast addresses filters available. Let's check this before trying to setup filters. Fixes: 0efedbf11f07 ("net: stmmac: xgmac: Fix XGMAC selftests") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller"

[PATCH net 3/8] net: stmmac: selftests: Always use max DMA size in Jumbo Test

2019-09-27 Thread Jose Abreu
Although some XGMAC setups support frames larger than DMA size, some of them may not. As we can't know before-hand which ones support let's use the maximum DMA buffer size in the Jumbo Tests. User can always reconfigure the MTU to achieve larger frames. Fixes: 427849e8c37f ("net: stmmac:

[PATCH net 6/8] net: stmmac: Do not stop PHY if WoL is enabled

2019-09-27 Thread Jose Abreu
If WoL is enabled we can't really stop the PHY, otherwise we will not receive the WoL packet. Fix this by telling phylink that only the MAC is down and only stop the PHY if WoL is not enabled. Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic") Signed-off-by: Jose

Re: [PATCH v6 7/7] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE

2019-09-27 Thread Hans Verkuil
On 9/27/19 9:33 AM, Ricardo Ribalda Delgado wrote: > Hi Hans > > On Fri, 27 Sep 2019, 09:14 Hans Verkuil, wrote: >> >> On 9/20/19 3:51 PM, Ricardo Ribalda Delgado wrote: >>> From: Ricardo Ribalda Delgado >>> >>> According to the product brief, the unit cell size is 1120 nanometers^2. >>> >>>

Re: [PATCH 0/2] KVM: nVMX: Bug fix for consuming stale vmcs02.GUEST_CR3

2019-09-27 Thread Reto Buerki
On 9/26/19 11:43 PM, Sean Christopherson wrote: > Reto Buerki reported a failure in a nested VMM when running with HLT > interception disabled in L1. When putting L2 into HLT, KVM never actually > enters L2 and instead cancels the nested run and pretends that VM-Enter to > L2 completed and then

[PATCH v2] net: phy: micrel: add Asym Pause workaround for KSZ9021

2019-09-27 Thread Hans Andersson
From: Hans Andersson The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric Pause capability is set. This issue is described in a Silicon Errata (DS8691D or DS8692D), which advises to always disable the capability. Micrel KSZ9021 has no errata, but has the same issue

[GIT PULL REQUEST] watchdog - v5.4 Merge window

2019-09-27 Thread Wim Van Sebroeck
Hi Linus, My apologies for the delay. Please pull the watchdog changes for the v5.4 release cycle. This series contains: * addition of AST2600, i.MX7ULP and F81803 watchdog support * removal of the w90x900 and ks8695 drivers * ziirave_wdt improvements * small fixes and improvements The output

Re: [PATCH] modpost: Copy namespace string into 'struct symbol'

2019-09-27 Thread Matthias Maennich
On Thu, Sep 26, 2019 at 05:24:46PM -0500, Shaun Ruffell wrote: When building an out-of-tree module I was receiving many warnings from modpost like: WARNING: module dahdi_vpmadt032_loader uses symbol __kmalloc from namespace ts/dahdi-linux/drivers/dahdi/dahdi-version.o: ..., but does not

Re: [PATCH] vhost: introduce mdev based hardware backend

2019-09-27 Thread Tiwei Bie
On Fri, Sep 27, 2019 at 03:14:42PM +0800, Jason Wang wrote: > On 2019/9/27 下午12:54, Tiwei Bie wrote: > > > > + > > > > + /* > > > > +* In vhost-mdev, userspace should pass ring addresses > > > > +* in guest physical addresses when IOMMU is disabled or

[tip: x86/mm] x86/mm: Fix function name typo in pmd_read_atomic() comment

2019-09-27 Thread tip-bot2 for Wei Yang
The following commit has been merged into the x86/mm branch of tip: Commit-ID: a2f7a0bfcaaa3928e4876d15edd4dfdc09e139b6 Gitweb: https://git.kernel.org/tip/a2f7a0bfcaaa3928e4876d15edd4dfdc09e139b6 Author:Wei Yang AuthorDate:Wed, 25 Sep 2019 09:44:53 +08:00 Committer:

[tip: x86/mm] x86/mm: Clean up the pmd_read_atomic() comments

2019-09-27 Thread tip-bot2 for Ingo Molnar
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 44e09568cf2d874cb2a8e2ac35acf71a9ae3402b Gitweb: https://git.kernel.org/tip/44e09568cf2d874cb2a8e2ac35acf71a9ae3402b Author:Ingo Molnar AuthorDate:Wed, 25 Sep 2019 08:38:57 +02:00 Committer:

[tip: sched/urgent] sched/membarrier: Fix private expedited registration check

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: fc0d77387cb5ae883fd774fc559e056a8dde024c Gitweb: https://git.kernel.org/tip/fc0d77387cb5ae883fd774fc559e056a8dde024c Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:36:59 -04:00

[tip: sched/urgent] sched/core: Remove double update_max_interval() call on CPU startup

2019-09-27 Thread tip-bot2 for Valentin Schneider
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 9fc41acc89e58262c917b4be89ef00a87485804f Gitweb: https://git.kernel.org/tip/9fc41acc89e58262c917b4be89ef00a87485804f Author:Valentin Schneider AuthorDate:Mon, 23 Sep 2019 10:30:17 +01:00

[tip: sched/urgent] sched/membarrier: Remove redundant check

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 09554009c0cad4cb2223dd943c813c9257c6883a Gitweb: https://git.kernel.org/tip/09554009c0cad4cb2223dd943c813c9257c6883a Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:00 -04:00

[tip: sched/urgent] tasks, sched/core: With a grace period after finish_task_switch(), remove unnecessary code

2019-09-27 Thread tip-bot2 for Eric W. Biederman
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 154abafc68bfb7c2ef2ad5308a3b2de8968c3f61 Gitweb: https://git.kernel.org/tip/154abafc68bfb7c2ef2ad5308a3b2de8968c3f61 Author:Eric W. Biederman AuthorDate:Sat, 14 Sep 2019 07:34:30 -05:00

[tip: sched/urgent] sched/membarrier: Return -ENOMEM to userspace on memory allocation failure

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: c172e0a3e8e65a4c6fffec5bc4d6de08d6f894f7 Gitweb: https://git.kernel.org/tip/c172e0a3e8e65a4c6fffec5bc4d6de08d6f894f7 Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:05 -04:00

[tip: sched/urgent] sched/core: Fix preempt_schedule() interrupt return comment

2019-09-27 Thread tip-bot2 for Valentin Schneider
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: a49b4f4012ef233143c5f7ce44f97851e54d5ef9 Gitweb: https://git.kernel.org/tip/a49b4f4012ef233143c5f7ce44f97851e54d5ef9 Author:Valentin Schneider AuthorDate:Mon, 23 Sep 2019 15:36:12 +01:00

[tip: sched/urgent] sched/fair: Avoid redundant EAS calculation

2019-09-27 Thread tip-bot2 for Quentin Perret
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 4892f51ad54ddff2883a60b6ad4323c1f632a9d6 Gitweb: https://git.kernel.org/tip/4892f51ad54ddff2883a60b6ad4323c1f632a9d6 Author:Quentin Perret AuthorDate:Fri, 20 Sep 2019 11:41:15 +02:00

[tip: sched/urgent] sched/membarrier: Call sync_core only before usermode for same mm

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 2840cf02fae627860156737e83326df354ee4ec6 Gitweb: https://git.kernel.org/tip/2840cf02fae627860156737e83326df354ee4ec6 Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:01 -04:00

[tip: sched/urgent] sched/membarrier: Skip IPIs when mm->mm_users == 1

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: c6d68c1c4a4d6611fc0f8145d764226571d737ca Gitweb: https://git.kernel.org/tip/c6d68c1c4a4d6611fc0f8145d764226571d737ca Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:04 -04:00

[tip: sched/urgent] sched/fair: Fix -Wunused-but-set-variable warnings

2019-09-27 Thread tip-bot2 for Qian Cai
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 763a9ec06c409dcde2a761aac4bb83ff3938e0b3 Gitweb: https://git.kernel.org/tip/763a9ec06c409dcde2a761aac4bb83ff3938e0b3 Author:Qian Cai AuthorDate:Tue, 20 Aug 2019 14:40:55 -04:00 Committer:

[tip: sched/urgent] sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()

2019-09-27 Thread tip-bot2 for KeMeng Shi
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 714e501e16cd473538b609b3e351b2cc9f7f09ed Gitweb: https://git.kernel.org/tip/714e501e16cd473538b609b3e351b2cc9f7f09ed Author:KeMeng Shi AuthorDate:Mon, 16 Sep 2019 06:53:28 Committer:

[tip: sched/urgent] tasks, sched/core: RCUify the assignment of rq->curr

2019-09-27 Thread tip-bot2 for Eric W. Biederman
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 5311a98fef7d0dc2e8040ae0e18f5568d6d1dd5a Gitweb: https://git.kernel.org/tip/5311a98fef7d0dc2e8040ae0e18f5568d6d1dd5a Author:Eric W. Biederman AuthorDate:Sat, 14 Sep 2019 07:35:02 -05:00

[tip: sched/urgent] tasks: Add a count of task RCU users

2019-09-27 Thread tip-bot2 for Eric W. Biederman
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 3fbd7ee285b2bbc6eebd15a3c8786d9776a402a8 Gitweb: https://git.kernel.org/tip/3fbd7ee285b2bbc6eebd15a3c8786d9776a402a8 Author:Eric W. Biederman AuthorDate:Sat, 14 Sep 2019 07:33:34 -05:00

[PATCH 1/2] perf vendor events s390: Add JSON transaction for machine type 8561

2019-09-27 Thread Thomas Richter
Add s390 transaction counter definition for machine 8561. This is the same file as for the predecessor machine. Fixes: 6e67d77d673d7 ("perf vendor events s390: Add JSON files for machine type 8561") Signed-off-by: Thomas Richter --- tools/perf/pmu-events/arch/s390/cf_m8561/transaction.json | 7

[tip: sched/urgent] tasks, sched/core: Ensure tasks are available for a grace period after leaving the runqueue

2019-09-27 Thread tip-bot2 for Eric W. Biederman
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 0ff7b2cfbae36ebcd216c6a5ad7f8534eebeaee2 Gitweb: https://git.kernel.org/tip/0ff7b2cfbae36ebcd216c6a5ad7f8534eebeaee2 Author:Eric W. Biederman AuthorDate:Sat, 14 Sep 2019 07:33:58 -05:00

[tip: sched/urgent] sched/membarrier: Fix p->mm->membarrier_state racy load

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 227a4aadc75ba22fcb6c4e1c078817b8cbaae4ce Gitweb: https://git.kernel.org/tip/227a4aadc75ba22fcb6c4e1c078817b8cbaae4ce Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:02 -04:00

[tip: sched/urgent] selftests, sched/membarrier: Add multi-threaded test

2019-09-27 Thread tip-bot2 for Mathieu Desnoyers
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 19a4ff534bb09686f53800564cb977bad2177c00 Gitweb: https://git.kernel.org/tip/19a4ff534bb09686f53800564cb977bad2177c00 Author:Mathieu Desnoyers AuthorDate:Thu, 19 Sep 2019 13:37:03 -04:00

[PATCH 2/2] perf/pmu_events: Use s390 machine name instead of type 8561

2019-09-27 Thread Thomas Richter
In the pmu-events directory for JSON file definitions use the official machine name IBM z15 instead of machine type number 8561. This is consistent with previous machines. Signed-off-by: Thomas Richter --- tools/perf/pmu-events/arch/s390/{cf_m8561 => cf_z15}/basic.json | 0

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-27 Thread Juri Lelli
Hi Scott, On 27/07/19 00:56, Scott Wood wrote: > With the changes to migrate disabling, ->set_cpus_allowed() no longer > gets deferred until migrate_enable(). To avoid releasing the bandwidth > while the task may still be executing on the old CPU, move the subtraction > to ->migrate_task_rq(). >

[PATCH v2 0/2] net: phy: mscc-miim: Adjustments for mscc_miim_probe()

2019-09-27 Thread Markus Elfring
From: Markus Elfring Date: Fri, 27 Sep 2019 09:48:09 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use devm_platform_ioremap_resource() Move the setting of mii_bus structure members drivers/net/phy/mdio-mscc-miim.c | 19

Re: [PATCH] PCI: aardvark: Don't rely on jiffies while holding spinlock

2019-09-27 Thread Remi Pommarel
Hi Thomas, Thanks for the review. On Wed, Sep 25, 2019 at 11:33:51AM +0200, Thomas Petazzoni wrote: > Hello Remi, > > Thanks for the patch, I have a few comments/questions below. > > On Sun, 1 Sep 2019 16:23:03 +0200 > Remi Pommarel wrote: > > > diff --git

[PATCH v2 1/2] net: phy: mscc-miim: Use devm_platform_ioremap_resource() in mscc_miim_probe()

2019-09-27 Thread Markus Elfring
From: Markus Elfring Date: Fri, 27 Sep 2019 09:24:03 +0200 Simplify this function implementation a bit by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- v2: Alexandre Belloni pointed the need for adjustments out.

[PATCH v2 2/2] net: phy: mscc-miim: Move the setting of mii_bus structure members in mscc_miim_probe()

2019-09-27 Thread Markus Elfring
From: Markus Elfring Date: Fri, 27 Sep 2019 09:30:14 +0200 Move the modification of some members in the data structure “mii_bus” for the local variable “bus” directly before the call of the function “of_mdiobus_register” so that this change will be performed only after previous resource

Re: [PATCH net] of: mdio: Fix a signedness bug in of_phy_get_and_connect()

2019-09-27 Thread David Miller
From: Dan Carpenter Date: Wed, 25 Sep 2019 14:01:00 +0300 > The "iface" variable is an enum and in this context GCC treats it as > an unsigned int so the error handling is never triggered. > > Fixes: b78624125304 ("of_mdio: Abstract a general interface for phy connect") > Signed-off-by: Dan

Re: [PATCH v2 1/4] lib: introduce copy_struct_from_user() helper

2019-09-27 Thread Christian Brauner
On Fri, Sep 27, 2019 at 11:07:36AM +1000, Aleksa Sarai wrote: > On 2019-09-26, Christian Brauner wrote: > > On Thu, Sep 26, 2019 at 01:03:29AM +0200, Aleksa Sarai wrote: > > > +int is_zeroed_user(const void __user *from, size_t size) > > > +{ > > > + unsigned long val; > > > + uintptr_t align =

[PATCH 1/2] perf/ring_buffer: Modify the parameter type of perf_mmap_free_page()

2019-09-27 Thread Yunfeng Ye
In perf_mmap_free_page(), the unsigned long type is converted to the pointer type, but where the call is made, the pointer type is converted to the unsigned long type. There is no need to do these operations. Modify the parameter type of perf_mmap_free_page() to pointer type. Signed-off-by:

[PATCH v2] PCI: aardvark: Don't rely on jiffies while holding spinlock

2019-09-27 Thread Remi Pommarel
advk_pcie_wait_pio() can be called while holding a spinlock (from pci_bus_read_config_dword()), then depends on jiffies in order to timeout while polling on PIO state registers. In the case the PIO transaction failed, the timeout will never happen and will also cause the cpu to stall. This

[PATCH 2/2] perf/ring_buffer: Matching the memory allocate and free, in rb_alloc()

2019-09-27 Thread Yunfeng Ye
Currently perf_mmap_alloc_page() is used to allocate memory in rb_alloc(), but using free_page() to free memory in the failure path. It's better to use perf_mmap_free_page() instead. Signed-off-by: Yunfeng Ye --- kernel/events/ring_buffer.c | 20 ++-- 1 file changed, 10

[PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-27 Thread Wanpeng Li
From: Wanpeng Li Don't waste cycles to shrink/grow vCPU halt_poll_ns if host side polling is disabled. Cc: Marcelo Tosatti Signed-off-by: Wanpeng Li --- virt/kvm/kvm_main.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/virt/kvm/kvm_main.c

[PATCH 2/3] hwspinlock: u8500_hsem: Use devm_kzalloc() to allocate memory

2019-09-27 Thread Baolin Wang
Use devm_kzalloc() to allocate memory. Signed-off-by: Baolin Wang --- drivers/hwspinlock/u8500_hsem.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index c247a87..0e8d4ff 100644 ---

[PATCH 3/3] hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register hwlock controller

2019-09-27 Thread Baolin Wang
Use devm_hwspin_lock_register() to register the hwlock controller instead of unregistering the hwlock controller explicitly when removing the device. Signed-off-by: Baolin Wang --- drivers/hwspinlock/u8500_hsem.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git

[PATCH 1/3] hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()

2019-09-27 Thread Baolin Wang
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together, which can simpify the code. Signed-off-by: Baolin Wang --- drivers/hwspinlock/u8500_hsem.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git

[PATCH 0/3] Optimize the u8500_hsem hwlock driver

2019-09-27 Thread Baolin Wang
This patch set did some Optimization with changing to use devm_xxx() APIs to simplify the code and make code more readable. Baolin Wang (3): hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource() hwspinlock: u8500_hsem: Use devm_kzalloc() to allocate memory hwspinlock:

  1   2   3   4   5   6   7   >