Re: [PATCH v6 3/6] clk: meson-axg: add clock controller drivers

2017-12-11 Thread Jerome Brunet
On Mon, 2017-12-11 at 14:48 +0800, Yixun Lan wrote: > From: Qiufang Dai > > Add clock controller drivers for Amlogic Meson-AXG SoC. > > Acked-by: Neil Armstrong > Signed-off-by: Qiufang Dai > Signed-off-by: Yixun Lan > --- > arch/arm64/Kconfig.platforms | 1 + > drivers/clk/meson/Kconfig

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Alexander Stein
On Monday, December 11, 2017, 10:08:20 AM CET Rasmus Villemoes wrote: > >>> +static int > >>> +ls1021a_extirq_set_type(struct irq_data *data, unsigned int type) > >>> +{ > >>> + irq_hw_number_t hwirq = data->hwirq; > >>> + struct extirq_chip_data *chip_data = data->chip_data; > >>> + u32 value, mas

RE: [PATCH] drm/i915: Use copy_from_user() in fence copying

2017-12-11 Thread David Laight
From: Kees Cook > Sent: 08 December 2017 21:10 > >> There's no good reason to separate the access_ok() from the copy, > >> especially since the access_ok() size is hard-coded instead of using > >> sizeof(). Instead, just use copy_from_user() directly. > > > > Looks like an optimisation to save doin

Re: [PATCH] checkpatch: don't require octal permissions for "0"

2017-12-11 Thread Bartosz Golaszewski
2017-12-11 3:19 GMT+01:00 Joe Perches : > On Sun, 2017-12-10 at 15:04 +0100, Bartosz Golaszewski wrote: >> If the permission value is 0, don't raise the NON_OCTAL_PERMISSIONS >> error. There's no possibility of an error if there are no permissions. >> >> Suggested-by: Andy Shevchenko >> Signed-off

Re: [PATCH v4] f2fs: obsolete free nid list approach

2017-12-11 Thread Chao Yu
Hi Jaegeuk, On 2017/12/1 15:36, Jaegeuk Kim wrote: > Hi Chao, > > This is really hard to review and risky a lot to apply it shortly. Do we have > a I can understand your concern. > strong reason we have to do this? The original design goal was to minimize > allocation delay which is almost zer

[PATCH 0/5] Add STM32F769 pinctrl support

2017-12-11 Thread Alexandre Torgue
This series adds STM32F769 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. It also changes stm32f7 device tree structure to use dedicated files for stm32f746 pinctrl and stm32f769 pinctrl. Regards Alex Alexandre Torgue (5): dt-bindings: pinctrl: Add st,stm32f769-pinctrl c

Re: [PATCH] eeprom: at24: code shrink

2017-12-11 Thread Bartosz Golaszewski
2017-12-11 9:08 GMT+01:00 Uwe Kleine-König : > Hello, > > On Sun, Dec 10, 2017 at 08:29:47PM +0100, Bartosz Golaszewski wrote: >> @@ -625,7 +610,7 @@ static int at24_probe(struct i2c_client *client, const >> struct i2c_device_id *id) >> at24->offset_adj = at24_get_offset_adj(chip.flags, chip

Re: [PATCH v1 1/2] usb: phy: tegra: Cleanup error messages

2017-12-11 Thread Thierry Reding
On Mon, Dec 11, 2017 at 02:07:37AM +0300, Dmitry Osipenko wrote: > Tegra's PHY driver has a mix of pr_err() and dev_err(), let's switch to > dev_err() and use common errors message formatting across the driver for > consistency. > > Signed-off-by: Dmitry Osipenko > --- > drivers/usb/phy/phy-tegr

Re: [Intel-gfx] [PATCH] drm/i915: Use copy_from_user() in fence copying

2017-12-11 Thread Joonas Lahtinen
On Wed, 2017-12-06 at 12:28 -0800, Kees Cook wrote: > There's no good reason to separate the access_ok() from the copy, > especially since the access_ok() size is hard-coded instead of using > sizeof(). Instead, just use copy_from_user() directly. > > Fixes: cf6e7bac6357 ("drm/i915: Add support fo

Re: [PATCH] ARM: debug: add stm32 low-level debug support

2017-12-11 Thread Philippe Ombredanne
Ludovic, On Mon, Dec 11, 2017 at 10:08 AM, Alexandre Torgue wrote: > Hi Ludovic > > On 12/04/2017 02:32 PM, Ludovic Barre wrote: >> >> From: Ludovic Barre >> >> This adds low-level debug support on USART1 for STM32F4 >> and STM32F7. Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRINTK'. >> En

Re: [PATCH V1 3/4] qcom: spmi-wled: Add support for OVP interrupt handling

2017-12-11 Thread kgunda
On 2017-12-05 10:15, Bjorn Andersson wrote: On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: WLED peripheral has over voltage protection(OVP) circuitry and the OVP fault is notified through an interrupt. Though this fault condition rising is due to an incorrect hardware configuration is mitiga

[RESEND PATCH 2/2 v2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-11 Thread Nipun Gupta
Devices on MC bus can be deferred because of dependencies on other modules (such as IOMMU). Those are not the actual errors; as probing is again done by the kernel at later stages. So this patch avoids the error print in such case. Signed-off-by: Nipun Gupta --- Resending v2 as missed mentioning

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Rasmus Villemoes
On 2017-12-08 17:02, Marc Zyngier wrote: >> + >> +#define INTPCR_REG 0x01ac >> +#define NIRQ 6 > > These should come from the DT, specially if as suggested above, there > are other similar HW in the wild. OK, but see below. >> +static int >> +ls1021a_extirq_set_type(struct irq_data *data, unsign

[RESEND PATCH 1/2 v2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-11 Thread Nipun Gupta
Following is the current scenario when the devices are probed: FSL_MC Bus probe ---> dprc probe ---> dprc devices scan ---> probe devices in DPRC container ---> allocate IRQ's In case the devices being probed in the DPRC container need the IRQ's; probing of that device will fail. In curren

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Jarkko Nikula
On 12/11/2017 12:20 AM, Pavel Machek wrote: On Sun 2017-12-10 13:58:23, Andy Lutomirski wrote: On Dec 10, 2017, at 1:38 PM, Pavel Machek wrote: After 4.15-rc2, suspend stopped working on Thinkpad X60. 5b06bbc (unintentionally?) reordered stuff with respect to fix_processor_context() on 32-bit

Re: [PATCH V1 2/4] qcom: spmi-wled: Add support for short circuit handling

2017-12-11 Thread kgunda
On 2017-12-05 10:05, Bjorn Andersson wrote: On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: Handle the short circuit(SC) interrupt and check if the SC interrupt is valid. Re-enable the module to check if it goes away. Disable the module altogether if the SC event persists. Signed-off-by: Kira

Re: [PATCHSET] blk-mq: reimplement timeout handling

2017-12-11 Thread Peter Zijlstra
On Sat, Dec 09, 2017 at 11:25:19AM -0800, Tejun Heo wrote: > Currently, blk-mq timeout path synchronizes against the usual > issue/completion path using a complex scheme involving atomic > bitflags, REQ_ATOM_*, memory barriers and subtle memory coherence > rules. Unfortunatley, it contains quite a

Re: [PATCH] ARM: debug: add stm32 low-level debug support

2017-12-11 Thread Neil Armstrong
On 04/12/2017 14:32, Ludovic Barre wrote: > From: Ludovic Barre > > This adds low-level debug support on USART1 for STM32F4 > and STM32F7. Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRINTK'. > Enabled via 'earlyprintk' in bootargs. > > Signed-off-by: Gerald Baeza Hi Ludovic, Please also

Re: [PATCH] drm/i915/gvt/fb_decoder: Fix out-of-bounds read

2017-12-11 Thread Zhenyu Wang
On 2017.12.09 00:37:59 -0600, Gustavo A. R. Silva wrote: > In case function skl_format_to_drm returns -EINVAL, fmt turns into a huge > number as fmt is of type u32, hence there is an out-of-bounds read when > using fmt as an index for array skl_pixel_formats at line 225: > plane->bpp = skl_pixel_fo

Re: [PATCH v6 4/6] clk: meson: make the spinlock naming more specific

2017-12-11 Thread Jerome Brunet
On Mon, 2017-12-11 at 14:48 +0800, Yixun Lan wrote: > Make the spinlock more specific, so better for lockdep > debugging and ctags/grep. > > Suggested-by: Stephen Boyd > Signed-off-by: Yixun Lan Yixun, This change is not related to the main task describe in the cover letter. Next time, please

Re: [PATCH v2 3/3] i2c: at91: added slave mode support

2017-12-11 Thread Juergen Fitschen
Hi Ludovic, thank you for your reply and sorry for the delayed response! I'm a little bit busy atm, as well. So I won't be able to reproduce that before the next week. I also want to try another I2C master: A wild Arduino Uno appeared on my desk ;) Thank you for your support for bringing this to

Re: [RFC PATCH v2 1/2] xen/pvh: Add memory map pointer to hvm_start_info struct

2017-12-11 Thread Jan Beulich
>>> On 08.12.17 at 20:05, wrote: > On 12/8/2017 12:49 AM, Jan Beulich wrote: >> I'm not convinced of re-using E820 types here. I can see that this >> might ease the consumption in Linux, but I don't think there should >> be any connection to x86 aspects here - the data being supplied is >> x86-agn

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-11 Thread Katsuhiro Suzuki
Hello, > One example is how all the drivers that use the generic dmaengine code > instantiate their DMA drivers, or how all the drivers for CODECs that > have both I2C and SPIi control interfaces instantiate - given that the > device specific code here seems to be mostly data tables that's probabl

[PATCH 2/2 v2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-11 Thread Nipun Gupta
Devices on MC bus can be deferred because of dependencies on other modules (such as IOMMU). Those are not the actual errors; as probing is again done by the kernel at later stages. So this patch avoids the error print in such case. Signed-off-by: Nipun Gupta --- drivers/staging/fsl-mc/bus/fsl-mc

[PATCH 1/2 v2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-11 Thread Nipun Gupta
Following is the current scenario when the devices are probed: FSL_MC Bus probe ---> dprc probe ---> dprc devices scan ---> probe devices in DPRC container ---> allocate IRQ's In case the devices being probed in the DPRC container need the IRQ's; probing of that device will fail. In curren

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Philippe Ombredanne
Dear Kunihiko-san, On Mon, Dec 11, 2017 at 8:57 AM, Kunihiko Hayashi wrote: > The UniPhier platform from Socionext provides the AVE ethernet > controller that includes MAC and MDIO bus supporting RGMII/RMII > modes. The controller is named AVE. > > Signed-off-by: Kunihiko Hayashi > Signed-off-by

Re: [PATCH][netfilter-next] netfilter: conntrack: make struct nf_conntrack_l4proto_gre4 static

2017-12-11 Thread Florian Westphal
Colin King wrote: > From: Colin Ian King > > The structure nf_conntrack_l4proto_gre4 is local to the source and does > not need to be in global scope, so make it static. This bug was added in commit b9679a9fd3a7d36ea3deb2864a00cc413c5aae28 netfilter: conntrack: l4 protocol trackers can be cons

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2017-12-11 Thread Daniel Vetter
On Fri, Dec 08, 2017 at 11:54:19AM +0100, Peter Zijlstra wrote: > On Thu, Dec 07, 2017 at 11:08:49AM +0100, Daniel Vetter wrote: > > Since -rc1 we're hitting a bunch of lockdep splats using the new > > cross-release stuff around the 2 kthread completions. In all cases > > they are because totally i

[PATCH v4 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-11 Thread Crt Mori
There is no option to perform 64bit integer sqrt on 32bit platform. Added stronger typed int_sqrt64 enables the 64bit calculations to be performed on 32bit platforms. Although int_sqrt() is a rough approximation, the same algorithm is used in int_sqrt64() as good enough on 32bit platform. Signed-o

[PATCH v4 0/3] iio: temperataure: MLX90632

2017-12-11 Thread Crt Mori
Hi everybody, With the sensor now available to broad public, it is time to also share the driver with the community. MLX90632 is just 3x3mm in size, but with factory calibration offers instant usage in every project. Driver currently provides basic functionality, but I might add some more fancy f

Re: [PATCH v3 32/33] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-12-11 Thread Marc Zyngier
On 08/12/17 09:12, Greentime Hu wrote: > From: Greentime Hu > > This patch adds the Andestech Internal Vector Interrupt Controller > driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual. > http://www.andestech.com/product.php?cls=9 > > Signed-off-by: Rick Chen > Signed-off-by: Gr

Re: [PATCH V1 1/4] qcom: spmi-wled: Add support for qcom wled driver

2017-12-11 Thread kgunda
On 2017-12-05 07:31, Bjorn Andersson wrote: On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: WLED driver provides the interface to the display driver to adjust the brightness of the display backlight. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/qcom-spmi-wled.txt | 90 +++

[PATCH] MAINTIANERS: change FCoE list to linux-scsi

2017-12-11 Thread Johannes Thumshirn
fcoe-de...@open-fcoe.org is defunct and all patches are routed via the SCSI tree anyways. So update MAINTAINERS accordingly. Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9e0045e3ee0c..46bbf0

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Rasmus Villemoes
On 2017-12-08 17:09, Marc Zyngier wrote: > On 08/12/17 15:11, Alexander Stein wrote: >> Hi Rasmus, >> >>> + >>> +Required properties: >>> +- compatible: should be "fsl,ls1021a-extirq" >>> +- interrupt-controller: Identifies the node as an interrupt controller >>> +- #interrupt-cells: Use the same f

Re: [PATCH] ARM: debug: add stm32 low-level debug support

2017-12-11 Thread Alexandre Torgue
Hi Ludovic On 12/04/2017 02:32 PM, Ludovic Barre wrote: From: Ludovic Barre This adds low-level debug support on USART1 for STM32F4 and STM32F7. Compiled via 'CONFIG_DEBUG_LL' and 'CONFIG_EARLY_PRINTK'. Enabled via 'earlyprintk' in bootargs. Signed-off-by: Gerald Baeza Acked-by: Alexandre

Re: [PATCH v2 2/2] drm/tinydrm: add driver for ST7735R panels

2017-12-11 Thread Philippe Ombredanne
David, On Sun, Dec 10, 2017 at 11:10 PM, David Lechner wrote: > This adds a new driver for Sitronix ST7735R display panels. > > This has been tested using an Adafruit 1.8" TFT. > > Signed-off-by: David Lechner > --- /dev/null > +++ b/drivers/gpu/drm/tinydrm/st7735r.c > @@ -0,0 +1,219 @@ > +/* >

Re: [PATCH v4] mmap.2: MAP_FIXED updated documentation

2017-12-11 Thread Michal Hocko
On Sun 10-12-17 18:22:05, John Hubbard wrote: > On 12/10/2017 02:31 AM, Michal Hocko wrote: > > On Tue 05-12-17 19:14:34, john.hubb...@gmail.com wrote: > >> From: John Hubbard > >> > >> Previously, MAP_FIXED was "discouraged", due to portability > >> issues with the fixed address. In fact, there a

Re: [PATCH v9 0/2] media: ov7740: Add a V4L2 sensor-level driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 2:31 AM, Wenyou Yang wrote: > Add a Video4Linux2 sensor-level driver for the OmniVision OV7740 > VGA camera image sensor. > > Changes in v9: > - Use the new SPDX ids. Thank you for this Acked-by: Philippe Ombredanne -- Cordially Philippe Ombredanne

[PATCH 5/5] ARM: dts: stm32: use dedicated files for pinctrl on stm32f7 family

2017-12-11 Thread Alexandre Torgue
Currently, same stm32f746-pinctrl driver is used for stm32f746 and stm32f769 MCU. As pin map is different between those 2 MCUs, a stm32f769-pinctrl driver has been recently added. This patch -allows to use stm32f769-pinctrl driver for stm32f769 boards -reworks stm32 devicetree files to fit with s

[PATCH 2/5] pinctrl: stm32: add STM32F769 MCU support

2017-12-11 Thread Alexandre Torgue
This patch which adds STM32F769 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index 7e1fe39..397f8c1 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl

[PATCH 3/5] ARM: mach-stm32: Kconfig: introduce MACH_STM32F769 flag

2017-12-11 Thread Alexandre Torgue
This patch introduces the MACH_STM32F769 to make possible to only select STM32F769 pinctrl driver. By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index 0d1889b..33b

[PATCH 4/5] ARM: mach-stm32: add new STM32F769 MCU

2017-12-11 Thread Alexandre Torgue
Add new st,stm32f769 compatible machine name for STM32F769 MCU and update documentation. Signed-off-by: Alexandre Torgue diff --git a/Documentation/arm/stm32/stm32f769-overview.txt b/Documentation/arm/stm32/stm32f769-overview.txt new file mode 100644 index 000..9ab7e60 --- /dev/null +++ b/D

[PATCH 1/5] dt-bindings: pinctrl: Add st,stm32f769-pinctrl compatible to stm32-pinctrl

2017-12-11 Thread Alexandre Torgue
Add new compatible for stm32f769 MCU. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index 58c2a4c..fd7a4c7 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Felipe Balbi
Hi, (please break your lines at 80-characters) Yinbo Zhu writes: >>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index >>> 5cb3f6795b0b..071e7cea8cbb 100644 >>> --- a/drivers/usb/dwc3/core.c >>> +++ b/drivers/usb/dwc3/core.c >>> @@ -1106,6 +1106,9 @@ static void dwc3_get_pro

Re: [Xen-devel] [RFC v1] ALSA: xen-front: Add Xen para-virtualized frontend driver

2017-12-11 Thread Oleksandr Andrushchenko
ping On 11/17/2017 10:08 AM, Oleksandr Andrushchenko wrote: ping On 11/02/2017 03:11 PM, Oleksandr Andrushchenko wrote: Hi, all! Foreword This RFC is aimed to introduce support of para-virtualized sound frontend driver for Xen [1] and gather opinions from the relevant communities

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Friday, December 08, 2017 6:21 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry

Re: [PATCH v4 11/12] cpufreq: Add module to register cpufreq on Krait CPUs

2017-12-11 Thread Viresh Kumar
On 08-12-17, 15:12, Sricharan R wrote: > From: Stephen Boyd > > Register a cpufreq-generic device whenever we detect that a > "qcom,krait" compatible CPU is present in DT. > > Cc: > Signed-off-by: Stephen Boyd > --- > .../devicetree/bindings/arm/msm/qcom,pvs.txt | 38 > drivers/cp

Re: [PATCH 5/8] power: supply: axp20x_battery: add support for AXP813

2017-12-11 Thread Quentin Schulz
Hi Jonathan, On 10/12/2017 17:49, Jonathan Cameron wrote: > On Mon, 4 Dec 2017 15:12:51 +0100 > Quentin Schulz wrote: > >> The X-Powers AXP813 PMIC has got some slight differences from >> AXP20X/AXP22X PMICs: >> - the maximum voltage supplied by the PMIC is 4.35 instead of 4.36/4.24 >> for AX

RE: [Intel-gfx] [PATCH] drm/i915: Remove unused IRQ chip data of HDMI LPE audio

2017-12-11 Thread Anand, Jerome
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Saturday, December 9, 2017 4:22 AM > To: Ville Syrjälä > Cc: Chen, Augustine ; intel- > g...@lists.freedesktop.org; alsa-de...@alsa-project.org; Anand, Jerome > ; Bossart, Pierre-louis louis.boss...@intel.c

Re: [PATCH v4 12/12] cpufreq: dt: Reintroduce independent_clocks platform data

2017-12-11 Thread Viresh Kumar
On 08-12-17, 15:12, Sricharan R wrote: > The Platform data was removed earlier by, > 'commit eb96924acddc ("cpufreq: dt: Kill platform-data")' > since there were no users at that time. > Now this is required when the each of the cpu clocks > can be scaled independently, which is the case > for krai

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Richard Weinberger
Randy, Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap: > On 12/10/2017 06:08 PM, Linus Torvalds wrote: > > Another week, another rc. > > um (uml) won't build on i386 or x86_64: > > CC init/main.o > In file included from ../include/linux/perf_event.h:18:0, >

Re: [PATCHv1 00/14] omapdrm: DSI command mode panel support

2017-12-11 Thread Tomi Valkeinen
On 08/12/17 20:01, Sebastian Reichel wrote: >> I've also picked patches 7-12. > > Thanks. I just wanted to rebase the remaining patches on your > branch, but I don't see those patches in linux-next and your tree > does not seem to be updated properly either: > > https://git.kernel.org/pub/scm/li

Re: [PATCH 1/5] arm: dts: sun8i: a83t: Add I2C0 node

2017-12-11 Thread Chen-Yu Tsai
On Mon, Dec 11, 2017 at 3:15 PM, Maxime Ripard wrote: > Hi, > > On Fri, Dec 08, 2017 at 10:54:15PM +0100, Mylène Josserand wrote: >> Add I2C0 node for A83T. >> >> Signed-off-by: Mylène Josserand >> --- >> arch/arm/boot/dts/sun8i-a83t.dtsi | 11 +++ >> 1 file changed, 11 insertions(+) >>

[PATCH 1/2] mux: core: add a brief overview of the subsystem

2017-12-11 Thread Peter Rosin
Preparation for adding the mux subsystem to the driver-api documenation. Signed-off-by: Peter Rosin --- drivers/mux/core.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/mux/core.c b/drivers/mux/core.c index d1271c1ee23c..ccb5479f8a39 100644 --

[PATCH 2/2] docs: add mux docs to the driver-api docs

2017-12-11 Thread Peter Rosin
Include both the overview and the more detailed api docs. Signed-off-by: Peter Rosin --- Documentation/driver-api/index.rst | 1 + Documentation/driver-api/mux.rst | 17 + 2 files changed, 18 insertions(+) create mode 100644 Documentation/driver-api/mux.rst diff --git a/Docu

[PATCH 0/2] mux: add overview and add to driver-api docs

2017-12-11 Thread Peter Rosin
Hi! Don't know if this is worth adding, but it might answer at least a few questions. It looks ok when I view the htmldocs output, but I'm not all that certain this is good to go? Cheers, Peter Peter Rosin (2): mux: core: add a brief overview of the subsystem docs: add mux docs to the drive

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Monday, December 11, 2017 3:35 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry

Re: [PATCH v2] devres: use MACRO instead of function for devm_ioremap

2017-12-11 Thread Yisheng Xie
Ping... and sorry to disturb. Hi maintainers, Could you please help to review this patch? Thanks Yisheng xie On 2017/11/25 17:23, Yisheng Xie wrote: > Default ioremap is ioremap_nocache, so devm_ioremap has the same function > with devm_ioremap_nocache, which may just be killed. However, there a

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-11 Thread Quentin Schulz
Hi Jonathan, On 10/12/2017 17:36, Jonathan Cameron wrote: > On Mon, 4 Dec 2017 15:12:48 +0100 > Quentin Schulz wrote: > >> The X-Powers AXP813 PMIC is really close to what is already done for >> AXP20X/AXP22X. >> >> There are two pairs of bits to set the rate (one for Voltage and Current >> mea

[PATCH net-next v2 3/5] net: mvpp2: align values in ethtool get_coalesce

2017-12-11 Thread Antoine Tenart
Cosmetic patch aligning values in the ethtool get_coalesce function. This patch do not modify in anyway the driver's behaviour. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ma

[PATCH net-next v2 4/5] net: mvpp2: report the tx-usec coalescing information to ethtool

2017-12-11 Thread Antoine Tenart
This patch adds the tx-usec value to the informations reported to ethtool by the get_coalesce function. Suggested-by: Yan Markman Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/dr

[PATCH net-next v2 5/5] net: mvpp2: adjust the coalescing parameters

2017-12-11 Thread Antoine Tenart
This patch adjust the coalescing parameters to the vendor recommendations for the PPv2 network controller. Suggested-by: Yan Markman Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/etherne

[PATCH net-next v2 1/5] net: mvpp2: only free the TSO header buffers when it was allocated

2017-12-11 Thread Antoine Tenart
This patch adds a check to only free the TSO header buffer when its allocation previously succeeded. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/dri

Re: TC: Delete an error message for a failed memory allocation in tc_bus_add_devices()

2017-12-11 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. >> >> This issue was detected by using the Coccinelle software. > > And the problem here is? I suggest to reconsider the relevance of another error message. Would you like to achieve a better explanation for this use case

[PATCH net-next v2 0/5] net: mvpp2: various improvements

2017-12-11 Thread Antoine Tenart
Hi all, These patches are sent as a series to avoid any possible conflict, even though there're not entirely related. I can send them separately if needed. The series applies on today's net-next tree. Thanks! Antoine Since v1: - Removed the patch disabling TSO on allocation errors. Antoine Te

[PATCH net-next v2 2/5] net: mvpp2: split the max ring size from the default one

2017-12-11 Thread Antoine Tenart
From: Yan Markman The Rx/Tx ring sizes can be adjusted thanks to ethtool given specific network needs. This commit splits the default ring size from its max value to allow ethtool to vary the parameters in both ways. Signed-off-by: Yan Markman [Antoine: commit message] Signed-off-by: Antoine Te

Re: [PATCH 05/20] ARM: dts: aspeed: Add proper clock references

2017-12-11 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > The existing device trees use fixed-clocks in order to boot without a > clk driver. The newly added clk driver provides proper clock support, > including gating, so we move the device trees over to properly request > clocks. > > Signed-off-by:

Re: [PATCH] eeprom: at24: code shrink

2017-12-11 Thread Uwe Kleine-König
Hello, On Sun, Dec 10, 2017 at 08:29:47PM +0100, Bartosz Golaszewski wrote: > @@ -625,7 +610,7 @@ static int at24_probe(struct i2c_client *client, const > struct i2c_device_id *id) > at24->offset_adj = at24_get_offset_adj(chip.flags, chip.byte_len); > > at24->client[0].client = clie

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-007463

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Monday, December 11, 2017 3:34 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry

Re: [PATCH] mm/slab: Do not hash pointers when debugging slab

2017-12-11 Thread Geert Uytterhoeven
Hi Linus, On Sun, Dec 10, 2017 at 9:45 PM, Linus Torvalds wrote: > On Thu, Dec 7, 2017 at 2:17 AM, Geert Uytterhoeven > wrote: >> - pr_err("Slab corruption (%s): %s start=%p, >> len=%d\n", >> + pr_err("Slab corruption (%s): %s start=%p

[PATCH] usb: dwc2: host: Fix transaction errors in host mode

2017-12-11 Thread Minas Harutyunyan
Added missing GUSBCFG programming in host mode, which fixes transaction errors issue on HiKey and Altera Cyclone V boards. These field even if was programmed in device mode (in function dwc2_hsotg_core_init_disconnected()) will be resetting to POR values after core soft reset applied. So, each tim

Re: [PATCH 36/45] arch/nios2: remove duplicate includes

2017-12-11 Thread Tobias Klauser
On 2017-12-10 at 19:22:51 +0100, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge Reviewed-by: Tobias Klauser Thanks

<    4   5   6   7   8   9