[PATCH 15/20] dpaa_eth: register a device link for the qman portal used

2019-10-08 Thread Madalin Bucur
Before this change, unbinding the QMan portals did not trigger a corresponding unbinding of the dpaa_eth making use of it; the first QMan portal related operation issued afterwards crashed the kernel. The device link ensures the dpaa_eth dependency upon the qman portal used is honoured at the QMan

[PATCH 14/20] soc: fsl: qbman: allow registering a device link for the portal user

2019-10-08 Thread Madalin Bucur
Introduce the API required to make sure that the devices that use the QMan portal are unbound when the portal is unbound. Signed-off-by: Madalin Bucur --- drivers/soc/fsl/qbman/qman.c | 13 + include/soc/fsl/qman.h | 18 ++ 2 files changed, 31 insertions(+)

[PATCH 12/20] dpaa_eth: use fd information in dpaa_cleanup_tx_fd()

2019-10-08 Thread Madalin Bucur
Instead of reading skb fields, use information from the DPAA frame descriptor. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

[PATCH 02/20] dpaa_eth: defer probing after qbman

2019-10-08 Thread Madalin Bucur
From: Laurentiu Tudor If the DPAA 1 Ethernet driver gets probed before the QBMan driver it will cause a boot crash. Add predictability in the probing order by deferring the Ethernet driver probe after QBMan and portals by using the recently introduced QBMan APIs. Signed-off-by: Laurentiu Tudor

[PATCH 03/20] dpaa_eth: remove redundant code

2019-10-08 Thread Madalin Bucur
Condition was previously checked, removing duplicate code. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

[PATCH 01/20] fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs

2019-10-08 Thread Madalin Bucur
From: Laurentiu Tudor The liodn base registers are specific to PAMU based NXP systems and are reserved on SMMU based ones. Don't access them unless PAMU is compiled in. Signed-off-by: Laurentiu Tudor Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 6 +- 1

[PATCH 07/20] dpaa_eth: use only one buffer pool per interface

2019-10-08 Thread Madalin Bucur
Currently the DPAA Ethernet driver is using three buffer pools for each interface, with three different sizes for the buffers provided for the FMan reception path. This patch reduces the number of buffer pools to one per interface. This change is in preparation of another, that will be switching

Re: [PATCH v2] firmware: vpd: Add an interface to read VPD value

2019-10-08 Thread Cheng-yi Chiang
On Tue, Oct 8, 2019 at 8:06 PM Greg Kroah-Hartman wrote: > > On Tue, Oct 08, 2019 at 06:11:44PM +0800, Cheng-Yi Chiang wrote: > > Add an interface for other driver to query VPD value. > > This will be used for ASoC machine driver to query calibration > > data stored in VPD for smart amplifier

[PATCH 06/20] fsl/fman: remove unused struct member

2019-10-08 Thread Madalin Bucur
Remove unused struct member second_largest_buf_size. Also, an out of bounds access would have occurred in the removed code if there was only one buffer pool in use. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_port.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 00/20] DPAA fixes

2019-10-08 Thread Madalin Bucur
Here's a series of fixes and changes for the DPAA 1.x drivers. Fixing some boot time dependency issues, removing some dead code, changing the buffers used for reception, fixing the DMA devices, some cleanups. Laurentiu Tudor (3): fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs

[PATCH 11/20] dpaa_eth: simplify variables used in dpaa_cleanup_tx_fd()

2019-10-08 Thread Madalin Bucur
Avoid casts and repeated conversions. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Re: [PATCH v8 4/6] PCI: Allow extend_bridge_window() to shrink resource if necessary

2019-10-08 Thread mika.westerb...@linux.intel.com
On Fri, Jul 26, 2019 at 12:54:22PM +, Nicholas Johnson wrote: > Remove checks for resource size in extend_bridge_window(). This is > necessary to allow the pci_bus_distribute_available_resources() to > function when the kernel parameter pci=hpmemsize=nn[KMG] is used to > allocate resources.

Re: [PATCH 6/7] staging: wfx: drop calls to BUG_ON()

2019-10-08 Thread Dan Carpenter
On Tue, Oct 08, 2019 at 09:43:01AM +, Jerome Pouiller wrote: > @@ -56,9 +56,9 @@ static uint8_t fill_tkip_pair(struct hif_tkip_pairwise_key > *msg, > { > uint8_t *keybuf = key->key; > > - WARN_ON(key->keylen != sizeof(msg->tkip_key_data) > -+

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-08 Thread Walter Wu
On Tue, 2019-10-08 at 07:42 -0400, Qian Cai wrote: > > > On Oct 8, 2019, at 7:02 AM, Walter Wu wrote: > > > > I don't know very well in UBSAN, but I try to build ubsan kernel and > > test a negative number in memset and kmalloc_memmove_invalid_size(), it > > look like no check. > > It sounds

[PATCH 2/5] kheaders: optimize md5sum calculation for in-tree builds

2019-10-08 Thread Masahiro Yamada
This script computes md5sum of headers in srctree and in objtree. However, when we are building in-tree, we know the srctree and the objtree are the same. That is, we end up with the same computation twice. In fact, the first two lines of kernel/kheaders.md5 are always the same for in-tree builds.

[PATCH 5/5] kheaders: explain why include/config/autoconf.h is excluded from md5sum

2019-10-08 Thread Masahiro Yamada
This comment block explains why include/generated/compile.h is omitted, but nothing about include/generated/autoconf.h, which might be more difficult to understand. Add more comments. Signed-off-by: Masahiro Yamada --- kernel/gen_kheaders.sh | 11 +-- 1 file changed, 9 insertions(+), 2

Re: [PATCH v2] firmware: vpd: Add an interface to read VPD value

2019-10-08 Thread Greg Kroah-Hartman
On Tue, Oct 08, 2019 at 06:11:44PM +0800, Cheng-Yi Chiang wrote: > Add an interface for other driver to query VPD value. > This will be used for ASoC machine driver to query calibration > data stored in VPD for smart amplifier speaker resistor > calibration. > > The example usage in ASoC machine

[PATCH 4/5] kheaders: remove the last bashism to allow sh to run it

2019-10-08 Thread Masahiro Yamada
'pushd' ... 'popd' is the last bash-specific code in this script. One way to avoid it is to run the code in a sub-shell. With that addressed, you can run this script with sh. I replaced $(BASH) with $(CONFIG_SHELL), and I changed the hashbang to #!/bin/sh. Signed-off-by: Masahiro Yamada ---

[PATCH 1/5] kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'

2019-10-08 Thread Masahiro Yamada
The 'head' and 'tail' commands can take a file path directly. So, you do not need to run 'cat'. cat kernel/kheaders.md5 | head -1 ... is equivalent to: head -1 kernel/kheaders.md5 and the latter saves forking one process. While I was here, I replaced 'head -1' with 'head -n 1'. I also

[PATCH 3/5] kheaders: optimize header copy for in-tree builds

2019-10-08 Thread Masahiro Yamada
This script copies headers by the cpio command twice; first from srctree, and then from objtree. However, when we building in-tree, we know the srctree and the objtree are the same. That is, all the headers copied by the first cpio are overwritten by the second one. Skip the first cpio when we

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 02:01:15PM +0200, Marek Szyprowski wrote: > On 08.10.2019 13:50, Mark Brown wrote: > > This then means that for users that might legitimately enable and > > disable regulators that need to be constrained are forced to change the > > voltage when they enable the regualtors

Re: [PATCH v8 3/6] PCI: Change extend_bridge_window() to set resource size directly

2019-10-08 Thread mika.westerb...@linux.intel.com
On Fri, Jul 26, 2019 at 12:54:01PM +, Nicholas Johnson wrote: > Change extend_bridge_window() to set resource size directly instead of > using additional resource lists. > > Because additional resource lists are optional resources, any algorithm > that requires guaranteed allocation that uses

Re: [PATCH 3/3] Input: mms114 - add support for mms345l

2019-10-08 Thread Andi Shyti
> > - if (!i2c_check_functionality(client->adapter, > > - I2C_FUNC_PROTOCOL_MANGLING)) { > > + type = (enum mms_type)device_get_match_data(>dev); > > you don't need any cast here. sorry, please ignore :) Andi

Re: [PATCH 1/3] Input: mms114 - use device_get_match_data

2019-10-08 Thread Andi Shyti
Hi Stephan, > device_get_match_data is available now, so we can replace the call > to of_device_get_match_data and remove the FIXME comment. > > Signed-off-by: Stephan Gerhold Reviewed-by: Andi Shyti Thanks, Andi

Re: [PATCH 2/3] dt-bindings: mms114: document melfas,mms345l binding

2019-10-08 Thread Andi Shyti
Hi Stephan, On Mon, Oct 07, 2019 at 10:33:42PM +0200, Stephan Gerhold wrote: > The mms114 driver now supports MMS345L; document the > melfas,mms345l binding that is used for it. > > Signed-off-by: Stephan Gerhold Reviewed-by: Andi Shyti Thanks, Andi

Re: [PATCH 1/2] firmware: coreboot: Export the binary FMAP

2019-10-08 Thread Greg Kroah-Hartman
On Tue, Oct 08, 2019 at 01:53:25PM +0200, patrick.rudo...@9elements.com wrote: > From: Patrick Rudolph > > Expose coreboot's binary FMAP[1] to /sys/firmware/fmap. > > coreboot copies the FMAP to a CBMEM buffer at boot since CB:35377[2], > allowing an architecture independ way of exposing the

Re: [PATCH 4/7] staging: wfx: correctly cast data on big-endian targets

2019-10-08 Thread Dan Carpenter
On Tue, Oct 08, 2019 at 09:43:00AM +, Jerome Pouiller wrote: > From: Jérôme Pouiller > > When built for a big-endian target, original code caused error: > > include/uapi/linux/swab.h:242:29: note: expected '__u32 * {aka unsigned > int *}' but argument is of type 'struct

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Qian Cai
> On Oct 8, 2019, at 6:39 AM, Michal Hocko wrote: > > Have you actually triggered any real deadlock? With a zone->lock in > place it would be pretty clear with hard lockups detected. Yes, I did trigger here and there, and those lockdep splats are especially useful to figure out why.

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Marek Szyprowski
Hi Mark, On 08.10.2019 13:50, Mark Brown wrote: > On Tue, Oct 08, 2019 at 12:17:09PM +0200, Marek Szyprowski wrote: >> Commit f8702f9e4aa7 ("regulator: core: Use ww_mutex for regulators >> locking"), regardless of the subject, added additional call to >> regulator_balance_voltage() during

[PATCH] rpmsg: char: fix resource leak on kbuf on copy_from_iter_full failure

2019-10-08 Thread Colin King
From: Colin Ian King Currently when copy_from_iter_full fails the kbuf is not free'd on the error return path. Fix this by setting the error return code and exiting via the free_kbuf path. Addresses-Coverity: ("Resource leak") Fixes: ccf45b18ce89 ("rpmsg: char: Migrate to iter versions of read

Re: [PATCH 1/7] staging: wfx: simplify memory allocation in wfx_update_filtering()

2019-10-08 Thread Dan Carpenter
These patches are good. I just have a few nits to point out for future reference. On Tue, Oct 08, 2019 at 09:42:58AM +, Jerome Pouiller wrote: > static inline int hif_set_beacon_filter_table(struct wfx_vif *wvif, > - struct hif_mib_bcn_filter_table

Re: [PATCH v6 14/14] riscv: Make mmap allocation top-down by default

2019-10-08 Thread Alex Ghiti
On 10/7/19 8:46 PM, Atish Patra wrote: On Mon, 2019-10-07 at 05:11 -0400, Alex Ghiti wrote: On 10/4/19 10:12 PM, Atish Patra wrote: On Thu, 2019-08-08 at 02:17 -0400, Alexandre Ghiti wrote: In order to avoid wasting user address space by using bottom-up mmap allocation scheme, prefer top-down

Re: [PATCH v9 08/12] lib/vsprintf: Add a note on re-using %pf or %pF

2019-10-08 Thread Petr Mladek
On Thu 2019-10-03 15:32:15, Sakari Ailus wrote: > Add a note warning of re-use of obsolete %pf or %pF extensions. > > Signed-off-by: Sakari Ailus > Cc: Steven Rostedt > Suggested-by: Steven Rostedt (VMware) Reviewed-by: Petr Mladek Best Regards, Petr

[PATCH 1/2] firmware: coreboot: Export the binary FMAP

2019-10-08 Thread patrick . rudolph
From: Patrick Rudolph Expose coreboot's binary FMAP[1] to /sys/firmware/fmap. coreboot copies the FMAP to a CBMEM buffer at boot since CB:35377[2], allowing an architecture independ way of exposing the FMAP to userspace. Will be used by fwupd[3] to determine the current firmware layout. [1]:

[PATCH] phy: qcom-usb-hs: Fix extcon double register after power cycle

2019-10-08 Thread Stephan Gerhold
Commit f0b5c2c96370 ("phy: qcom-usb-hs: Replace the extcon API") switched from extcon_register_notifier() to the resource-managed API, i.e. devm_extcon_register_notifier(). This is problematic in this case, because the extcon notifier is dynamically registered/unregistered whenever the PHY is

[PATCH 2/2] firmware: coreboot: Export active CBFS partition

2019-10-08 Thread patrick . rudolph
From: Patrick Rudolph Expose the name of the active CBFS partition under /sys/firmware/cbfs_active_partition In case of Google's VBOOT[1] that currently can be one of: "FW_MAIN_A", "FW_MAIN_B" or "COREBOOT" Will be used by fwupd[2] to determinde the active partition in the VBOOT A/B partition

Re: [PATCH v9 07/12] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-10-08 Thread Petr Mladek
On Thu 2019-10-03 15:32:14, Sakari Ailus wrote: > %pS and %ps are now the preferred conversion specifiers to print function > names. The functionality is equivalent; remove the old, deprecated %pF > and %pf support. > > Depends-on: commit 2d44d165e939 ("scsi: lpfc: Convert existing %pf users to

Re: [PATCH 3/3] Input: mms114 - add support for mms345l

2019-10-08 Thread Andi Shyti
Hi Stephan, On Mon, Oct 07, 2019 at 10:50:21PM +0200, Stephan Gerhold wrote: > MMS345L is another first generation touch screen from Melfas, > which uses the same registers as MMS152. > > However, using I2C_M_NOSTART for it causes errors when reading: > > i2c i2c-0: sendbytes: NAK

Re: [PATCH] perf data: Fix babeltrace detection

2019-10-08 Thread Jiri Olsa
On Mon, Oct 07, 2019 at 10:41:20AM -0700, Andi Kleen wrote: > From: Andi Kleen > > The symbol the feature file checks for is now actually in -lbabeltrace, > not -lbabeltrace-ctf, at least as of libbabeltrace-1.5.6-2.fc30.x86_64 > > Always add both libraries to fix the feature detection. well,

[PATCH 1/3] dt-bindings: net: ftgmac100: Document AST2600 compatible

2019-10-08 Thread Andrew Jeffery
The AST2600 contains an FTGMAC100-compatible MAC, although it no-longer contains an MDIO controller. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/net/ftgmac100.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/ftgmac100.txt

[PATCH 0/3] net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs

2019-10-08 Thread Andrew Jeffery
Hello, This series slightly extends the devicetree binding and driver for the FTGMAC100 to describe an optional RMII RCLK gate in the clocks property. Currently it's necessary for the kernel to ungate RCLK on the AST2600 in NCSI configurations as u-boot does not yet support NCSI (which uses the

[PATCH 3/3] net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs

2019-10-08 Thread Andrew Jeffery
The 50MHz RCLK has to be enabled before the RMII interface will function. Signed-off-by: Andrew Jeffery --- drivers/net/ethernet/faraday/ftgmac100.c | 35 +++- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/faraday/ftgmac100.c

[PATCH 2/3] dt-bindings: net: ftgmac100: Describe clock properties

2019-10-08 Thread Andrew Jeffery
Critically, the AST2600 requires ungating the RMII RCLK if e.g. NCSI is in use. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/net/ftgmac100.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ftgmac100.txt

Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-08 Thread Arvind Sankar
On Tue, Oct 08, 2019 at 09:32:10AM +0200, Christoph Hellwig wrote: > On Mon, Oct 07, 2019 at 07:54:02PM -0400, Arvind Sankar wrote: > > > Do you want me to resend the patch as its own mail, or do you just take > > > it with a Tested-by: from me? If the former, I assume you're ok with me > > >

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 12:17:09PM +0200, Marek Szyprowski wrote: > Commit f8702f9e4aa7 ("regulator: core: Use ww_mutex for regulators > locking"), regardless of the subject, added additional call to > regulator_balance_voltage() during regulator_enable(). This is basically > a good idea, however

Re: [PATCH v2 0/2] mmc: core: Fix Marvell WiFi reset by adding SDIO API to replug card

2019-10-08 Thread Ulf Hansson
On Tue, 8 Oct 2019 at 01:39, Doug Anderson wrote: > > Hi, > > On Mon, Sep 16, 2019 at 2:25 AM Ulf Hansson wrote: > > > > On Wed, 11 Sep 2019 at 23:26, Doug Anderson wrote: > > > > > > Hi, > > > > > > On Thu, Jul 25, 2019 at 6:28 AM Ulf Hansson > > > wrote: > > > > > > > > On Mon, 22 Jul 2019

Re: [PATCH v2 1/3] drm: Add some new format DRM_FORMAT_NVXX_10

2019-10-08 Thread sandy.huang
在 2019/10/8 下午7:33, Ville Syrjälä 写道: On Tue, Oct 08, 2019 at 10:40:20AM +0800, sandy.huang wrote: Hi ville syrjala, 在 2019/9/30 下午6:48, Ville Syrjälä 写道: On Thu, Sep 26, 2019 at 04:24:47PM +0800, Sandy Huang wrote: These new format is supported by some rockchip socs:

Re: [PATCH V8 2/2] arm64/mm: Enable memory hot remove

2019-10-08 Thread Anshuman Khandual
On 10/08/2019 04:25 PM, Catalin Marinas wrote: > On Tue, Oct 08, 2019 at 10:06:26AM +0530, Anshuman Khandual wrote: >> On 10/07/2019 07:47 PM, Catalin Marinas wrote: >>> On Mon, Sep 23, 2019 at 11:13:45AM +0530, Anshuman Khandual wrote: The arch code for hot-remove must tear down portions

Re: [PATCH] thermal-generic-adc: Silent error message for EPROBE_DEFER

2019-10-08 Thread Jonathan Cameron
On Mon, 7 Oct 2019 10:07:22 -0700 Hsin-Yi Wang wrote: > On Tue, Sep 10, 2019 at 12:59 AM Hsin-Yi Wang wrote: > > > > If devm_iio_channel_get() or devm_thermal_zone_of_sensor_register() > > fail with EPROBE_DEFER, we shouldn't print an error message, as the > > device will be probed again later.

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-08 Thread Qian Cai
> On Oct 8, 2019, at 7:02 AM, Walter Wu wrote: > > I don't know very well in UBSAN, but I try to build ubsan kernel and > test a negative number in memset and kmalloc_memmove_invalid_size(), it > look like no check. It sounds like more important to figure out why the UBSAN is not working in

Re: [PATCH 06/10] dt-bindings: usb: renesas_usb3: Document r8a774b1 support

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

[PATCH] pwm: stm32: add comment to better describe breakinput feature

2019-10-08 Thread Fabrice Gasnier
Add a comment to better describe the purpose of breakinput feature that can be found on some STM32 timer instances. Briefly comment on the characteristics of this input for PWM, and pinmuxing as suggested in [1]. [1] https://lkml.org/lkml/2019/10/1/207 Signed-off-by: Fabrice Gasnier ---

Re: [PATCH v8 2/6] PCI: In extend_bridge_window() change available to new_size

2019-10-08 Thread mika.westerb...@linux.intel.com
On Fri, Jul 26, 2019 at 12:53:41PM +, Nicholas Johnson wrote: > In extend_bridge_window() change "available" parameter name to new_size. > This makes more sense as this parameter represents the new size for the > window. > > Signed-off-by: Nicholas Johnson Reviewed-by: Mika Westerberg

Re: [PATCH v8 1/6] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-10-08 Thread mika.westerb...@linux.intel.com
Hi Nicholas, On Fri, Jul 26, 2019 at 12:53:19PM +, Nicholas Johnson wrote: > Rewrite pci_bus_distribute_available_resources to better handle bridges > with different resource alignment requirements. Pass more details > arguments recursively to track the resource start and end addresses >

[PATCH v3] rtc: Fix the AltCentury value on AMD/Hygon platform

2019-10-08 Thread Jinke Fan
When using following operations: date -s "21190910 19:20:00" hwclock -w to change date from 2019 to 2119 for test, it will fail on Hygon Dhyana and AMD Zen CPUs, while the same operations run ok on Intel i7 platform. MC146818 driver use function mc146818_set_time() to set register

Re: [PATCH 05/10] dt-bindings: usb-xhci: Add r8a774b1 support

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

[PATCH 1/5] drm/nouveau/gr/gf100-: make undeclared symbols static

2019-10-08 Thread Ben Dooks
The following functions are not declared outside of the file they are in, so make them static to avoid these warnings: drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:745:1: warning: symbol 'gf100_gr_fecs_start_ctxsw' was not declared. Should it be static?

Re: [PATCH 04/10] dt-bindings: rcar-gen3-phy-usb3: Add r8a774b1 support

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

[PATCH 0/2] clk: ast2600: Expose RMII RCLK for MACs 1-4

2019-10-08 Thread Andrew Jeffery
Hello, This series is similar to that for the AST2500 but I've split the patches out as the AST2600 driver is new for 5.4 and I'm hoping we have a chance of slipping them in. Maybe we can get both series in, but I thought decoupling them might make it more manageable if not. Regardless, the

[PATCH 2/2] clk: ast2600: Add RMII RCLK gates for all four MACs

2019-10-08 Thread Andrew Jeffery
RCLK is a fixed 50MHz clock derived from HPLL/HCLK that is described by a single gate for each MAC. Signed-off-by: Andrew Jeffery --- drivers/clk/clk-ast2600.c | 47 ++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-ast2600.c

Re: [PATCH 03/10] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

[PATCH 1/2] dt-bindings: clock: Add AST2600 RMII RCLK gate definitions

2019-10-08 Thread Andrew Jeffery
The AST2600 has an explicit gate for the RMII RCLK for each of the four MACs. Signed-off-by: Andrew Jeffery --- include/dt-bindings/clock/ast2600-clock.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/clock/ast2600-clock.h

[PATCH 2/2] clk: aspeed: Add RMII RCLK gates for both AST2500 MACs

2019-10-08 Thread Andrew Jeffery
RCLK is a fixed 50MHz clock derived from HPLL that is described by a single gate for each MAC. Signed-off-by: Andrew Jeffery --- drivers/clk/clk-aspeed.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-aspeed.c

[PATCH 1/2] dt-bindings: clock: Add AST2500 RMII RCLK definitions

2019-10-08 Thread Andrew Jeffery
The AST2500 has an explicit gate for the RMII RCLK for each of the two MACs. Signed-off-by: Andrew Jeffery --- include/dt-bindings/clock/aspeed-clock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/aspeed-clock.h b/include/dt-bindings/clock/aspeed-clock.h

[PATCH 0/2] clk: aspeed: Expose RMII RCLK gate for MACs 1-2 on AST2500

2019-10-08 Thread Andrew Jeffery
Hello, This series is two small changes enable kernel support for controlling the RMII RCLK gate on AST2500-based systems. Previously the kernel has assumed u-boot has ungated RCLK for networking to function. RMII is commonly used for NCSI, which itself is commonly used for BMC-based designs to

[tip: x86/urgent] x86/asm: Fix MWAITX C-state hint value

2019-10-08 Thread tip-bot2 for Janakarajan Natarajan
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 454de1e7d970d6bc567686052329e4814842867c Gitweb: https://git.kernel.org/tip/454de1e7d970d6bc567686052329e4814842867c Author:Janakarajan Natarajan AuthorDate:Mon, 07 Oct 2019 19:00:22

RE: x86/random: Speculation to the rescue

2019-10-08 Thread David Laight
From: Pavel Machek > Sent: 07 October 2019 23:18 .. > I have many systems including SoC here, but technology needed for NAND > flash is different from technology for CPU, so these parts do _not_ > share a silicon die. They do not even share same package. (Also RTC > tends to be on separate chip,

Re: [PATCH v2 1/3] drm: Add some new format DRM_FORMAT_NVXX_10

2019-10-08 Thread Ville Syrjälä
On Tue, Oct 08, 2019 at 10:40:20AM +0800, sandy.huang wrote: > Hi ville syrjala, > > 在 2019/9/30 下午6:48, Ville Syrjälä 写道: > > On Thu, Sep 26, 2019 at 04:24:47PM +0800, Sandy Huang wrote: > >> These new format is supported by some rockchip socs: > >> > >> DRM_FORMAT_NV12_10/DRM_FORMAT_NV21_10 >

[tip: x86/urgent] x86/cpu/vmware: Use the full form of INL in VMWARE_PORT

2019-10-08 Thread tip-bot2 for Sami Tolvanen
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: fbcfb8f0270bf24fe348393540b17a7f2ba577d7 Gitweb: https://git.kernel.org/tip/fbcfb8f0270bf24fe348393540b17a7f2ba577d7 Author:Sami Tolvanen AuthorDate:Mon, 07 Oct 2019 12:21:29 -07:00

[tip: x86/urgent] lib/string: Make memzero_explicit() inline instead of external

2019-10-08 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: bec500777089b3c96c53681fc0aa6fee59711d4a Gitweb: https://git.kernel.org/tip/bec500777089b3c96c53681fc0aa6fee59711d4a Author:Arvind Sankar AuthorDate:Mon, 07 Oct 2019 18:00:02 -04:00

[tip: x86/urgent] x86/cpu/vmware: Use the full form of INL in VMWARE_PORT

2019-10-08 Thread tip-bot2 for Sami Tolvanen
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: fbcfb8f0270bf24fe348393540b17a7f2ba577d7 Gitweb: https://git.kernel.org/tip/fbcfb8f0270bf24fe348393540b17a7f2ba577d7 Author:Sami Tolvanen AuthorDate:Mon, 07 Oct 2019 12:21:29 -07:00

[tip: x86/urgent] x86/asm: Fix MWAITX C-state hint value

2019-10-08 Thread tip-bot2 for Janakarajan Natarajan
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 454de1e7d970d6bc567686052329e4814842867c Gitweb: https://git.kernel.org/tip/454de1e7d970d6bc567686052329e4814842867c Author:Janakarajan Natarajan AuthorDate:Mon, 07 Oct 2019 19:00:22

Re: [PATCH 02/10] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > This patch adds the binding for r8a774b1 SoC (RZ/G2N). > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: [PATCH v11 07/22] riscv: mm: Add p?d_leaf() definitions

2019-10-08 Thread Alex Ghiti
On 10/7/19 11:38 AM, Steven Price wrote: walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_leaf() functions/macros. For riscv a

Re: [PATCH 01/10] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support

2019-10-08 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 12:39 PM Fabrizio Castro wrote: > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: [PATCH v3 0/7] add Tegra194 XUSB host and pad controller support

2019-10-08 Thread Thierry Reding
On Mon, Oct 07, 2019 at 01:03:11PM +0200, Greg KH wrote: > On Sat, Oct 05, 2019 at 12:28:59AM +0800, JC Kuo wrote: > > Hi, > > > > This series introduces support for Tegra194 XUSB host and pad > > controller. Tegra194 XUSB host and pad controller are highly > > similar to the controllers found on

Re: [PATCH] sched/fair: scale quota and period without losing quota/period ratio precision

2019-10-08 Thread Peter Zijlstra
On Mon, Oct 07, 2019 at 11:14:25AM -0400, Phil Auld wrote: > On Thu, Oct 03, 2019 at 05:12:43PM -0700 Xuewei Zhang wrote: > > quota/period ratio is used to ensure a child task group won't get more > > bandwidth than the parent task group, and is calculated as: > > normalized_cfs_quota() =

Re: [PATCH] proc:fix confusing macro arg name

2019-10-08 Thread Christian Brauner
On Tue, Oct 08, 2019 at 06:44:18AM +, linmiaohe wrote: > Add suitable additional cc's as Andrew Morton suggested. > Get cc list from get_maintainer script: > [root@localhost mm]# ./scripts/get_maintainer.pl > 0001-proc-fix-confusing-macro-arg-name.patch > Alexey Dobriyan (reviewer:PROC

Re: [PATCH] mfd: intel-lpss: use devm_ioremap_uc for mmio

2019-10-08 Thread Luis Chamberlain
On Mon, Sep 30, 2019 at 02:05:22PM +0300, Andy Shevchenko wrote: > On Fri, Sep 27, 2019 at 11:55:13AM -0600, Tuowen Zhao wrote: > > Write-combining BAR for intel-lpss-pci in MTRR causes system hangs > > during boot. > > > > This patch adds devm_ioremap_uc as a new managed wrapper to ioremap_uc >

Re: [PATCH V5 3/4] x86: Support Generic Initiator only proximity domains

2019-10-08 Thread Jonathan Cameron
On Mon, 7 Oct 2019 16:55:05 +0200 Ingo Molnar wrote: > * Jonathan Cameron wrote: > > > Done in a somewhat different fashion to arm64. > > Here the infrastructure for memoryless domains was already > > in place. That infrastruture applies just as well to > > domains that also don't have a CPU,

Re: [PATCH 0/2] extcon: axp288: Move to swnodes

2019-10-08 Thread Heikki Krogerus
On Sun, Oct 06, 2019 at 09:37:25PM +0200, Hans de Goede wrote: > Hi, > > On 01-10-2019 12:51, Heikki Krogerus wrote: > > Hi Hans, > > > > That AXP288 extcon driver is the last that uses build-in connection > > description. I'm replacing it with a code that finds the role mux > > software node

[PATCH v2 3/3] arm64: dts: meson: a1: add pinctrl controller support

2019-10-08 Thread Qianggui Song
add peripheral pinctrl controller to a1 soc Signed-off-by: Qianggui Song --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index

[PATCH v2 1/3] pinctrl: add compatible for Amlogic Meson A1 pin controller

2019-10-08 Thread Qianggui Song
Add new compatible name for Amlogic's Meson-A1 pin controller add a dt-binding header file which document the detail pin names. Note that A1 doesn't need DS bank reg any more, use gpio reg as base. Reviewed-by: Rob Herring Reviewed-by: Neil Armstrong Signed-off-by: Qianggui Song ---

[PATCH v2 2/3] pinctrl: meson-a1: add pinctrl driver for Meson A1 Soc

2019-10-08 Thread Qianggui Song
Add pinctrl driver for Meson A1 Soc which share the same register layout of pinmux with previous Meson-G12A, however there is difference for gpio and pin config register in A1.The main difference is that registers before A1 are grouped by function while those of A1 are by bank. The new register

[PATCH v2 0/3] pinctrl: meson-a1: add pinctrl driver

2019-10-08 Thread Qianggui Song
This patchset adds Pin controller driver support for Meson-A1 Soc which shares the same register layout of pinmux with previous Meson-G12A, however there is difference for gpio and pin config registers in A1. Changes since v1 at [0]: - collect Reviewed-by - modify commit log - add an extra dt

Re: [RESEND][PATCH 2/2] regulator: da9062: Simplify da9062_buck_set_mode for BUCK_MODE_MANUAL case

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 06:53:22PM +0800, Axel Lin wrote: > But if I generate the patch on for-5.5 branch, I think you will get > conflict when merge for-5.4 and for-5.5 to for-next. Right. I will probably merge the 5.4 branch into the 5.5 branch at some point, if something doesn't apply I will

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-08 Thread Walter Wu
On Tue, 2019-10-08 at 05:47 -0400, Qian Cai wrote: > > > On Oct 8, 2019, at 2:16 AM, Walter Wu wrote: > > > > It is an undefined behavior to pass a negative numbers to > >memset()/memcpy()/memmove(), so need to be detected by KASAN. > > Why can’t this be detected by UBSAN? I don't know

Re: [PATCH v2] arm64: armv8_deprecated: Checking return value for memory allocation

2019-10-08 Thread Yunfeng Ye
On 2019/10/8 18:25, Will Deacon wrote: > On Tue, Oct 08, 2019 at 10:33:17AM +0800, Yunfeng Ye wrote: >> On 2019/10/7 23:37, Will Deacon wrote: >>> On Mon, Oct 07, 2019 at 06:06:35PM +0800, Yunfeng Ye wrote: @@ -617,25 +624,47 @@ static int t16_setend_handler(struct pt_regs *regs, u32

[PATCH] extcon: sm5502: Clear pending interrupts during initialization

2019-10-08 Thread Stephan Gerhold
On some devices (e.g. Samsung Galaxy A5 (2015)), the bootloader seems to keep interrupts enabled for SM5502 when booting Linux. Changing the cable state (i.e. plugging in a cable) - until the driver is loaded - will therefore produce an interrupt that is never read. In this situation, the cable

Re: [PATCH V8 2/2] arm64/mm: Enable memory hot remove

2019-10-08 Thread Catalin Marinas
On Tue, Oct 08, 2019 at 10:06:26AM +0530, Anshuman Khandual wrote: > On 10/07/2019 07:47 PM, Catalin Marinas wrote: > > On Mon, Sep 23, 2019 at 11:13:45AM +0530, Anshuman Khandual wrote: > >> The arch code for hot-remove must tear down portions of the linear map and > >> vmemmap corresponding to

[PATCH] pwm: cros-ec: Let cros_ec_pwm_get_state() return the last applied state

2019-10-08 Thread Enric Balletbo i Serra
For the cros-ec-pwm, "disabled" is the same as "duty cycle == 0", and is not possible to program a duty cycle while the device is disabled. However, the PWM API allows us to configure the "duty cycle" while the device is "disabled". But now, pwm_get_state() is returning the real hardware state

Re: [RESEND][PATCH 2/2] regulator: da9062: Simplify da9062_buck_set_mode for BUCK_MODE_MANUAL case

2019-10-08 Thread Axel Lin
Mark Brown 於 2019年10月8日 週二 下午6:51寫道: > > On Tue, Oct 08, 2019 at 06:48:15PM +0800, Axel Lin wrote: > > Mark Brown 於 2019年10月8日 週二 下午6:44寫道: > > > > It doesn't seem to apply against current code. > > > I just test apply it and It looks fine to be applied by linux-next tree. > > Or which branch of

Applied "ASoC: soc-acpi: add link_mask field" to the asoc tree

2019-10-08 Thread Mark Brown
The patch ASoC: soc-acpi: add link_mask field has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

FROM MS LISA HUGH (BUSINESS).

2019-10-08 Thread Ms Lisa Hugh
Dear Friend, I am Ms Lisa Hugh work with the department of Audit and accounting manager here in the Bank(B.O.A). Please i need your assistance for the transferring of thIs fund to your bank account for both of us benefit for life time investment, amount (US$4.5M DOLLARS). I have every

Applied "regulator: rk808: Remove rk817_set_suspend_voltage function" to the regulator tree

2019-10-08 Thread Mark Brown
The patch regulator: rk808: Remove rk817_set_suspend_voltage function has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "ASoC: SOF: support alternate list of machines" to the asoc tree

2019-10-08 Thread Mark Brown
The patch ASoC: SOF: support alternate list of machines has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: rk808: Constify rk817 regulator_ops" to the regulator tree

2019-10-08 Thread Mark Brown
The patch regulator: rk808: Constify rk817 regulator_ops has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: rk808: Fix warning message in rk817_set_ramp_delay" to the regulator tree

2019-10-08 Thread Mark Brown
The patch regulator: rk808: Fix warning message in rk817_set_ramp_delay has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime

Re: [RESEND][PATCH 2/2] regulator: da9062: Simplify da9062_buck_set_mode for BUCK_MODE_MANUAL case

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 06:48:15PM +0800, Axel Lin wrote: > Mark Brown 於 2019年10月8日 週二 下午6:44寫道: > > It doesn't seem to apply against current code. > I just test apply it and It looks fine to be applied by linux-next tree. > Or which branch of regulator tree should I generate the patch? Well,

Re: [RFC/RFT][PATCH v8] cpuidle: New timer events oriented governor for tickless systems

2019-10-08 Thread Rafael J. Wysocki
On Tue, Oct 8, 2019 at 11:51 AM Rafael J. Wysocki wrote: > > On Tue, Oct 8, 2019 at 8:20 AM Doug Smythies wrote: > > > > On 2019.10.06 08:34 Rafael J. Wysocki wrote: > > > On Sun, Oct 6, 2019 at 4:46 PM Doug Smythies wrote: > > >> On 2019.10.01 02:32 Rafael J. Wysocki wrote: > > >>> On Sun, Sep

<    2   3   4   5   6   7   8   9   10   >