Re: [PATCH v2 3/4] ACPI / gpio: Add hogging support

2016-10-20 Thread Linus Walleij
On Thu, Sep 29, 2016 at 3:39 PM, Mika Westerberg wrote: > GPIO hogging means that the GPIO controller can "hog" and configure certain > GPIOs without need for a driver or userspace to do that. This is useful in > open-connected boards where BIOS cannot possibly know beforehand which > devices wil

Re: [PATCH v2 4/4] ACPI / gpio: Allow holes in list of GPIOs for a device

2016-10-20 Thread Linus Walleij
On Thu, Sep 29, 2016 at 3:39 PM, Mika Westerberg wrote: > Make it possible to have an empty GPIOs in a GPIO list for device. For > example a SPI master may use both GPIOs and native pins as chip selects and > we need to be able to distinguish between the two. > > This makes it mandatory to have e

Re: [PATCH v2 2/4] ACPI / gpio: Add support for naming GPIOs

2016-10-20 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 02:02:34PM +0200, Linus Walleij wrote: > On Thu, Sep 29, 2016 at 3:39 PM, Mika Westerberg > wrote: > > > DT has property 'gpio-line-names' to name GPIO lines the controller has if > > present. Use this very same property in ACPI as well to provide nice names > > for the GP

[RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-20 Thread Vlastimil Babka
The /proc/meminfo virtual file is a collection of various system-wide memory usage statistics. One of the use cases for looking at the output is to see whether the kernel might be leaking memory by direct allocations that are not counted among any of the statistics. This is hovewer not immediately

Re: [PATCH 02/37] staging:r8188eu: remove device assignment after netdev_alloc_skb call

2016-10-20 Thread Ivan Safonov
Andy, thank you for reviewing patches and tips. On 10/19/2016 11:59 PM, Andy Shevchenko wrote: On Wed, 2016-10-19 at 19:53 +0300, Andy Shevchenko wrote: On Wed, 2016-10-19 at 22:07 +0700, Ivan Safonov wrote: netdev_alloc_skb function already set dev member of pkt_copy. It might be one line.

Re: [PATCH v2 1/6] ARM: at91: Documentation: add samx7 families

2016-10-20 Thread Alexandre Belloni
On 20/10/2016 at 14:01:24 +0200, Nicolas Ferre wrote : > Le 20/10/2016 à 11:41, Alexandre Belloni a écrit : > > The Atmel sams70, samv70 and samv71 are Cortex-M7 based MCUs that can run > > Linux (without MMU). > > > > Signed-off-by: Alexandre Belloni > > --- > > Documentation/arm/Atmel/README |

Re: [PATCH v2 2/4] ACPI / gpio: Add support for naming GPIOs

2016-10-20 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 02:06:42PM +0200, Linus Walleij wrote: > On Thu, Sep 29, 2016 at 3:39 PM, Mika Westerberg > wrote: > > > DT has property 'gpio-line-names' to name GPIO lines the controller has if > > present. Use this very same property in ACPI as well to provide nice names > > for the GP

Re: [PATCH] gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()

2016-10-20 Thread Linus Walleij
On Wed, Oct 12, 2016 at 6:40 PM, Benjamin Tissoires wrote: > From: David Arcari > > acpi_dev_gpio_irq_get() currently ignores the error returned > by acpi_get_gpiod_by_index() and overwrites it with -ENOENT. > > Problem is this error can be -EPROBE_DEFER, which just blows > up some drivers when

Re: [PATCH 0/5] ACPI / gpio: Updates to properties

2016-10-20 Thread Linus Walleij
On Wed, Oct 19, 2016 at 11:22 PM, Rafael J. Wysocki wrote: > On Wed, Oct 19, 2016 at 2:41 PM, Mika Westerberg >> Any comments on the GPIO patches in this series? >> >> At least the last one does not add any new bindings so it should be fine >> to apply. > > I have no comments, but I'd suggest res

[PATCH 00/10] mpt3sas driver Enhancements and

2016-10-20 Thread Suganath Prabu S
Here is the change list: Posting 10 patches for mpt3sas driver enhancements and few fixes. * Added Device ID's for SAS35 devices and updated MPI Header. * Support "EEDP Escape flag" for SAS35 devices. * fixed improper printk statement. * Regardless of whether RDPQ disabled card is enumerate

[PATCH 05/10] mpt3sas: Bump driver version as "14.100.00.00"

2016-10-20 Thread Suganath Prabu S
Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index e923c91..6f03

[PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors enabled when non RDPQ card is enumerated first.

2016-10-20 Thread Suganath Prabu S
No. of MSIX vectors supported = min (Total no. of CPU cores, MSIX vectors supported by card) when RDPQ is disabled "max_msix_vectors" module parameter which was declared as global was set to '8' and hence if there are more than one card in system among which if RDPQ disabled card is enumerated fir

[PATCH 04/10] mpt3sas: Removing unused macro "MPT_DEVICE_TLR_ON"

2016-10-20 Thread Suganath Prabu S
Removing macro "MPT_DEVICE_TLR_ON" defined in header file as its unused Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/dri

[PATCH 06/10] mpt3sas: Added Device ID's for SAS35 devices and updated MPI header.

2016-10-20 Thread Suganath Prabu S
Added Device ID's for SAS35 devices (Ventura, Crusader, Harpoon & Tomcat) and updated mpi header file for the same. Also added "is_gen35_ioc" to MPT3SAS_ADAPTER structure for identifying SAS35 adapters. Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S ---

[PATCH 01/10] mpt3sas: Fix for improper info displayed in var log, while blocking or unblocking the device.

2016-10-20 Thread Suganath Prabu S
Return value and Device_handle Arguments passed in correct order to match with its format string. Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH 09/10] mpt3sas: Use the new MPI 2.6 32-bit Atomic Request Descriptors for SAS35 devices.

2016-10-20 Thread Suganath Prabu S
Support Atomic Request Descriptors for Ventura/SAS35 devices. Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.c | 141 +++ drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++-- driver

[PATCH 3/4] MAINTAINERS: Add "C:" for URI for chat where developers hang out

2016-10-20 Thread Jani Nikula
Make it easier to find the developer chat for the subsystem or driver. Signed-off-by: Jani Nikula --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 689f7f08a100..53df9ccc5573 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -76,6 +76,8 @@ Descript

[PATCH 1/4] MAINTAINERS: Add "B:" for URI where to file bugs

2016-10-20 Thread Jani Nikula
Different subsystems and drivers have different preferences for where to file bugs and what information to include. Add "B:" entry for specifying the URI for the bug tracker directly, a web page for detailed info on filing bugs, or a mailto: URI. Cc: Daniel Vetter Cc: Joe Perches Cc: Andrew Mort

Re: pinctrl_cherryview: massive error messages (handle_bad_irq)

2016-10-20 Thread Linus Walleij
On Thu, Oct 20, 2016 at 12:08 PM, Mika Westerberg wrote: >> Currently I am using BIOS v1.22. Recently Acer released v1.23. I could >> test if the BIOS update solves the problem. > > Please try that first. > > If that does not work, then I we may be able to mask all interrupts up > to nirqs - 1 bu

[PATCH 10/10] mpt3sas: Fix for Endianness issue.

2016-10-20 Thread Suganath Prabu S
Use le16_to_cpu only for accessing two byte data provided by controller. Signed-off-by: Chaitra P B Signed-off-by: Sathya Prakash Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/sc

[PATCH 07/10] mpt3sas: Increased/Additional MSIX support for SAS35 devices.

2016-10-20 Thread Suganath Prabu S
For SAS35 devices MSIX vectors are inceased to 128 from 96. To support this Reply post host index register count is increased to 16. Also variable msix96_vector is replaced with combined_reply_queue and variable combined_reply_index_count is added to set different values for SAS3 and SAS35 devices.

[PATCH 4/4] MAINTAINERS: add drm and drm/i915 irc channels

2016-10-20 Thread Jani Nikula
Signed-off-by: Jani Nikula --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 53df9ccc5573..a6bde481170c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3954,6 +3954,7 @@ M:David Airlie L: dri-de...@lists.freedesktop.org T: git

[PATCH 08/10] mpt3sas: set EEDP-escape-flags for SAS35 devices.

2016-10-20 Thread Suganath Prabu S
An UNMAP command on a PI formatted device will leave the Logical Block Application Tag and Logical Block Reference Tag as all F's (for those LBAs that are unmapped). To avoid IO errors if those LBAs are subsequently read before they are written with valid tag fields, the MPI SCSI IO requests need t

[PATCH 03/10] mpt3sas: Implement device_remove_in_progress check in IOCTL path

2016-10-20 Thread Suganath Prabu S
When device missing event arrives, device_remove_in_progress bit will be set and hence driver has to stop sending IOCTL commands.Now the check has been added in IOCTL path to test device_remove_in_progress bit is set, if so then IOCTL will be failed printing failure message. Signed-off-by: Chaitra

[PATCH v2] proc: fix NULL dereference when reading /proc//auxv

2016-10-20 Thread Leon Yu
Reading auxv of any kernel thread results in NULL pointer dereferencing in auxv_read() where mm can be NULL. Fix that by checking for NULL mm and bailing out early. This is also the original behavior changed by recent commit c5317167854e ("proc: switch auxv to use of __mem_open()"). / # cat /proc/

Re: [PATCH] Input: gpio_keys_polled - always use gpiod_get_value_cansleep

2016-10-20 Thread Linus Walleij
On Thu, Oct 20, 2016 at 1:41 AM, Dmitry Torokhov wrote: > It does not matter if given GPIO may sleep or not when reading state, > polling is always done in a non-atomic context, so we should always > be able to simply use gpiod_get_value_cansleep(). > > Also let's note in the logs when we fail to

[PATCH 2/4] MAINTAINERS: add drm and drm/i915 bug filing info

2016-10-20 Thread Jani Nikula
Signed-off-by: Jani Nikula --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4a47ec00a09d..689f7f08a100 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3951,6 +3951,7 @@ DRM DRIVERS M: David Airlie L: dri-de...@lists.freedesktop.org T

Re: MD-RAID: Use seq_putc() in three status functions?

2016-10-20 Thread SF Markus Elfring
>> So back to the original task for you: Show me in the generated output where >> the benefits are. I can offer another bit of information for this software development discussion. The following build settings were active in my "Makefile" for this Linux test case. … HOSTCFLAGS = -Wall -Wmiss

Re: [PATCH v2] x86/platform/UV: Fix support for EFI_OLD_MEMMAP after BIOS callback updates

2016-10-20 Thread Matt Fleming
On Wed, 19 Oct, at 08:48:51PM, Alex Thorlton wrote: > Some time ago, we brought our UV BIOS callback code up to speed with the > new EFI memory mapping scheme, in commit: > > d1be84a232e3 ("x86/uv: Update uv_bios_call() to use > efi_call_virt_pointer()") > > By leveraging some changes that I

Re: [PATCH V3 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 5:10 AM, Dongdong Liu wrote: > PCIe controller in Hip05/HIP06/HIP07 SoCs is not ECAM compliant. > It is non ECAM only for the RC bus config space;for any other bus > underneath the root bus we support ECAM access. > Add specific quirks for PCI config space accessors.This in

[no subject]

2016-10-20 Thread Sistemi amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: [PATCH v2 3/4] ACPI / gpio: Add hogging support

2016-10-20 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 02:09:30PM +0200, Linus Walleij wrote: > On Thu, Sep 29, 2016 at 3:39 PM, Mika Westerberg > wrote: > > > GPIO hogging means that the GPIO controller can "hog" and configure certain > > GPIOs without need for a driver or userspace to do that. This is useful in > > open-conn

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-20 Thread Matt Fleming
On Wed, 19 Oct, at 09:04:29PM, Dan Williams wrote: > Hi, > > I am currently unable to boot a Yoga 900 with latest mainline, but 4.8 boots. > > The symptom is a reboot before the video console is available. > > I bisected to commit 816e76129ed5 "efi: Allow drivers to reserve boot > services forev

Re: [PATCH] proc: fix NULL dereference when reading /proc//auxv

2016-10-20 Thread Leon Yu
On Thu, Oct 20, 2016 at 1:17 AM, Michal Hocko wrote: > So here is my RFC as an alternative. Thoughts? Please note that we > currently have only very few users of use_mm() API in the kernel > so a risk of a regression is not really high. usb/gadget are using it > only temporarily. The remaining is

Re: [PATCH 0/5] ACPI / gpio: Updates to properties

2016-10-20 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 02:17:40PM +0200, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 11:22 PM, Rafael J. Wysocki wrote: > > On Wed, Oct 19, 2016 at 2:41 PM, Mika Westerberg > > >> Any comments on the GPIO patches in this series? > >> > >> At least the last one does not add any new bindings so

Re: [PATCH] proc: fix NULL dereference when reading /proc//auxv

2016-10-20 Thread Michal Hocko
On Thu 20-10-16 20:32:43, Leon Yu wrote: > On Thu, Oct 20, 2016 at 1:17 AM, Michal Hocko wrote: > > So here is my RFC as an alternative. Thoughts? Please note that we > > currently have only very few users of use_mm() API in the kernel > > so a risk of a regression is not really high. usb/gadget a

Re: [PATCH] kconfig.h: remove config_enabled() macro

2016-10-20 Thread Paul Bolle
[Added Nicolas.] On Thu, 2016-10-20 at 21:06 +0900, Masahiro Yamada wrote: > 2016-10-20 19:04 GMT+09:00 Paul Bolle : > > On Sun, 2016-10-16 at 20:07 +0900, Masahiro Yamada wrote: > > There are about a dozen instances of IS_ENABLED() that target something > > other than a kconfig macros. Are you pl

[PATCH] bdi flusher should not be throttled here when it fall into buddy slow path

2016-10-20 Thread zhouxianrong
From: z00281421 The bdi flusher should be throttled only depends on own bdi and is decoupled with others. separate PGDAT_WRITEBACK into PGDAT_ANON_WRITEBACK and PGDAT_FILE_WRITEBACK avoid scanning anon lru and it is ok then throttled on file WRITEBACK. i think above may be not right. Signed-

Re: [PATCH v2 1/9] pinctrl: sunxi: Rework the pin config building code

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:45 PM, Maxime Ripard wrote: > In order to support more easily the generic pinctrl properties, rework the > pinctrl maps configuration and split it into several sub-functions. > > One of the side-effects from that rework is that we only parse the pin > configuration once,

[PATCH] Staging: xgifb: Fix NULL pointer comparison warning

2016-10-20 Thread Maninder Singh
Replace direct comparisons to NULL i.e. 'x == NULL' with '!x'. This problem was detected by checkpatch. Signed-off-by: Maninder Singh --- drivers/staging/xgifb/XGI_main_26.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/

Re: [PATCH v2 2/9] pinctrl: sunxi: Use macros from bindings header file for DT parsing

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:46 PM, Maxime Ripard wrote: > Since we have some bindings header for our hardcoded flags, let's use them > when we can. > > Acked-by: Chen-Yu Tsai > Signed-off-by: Maxime Ripard Patch applied. Yours, Linus Walleij

Re: [PATCH v2 3/9] pinctrl: sunxi: Handle bias disable

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:46 PM, Maxime Ripard wrote: > So far, putting NO_PULL in allwinner,pull was ignored, behaving like if > that property was not there at all. > > Obviously, this is not the right thing to do, and in that case, we really > need to just disable the bias. > > Acked-by: Chen-Y

Re: [PATCH v2 4/9] pinctrl: sunxi: Deal with configless pins

2016-10-20 Thread Linus Walleij
On Wed, Oct 19, 2016 at 2:16 PM, Maxime Ripard wrote: > On Tue, Oct 18, 2016 at 03:47:03PM +0800, Chen-Yu Tsai wrote: >> > @@ -342,6 +365,8 @@ static void sunxi_pctrl_dt_free_map(struct pinctrl_dev >> > *pctldev, >> > struct pinctrl_map *map, >> >

Re: [PATCH v5 0/5] Functional dependencies between devices

2016-10-20 Thread Rafael J. Wysocki
Hi, On Thu, Oct 20, 2016 at 12:21 PM, Marek Szyprowski wrote: > Hi Rafael, > > > On 2016-10-19 13:57, Rafael J. Wysocki wrote: >> >> On Tue, Oct 18, 2016 at 12:46 PM, Marek Szyprowski >> wrote: >>> >>> On 2016-10-10 14:36, Rafael J. Wysocki wrote: [...] One more update after

Re: [PATCH v2 7/9] ARM: sunxi: Remove useless allwinner,drive property

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:46 PM, Maxime Ripard wrote: > The allwinner,drive property set to 10mA was really considered as our > default. Remove all those properties entirely to make that obvious. > > Signed-off-by: Maxime Ripard Reviewed-by: Linus Walleij Please merge this through the ARM SoC

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-20 Thread Lars-Peter Clausen
On 10/20/2016 11:25 AM, Peter Rosin wrote: > Hi! > > These two drivers share the fact that they wrap another iio channel, > and I use the first in combination with the second, which is why I'm > submitting them as a pair. > > The first driver is a simple wrapper converting an iio dpot into an > i

Re: [PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update

2016-10-20 Thread Dalessandro, Dennis
On Wed, 2016-10-19 at 14:07 +0200, Petr Mladek wrote: > The kthread worker API has been improved in 4.9-rc1. The 2nd > patch uses the new functions and simplifies the kthread worker > creation and destroying. > > I have found a possible race when working on the API conversion. > A proposed fix is

Re: [PATCH v2 8/9] ARM: sunxi: Remove useless allwinner,pull property

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:46 PM, Maxime Ripard wrote: > The allwinner,pull property set to NO_PULL was really considered our > default (and wasn't even changing the default value in the code). > > Remove these properties to make it obvious that we do not set anything in > such a case. > > Signed-

Re: [PATCH] kernel: irq: fix build failure

2016-10-20 Thread Thomas Gleixner
On Mon, 10 Oct 2016, Sudip Mukherjee wrote: > On Thursday 06 October 2016 11:06 PM, Sudip Mukherjee wrote: > > The allmodconfig build of powerpc is failing with the error: > > ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined! > > > > export the symbol to fix the failure. > > Hi Thoma

Re: [PATCH v2 9/9] ARM: sunxi: Convert pinctrl nodes to generic bindings

2016-10-20 Thread Linus Walleij
On Tue, Oct 11, 2016 at 5:46 PM, Maxime Ripard wrote: > Now that we can handle the generic pinctrl bindings, convert our DT to it. > > Signed-off-by: Maxime Ripard Awesome work. Reviewed-by: Linus Walleij Please merge this through the ARM SoC tree. Yours, Linus Walleij

Re: [PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-20 Thread Maxime Ripard
On Thu, Oct 20, 2016 at 11:43:37AM +0800, Chen-Yu Tsai wrote: > Some rgb-to-vga bridges have an enable GPIO, either directly tied to > an enable pin on the bridge IC, or indirectly controlling a power > switch. > > Add support for it. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Th

Re: [PATCHv3 4/4] arm64: dump: Add checking for writable and exectuable pages

2016-10-20 Thread Laura Abbott
On 10/20/2016 03:32 AM, Ard Biesheuvel wrote: On 18 October 2016 at 23:01, Laura Abbott wrote: Page mappings with full RWX permissions are a security risk. x86 has an option to walk the page tables and dump any bad pages. (See e1a58320a38d ("x86/mm: Warn on W^X mappings")). Add a similar imple

RE: [PATCH V1 05/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-20 Thread Steve Twiss
On 07 October 2016 06:29 Keerthy wrote: > On Thursday 06 October 2016 02:13 PM, Steve Twiss wrote: > > From: Steve Twiss > > > > +static int da9062_thermal_probe(struct platform_device *pdev) > > +{ > > + struct da9062 *chip = dev_get_drvdata(pdev->dev.parent); > > + struct da9062_thermal *

Re: [PATCH 1/3] printk: Fix kdb_trap_printk placement

2016-10-20 Thread Sergey Senozhatsky
On (10/18/16 19:08), Peter Zijlstra wrote: > > Some people figured vprintk_emit() makes for a nice API and exported > it, bypassing the kdb trap. > > This still leaves vprintk_nmi() outside of the kbd reach, should that > be fixed too? > > Cc: Jason Wessel > Signed-off-by: Peter Zijlstra (Intel

Re: [PATCH v4] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-10-20 Thread Georgi Djakov
Hi Pramod, Thanks for the patch! On 10/18/2016 01:16 PM, Pramod Gurav wrote: Provides runtime PM callbacks to enable and disable clock resources when idle. Also support system PM callbacks to be called during system suspend and resume. Signed-off-by: Pramod Gurav --- Tested on DB410C. [..

[Update][PATCH v5 4/5] PM / runtime: Use device links

2016-10-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the runtime PM framework to use device links to ensure that supplier devices will not be suspended if any of their consumer devices are active. The idea is to reference count suppliers on the consumer's resume and drop references to them on its suspend. The inform

Re: [PATCH 0/3] pinctrl: sunxi: Support generic pinconf functions

2016-10-20 Thread Linus Walleij
On Tue, Oct 4, 2016 at 3:51 AM, Chen-Yu Tsai wrote: > This series fixes up generic pinconf support for the sunxi pinctrl driver > library. The driver was doing some bits wrong, like a) storing the pinconf > config value in its struct, and not actually reading the hardware to get > the current con

Re: [PATCH 17/37] staging:r8188eu: update pkt->data synchronously with rx_data

2016-10-20 Thread Ivan Safonov
On 10/20/2016 04:03 PM, Dan Carpenter wrote: On Wed, Oct 19, 2016 at 10:07:45PM +0700, Ivan Safonov wrote: To replace rx_data with pkt->data. Now pkt->data is equal to rx_data. I'm not smart enough to tell on my own... Is this a bugfix? It is not bugfix, only variable replacement. recv_fra

Re: [PATCH 0/3] ARM-OMAP2+: Fine-tuning for five function implementations

2016-10-20 Thread Tony Lindgren
* SF Markus Elfring [161015 13:51]: > From: Markus Elfring > Date: Sat, 15 Oct 2016 22:44:22 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > mux: Replace three seq_printf() calls by seq_puts() > mux: Use seq_putc() in

Re: [PATCH] dmaengine: DW DMAC: split pdata to hardware properties and platform quirks

2016-10-20 Thread Eugeniy Paltsev
On Thu, 2016-10-20 at 13:48 +0300, Andy Shevchenko wrote: > On Thu, 2016-09-15 at 16:14 +0300, Eugeniy Paltsev wrote: > > > > This patch is to address a proposal by Andy in this thread: > > http://www.spinics.net/lists/dmaengine/msg10754.html > > Split platform data to actual hardware properties,

Re: [PATCH] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-10-20 Thread Russell King - ARM Linux
On Thu, Oct 20, 2016 at 03:08:14PM +1100, Nicholas Piggin wrote: > Fair point, what about leaving those as they are, and also adding > them to asm-prototypes.h protected with GENKSYMS ifdef? It's not > beautiful, but still better than armksyms.c before Al's patches (or > at least no worse). I disa

Re: [RFC][PATCHv3 0/6] printk: use printk_safe to handle printk() recursive calls

2016-10-20 Thread Sergey Senozhatsky
On (10/19/16 15:34), Peter Zijlstra wrote: > On Wed, Oct 19, 2016 at 03:18:36PM +0200, Petr Mladek wrote: > > On Tue 2016-10-18 19:07:54, Peter Zijlstra wrote: [..] > It might make sense to go there, but allow early_console to print on the > go, keeping synchronous output available. We would still

Re: [PATCH]"drm: change DRM_MIPI_DSI module type from "bool" to "tristate".

2016-10-20 Thread Andrzej Hajda
Hi Jani, Forgive me late response. On 12.10.2016 16:28, Jani Nikula wrote: > On Wed, 12 Oct 2016, Emil Velikov wrote: >> On 11 October 2016 at 10:33, Jani Nikula wrote: >>> On Tue, 11 Oct 2016, "Sun, Jing A" wrote: It's needed that DRM Driver module could be removed and reloaded after >>>

[PATCH] drm/fb-helper: Fix race between deferred_io worker and dirty updater

2016-10-20 Thread Takashi Iwai
Since 4.7 kernel, we've seen the error messages like kernel: [TTM] Buffer eviction failed kernel: qxl :00:02.0: object_init failed for (4026540032, 0x0001) kernel: [drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to allocate VRAM BO on QXL when switching and accessing on VT. The culpr

Re: [PATCH 1/3] pinctrl: oxnas: Move OX810SE specific function and structure as separate

2016-10-20 Thread Linus Walleij
On Tue, Oct 4, 2016 at 3:41 PM, Neil Armstrong wrote: > Add refactoring to move ox810se specific functions into specific ops > structures > an add support for the dt match data to get soc specific structures. > > Signed-off-by: Neil Armstrong Patch applied. Yours, Linus Walleij

Re: [PATCH 2/3] pinctrl: oxnas: Add support for OX820

2016-10-20 Thread Linus Walleij
On Tue, Oct 4, 2016 at 3:41 PM, Neil Armstrong wrote: > Add support for the Oxford Semiconductor OX820 which is similar as OX810 but > has 50 pins and two registers banks to setup alternate functions. > Add specific pins, groups and functions structures. > Add DT match data to select correspondin

Re: [PATCH 3/3] dt-bindings: oxnas: Update Pinctrl and GPIO for OX820 Support

2016-10-20 Thread Linus Walleij
On Tue, Oct 4, 2016 at 3:41 PM, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong Patch applied. Yours, Linus Walleij

Re: [PATCH v2 3/6] ARM: at91: Add armv7m support

2016-10-20 Thread Arnd Bergmann
On Thursday, October 20, 2016 12:26:21 PM CEST Alexandre Belloni wrote: > > On 20/10/2016 at 11:52:20 +0200, Arnd Bergmann wrote : > > On Thursday, October 20, 2016 11:41:32 AM CEST Alexandre Belloni wrote: > > > + > > > +static void __init samx7_dt_device_init(void) > > > +{ > > > + struct

Re: [linux-sunxi] Re: [PATCH 0/3] pinctrl: sunxi: Support generic pinconf functions

2016-10-20 Thread Chen-Yu Tsai
On Thu, Oct 20, 2016 at 9:13 PM, Linus Walleij wrote: > On Tue, Oct 4, 2016 at 3:51 AM, Chen-Yu Tsai wrote: > >> This series fixes up generic pinconf support for the sunxi pinctrl driver >> library. The driver was doing some bits wrong, like a) storing the pinconf >> config value in its struct, a

Re: [PATCH] kconfig.h: remove config_enabled() macro

2016-10-20 Thread Nicolas Pitre
On Thu, 20 Oct 2016, Paul Bolle wrote: > [Added Nicolas.] > > On Thu, 2016-10-20 at 21:06 +0900, Masahiro Yamada wrote: > > 2016-10-20 19:04 GMT+09:00 Paul Bolle : > > > Is there a reason to keep using the double underscore prefix? > > > > I followed the suggestion in the following message: > >

[PATCH 1/2] pinctrl: stm32: remove dependency with interrupt controller

2016-10-20 Thread Alexandre TORGUE
This patch allows to probe stm32 pinctrl driver even if no interrupt controller is defined to manage gpio irqs. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 200667f..efc4371 100644 --- a/drivers/pinctrl/stm32/pi

[PATCH 2/2] pinctrl: stm32: move gpio irqs binding to optional

2016-10-20 Thread Alexandre TORGUE
stm32 pinctrl driver could be probed even if no interrupt controller is defined to manage gpio irqs. Entries related to gpio irq management are moved to optional. Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetr

[PATCH 0/2] STM32 pinctrl: remove dependency between pinctrl driver and device tree

2016-10-20 Thread Alexandre TORGUE
Hi, Currently 4.9-rc1 is not booting correctly on STM32F4. By adding gpios irqs support to stm32 pinctrl, a dependency has been added between pinctrl stm32 and stm32f4 device tree (my mistake). This series breaks this dependency and has to be taken on 4.9_rcs. Regards Alex Alexandre TORGUE

Re: [PATCH] bdi flusher should not be throttled here when it fall into buddy slow path

2016-10-20 Thread Michal Hocko
On Thu 20-10-16 20:38:05, zhouxianr...@huawei.com wrote: > From: z00281421 > > The bdi flusher should be throttled only depends on > own bdi and is decoupled with others. > > separate PGDAT_WRITEBACK into PGDAT_ANON_WRITEBACK and > PGDAT_FILE_WRITEBACK avoid scanning anon lru and it is ok > th

Re: [PATCH] drm/fb-helper: Fix race between deferred_io worker and dirty updater

2016-10-20 Thread Ville Syrjälä
On Thu, Oct 20, 2016 at 03:20:55PM +0200, Takashi Iwai wrote: > Since 4.7 kernel, we've seen the error messages like > > kernel: [TTM] Buffer eviction failed > kernel: qxl :00:02.0: object_init failed for (4026540032, 0x0001) > kernel: [drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to

Re: [PATCH] drm/fb-helper: Fix race between deferred_io worker and dirty updater

2016-10-20 Thread Takashi Iwai
On Thu, 20 Oct 2016 15:20:55 +0200, Takashi Iwai wrote: > > Since 4.7 kernel, we've seen the error messages like > > kernel: [TTM] Buffer eviction failed > kernel: qxl :00:02.0: object_init failed for (4026540032, 0x0001) > kernel: [drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to al

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-20 Thread Michal Hocko
On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: [...] > Hi, I'm wondering if people would find this useful. If you think it is, and > to not make performance worse, I could also make sure in proper submission > that values are not read via global_page_state() multiple times etc... I definitely fi

Re: [PATCH v7 0/3] auxdisplay: Introduce ht16k33 driver

2016-10-20 Thread Linus Walleij
On Thu, Oct 6, 2016 at 1:53 PM, Robin van der Gracht wrote: > This patchset adds a new driver to the auxdisplay subsystem. It also adds > devicetree binding documentation and a new vendor prefix. > > I added myself as maintainer to the MAINTAINERS file. > > @Greg: Would you like to review and pus

Re: [PATCH 00/10] Introduce Juniper PTXPMB CPLD driver

2016-10-20 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:17 PM, Pantelis Antoniou wrote: > Add Juniper's PTXPMB FPGA CPLD driver. Those FPGAs > are present in Juniper's PTX series of routers. > > The MFD driver provices watchdog/i2c/gpio/mtd devices. Since it's quite a bunch of patches to quite a bunch of controllers I think i

Re: [PATCH] drm/fb-helper: Fix race between deferred_io worker and dirty updater

2016-10-20 Thread Takashi Iwai
On Thu, 20 Oct 2016 15:28:14 +0200, Ville Syrjälä wrote: > > On Thu, Oct 20, 2016 at 03:20:55PM +0200, Takashi Iwai wrote: > > Since 4.7 kernel, we've seen the error messages like > > > > kernel: [TTM] Buffer eviction failed > > kernel: qxl :00:02.0: object_init failed for (4026540032, 0x00

Re: [PATCH 00/10] Introduce Juniper PTXPMB CPLD driver

2016-10-20 Thread Pantelis Antoniou
Hi Linus, > On Oct 20, 2016, at 16:42 , Linus Walleij wrote: > > On Fri, Oct 7, 2016 at 5:17 PM, Pantelis Antoniou > wrote: > >> Add Juniper's PTXPMB FPGA CPLD driver. Those FPGAs >> are present in Juniper's PTX series of routers. >> >> The MFD driver provices watchdog/i2c/gpio/mtd devices. >

Re: [PATCH 1/5] ftrace: Support full glob matching

2016-10-20 Thread Steven Rostedt
On Thu, 20 Oct 2016 11:07:52 +0900 Masami Hiramatsu wrote: > And OK, what kind of tests are failed on 4.9-rc1? I though a possible > kernel freeze in 4.8 when I ran ftracetest, but it seemed disappeared > in 4.9-rc1. The kernel crashed on enabling the mmiotracer, which disables CPUs. That trace

Re: [PATCH v2 1/1] MAINTAINERS: add a maintainer for the SPI NOR subsystem

2016-10-20 Thread Marek Vasut
On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: > I would like to volunteer as a maintainer for the SPI NOR part of the MTD > subsystem. > > Over the last months, a significant number of SPI NOR related patches have > been submitted, some of them have been reviewed, but very few have finally > been

Re: [PATCH]"drm: change DRM_MIPI_DSI module type from "bool" to "tristate".

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Andrzej Hajda wrote: > Hi Jani, > > Forgive me late response. > > On 12.10.2016 16:28, Jani Nikula wrote: >> On Wed, 12 Oct 2016, Emil Velikov wrote: >>> On 11 October 2016 at 10:33, Jani Nikula >>> wrote: On Tue, 11 Oct 2016, "Sun, Jing A" wrote: > It's needed th

Re: [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp

2016-10-20 Thread Heiko Stübner
Am Donnerstag, 20. Oktober 2016, 10:07:25 schrieb Tomeu Vizoso: > Add an empty 'i2c-bus' subnode to the edp node just so that the I2C core > doesn't attemp to parse the 'ports' subnode as containing i2c devices. > > This is to avoid spurious failure messages such as: > > i2c i2c-6: of_i2c: modali

Re: [PATCH v2 4/9] pinctrl: sunxi: Deal with configless pins

2016-10-20 Thread Maxime Ripard
Hi Linus, On Thu, Oct 20, 2016 at 02:52:54PM +0200, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 2:16 PM, Maxime Ripard > wrote: > > On Tue, Oct 18, 2016 at 03:47:03PM +0800, Chen-Yu Tsai wrote: > >> > @@ -342,6 +365,8 @@ static void sunxi_pctrl_dt_free_map(struct > >> > pinctrl_dev *pctldev,

Re: [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp

2016-10-20 Thread Tomeu Vizoso
On 10/20/2016 03:45 PM, Heiko Stübner wrote: > Am Donnerstag, 20. Oktober 2016, 10:07:25 schrieb Tomeu Vizoso: >> Add an empty 'i2c-bus' subnode to the edp node just so that the I2C core >> doesn't attemp to parse the 'ports' subnode as containing i2c devices. >> >> This is to avoid spurious failur

[PATCH v3 3/6] dt-bindings: pinctrl: Deprecate sunxi pinctrl bindings

2016-10-20 Thread Maxime Ripard
The generic pin configuration and multiplexing should be preferred now, even though we still support the old one. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 16 1 file c

[PATCH v3 4/6] ARM: sunxi: Remove useless allwinner,drive property

2016-10-20 Thread Maxime Ripard
The allwinner,drive property set to 10mA was really considered as our default. Remove all those properties entirely to make that obvious. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai Reviewed-by: Linus Walleij --- arch/arm/boot/dts/ntc-gr8-evb.dts| 4 +- arch/ar

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-20 Thread Patrice Chotard
On 10/18/2016 05:35 PM, Peter Griffin wrote: > Once the ST frontend demux HW IP has been enabled, the clock can't > be disabled otherwise the system will hang and the board will > be unserviceable. > > To allow balanced clock enable/disable calls in the driver we use > the critical clock infrast

[PATCH v3 6/6] ARM: sunxi: Convert pinctrl nodes to generic bindings

2016-10-20 Thread Maxime Ripard
Now that we can handle the generic pinctrl bindings, convert our DT to it. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai Reviewed-by: Linus Walleij --- arch/arm/boot/dts/ntc-gr8-evb.dts| 16 +- arch/arm/boot/dts/ntc-gr8.dtsi | 76 +-- a

Re: [PATCH 01/37] staging:r8188eu: remove get_rxmem function

2016-10-20 Thread Ivan Safonov
On 10/20/2016 04:18 PM, Dan Carpenter wrote: I don't know exactly what the game plan is for the rtl8188eu driver but these patches seem to be on the right path to me. regards, dan carpenter If this driver has no future and will be removed, then what code is better to invest my efforts? Linu

Re: [PATCH 4/4] posix-timers: make it configurable

2016-10-20 Thread Richard Cochran
On Wed, Oct 19, 2016 at 07:42:53PM -0400, Nicolas Pitre wrote: > +config POSIX_TIMERS > + bool "Posix Clocks & timers" if EXPERT > + default y > + help > + This includes native support for POSIX timers to the kernel. > + Most embedded systems may have no use for them and the

Re: [PATCH] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-10-20 Thread Ricardo Ribalda Delgado
Ping? On Wed, Sep 21, 2016 at 10:26 AM, Ricardo Ribalda Delgado wrote: > Hi > >>> >>> Unsinged long is more than enough for s3an. I think v7 is ok. >> >> Then, why did you change the spi_nor_s3an_addr_convert() prototype? >> > > Because it is used in spi_nor_read and spi_nor_write, which use loff

[PATCH v3 1/6] pinctrl: sunxi: Deal with configless pins

2016-10-20 Thread Maxime Ripard
Even though the our binding had the assumption that the allwinner,pull and allwinner,drive properties were optional, the code never took that into account. Fix that. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 51

[PATCH v3 0/6] pinctrl: sunxi: Generic bindings rework

2016-10-20 Thread Maxime Ripard
Hi, This patch set reworks the Allwinner pinctrl driver to support the generic pin configuration and multiplexing bindings. In the process, we also covered some lasting issues that were found: we were ignoring the case where no pull-up was set, and while our binding was saying that the allwinner,

[PATCH v3 2/6] pinctrl: sunxi: Support generic binding

2016-10-20 Thread Maxime Ripard
Our bindings are mostly irrelevant now that we have generic pinctrl bindings that cover exactly the same uses cases. Add support for the new ones, and obviously keep our old binding support in order to keep the ABI stable. Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- drivers/pinctrl

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: remove redundant CRB_FL_CRB_START flag

2016-10-20 Thread Jarkko Sakkinen
On Wed, Oct 19, 2016 at 07:09:28PM +0300, Jarkko Sakkinen wrote: > On Wed, Oct 19, 2016 at 10:28:29AM +, Winkler, Tomas wrote: > > > > > > > > > > On Mon, Oct 17, 2016 at 11:42:24PM +0300, Jarkko Sakkinen wrote: > > > > Because all the existing hardware have HID MSFT0101 we end up always > >

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: remove redundant CRB_FL_CRB_START flag

2016-10-20 Thread Jarkko Sakkinen
On Thu, Oct 20, 2016 at 04:59:06PM +0300, Jarkko Sakkinen wrote: > On Wed, Oct 19, 2016 at 07:09:28PM +0300, Jarkko Sakkinen wrote: > > On Wed, Oct 19, 2016 at 10:28:29AM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > On Mon, Oct 17, 2016 at 11:42:24PM +0300, Jarkko Sakkinen wrote: > >

Re: [PATCH 3/4] ptp_clock: allow for it to be optional

2016-10-20 Thread Richard Cochran
On Wed, Oct 19, 2016 at 07:42:52PM -0400, Nicolas Pitre wrote: > +static inline void ptp_clock_event(struct ptp_clock *ptp, > +struct ptp_clock_event *event) > +{ (void)event; } Just out of curiosity, why do you need that cast? (I thought the kernel's gcc settings

<    4   5   6   7   8   9   10   >