Re: [PATCHv8] wlcore: spi: add wl18xx support

2016-07-20 Thread Kalle Valo
"Reizer, Eyal" writes: > Add support for using with both wl12xx and wl18xx. > > - all wilink family needs special init command for entering wspi mode. > extra clock cycles should be sent after the spi init command while the > cs pin is high. > - Use inverted chip select for sending a dummy 4

Re: Linux 4.1.28

2016-07-20 Thread Arkadiusz Miskiewicz
On Wednesday 20 of July 2016, Arkadiusz Miskiewicz wrote: > On Friday 15 of July 2016, Thomas Voegtle wrote: > > On Fri, 15 Jul 2016, Sasha Levin wrote: > > > On 07/15/2016 07:38 AM, Thomas Voegtle wrote: > > >> On Wed, 13 Jul 2016, Sasha Levin wrote: > > >>> I'm announcing the release of the 4.1.2

RE: [PATCHv8] wlcore: spi: add wl18xx support

2016-07-20 Thread Reizer, Eyal
> > > Add support for using with both wl12xx and wl18xx. > > > > - all wilink family needs special init command for entering wspi mode. > > extra clock cycles should be sent after the spi init command while the > > cs pin is high. > > - Use inverted chip select for sending a dummy 4 bytes comm

Re: [PATCH] Input: tsc200x - Report proper input_dev name

2016-07-20 Thread Michael Welling
On Wed, Jul 20, 2016 at 08:54:05AM +0200, Pavel Machek wrote: > > By same logic we shouldn't change from TSC200X back to TSC2005 because of > > people's possibly new setup in the last 9 months. > > That's your, broken logic. > > TSC200X->TSC2005 needs to be fixed, because people seen the TSC2005

Re: [PATCH v3 09/12] binfmt_flat: use clear_user() rather than memset() to clear .bss

2016-07-20 Thread Greg Ungerer
On 20/07/16 14:20, Nicolas Pitre wrote: > This is needed on systems with a MMU. > > Signed-off-by: Nicolas Pitre > Reviewed-by: Greg Ungerer > --- > fs/binfmt_flat.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c > index 28fc27

Re: [PATCH 2/4] drm/mediatek: enhance the HDMI driving current

2016-07-20 Thread CK Hu
Hi, Bibby: One comment inline. On Wed, 2016-07-20 at 12:03 +0800, Bibby Hsieh wrote: > From: Junzhi Zhao > > In order to improve 4K resolution performance, > we have to enhance the HDMI driving currend > when clock rate is greater than 165MHz. > > Signed-off-by: Junzhi Zhao > Signed-off-by: B

Re: [lkp] [PART2 PATCH v4 05/11] iommu/amd: Detect and initialize guest vAPIC log

2016-07-20 Thread Fengguang Wu
Hi, [auto build test WARNING on iommu/next] [also build test WARNING on v4.7-rc7 next-20160719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Suravee-Suthikulpanit/iommu-AMD-Introduce-IOMMU-AVI

Re: [lkp] [PATCH v3 1/3] spi: spidev: create spidev device for all spi slaves.

2016-07-20 Thread Fengguang Wu
Hi, [auto build test WARNING on v4.7-rc7] [cannot apply to next-20160719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Suchanek/Spidev-usability-patchset-update/20160720-055513

Re: [PATCH v2 01/10] binfmt_flat: assorted cleanups

2016-07-20 Thread Greg Ungerer
Hi Geert, On 20/07/16 16:54, Geert Uytterhoeven wrote: > Hi Nicolas, > > On Wed, Jul 20, 2016 at 6:09 AM, Nicolas Pitre > wrote: >> On Tue, 19 Jul 2016, Geert Uytterhoeven wrote: >> >>> On Tue, Jul 19, 2016 at 6:52 AM, Greg Ungerer wrote: Seeing as you have modified quite a few printk cal

Re: [lkp] [PATCH v2 2/9] hwmon: (core) New hwmon registration API

2016-07-20 Thread Fengguang Wu
Hi, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.7-rc7 next-20160719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Guenter-Roeck/hwmon-New-hwmon-registration-API/20

[char-misc v2] mei: me: disable driver on SPT SPS firmware

2016-07-20 Thread Tomas Winkler
Sunrise Point PCH with SPS Firmware doesn't expose working MEI interface, we need to quirk it out. The SPS Firmware is identifiable only on the first PCI function of the device. Cc: #4.6+ Tested-by: Sujith Pandel Signed-off-by: Tomas Winkler --- V2: 1. disable also second mei device 2. The

Re: [PATCH 3/6] perf tools: add infrastructure for PMU specific configuration

2016-07-20 Thread Jiri Olsa
On Tue, Jul 19, 2016 at 04:53:53PM -0600, Mathieu Poirier wrote: > This patchset adds PMU driver specific configuration to the parser > infrastructure by preceding any term with the '@' letter. As such > doing something like: > > perf record -e some_event/@cfg1,@cfg2=config/ ... > > will see 'cf

[PATCH] wlcore: spi: fix build warning caused by redundant variable

2016-07-20 Thread Reizer, Eyal
The ret variable is unused in wlcore_probe_of() Remove it for fixing build warning. Fixes: 01efe65aba65 ("wlcore: spi: add wl18xx support") Signed-off-by: Eyal Reizer --- drivers/net/wireless/ti/wlcore/spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/spi.c

Re: [PATCH v6] [media] pci: Add tw5864 driver

2016-07-20 Thread Hans Verkuil
On 07/20/2016 03:42 AM, Andrey Utkin wrote: > Changes since v5: > - Rework known issues notice as suggested by Hans Verkuil (and previously > Joe Perches) > > I am leaving for a vacation in a day and won't respond before 3rd of August. > I wish to all of you to enjoy your time, too. > > Thanks

Re: [PATCH v2 01/10] v4l: of: add "newavmode" property for Analog Devices codecs

2016-07-20 Thread Hans Verkuil
On 07/20/2016 02:03 AM, Steve Longerbeam wrote: > This patch adds a "newavmode" boolean property as part of the v4l2 endpoint > properties. This indicates an Analog Devices decoder is generating EAV/SAV > codes to suit Analog Devices encoders. > > Signed-off-by: Steve Longerbeam > Cc: Mauro Carva

[PATCH 0/4] extcon: Block the usgae of extcon_set/get/update_state() except for extcon core

2016-07-20 Thread Chanwoo Choi
This patchset blocks the usgae of extcon_get/get_update_state() except for extcon core. Instead, extcon framework provide the other APIs with unique extcon id as following: - extcon_set_cable_state_() - extcon_get_cable_state_() Chanwoo Choi (4): extcon: arizona: Remove the usage of extcon_updat

[PATCH 2/4] extcon: adc-jack: Remove the usage of extcon_set_state()

2016-07-20 Thread Chanwoo Choi
This patch removes the usage of extcon_set_state() because it uses the bit masking to change the state of external connectors. The extcon framework should handle the state by extcon_set/get_cable_state_() with extcon id. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-adc-jack.c | 26

[PATCH 1/4] extcon: arizona: Remove the usage of extcon_update_state()

2016-07-20 Thread Chanwoo Choi
This patch remvoes the usage of extcon_update_state() because the extcon_update_state() use directly the bit masking calculation to change the state of external connector without the unique id of external connector. It makes the code diffcult to read it. So, this patch uses the extcon_set_cable_sta

[PATCH 4/4] extcon: Block the bit masking operation for cable state except for extcon core

2016-07-20 Thread Chanwoo Choi
This patch restrict the usage of extcon_update_state() in the extcon core because the extcon_update_state() use the bit masking to change the state of external connector. When this function is used in device drivers, it may occur the probelm with the handling mistake of bit masking. Also, this pat

[PATCH 3/4] extcon: Remove the state_store() to prevent the wrong access

2016-07-20 Thread Chanwoo Choi
This patch removes the state_store() which change the state of external connectors with bit masking on user-space. It is wrong access to modify the change the state of external connectors. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon.c | 21 + 1 file changed, 1 inser

Re: Is THREAD_INFO_IN_TASK appropriate for -mm for 4.8?

2016-07-20 Thread Ingo Molnar
* Andy Lutomirski wrote: > Cons: It's a bit odd to merge code that can't be enabled as-is. OTOH > x86 could plausibly enable it for 4.8 if Ingo is okay with applying > "x86/dumpstack: Pin the target stack in save_stack_trace_tsk()" and > "x86: Move thread_info into task_struct" during the merge

linux-next: build failure after merge of the crypto tree

2016-07-20 Thread Stephen Rothwell
Hi all, After merging the dax-misc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/crypto/vmx/aesp8-ppc.S: Assembler messages: drivers/crypto/vmx/aesp8-ppc.S:2036: Error: symbol `.aes_p8_xts_decrypt' is already defined Caused by commit 11c6e16ee13a ("crypto: v

Re: [Question]page allocation failure: order:2, mode:0x2000d1

2016-07-20 Thread Michal Hocko
On Wed 20-07-16 09:33:30, Yisheng Xie wrote: > > > On 2016/7/19 22:14, Vlastimil Babka wrote: > > On 07/19/2016 03:48 PM, Xishi Qiu wrote: [...] > >> mode:0x2000d1 means it expects to alloc from zone_dma, (on arm64 zone_dma > >> is 0-4G) > > > > Yes, but I don't see where the __GFP_DMA comes fr

Re: [PATCH v5 3/4] make nbd device wait for its users

2016-07-20 Thread Markus Pargmann
Hi, On Saturday 16 July 2016 16:06:36 Pranay Kr Srivastava wrote: > When a timeout occurs or a recv fails, then > instead of abruptly killing nbd block device > wait for its users to finish. > > This is more required when filesystem(s) like > ext2 or ext3 don't expec

Re: [PATCH] Input: tsc200x - Report proper input_dev name

2016-07-20 Thread Pavel Machek
On Wed 2016-07-20 02:06:17, Michael Welling wrote: > On Wed, Jul 20, 2016 at 08:54:05AM +0200, Pavel Machek wrote: > > > By same logic we shouldn't change from TSC200X back to TSC2005 because of > > > people's possibly new setup in the last 9 months. > > > > That's your, broken logic. > > > > TSC

Re: [PATCH v8 0/10] Output raw touch data via V4L2

2016-07-20 Thread Hans Verkuil
Hi Nick, This series looks good. I plan on taking it for 4.9. I have to wait until 4.8-rc1 is out and merged in our media_tree repo before I can make the pull request, probably in about 3 weeks from now. One request: can you post the 'v4l2-compliance -a -f' output, using the latest v4l2-complianc

Re: [PATCH v11 05/10] genirq/msi-doorbell: msi_doorbell_pages

2016-07-20 Thread Auger Eric
Hi Thomas, On 19/07/2016 16:38, Thomas Gleixner wrote: > On Tue, 19 Jul 2016, Eric Auger wrote: >> msi_doorbell_pages sum up the number of iommu pages of a given order > > adding () to the function name would make it immediately clear that > msi_doorbell_pages is a function. > >> +/** >> + * msi_

Re: [PATCH v11 04/10] genirq/msi-doorbell: allow MSI doorbell (un)registration

2016-07-20 Thread Auger Eric
Hi Thomas, On 19/07/2016 16:22, Thomas Gleixner wrote: > On Tue, 19 Jul 2016, Eric Auger wrote: >> + >> +#include >> +#include >> +#include >> + >> +struct irqchip_doorbell { >> +struct irq_chip_msi_doorbell_info info; >> +struct list_head next; > > Again, please align the struct member

[PATCH 1/1] usb: xhci: Fix panic if disconnect

2016-07-20 Thread Jim Lin
After a device is disconnected, xhci_stop_device() will be invoked in xhci_bus_suspend(). Also the "disconnect" IRQ will have ISR to invoke xhci_free_virt_device() in this sequence. xhci_irq -> xhci_handle_event -> handle_cmd_completion -> xhci_handle_cmd_disable_slot -> xhci_free_virt_device If x

Re: [PATCH 04/10] iio: cros_ec: Add common functions for cros_ec sensors.

2016-07-20 Thread Enric Balletbo Serra
Hi Peter and Jonathan, Thanks for the review, I'll add the changes in v2, some answers below ... 2016-07-18 17:51 GMT+02:00 Jonathan Cameron : > On 18/07/16 08:29, Peter Meerwald-Stadler wrote: >> >>> Add the core functions to be able to support the sensors attached behind >>> the ChromeOS Embedd

Re: [PATCH 3/4] drm/mediatek: fix the wrong pixel clock when resolution is 4K

2016-07-20 Thread CK Hu
Hi, Bibby: Some comments inline. On Wed, 2016-07-20 at 12:03 +0800, Bibby Hsieh wrote: > From: Junzhi Zhao > > Pixel clock should be 297MHz when resolution is 4K. > > Signed-off-by: Junzhi Zhao > Signed-off-by: Bibby Hsieh > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 184 > +++

Re: [PATCH net-next v3] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-20 Thread Oliver Neukum
On Tue, 2016-07-19 at 16:54 +0200, Kristian Evensen wrote: > The firmware in several ZTE devices (at least the MF823/831/910 > modems/mifis) use OS fingerprinting to determine which type of device > to > export. In addition, these devices export a REST API which can be used > to > control the type

Re: [PATCH v3] arm/perf: Convert to hotplug state machine

2016-07-20 Thread Ingo Molnar
* Sebastian Andrzej Siewior wrote: > From: Thomas Gleixner > > Straight forward conversion w/o bells and whistles. > > Signed-off-by: Thomas Gleixner > Signed-off-by: Anna-Maria Gleixner > Reviewed-by: Sebastian Andrzej Siewior > Acked-by: Mark Rutland > Cc: Linus Torvalds > Cc: Mark Rut

[PATCH 1/1] usb: xhci: Fix panic if disconnect

2016-07-20 Thread Jim Lin
After a device is disconnected, xhci_stop_device() will be invoked in xhci_bus_suspend(). Also the "disconnect" IRQ will have ISR to invoke xhci_free_virt_device() in this sequence. xhci_irq -> xhci_handle_event -> handle_cmd_completion -> xhci_handle_cmd_disable_slot -> xhci_free_virt_device If x

[PATCH v2 0/5] net-next: ethernet: add sun8i-emac driver

2016-07-20 Thread LABBE Corentin
Hello This patch series add the driver for sun8i-emac which handle the Ethernet MAC present on Allwinner H3/A83T/A64 SoCs. It supports 10/100/1000 Mbit/s speed with half/full duplex. It can use an internal PHY (MII 10/100) or an external PHY via RGMII/RMII. This patch series enable the driver on

[PATCH v2 1/5] ethernet: add sun8i-emac driver

2016-07-20 Thread LABBE Corentin
This patch add support for sun8i-emac ethernet MAC hardware. It could be found in Allwinner H3/A83T/A64 SoCs. It supports 10/100/1000 Mbit/s speed with half/full duplex. It can use an internal PHY (MII 10/100) or an external PHY via RGMII/RMII. Signed-off-by: LABBE Corentin --- drivers/net/ethe

[PATCH v2 2/5] MAINTAINERS: Add myself as maintainers of sun8i-emac

2016-07-20 Thread LABBE Corentin
Signed-off-by: LABBE Corentin --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1d74837..daefb19 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -581,6 +581,12 @@ S: Maintained F: Documentation/i2c/busses/i2c-ali1563 F: drivers/i2c/b

[PATCH v2 3/5] ARM: sun8i: dt: Add DT bindings documentation for Allwinner sun8i-emac

2016-07-20 Thread LABBE Corentin
This patch adds documentation for Device-Tree bindings for the Allwinner sun8i-emac driver. Signed-off-by: LABBE Corentin --- .../bindings/net/allwinner,sun8i-emac.txt | 65 ++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/ne

[PATCH v2 4/5] ARM: dts: sun8i-h3: add sun8i-emac ethernet driver

2016-07-20 Thread LABBE Corentin
The sun8i-emac is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the sun8i-emac on the Allwinner H3 SoC Device-tree. The SoC H3 have an internal PHY, so optionals syscon and ephy are set. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun8i-h3.dtsi | 14

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Pavel Machek
Hi! > > @@ -0,0 +1,206 @@ > > +/* > > + * USB port LED trigger > > + * > > + * Copyright (C) 2016 Rafał Miłecki > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License as published by > > + * the Free Softwa

[PATCH v2 5/5] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC

2016-07-20 Thread LABBE Corentin
The sun8i-emac hardware is present on the Orange PI PC. It uses the internal PHY. This patch create the needed emac and phy nodes. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Rafał Miłecki
On 20 July 2016 at 03:02, Rob Herring wrote: > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote: >> This commit adds a new trigger that can turn on LED when USB device gets >> connected to the USB port. This can be useful for various home routers >> that have USB port and a proper LED

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Pavel Machek
On Mon 2016-07-18 08:55:52, Rafał Miłecki wrote: > On 18 July 2016 at 07:53, Peter Chen wrote: > > On Mon, Jul 18, 2016 at 07:57:34AM +0200, Rafał Miłecki wrote: > >> On 18 July 2016 at 07:40, Peter Chen wrote: > >> > On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote: > >> >> On 18 Ju

linux-next: Tree for Jul 20

2016-07-20 Thread Stephen Rothwell
Hi all, Changes since 20160719: The fsl tree gained a conflict against the arm-soc tree. The net-next tree gained conflicts against the net tree. The wireless-drivers-next tree lost its build failure. The crypto tree gained a build failure for which I reverted 2 commits. The l2-mtd tree gaine

[GIT PULL] MMC fixes for v.4.7 final

2016-07-20 Thread Ulf Hansson
Hi Linus, Here are a few late mmc fixes intended for v4.7 final. They are based on v4.7-rc7. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 92d21ac74a9e3c09b0b01c764e530657e4c85c49: Linux 4.7-rc7 (2016-07-10 20:

Re: [PATCH] arm64: dts: rockchip: add spiX aliases for rk3399

2016-07-20 Thread Heiko Stübner
Am Mittwoch, 20. Juli 2016, 00:18:40 schrieb Heiko Stübner: > Am Dienstag, 19. Juli 2016, 12:29:14 schrieb Brian Norris: > > On Tue, Jul 19, 2016 at 12:27:54PM -0700, Brian Norris wrote: > > > + Rob > > > > + Rob for real > > > > > Hi, > > > > > > On Tue, Jul 19, 2016 at 08:56:47PM +0200, Heiko

[PATCH] tools/power/acpi/tools/acpidbg: Add multi-commands support in batch mode

2016-07-20 Thread Lv Zheng
This patch adds multi-commands support for the batch mode. The same mode can be seen in acpiexec. However people may think this is not useful for an in-kernel debugger, because the in-kernel debugger is always running, never exits. So we can run another command by running another acpidbg batch mod

Re: [PATCH 1/1] usb: xhci: Fix panic if disconnect

2016-07-20 Thread Felipe Balbi
Hi Jim, Jim Lin writes: > After a device is disconnected, xhci_stop_device() will be invoked > in xhci_bus_suspend(). > Also the "disconnect" IRQ will have ISR to invoke > xhci_free_virt_device() in this sequence. > xhci_irq -> xhci_handle_event -> handle_cmd_completion -> > xhci_handle_cmd_disa

Re: [PATCH v11 06/10] genirq/msi-doorbell: msi_doorbell_safe

2016-07-20 Thread Thomas Gleixner
On Tue, 19 Jul 2016, Eric Auger wrote: > +bool msi_doorbell_safe(void) > +{ > + struct irqchip_doorbell *db; > + bool irq_remapping = true; > + > + mutex_lock(&irqchip_doorbell_mutex); > + list_for_each_entry(db, &irqchip_doorbell_list, next) { > + irq_remapping &= db->i

Re: [RFC PATCH 1/2] mempool: do not consume memory reserves from the reclaim path

2016-07-20 Thread Michal Hocko
On Tue 19-07-16 13:45:52, David Rientjes wrote: > On Tue, 19 Jul 2016, Johannes Weiner wrote: > > > Mempool guarantees forward progress by having all necessary memory > > objects for the guaranteed operation in reserve. Think about it this > > way: you should be able to delete the pool->alloc() ca

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Marc Zyngier
On 20/07/16 00:34, Sören Brinkmann wrote: > Hi Andy, > > On Tue, 2016-07-19 at 17:47:13 -0500, Andy Gross wrote: >> On Tue, Jul 19, 2016 at 11:18:04AM -0700, Sören Brinkmann wrote: >>> Hi, >>> >>> we are working on the PM solution for Zynq MPSOC and ran into some >>> problem when setting the wake

[PATCH] time/ntp: Remove duplicated include from

2016-07-20 Thread Ma Shimiao
Signed-off-by: Ma Shimiao --- kernel/time/ntp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 6df8927..4708198 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -16,7 +16,6 @@ #include #include #include -#include #include "ntp_int

Re: [PATCH 1/4] extcon: arizona: Remove the usage of extcon_update_state()

2016-07-20 Thread Charles Keepax
On Wed, Jul 20, 2016 at 04:38:44PM +0900, Chanwoo Choi wrote: > This patch remvoes the usage of extcon_update_state() because > the extcon_update_state() use directly the bit masking calculation > to change the state of external connector without the unique id of > external connector. It makes the

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-20 Thread Arnd Bergmann
On Tuesday, July 19, 2016 12:05:00 PM CEST Jes Sorensen wrote: > Arnd Bergmann writes: > > On Tuesday, July 19, 2016 11:46:04 AM CEST Jes Sorensen wrote: > >> > diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c > >> > b/drivers/staging/rtl8192e/rtl819x_TSProc.c > >> > index 2c8a526773ed..e0a

Re: Linux 4.1.28

2016-07-20 Thread Michal Kubecek
On Fri, Jul 15, 2016 at 03:04:48PM +0200, Thomas Voegtle wrote: > And that one? > Happens while trying to start a firewall script with iptables-restore. > > [ 180.071999] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! > [iptables-restor:2338] ... > [ 180.072000] Call Trace: > [ 180.07200

[PATCH 5/5] mfd: sunxi-gpadc-mfd: probe sunxi-gpadc-ts driver

2016-07-20 Thread Quentin Schulz
This probes the touchscreen driver for Allwinner SoCs (A10, A13 and A31) when the property "allwinner,ts-attached" is set in the GPADC (rtp) node of the DT. Some comestic modifications done to shorten and increase readability of the code. Signed-off-by: Quentin Schulz --- drivers/mfd/sunxi-gpad

[PATCH 0/5] add resistive touchscreen support for new Allwinner SoCs' GPADC's driver

2016-07-20 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in drivers/i

[PATCH 4/5] input: touchscreen: support Allwinner SoCs' touchscreen

2016-07-20 Thread Quentin Schulz
This adds support for Allwinner SoCs' (A10, A13 and A31) resistive touchscreen. This driver is probed by the MFD sunxi-gpadc-mfd. This driver uses ADC channels exposed through the IIO framework by sunxi-gpadc-iio to get its data. When opening this input device, it will start buffering in the ADC d

[PATCH 1/5] mfd: sunxi-gpadc-mfd: add TP_UP_PENDING irq

2016-07-20 Thread Quentin Schulz
This adds support for TP_UP_PENDING irq in Allwinner SoCs' GPADC's MFD. This interrupt occurs when a touchscreen is attached and the thing (stylus, finger) currently touching the touchscreen releases the touch. Signed-off-by: Quentin Schulz --- drivers/mfd/sunxi-gpadc-mfd.c | 12 1

[PATCH 2/5] mfd: sunxi-gpadc-mfd: add buffer structure

2016-07-20 Thread Quentin Schulz
This adds a buffer structure for files including the sunxi-gpadc-mfd header. This structure has a buffer of 32 u32 values to store data from the FIFO of the GPADC of Allwinner SoCs. A buff_size is provided in case the buffer is not full. Signed-off-by: Quentin Schulz --- include/linux/mfd/sunxi-

[PATCH 3/5] iio: adc: sunxi-gpadc-iio: enable iio_buffers

2016-07-20 Thread Quentin Schulz
This enables the use of buffers on ADC channels of sunxi-gpadc-iio driver. It also prepares the code which will be used by the touchscreen driver named sunxi-gpadc-ts. The GPADC on Allwinner SoCs (A10, A13 and A31) has a 12 bits register for conversion's data. The GPADC uses the same ADC channels

Re: [RESEND RFC v2] mmc: Change the max discard sectors and erase response if mmc host supports busy signalling

2016-07-20 Thread Baolin Wang
On 19 July 2016 at 19:57, Ulf Hansson wrote: > On 13 June 2016 at 10:54, Baolin Wang wrote: >> When mmc host HW supports busy signalling (using R1B as response), We >> shouldn't use 'host->max_busy_timeout' as the limitation when deciding >> the max discard sectors that we tell the generic BLOCK

[PATCH V2 0/4] x86/insn: perf tools: Add AVX-512 support to the instruction decoder

2016-07-20 Thread Adrian Hunter
Hi Here are patches to add support for Intel's AVX-512 instructions to the instruction decoder. Also there is a patch to fix vcvtph2ps. AVX-512 instructions are documented in Intel Architecture Instruction Set Extensions Programming Reference (February 2016). These patches do not conflict with

[PATCH V2 2/4] x86/insn: Add AVX-512 support to the instruction decoder

2016-07-20 Thread Adrian Hunter
Add support for Intel's AVX-512 instructions to the instruction decoder. AVX-512 instructions are documented in Intel Architecture Instruction Set Extensions Programming Reference (February 2016). AVX-512 instructions are identified by a EVEX prefix which, for the purpose of instruction decoding,

[PATCH V2 3/4] perf tools: Add AVX-512 support to the instruction decoder used by Intel PT

2016-07-20 Thread Adrian Hunter
Add support for Intel's AVX-512 instructions to perf tools instruction decoder used by Intel PT. The kernel's instruction decoder was updated in a previous patch. AVX-512 instructions are documented in Intel Architecture Instruction Set Extensions Programming Reference (February 2016). AVX-512 i

[PATCH V2 1/4] x86/insn: perf tools: Fix vcvtph2ps instruction decoding

2016-07-20 Thread Adrian Hunter
vcvtph2ps does not have an immediate operand, so remove the erroneous 'Ib' from its opcode map entry. Add vcvtph2ps to the perf tools new instructions test to verify it. Signed-off-by: Adrian Hunter Acked-by: Masami Hiramatsu --- arch/x86/lib/x86-opcode-map.txt | 2 +- tool

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-20 Thread Russell King - ARM Linux
On Wed, Jul 20, 2016 at 01:45:42PM +1000, Balbir Singh wrote: > > IOW, if your kernel forced signature verification, you should not be > > able to do sig_enforce=0. If you kernel did not have > > CONFIG_MODULE_SIG_FORCE=y, then sig_enforce should be 0 by default anyway > > and you are not making it

[git pull] m68k updates for 4.8

2016-07-20 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git tags/m68k-for-v4.8-tag1 for you to fetch chan

Re: [PATCH 2/2] x86/insn: perf tools: Add AVX-512 support to the instruction decoder

2016-07-20 Thread Adrian Hunter
On 20/07/16 04:50, Masami Hiramatsu wrote: > On Tue, 19 Jul 2016 15:46:48 +0300 > Adrian Hunter wrote: > >> Add support for Intel's AVX-512 instructions to the instruction decoder. >> >> AVX-512 instructions are documented in Intel Architecture Instruction Set >> Extensions Programming Reference

Re: [PATCH 3/5] iio: adc: sunxi-gpadc-iio: enable iio_buffers

2016-07-20 Thread Peter Meerwald-Stadler
> This enables the use of buffers on ADC channels of sunxi-gpadc-iio driver. > It also prepares the code which will be used by the touchscreen driver > named sunxi-gpadc-ts. > > The GPADC on Allwinner SoCs (A10, A13 and A31) has a 12 bits register for > conversion's data. The GPADC uses the same

Re: [PATCH 1/1] netfilter: Add helper array register/unregister functions

2016-07-20 Thread Pablo Neira Ayuso
On Wed, Jul 20, 2016 at 08:51:17AM +0800, Liping Zhang wrote: > 2016-07-18 11:39 GMT+08:00 : > > From: Gao Feng > > > > Add nf_ct_helper_init, nf_conntrack_helpers_register/unregister > > functions to enhance the conntrack helper codes. > > I think this patch is breaking something ... > > This

[PATCH] ARM: sa1111: Use clk_disable_unprepare

2016-07-20 Thread Amitoj Kaur Chawla
Replace clk_disable and clk_unprepare with clk_disable_unprepare. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ - clk_disable(e); - clk_unprepare(e); + clk_disable_unprepare(e); Signed-off-by: Amitoj Kaur Chawla --- arch/arm/common/sa.c | 3 +--

Re: 答复: [PATCH 1/1] netfilter: Add helper array register/unregister functions

2016-07-20 Thread Pablo Neira Ayuso
On Wed, Jul 20, 2016 at 09:02:52AM +0800, 高峰 wrote: > Oh, thanks Liping. > I have not found the extra port styles are different of irc, sane and tftp > with ftp. > > Hi Pablo, > Then should I modify the original patch or send a new one? No need to resend, I have just sent an amendement that I'm

[PATCH] drm: Use clk_disable_unprepare

2016-07-20 Thread Amitoj Kaur Chawla
Replace clk_disable and clk_unprepare with clk_disable_unprepare. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ - clk_disable(e); - clk_unprepare(e); + clk_disable_unprepare(e); Signed-off-by: Amitoj Kaur Chawla --- drivers/gpu/drm/fsl-dcu/fsl_dcu_dr

[PATCH] clocksource/drivers/timer-sp804: Use clk_disable_unprepare

2016-07-20 Thread Amitoj Kaur Chawla
Replace clk_disable and clk_unprepare with clk_disable_unprepare. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ - clk_disable(e); - clk_unprepare(e); + clk_disable_unprepare(e); Signed-off-by: Amitoj Kaur Chawla --- drivers/clocksource/timer-sp804.c

Re: 答复: [PATCH 1/1] netfilter: Add helper array register/unregister functions

2016-07-20 Thread Pablo Neira Ayuso
On Wed, Jul 20, 2016 at 08:31:13AM +0800, 高峰 wrote: > Thanks Pablo. > > I had used the script "checkpatch.pl" to check the patch file. > There was no indentation error reported. > > So could you give me more tails please or point one indentation error? > Then I could correct it by myself next tim

[PATCH v2 5/6] dmaengine: omap-dma: Use pointer to omap_sg in slave_sg setup's loop

2016-07-20 Thread Peter Ujfalusi
Instead of accessing the array via index, take the pointer first and use it to set up the omap_sg struct. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 072

[PATCH v2 0/6] dmaengine:omap-dma: Linked List transfer for slave_sg

2016-07-20 Thread Peter Ujfalusi
Hi, Changes since v1: - dropped the patch changing the sequence of vchan_cookie_complete and omap_dma_start_sg in omap_dma_callback - Use appropriate macros to find omap_chan and omap_desc in patch 6 - Use per-device pool instead of per-channel pools. The following series with the final patch w

[PATCH v2 2/6] dmaengine: omap-dma: Simplify omap_dma_callback

2016-07-20 Thread Peter Ujfalusi
Flatten the indentation level of the function which gives better view on the cases we handle here. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 7d5

[PATCH v2 1/6] dmaengine: omap-dma: Simplify omap_dma_start_sg parameter list

2016-07-20 Thread Peter Ujfalusi
We can drop the (sg)idx parameter for the omap_dma_start_sg() function and increment the sgidx inside of the same function. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/d

[PATCH v2 6/6] dmaengine: omap-dma: Support for LinkedList transfer of slave_sg

2016-07-20 Thread Peter Ujfalusi
sDMA in OMAP3630 or newer SoC have support for LinkedList transfer. When LinkedList or Descriptor load feature is present we can create the descriptors for each and program sDMA to walk through the list of descriptors instead of the current way of sDMA stop, sDMA reconfiguration and sDMA start afte

[PATCH v2 3/6] dmaengine: omap-dma: Dynamically allocate memory for lch_map

2016-07-20 Thread Peter Ujfalusi
On OMAP1 platforms we do not have 32 channels available. Allocate the lch_map based on the available channels. This way we are not going to have more visible channels then it is available on the platform. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 20 ++-- 1 file

[PATCH v2 4/6] dmaengine: omap-dma: Add more debug information when freeing channel

2016-07-20 Thread Peter Ujfalusi
Print the same information the driver prints when allocating the channel resources regarding to the sDMA channel. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 6

Re: [PATCH v2 05/10] media: adv7180: add power pin control

2016-07-20 Thread Lars-Peter Clausen
On 07/20/2016 02:03 AM, Steve Longerbeam wrote: > Some targets control the ADV7180 power pin via a gpio, so add > optional support for "powerdown" pin control. > > Signed-off-by: Steve Longerbeam > Tested-by: Tim Harvey > Acked-by: Tim Harvey > Cc: Lars-Peter Clausen Looks good, thanks. Acke

[PATCH] locktorture: Remove duplicated include

2016-07-20 Thread Ma Shimiao
Signed-off-by: Ma Shimiao --- kernel/locking/locktorture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index f8c5af5..9c4880f 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c @@ -522,7 +522,6 @@ static

Re: [PATCH v2 03/10] media: adv7180: define more registers

2016-07-20 Thread Lars-Peter Clausen
On 07/20/2016 02:03 AM, Steve Longerbeam wrote: > Replace hard-coded addresses with new register macro defines. No > functional changes. > > Signed-off-by: Steve Longerbeam Acked-by: Lars-Peter Clausen

Re: [PATCH 3/5] iio: adc: sunxi-gpadc-iio: enable iio_buffers

2016-07-20 Thread Quentin Schulz
On 20/07/2016 10:38, Peter Meerwald-Stadler wrote: > >> This enables the use of buffers on ADC channels of sunxi-gpadc-iio driver. >> It also prepares the code which will be used by the touchscreen driver >> named sunxi-gpadc-ts. >> >> The GPADC on Allwinner SoCs (A10, A13 and A31) has a 12 bits r

Re: [PATCH 03/13] RTC: ds1307: Add DS1341 specific power-saving options

2016-07-20 Thread Alexandre Belloni
On 19/07/2016 at 16:56:56 -0700, Andrey Smirnov wrote : > >> I don't see any value in doing that, could you give me a realistic > >> example of a scenario in which a user would want to spend some of > >> uptime with RTC oscillator fault detection/glitch filtering disabled > >> and then enable it? >

RE: [PATCH v5 4/8] char: rpmb: provide a user space interface

2016-07-20 Thread Winkler, Tomas
> > On Mon, Jul 18, 2016 at 4:27 PM, Tomas Winkler > wrote: > > The user space API is achieved via two synchronous IOCTL. > > Simplified one, RPMB_IOC_REQ_CMD, were read result cycles is > performed > > by the framework on behalf the user and second, RPMB_IOC_SEQ_CMD > where > > the whole RPMB se

[PATCH] perf intel-pt: Fix ip compression

2016-07-20 Thread Adrian Hunter
June 2015 Intel SDM introduced IP Compression types 4 and 6. Refer section 36.4.2.2 Target IP (TIP) Packet - IP Compression. Existing Intel PT packet decoder did not support type 4, and got type 6 wrong. Because type 3 and type 4 have the same number of bytes, the packet 'count' has been changed

Re: [PATCH v11 09/10] genirq/msi: map/unmap the MSI doorbells on msi_domain_alloc/free_irqs

2016-07-20 Thread Thomas Gleixner
On Tue, 19 Jul 2016, Eric Auger wrote: > /** > + * msi_handle_doorbell_mappings: in case the irq data corresponds to an > + * MSI that requires iommu mapping, traverse the irq domain hierarchy > + * to retrieve the doorbells to handle and iommu_map/unmap them according > + * to @map boolean. > + *

Re: [v2] rpaphp: fix slot registration for multiple slots under a PHB

2016-07-20 Thread Michael Ellerman
On Mon, 2016-11-07 at 22:16:27 UTC, Tyrel Datwyler wrote: > PowerVM seems to only ever provide a single hotplug slot per PHB. > The under lying slot hotplug registration code assumed multiple slots, > but the actual implementation is broken for multiple slots. This went > unnoticed for years due to

答复: 答复: [PATCH 1/1] netfilter: Add helper array register/unregister functions

2016-07-20 Thread 高峰
Ok, I get it. Thanks Pablo. Another question, Liping found the port style of sip, irc, and tftp was different with ftp. It should be use iterator "i" to generate name for them. Then should I update the original patch or create another one to correct it? BTW, I am sorry about that. I didn't noti

Re: [PATCH v11 10/10] genirq/msi: use the MSI doorbell's IOVA when requested

2016-07-20 Thread Thomas Gleixner
On Tue, 19 Jul 2016, Eric Auger wrote: First of all - valid for all patches: Subject: sys/subsys: Sentence starts with an uppercase letter Now for this particular one: genirq/msi: use the MSI doorbell's IOVA when requested > On MSI message composition we now use the MSI doorbell's IOVA in > pl

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-07-20 Thread Catalin Marinas
On Wed, Jul 20, 2016 at 10:46:27AM +0800, Leizhen (ThunderTown) wrote: > On 2016/7/8 21:54, Catalin Marinas wrote: > > 8< > > diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c > > index dbd12ea8ce68..c753fa804165 100644 > > --- a/arch/arm64/

[PATCH v2 3/4] platform/chrome: Introduce a new function to check EC features.

2016-07-20 Thread Enric Balletbo i Serra
From: Vincent Palatin Use the EC_CMD_GET_FEATURES message to check the supported features for each MCU. Signed-off-by: Vincent Palatin [tomeu: adapted to changes in mainline] Signed-off-by: Tomeu Vizoso [enric: remove references to USB PD feature and do it more generic] Signed-off-by: Enric Ba

[PATCH v2 2/4] iio: cros_ec_sensors: add ChromeOS EC Contiguous Sensors driver

2016-07-20 Thread Enric Balletbo i Serra
Handle 3d contiguous sensors like Accelerometers, Gyroscope and Magnetometer that are presented by the ChromeOS EC Sensor hub. Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - Fixup multiline comments. - Fix some spelling mistakes. - Blank line be

[PATCH v2 0/4] Add support for cros-ec-sensors

2016-07-20 Thread Enric Balletbo i Serra
Hi, This is the second patchset to add support for the sensors behind the ChromeOS Embedded Controller. As Jonathan pointed in his review of v1 some patches in the first version were more a RFC, so I decided to split the series in two, once this is ok I'll start working on the second one. This s

[PATCH v2 4/4] platform/chrome: cros_ec_dev - Register cros-ec sensors

2016-07-20 Thread Enric Balletbo i Serra
Check whether the ChromeOS Embedded Controller is a sensor hub and in such case issue a command to get the number of sensors and register them all. Signed-off-by: Gwendal Grignou Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome/cros_ec_dev.c | 122 ++

[PATCH v2 1/4] iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub.

2016-07-20 Thread Enric Balletbo i Serra
Add the core functions to be able to support the sensors attached behind the ChromeOS Embedded Controller and used by other IIO cros-ec sensor drivers. The cros_ec_sensor_core driver matches with current driver in ChromeOS 4.4 tree, so it includes all the fixes at the moment. The support for this

  1   2   3   4   5   6   7   >