On Thu, Aug 15, 2019 at 8:32 PM Sylvain Lemieux wrote:
> On 8/15/19 9:11 AM, Arnd Bergmann wrote:
> > On Thu, Aug 1, 2019 at 9:33 AM Arnd Bergmann wrote:
> > I applied patches 12 and 13 into the soc tree now. There are some
> > other pending multiplatform conversions (io
On Thu, Aug 1, 2019 at 9:33 AM Arnd Bergmann wrote:
>
> On Thu, Aug 1, 2019 at 12:53 AM Russell King - ARM Linux admin
> wrote:
> >
> > On Wed, Jul 31, 2019 at 09:56:42PM +0200, Arnd Bergmann wrote:
> > > For dove, the patches are basically what I had proposed bac
The ARM w90x900 platform is getting removed, so this driver is obsolete.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/Kconfig| 6 --
drivers/usb/host/Makefile | 1 -
drivers/usb/host/ehci-w90x900.c | 130
3 files changed, 137 deletions
and is not necessary, so leave that in place for now.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/Kconfig| 3 ++-
drivers/usb/host/ohci-nxp.c | 25 ++---
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host
The only thing that prevents building this driver on other
platforms is the mach/hardware.h include, which is not actually
used here at all, so remove the line and allow CONFIG_COMPILE_TEST.
Acked-by: Greg Kroah-Hartman
Acked-by: Sylvain Lemieux
Signed-off-by: Arnd Bergmann
---
drivers/usb
.
Arnd
Arnd Bergmann (12):
usb: ohci-nxp: enable compile-testing
usb: udc: lpc32xx: allow compile-testing
watchdog: pnx4008_wdt: allow compile-testing
serial: lpc32xx_hs: allow compile-testing
gpio: lpc32xx: allow building on non-lpc32xx targets
net: lpc-enet: factor out iram
On Tue, Aug 6, 2019 at 10:02 PM Sylvain Lemieux wrote:
> >
> > + gpio_reg_base = devm_platform_ioremap_resource(pdev, 0);
> > + if (gpio_reg_base)
> > + return -ENXIO;
>
> The probe function will always return an error.
> Please replace the previous 2 lines with:
> i
On Mon, Aug 5, 2019 at 10:28 AM Bartosz Golaszewski
wrote:
>
> pt., 2 sie 2019 o 13:20 Arnd Bergmann napisaĆ(a):
> >
> > On Fri, Aug 2, 2019 at 9:10 AM Bartosz Golaszewski
> > wrote:
> > > > -#include
> > > > -#include
> >
- mach/serial.h is used by mach/compress.h
The mach/memory.h is empty and gets removed in the process,
avoiding the need for CONFIG_NEED_MACH_MEMORY_H.
Signed-off-by: Arnd Bergmann
---
arch/arm/Kconfig | 1 -
arch/arm/mach-omap1/ams-delta-fiq-handler.S | 3
The omap usb drivers still rely on mach/*.h headers that
are explicitly or implicitly included, but all the required
definitions are now in include/linux/soc/ti/, so use those
instead and allow compile-testing on other architectures.
Signed-off-by: Arnd Bergmann
---
drivers/usb/gadget/udc
-off-by: Arnd Bergmann
---
arch/arm/mach-omap1/board-ams-delta.c | 2 +-
arch/arm/mach-omap1/board-generic.c | 2 +-
arch/arm/mach-omap1/board-h2.c| 2 +-
arch/arm/mach-omap1/board-h3.c| 2 +-
arch/arm/mach-omap1/board-htcherald.c | 2
.
Signed-off-by: Arnd Bergmann
---
arch/arm/mach-omap1/board-innovator.c | 19 +
arch/arm/mach-omap1/board-osk.c | 19 +
drivers/usb/host/ohci-omap.c| 28 ++---
include/linux/platform_data/usb-omap1.h | 2 ++
4 files changed, 42
just there for configuring
the memory translation, this too can get moved into usb.c
Signed-off-by: Arnd Bergmann
---
arch/arm/mach-omap1/include/mach/memory.h | 43 ---
arch/arm/mach-omap1/include/mach/omap1510.h | 1 -
arch/arm/mach-omap1/usb.c
On Fri, Aug 2, 2019 at 9:10 AM Bartosz Golaszewski
wrote:
> > -#include
> > -#include
> > +#define _GPREG(x) (x)
>
> What purpose does this macro serve?
>
> >
> > #define LPC32XX_GPIO_P3_INP_STATE _GPREG(0x000)
> > #define LPC32XX_GPIO_P3_OUTP_SET
On Thu, Aug 1, 2019 at 12:53 AM Russell King - ARM Linux admin
wrote:
>
> On Wed, Jul 31, 2019 at 09:56:42PM +0200, Arnd Bergmann wrote:
> > For dove, the patches are basically what I had proposed back in
> > 2015 when all other ARMv6/ARMv7 machines became part of a single
&
On Wed, Jul 31, 2019 at 10:23 PM Guenter Roeck wrote:
>
> On Wed, Jul 31, 2019 at 09:56:45PM +0200, Arnd Bergmann wrote:
> > The only thing that prevents building this driver on other
> > platforms is the mach/hardware.h include, which is not actually
> > used here at all
based platform code for the same hardware
in mach-mvebu and remove mach-dove entirely.
Acked-by: Andrew Lunn
Cc: Russell King
Signed-off-by: Arnd Bergmann
---
arch/arm/Kconfig | 16 -
arch/arm/configs/dove_defconfig | 2 ++
arch/arm/mach-dove
.@free-electrons.com/
Signed-off-by: Arnd Bergmann
---
I posted this in 2015, and Gregory said he would like to see
some testing on it. I don't think anyone ever tested it, but
we probably still want to have this.
---
arch/arm/Kconfig.debug | 5 +
arch/arm/mach-dove/dove.h
.
Signed-off-by: Arnd Bergmann
Acked-by: Andrew Lunn
---
.../{include/mach => }/bridge-regs.h | 4 +---
arch/arm/mach-dove/cm-a510.c | 3 +--
arch/arm/mach-dove/common.c | 4 ++--
arch/arm/mach-dove/dove-db-setup.c| 2 +-
arch/arm/mach-d
All preparation work is done, so the platform can finally
be moved into ARCH_MULTIPLATFORM. This requires a small
change to the defconfig file to enable the platform.
Signed-off-by: Arnd Bergmann
---
arch/arm/Kconfig | 17 +--
arch/arm/configs/lpc32xx_defconfig
All device drivers have stopped relying on mach/*.h headers,
so move the remaining headers into arch/arm/mach-lpc32xx/lpc32xx.h
to prepare for multiplatform builds.
The mach/entry-macro.S file has been unused for a long time now
and can simply get removed.
Signed-off-by: Arnd Bergmann
---
arch
The lpc-enet driver can now be built on all platforms, so
allow compile testing as well.
Signed-off-by: Arnd Bergmann
---
drivers/net/ethernet/nxp/Kconfig | 2 +-
drivers/net/ethernet/nxp/lpc_eth.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/nxp
The lpc32xx_loopback_set() function in hte lpc32xx_hs driver is the
one thing that relies on platform header files. Move that into the
core platform code so we only need a variable declaration for it,
and enable COMPILE_TEST building.
Signed-off-by: Arnd Bergmann
---
arch/arm/mach-lpc32xx
Setting the phy mode requires touching a platform specific
register, which prevents us from building the driver without
its header files.
Move it into a separate function in arch/arm/mach/lpc32xx
to hide the core registers from the network driver.
Signed-off-by: Arnd Bergmann
---
arch/arm/mach
used driver,
I want to keep the modifications to a minimum.
Signed-off-by: Arnd Bergmann
---
arch/arm/mach-lpc32xx/common.c | 9 ++--
arch/arm/mach-lpc32xx/common.h | 1 -
arch/arm/mach-lpc32xx/include/mach/board.h | 15 --
drivers/net/ethernet/nxp
The driver uses hardwire MMIO addresses instead of the data
that is passed in device tree. Change it over to only
hardcode the register offset values and allow compile-testing.
Signed-off-by: Arnd Bergmann
---
drivers/gpio/Kconfig| 8 +
drivers/gpio/Makefile | 2 +-
drivers
The only thing that prevents building this driver on other
platforms is the mach/hardware.h include, which is not actually
used here at all, so remove the line and allow CONFIG_COMPILE_TEST.
Signed-off-by: Arnd Bergmann
---
drivers/tty/serial/Kconfig | 3 ++-
drivers/tty/serial
The only thing that prevents building this driver on other
platforms is the mach/hardware.h include, which is not actually
used here at all, so remove the line and allow CONFIG_COMPILE_TEST.
Signed-off-by: Arnd Bergmann
---
drivers/usb/gadget/udc/Kconfig | 3 ++-
drivers/usb/gadget/udc
The only thing that prevents building this driver on other
platforms is the mach/hardware.h include, which is not actually
used here at all, so remove the line and allow CONFIG_COMPILE_TEST.
Signed-off-by: Arnd Bergmann
---
drivers/watchdog/Kconfig | 2 +-
drivers/watchdog/pnx4008_wdt.c
and is not necessary, so leave that in place for now.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/Kconfig| 3 ++-
drivers/usb/host/ohci-nxp.c | 25 ++---
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host
just
remove mach-dove rather than applying my patches.
I also created patches to remove the w90x900 and ks8695 platforms
that seem to have lost their last users a few years ago.
I will post them separately, but plan to apply them in the same
branch for linux-5.4 if there are no objections.
Arnd
e not interpreted as integer
values.
Acked-by: Jason Gunthorpe
Acked-by: Daniel Vetter
Acked-by: Mauro Carvalho Chehab
Acked-by: Greg Kroah-Hartman
Acked-by: David Sterba
Acked-by: Darren Hart (VMware)
Acked-by: Jonathan Cameron
Acked-by: Bjorn Andersson
Signed-off-by: Arnd Bergmann
---
dr
Acked-by: Felipe Balbi
Signed-off-by: Arnd Bergmann
---
drivers/misc/cxl/flash.c| 8 +---
drivers/misc/genwqe/card_dev.c | 23 +--
drivers/scsi/megaraid/megaraid_mm.c | 28 +---
drivers/usb/gadget/function/f_fs.c | 12 +-
-by: Jason Gunthorpe
Reviewed-by: Jiri Kosina
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Arnd Bergmann
---
drivers/char/ppdev.c | 12 +-
drivers/char/tpm/tpm_vtpm_proxy.c | 12 +-
drivers/firewire/core-cdev.c | 12 +-
drivers/hid/usbhid/hiddev.c
On Fri, Apr 19, 2019 at 11:59 AM Marc Gonzalez wrote:
>
> Keep EXTCON support optional, since some platforms do not need it.
>
> Fixes: 3def4031b3e3 ("usb: dwc3: add EXTCON dependency for qcom")
> Signed-off-by: Marc Gonzalez
The patch looks good, but please keep this in sync with the TI driver
discard them.
Signed-off-by: Arnd Bergmann
---
drivers/usb/renesas_usbhs/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/common.c
b/drivers/usb/renesas_usbhs/common.c
index 02c1d2bf4f86..2ff7991f4517 100644
--- a/drivers/usb/renesas_usb
On 11/6/18, Alan Cooper wrote:
> On Tue, Nov 6, 2018 at 6:09 AM Arnd Bergmann wrote:
>>
>> On 11/5/18, Al Cooper wrote:
>>
>> > +
>> > +config USB_BRCM
>> > + tristate "Broadcom STB USB support"
>> > + depends on A
On 11/5/18, Al Cooper wrote:
> +
> +config USB_BRCM
> + tristate "Broadcom STB USB support"
> + depends on ARCH_BRCMSTB
> + select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
> + select USB_EHCI_BRCM if USB_EHCI_HCD
> + select USB_XHCI_BRCM if USB_XHCI_HCD
> + select USB_XHCI_PL
On 10/30/18, Alan Cooper wrote:
>> On 10/24/18 3:11 AM, Arnd Bergmann wrote:
>>
>> On Wed, Oct 17, 2018 at 11:30 PM Al Cooper wrote:
>>
>> Add support for Broadcom STB SoC's to the ohci platform driver.
>>
>> Signed-off-by: Al Cooper
&
On Wed, Oct 17, 2018 at 11:30 PM Al Cooper wrote:
> +
> +static int ehci_brcm_probe(struct platform_device *pdev)
> +{
> + struct usb_hcd *hcd;
> + struct resource *res_mem;
> + struct brcm_priv *priv;
> + int irq;
> + int err;
> +
> + if (usb_disabled())
> +
On Wed, Oct 17, 2018 at 11:30 PM Al Cooper wrote:
>
> Add support for Broadcom STB SoC's to the ohci platform driver.
>
> Signed-off-by: Al Cooper
> ---
> drivers/usb/host/ohci-platform.c | 35 +--
> include/linux/usb/ohci_pdriver.h | 1 +
> 2 files changed, 30 i
On Thu, Sep 27, 2018 at 12:20 AM Al Cooper wrote:
>
> This driver enables USB OHCI on Broadcom ARM and MIPS STB SoCs.
> The drivers depend on a matching "brcm,brcmstb-usb-phy"
> Broadcom STB USB Phy driver.
>
> The standard platform driver can't be used because of differences
> in PHY and Clock ha
On Mon, Sep 24, 2018 at 10:35 PM Jason Gunthorpe wrote:
> On Mon, Sep 24, 2018 at 10:18:52PM +0200, Arnd Bergmann wrote:
> > On Tue, Sep 18, 2018 at 7:59 PM Jason Gunthorpe wrote:
> > > On Tue, Sep 18, 2018 at 10:51:08AM -0700, Darren Hart wrote:
> > > > On Fri, Se
On Tue, Sep 18, 2018 at 7:59 PM Jason Gunthorpe wrote:
>
> On Tue, Sep 18, 2018 at 10:51:08AM -0700, Darren Hart wrote:
> > On Fri, Sep 14, 2018 at 09:57:48PM +0100, Al Viro wrote:
> > > On Fri, Sep 14, 2018 at 01:35:06PM -0700, Darren Hart wrote:
> > >
> > > > Acked-by: Darren Hart (VMware)
> >
undefined reference to
`devm_extcon_register_notifier'
dwc3-qcom.c:(.text+0x1b9c): undefined reference to `extcon_get_state'
Do the same thing as OMAP and add an explicit dependency on
EXTCON.
Fixes: a4333c3a6ba9 ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Signed-off-by: Arnd B
On Wed, Sep 12, 2018 at 5:33 PM Jason Gunthorpe wrote:
>
> On Wed, Sep 12, 2018 at 05:01:03PM +0200, Arnd Bergmann wrote:
> > Each of these drivers has a copy of the same trivial helper function to
> > convert the pointer argument and then call the native ioctl handler.
>
e not interpreted as integer
values.
Signed-off-by: Arnd Bergmann
---
drivers/android/binder.c| 2 +-
drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +-
drivers/dma-buf/dma-buf.c | 4 +---
drivers/dma-buf/sw_sync.c | 2 +-
drivers/dm
thing, but using the new generic_compat_ioctl_ptrarg
helper makes it more correct in theory, and simplifies the code.
Signed-off-by: Arnd Bergmann
---
drivers/misc/cxl/flash.c| 8 +---
drivers/misc/genwqe/card_dev.c | 23 +--
drivers/scsi/megaraid/megaraid
Each of these drivers has a copy of the same trivial helper function to
convert the pointer argument and then call the native ioctl handler.
We now have a generic implementation of that, so use it.
Signed-off-by: Arnd Bergmann
---
drivers/char/ppdev.c | 12 +-
drivers/char
On Mon, Aug 20, 2018 at 5:22 AM Yoshihiro Shimoda
wrote:
> > From: Arnd Bergmann, Sent: Tuesday, August 14, 2018 11:27 PM
> >
> > On Tue, Aug 14, 2018 at 3:58 PM Alan Stern
> > wrote:
> > > On Mon, 13 Aug 2018, Arnd Bergmann wrote:
> > > > diff --gi
852f2d3e6d ("usb: musb: remove references to default_a of struct
usb_otg")
Signed-off-by: Arnd Bergmann
---
drivers/usb/musb/da8xx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 0e5929e81d26..1c023c0091c4 100644
--- a/drivers
Without that option, we run into a link failure:
drivers/usb/gadget/udc/aspeed-vhub/hub.o: In function
`ast_vhub_std_hub_request':
hub.c:(.text+0x5b0): undefined reference to `usb_gadget_get_string'
Fixes: 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")
: a4333c3a6ba9 ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Signed-off-by: Arnd Bergmann
---
drivers/usb/dwc3/dwc3-qcom.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c
index 8abb6f31389d..d7a
On Tue, Apr 24, 2018 at 10:56 PM, Krzysztof Kozlowski wrote:
> On Tue, Apr 24, 2018 at 10:50:58PM +0200, Arnd Bergmann wrote:
>> On Tue, Apr 24, 2018 at 10:32 PM, Krzysztof Kozlowski
>> wrote:
> The only dependency is through Kconfig symbol (SOC_EXYNOS5440). After
>
On Tue, Apr 24, 2018 at 10:32 PM, Krzysztof Kozlowski wrote:
> Hi,
>
>
> Overview
>
> Let's continue the removal of old platforms. We already get rid of Exynos4212.
> Now it's time for Exynos5440.
>
> The Exynos5440 (quad-core A15 with GMAC, PCIe, SATA) was targeting
> server platforms bu
lect USB_COMMON',
since that is how we solved the same problem for other helpers like
USB_LED_TRIG or PHY drivers.
Fixes: d54f063cdbe4 ("extcon: axp288: Set USB role where necessary")
Signed-off-by: Arnd Bergmann
---
drivers/usb/Kconfig | 1 +
1 file changed, 1 insertion(+)
On Wed, Apr 4, 2018 at 10:00 AM, Felipe Balbi
wrote:
>
> Hi,
>
> Masahiro Yamada writes:
Each DWC3 instance is connected with
multiple HS PHYs and multiple SS PHYs,
depending on the number of ports.
>>>
>>> in that case, you shouldn't need dwc3 at all. A Host-only dwc3 is xHCI
>>>
On Wed, Mar 14, 2018 at 6:12 PM, Bin Liu wrote:
> On Wed, Mar 14, 2018 at 04:35:51PM +0100, Arnd Bergmann wrote:
>> diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
>> index 5506a9c03c1f..490990e8b015 100644
>> --- a/drivers/usb/musb/Kconfig
>> +++
On Thu, Mar 15, 2018 at 10:59 AM, Hannes Reinecke wrote:
> On 03/15/2018 10:42 AM, David Howells wrote:
>> Do we have anything left that still implements NOMMU?
>>
> RISC-V ?
> (evil grin :-)
Is anyone producing a chip that includes enough of the Privileged ISA spec
to have things like system cal
On Thu, Mar 15, 2018 at 10:42 AM, David Howells wrote:
> Do we have anything left that still implements NOMMU?
Yes, plenty. I was wondering the same thing, but it seems that the architectures
we remove are almost completely representative of what we support overall,
except that they are all not l
The blackfin architecture is getting removed, so we can clean up
all the special cases in the musb driver.
Signed-off-by: Arnd Bergmann
---
drivers/usb/musb/Kconfig| 10 +-
drivers/usb/musb/Makefile | 1 -
drivers/usb/musb/blackfin.c | 623
The tile architecture is getting removed, so the ehci and ohci platform
glue drivers are no longer needed. In case of ohci, this is the last
one to define a PLATFORM_DRIVER macro, so we can remove even more.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/ehci-hcd.c| 5 -
drivers/usb
iles.
For anything else, I'd keep the removal patches in my asm-generic tree
and will send a pull request for 4.17 along with the actual arch removal.
Arnd
Arnd Bergmann
edac: remove tile driver
net: tile: remove ethernet drivers
net: adi: remove blackfin ethernet drivers
net: 83
A lot of Kconfig symbols have architecture specific dependencies.
In those cases that depend on architectures we have already removed,
they can be omitted.
Signed-off-by: Arnd Bergmann
---
block/bounce.c | 2 +-
drivers/ide/Kconfig | 2 +-
drivers/ide
e not used the custom CPU
architectures for several years at this point.
Arnd
Arnd Bergmann (14):
arch: remove frv port
arch: remove m32r port
arch: remove score port
arch: remove blackfin port
arch: remove tile port
procfs: remove CONFIG_HARDWALL dependency
mm: remove blackfin
On Tue, Feb 27, 2018 at 11:22 AM, Masahiro Yamada
wrote:
> 2018-02-27 18:03 GMT+09:00 Arnd Bergmann :
>> On Tue, Feb 27, 2018 at 1:46 AM, Masahiro Yamada
>> wrote:
>>> But, we need to decide what the right solution is.
>>
>> I think for consistency, we shoul
On Tue, Feb 27, 2018 at 1:46 AM, Masahiro Yamada
wrote:
> 2018-02-26 21:43 GMT+09:00 Arnd Bergmann :
>> On Mon, Feb 26, 2018 at 12:53 PM, Masahiro Yamada
>> wrote:
>>> 2018-02-26 17:43 GMT+09:00 Arnd Bergmann :
>>>> On Sat, Feb 24, 2018 at 3:50 PM, M
On Mon, Feb 26, 2018 at 12:53 PM, Masahiro Yamada
wrote:
> 2018-02-26 17:43 GMT+09:00 Arnd Bergmann :
>> On Sat, Feb 24, 2018 at 3:50 PM, Masahiro Yamada
>> wrote:
>>> As Documentation/kbuild/kconfig-language.txt notes, 'select' should be
>>> used wit
On Sat, Feb 24, 2018 at 3:50 PM, Masahiro Yamada
wrote:
> As Documentation/kbuild/kconfig-language.txt notes, 'select' should be
> used with care - it forces a lower limit of another symbol, ignoring
> the dependency.
>
> MFD_SYSCON depends on HAS_IOMEM, but several drivers with COMPILE_TEST
> sel
s the 'select' statements from mach-tegra and drivers/soc/tegra
and adds them with the device driver that actually needs them.
Signed-off-by: Arnd Bergmann
Signed-off-by: Thierry Reding
[arnd: rebased to 4.4-stable]
Signed-off-by: Arnd Bergmann
---
arch/arm/mach-tegra/Kconfig | 2
exists, so this is only needed for stable kernels.
Signed-off-by: Arnd Bergmann
---
drivers/usb/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 22e8ecb6bfbd..7a72bef35acf 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/p
exists, so this is only needed for stable kernels.
Signed-off-by: Arnd Bergmann
---
drivers/usb/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index b9c409a18faa..125cea1c3c8d 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/p
On Tue, Feb 6, 2018 at 2:05 PM, Robin Murphy wrote:
>
> It looks like we have only one real arch (score) without IOMEM, and two
> (s390 and tile) where it is possible to configure out, so it does seem like
> a reasonable feature to assume. Maybe we could have something like
> asm-generic/no-io.h t
On Tue, Feb 6, 2018 at 11:14 AM, Geert Uytterhoeven
wrote:
> Hi all,
>
> If NO_DMA=y, get_dma_ops() returns a reference to the non-existing
> symbol bad_dma_ops, thus causing a link failure if it is ever used.
>
> The intention of this is twofold:
> 1. To catch users of the DMA API on sy
On Fri, Jan 12, 2018 at 6:51 PM, Mauro Carvalho Chehab
wrote:
> Em Fri, 12 Jan 2018 10:18:59 +0100
> Arnd Bergmann escreveu:
>
>> On Fri, Jan 12, 2018 at 9:06 AM, Stefan Wahren
>> wrote:
>> > Am 12.01.2018 um 00:32 schrieb Arnd Bergmann:
>> >> On W
On Fri, Jan 12, 2018 at 9:06 AM, Stefan Wahren wrote:
> Am 12.01.2018 um 00:32 schrieb Arnd Bergmann:
>> On Wed, Jan 10, 2018 at 1:15 PM, Stefan Wahren
>> diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c
>> index b4964b067aec..93b55fb71d54 100644
>> -
On Wed, Jan 10, 2018 at 1:15 PM, Stefan Wahren wrote:
> Hi Arnd,
>
>
> Am 09.01.2018 um 22:33 schrieb Arnd Bergmann:
>>
>> On Tue, Jan 9, 2018 at 8:28 PM, Stefan Wahren
>> wrote:
>>>
>>> The dwc2 USB driver tries to find a generic PHY first and th
On Thu, Jan 11, 2018 at 2:30 PM, Kishon Vijay Abraham I wrote:
> On Thursday 11 January 2018 02:27 AM, Arnd Bergmann wrote:
>> On Mon, Jan 8, 2018 at 7:32 PM, Kishon Vijay Abraham I wrote:
>>> On Monday 08 January 2018 06:31 PM, Arnd Bergmann wrote:
>>>> Stefan W
On Mon, Jan 8, 2018 at 7:32 PM, Kishon Vijay Abraham I wrote:
> Hi Arnd,
>
> On Monday 08 January 2018 06:31 PM, Arnd Bergmann wrote:
>> Stefan Wahren reports a problem with a warning fix that was merged
>> for v4.15: we had lots of device nodes with a 'phys' proper
f function
'ssusb_wakeup_set'; did you mean 'ssusb_wakeup_disable'?
[-Werror=implicit-function-declaration]
This adapts the dummy helpers the same way that the extern declarations
were.
Fixes: f0ede2c6282b ("usb: mtu3: supports remote wakeup for mt2712 with two
SSUSB
On Tue, Jan 9, 2018 at 8:28 PM, Stefan Wahren wrote:
> The dwc2 USB driver tries to find a generic PHY first and then look
> for an old style USB PHY. In case of a valid generic PHY node without
> a PHY driver, the PHY layer will return -EPROBE_DEFER forever. So dwc2
> will never tries for an USB
from usb-phy to generic-phy.
Fixes: 014d6da6cb25 ("ARM: dts: bcm283x: Fix DTC warnings about missing
phy-cells")
Link: https://marc.info/?l=linux-usb&m=151518314314753&w=2
Cc: sta...@vger.kernel.org
Cc: Stefan Wahren
Cc: Felipe Balbi
Signed-off-by: Arnd Bergmann
---
This obvi
On Mon, Jan 8, 2018 at 10:36 AM, Stefan Wahren wrote:
> Am 08.01.2018 um 10:27 schrieb Arnd Bergmann:
>>
>> On Mon, Jan 8, 2018 at 10:15 AM, Stefan Wahren
>> wrote:
>>>
>>> Hi Eric,
>>> Am 07.01.2018 um 23:08 schrieb Eric Anholt:
>>>>
On Mon, Jan 1, 2018 at 7:53 AM, Andy Gross wrote:
> The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:
>
> Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux.git
> tags
On Mon, Dec 11, 2017 at 6:01 PM, Greg Kroah-Hartman
wrote:
> On Mon, Dec 11, 2017 at 02:59:13PM +0200, Mathias Nyman wrote:
>> On 11.12.2017 13:27, Arnd Bergmann wrote:
>> > gcc-8 warnings about the new driver using a memset with a bogus length:
>> >
>> >
be bound to an USB device
> controller at a time.
>
> Hence revert commit 7a9618a22aad.
>
> Signed-off-by: Bart Van Assche
> Cc: Romain Izard
> Cc: Arnd Bergmann
> Cc: Stephen Rothwell
> Cc: Masahiro Yamada
> Cc: Hannes Reinecke
> Cc: Nicholas Bellinger
>
On Mon, Dec 11, 2017 at 5:09 PM, Bart Van Assche wrote:
> On Mon, 2017-12-11 at 12:30 +0100, Arnd Bergmann wrote:
>> One patch that was meant as a cleanup apparently did more than it intended,
>> allowing all combinations of legacy gadget drivers to be built into the
>> k
even in thousands of randconfig builds.
Signed-off-by: Arnd Bergmann
---
drivers/usb/gadget/legacy/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/legacy/Kconfig
b/drivers/usb/gadget/legacy/Kconfig
index 2d80a9d1d5d9..fbd974965399 100644
--- a/drive
: gadget: allow to enable legacy drivers without
USB_ETH")
Signed-off-by: Arnd Bergmann
---
drivers/usb/gadget/Kconfig| 28
drivers/usb/gadget/legacy/Kconfig | 28
2 files changed, 28 insertions(+), 28 deletions(-)
[-Werror=memset-elt-size]
It looks like the author meant to use sizeof() rather than ARRAY_SIZE()
here, so use that.
Fixes: dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/xhci-dbgcap.c | 2 +-
1 file changed, 1 insertion(+
o I'm changing the % modulo operator into a cheaper bitmask
that the other drivers use, to make it wrap after 0x7ff rather than
before it.
Signed-off-by: Arnd Bergmann
---
drivers/usb/usbip/vudc_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/vu
k to.
Signed-off-by: Arnd Bergmann
---
drivers/usb/usbip/vudc.h | 2 +-
drivers/usb/usbip/vudc_dev.c | 7 +++
drivers/usb/usbip/vudc_sysfs.c | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/usbip/vudc.h b/drivers/usb/usbip/vudc.h
index 44fb24193acd.
cated
interfaces and works until 2106, when the firmware-defined
data structure overflows.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/xhci-tegra.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
e_rx_gpd':
drivers/usb/mtu3/mtu3_qmu.c:300:25: error: format '%p' expects argument of type
'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}'
[-Werror=format=]
This fixes the printk argument accordingly.
Fixes: 1a46dfea0841 ("usb: m
On Sat, Oct 28, 2017 at 3:33 PM, Martin Blumenstingl
wrote:
> On Fri, Oct 27, 2017 at 9:55 PM, Alan Stern wrote:
>> On Fri, 27 Oct 2017, Martin Blumenstingl wrote:
>>> >> diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt
>>> >> b/Documentation/devicetree/bindings/usb/usb-xhci.txt
>
cated
interfaces and works until 2106, when the firmware-defined
data structure overflows.
Signed-off-by: Arnd Bergmann
---
drivers/usb/host/xhci-tegra.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
On Thu, Oct 19, 2017 at 11:25 PM, Martin Blumenstingl
wrote:
>> Does dwc2 also use separate nodes for the roothub? From your
>> description it sounds like it would not be affected by your patch.
> currently it doesn't use separate notes for the roothub - however,
> with this patch it could (althou
On Tue, Oct 17, 2017 at 11:19 PM, Martin Blumenstingl
wrote:
>> Ok, very good!
>>
>>> is there anything else you want me to test?
>>
>> What about the same dtb when run on a kernel without your
>> patch series? Does that work as well, or are your patches
>> required to make it work?
>
> this is th
On Tue, Oct 17, 2017 at 11:00 PM, Martin Blumenstingl
wrote:
> On Fri, Oct 13, 2017 at 9:37 AM, Arnd Bergmann wrote:
>> On Thu, Oct 12, 2017 at 10:56 PM, Martin Blumenstingl
>> wrote:
>>
>> It's possible that this has never worked on XHCI because of the lack
>
On Thu, Oct 12, 2017 at 10:56 PM, Martin Blumenstingl
wrote:
> Hi Arnd,
>
> thank you for reviewing this patch!
>
> On Mon, Oct 9, 2017 at 12:24 PM, Arnd Bergmann wrote:
>> On Sun, Oct 8, 2017 at 11:17 PM, Martin Blumenstingl
>> wrote:
>>> A USB root-hub ma
1 - 100 of 637 matches
Mail list logo