Re: [PATCH] tty/serial: samsung: Add earlycon support

2014-09-21 Thread Alim Akhtar
Hi Tomasz, Thanks for your valuable feedback on this patch. Please see my comments inline. On Sat, Sep 20, 2014 at 7:09 PM, Tomasz Figa wrote: > Hi Alim, > > Please see my comments inline. > > On 16.09.2014 13:32, Alim Akhtar wrote: >> Add earlycon support for the samsung serial port. This

Re: [PATCH 0/8] Armada XP pinctrl consolidation and ix4-300d fixes

2014-09-21 Thread Benoit Masson
> Le 19 sept. 2014 à 22:14, Sebastian Hesselbarth > a écrit : > > Guys, Hi > > this is a patch set preparing barebox support for ix4-300d. As usual, > I stumbled upon a few nice-to-haves before actually touching ix4-300d > dts. As it is a mach-mvebu thing, I just added the related mailing >

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-21 Thread Jonathan Cameron
On 18/09/14 14:15, Ivan T. Ivanov wrote: > The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has > 16 bits resolution and register space inside PMIC accessible across > SPMI bus. > > The driver registers itself through IIO interface. > > Signed-off-by: Ivan T. Ivanov A few comments

Re: SO_REUSEPORT and Unix domain sockets

2014-09-21 Thread Tobias Oberstein
Am 20.09.2014 03:44, schrieb Eduardo Silva: How can this be used for sockets of type AF_UNIX? I can only get it working with TCP sockets, not Unix domain sockets. When using TCP, the incoming clients will get nicely balanced to all processes listening. With Unix domain sockets, the incoming

Re: [PATCH] V1 1/2] ipc: let message queues use SIGEV_THREAD_ID with mq_notify

2014-09-21 Thread Manfred Spraul
Hi Steven, You wrote: Currently the only thread-safe way of using mq_notify with message queues is to use the SIGEV_THREAD option. Could you explain what you mean with "only thread-safe way"? I'm a bit relunctant to extend mq_notify() without understanding the reason. What about: - use

Re: [PATCH v2 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-21 Thread Jonathan Cameron
On 18/09/14 10:57, Stanimir Varbanov wrote: > Hi Jonathan, > > On 09/15/2014 07:11 PM, Jonathan Cameron wrote: >> >> >> On September 15, 2014 3:12:50 PM GMT+01:00, Stanimir Varbanov >> wrote: >>> Hi Jonathan, >>> >>> Thanks for the review! >>> >>> On 09/13/2014 08:27 PM, Jonathan Cameron wrote:

Re: [PATCH v2 0/2] Move BTRFS RCU string to common library

2014-09-21 Thread Paul E. McKenney
On Fri, Sep 19, 2014 at 12:22:57PM -0400, Chris Mason wrote: > On 09/19/2014 12:05 PM, Paul E. McKenney wrote: > > On Fri, Sep 19, 2014 at 11:47:53AM -0400, Chris Mason wrote: > >> > >> > >> On 09/19/2014 11:45 AM, Paul E. McKenney wrote: > >>> On Fri, Sep 19, 2014 at 02:01:28AM -0700, Omar

Re: [PATCH v2 1/2] Return a value from printk_ratelimited

2014-09-21 Thread Paul E. McKenney
On Fri, Sep 19, 2014 at 11:15:53AM -0700, Joe Perches wrote: > On Fri, 2014-09-19 at 13:21 -0400, Steven Rostedt wrote: > > On Fri, 19 Sep 2014 02:01:29 -0700 > > Omar Sandoval wrote: > > > > > printk returns an integer; there's no reason for printk_ratelimited to > > > swallow > > > it. > >

[PATCH RESEND v3 2/6] AHCI: Move host activation code into ahci_host_activate()

2014-09-21 Thread Alexander Gordeev
Currently host activation done by calling either function ahci_host_activate() or ata_host_activate(). Consolidate the code by only calling ahci_host_activate() for all AHCI devices. Signed-off-by: Alexander Gordeev Cc: linux-...@vger.kernel.org --- drivers/ata/acard-ahci.c | 3 +--

[PATCH RESEND v3 4/6] AHCI: Get rid of redundant arg to ahci_handle_port_interrupt()

2014-09-21 Thread Alexander Gordeev
Function's ahci_handle_port_interrupt() 'port_mmio' parameter could be derived within function. No need to pass it from outside. Signed-off-by: Alexander Gordeev Cc: linux-...@vger.kernel.org --- drivers/ata/libahci.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH RESEND v3 5/6] AHCI: Optimize single IRQ interrupt processing

2014-09-21 Thread Alexander Gordeev
Split interrupt service routine into hardware context handler and threaded context handler. That allows to protect ports with individual locks rather than with a single host-wide lock and move port interrupts handling out of the hardware interrupt context. Testing was done by transferring 8GB on

[PATCH RESEND v3 6/6] AHCI: Do not read HOST_IRQ_STAT reg in multi-MSI mode

2014-09-21 Thread Alexander Gordeev
As described in AHCI v1.0 specification chapter 10.6.2.2 "Multiple MSI Based Messages" generation of interrupts is not controlled through the HOST_IRQ_STAT register. Considering MMIO access is expensive remove unnecessary reading and writing of HOST_IRQ_STAT register. Further, serializing access

[PATCH RESEND v3 0/6] AHCI: Optimize interrupt processing

2014-09-21 Thread Alexander Gordeev
As per Tejun's feedback I am sending v3. Changes since v2: - single patch split in a series; - benchmarking statistics reworded; - HOST_IRQ_STAT reg optimization added (patch 6); Cc: linux-...@vger.kernel.org Alexander Gordeev (6): AHCI: Cleanup checking of multiple MSIs/SLM modes

[PATCH RESEND v3 3/6] AHCI: Make few function names more descriptive

2014-09-21 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: linux-...@vger.kernel.org --- drivers/ata/ahci.c| 7 +++ drivers/ata/ahci.h| 6 +++--- drivers/ata/libahci.c | 16 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index

[PATCH RESEND v3 1/6] AHCI: Cleanup checking of multiple MSIs/SLM modes

2014-09-21 Thread Alexander Gordeev
Sharing Last Message (SLM) mode is currently checked in two functions: ahci_host_activate() and ahci_init_interrupts(). This update consolidates SLM mode check with activation of multiple MSIs mode. Signed-off-by: Alexander Gordeev Cc: linux-...@vger.kernel.org --- drivers/ata/ahci.c | 18

Re: [PATCH v4 2/3] iio/adc: add support for axp288 adc

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: > Platform driver for X-Powers AXP288 ADC, which is a sub-device of the > customized AXP288 PMIC for Intel Baytrail-CR platforms. GPADC device > enumerates as one of the MFD cell devices. It uses IIO infrastructure > to communicate with userspace and consumer

Re: [PATCH v4 3/3] iio: add documentation for current attribute

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: > Add documentation for input current raw sysfs attribute. > > Signed-off-by: Jacob Pan Applied to the togreg branch of iio.git (initially pushed out as testing for autobuilders to play - though obviously they aren't going to do much with this patch!)

Re: [PATCH v4 1/3] mfd/axp20x: extend axp20x to support axp288 pmic

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: > X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar > to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and > AD converters. It also provides extended status and interrupt reporting > capabilities than the

Re: [PATCH 03/18] usbip: Add kernel support for client ACLs

2014-09-21 Thread Dominik Paulus
On Sun, Sep 21, 2014 at 02:44:33AM +0200, Max Vozeler wrote: > Hi, > > On Tue, Sep 16, 2014 at 11:38:40PM +, Maximilian Eschenbacher wrote: > > From: Dominik Paulus > > > > This patch adds the possibility to stored ACLs for allowed clients for > > each stub device in sysfs. It adds a new

Re: [PATCH 02/18] usbip: Add support for client authentication

2014-09-21 Thread Dominik Paulus
Hi, thanks for your feedback! On Sun, Sep 21, 2014 at 02:42:59AM +0200, Max Vozeler wrote: > > + if (strcmp(username, "dummyuser")) > > + /* User invalid, stored dummy data in g and n. */ > > + return 1; > > Could you describe the role of "dummyuser" in a comment? It seems

Re: [PATCH v3] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-09-21 Thread Jonathan Cameron
On 16/09/14 23:08, Hartmut Knaack wrote: > Heiko Stübner schrieb, Am 15.09.2014 23:47: >> Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc >> for temperature measurements. This so called tsadc does not contain any >> active parts like temperature interrupts and only

[PATCH] MIPS/loongson2_cpufreq: Fix CPU clock rate setting mismerge

2014-09-21 Thread Aaro Koskinen
During 3.16 merge window, parts of the commit 8e8acb32960f (MIPS/loongson2_cpufreq: Fix CPU clock rate setting) seem to have been deleted probably due to a mismerge, and as a result cpufreq is broken again on Loongson2 boards in 3.16 and newer kernels. Fix by repeating the fix. Signed-off-by:

Re: [PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support

2014-09-21 Thread Jonathan Cameron
On 19/09/14 13:58, Sanchayan Maity wrote: > Vybrid ADC peripheral includes a temperature sensor > which is connected to channel number 26. This patch > adds support for the sensor. The raw value is read > and the temperature calculated in milli degree Celsius, > which is returned using

Re: [PATCH v2] IIO: add si7020 driver

2014-09-21 Thread Hartmut Knaack
David Barksdale schrieb, Am 18.09.2014 22:01: > This patch adds support to the Industrial IO subsystem > for the Silicon Labs Si7013/20/21 Relative Humidity and > Temperature Sensors. > > Website: > http://www.silabs.com/products/sensors/humidity-sensors/Pages/si7013-20-21.aspx > > These are

Re: [PATCH v2 0/3] iio: exynos-adc: use syscon instead of ioremap

2014-09-21 Thread Jonathan Cameron
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote: > Changes since v1: > 1. Rebased on top of togreg branch of IIO git. > > This patch set does the following > 1. Use the syscon and Regmap API instead of ioremappaing the >ADC_PHY register from PMU. > 2. Updates the Documentation in

man-pages-3.73 is released

2014-09-21 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.73 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [PATCH 1/3] cap1106: Add support for various cap11xx devices

2014-09-21 Thread Daniel Mack
Hi, On 09/21/2014 05:01 AM, Matt Ranostay wrote: > priv->regmap = devm_regmap_init_i2c(i2c_client, _regmap_config); > if (IS_ERR(priv->regmap)) > return PTR_ERR(priv->regmap); > > - error = regmap_read(priv->regmap, CAP1106_REG_PRODUCT_ID, ); > - if (error) > -

Re: [PATCH 2/3] cap1106: support for active-high interrupt option

2014-09-21 Thread Daniel Mack
On 09/21/2014 05:01 AM, Matt Ranostay wrote: > Some applications need to use the active-high push-pull interrupt > option. This allows it be enabled in the device tree child node. > > Signed-off-by: Matt Ranostay > --- > drivers/input/keyboard/cap1106.c | 6 ++ > 1 file changed, 6

Re: [PATCH 1/3] cap1106: Add support for various cap11xx devices

2014-09-21 Thread Daniel Mack
Hi, On 09/21/2014 05:01 AM, Matt Ranostay wrote: > Several other variants of the cap11xx device exists with a varying > number of capacitance detection channels. Add support for creating > the channels dynamically. Thanks for the patches! > > Signed-off-by: Matt Ranostay > --- >

STRICTLY AND CONFIDENTIAL:

2014-09-21 Thread Zirifa Oussesni
Dear Friend, Greetings to you and your family, I am the Bill and Exchange Manager here in Bank of Africa, I have a business proposal in the tune of $15.5m,(Fifteen Million Five Hundred Thousand Dollars Only) to be transfer into your Bank account over there in your country, and after the

Re: [Linux-nvdimm] [PATCH v2] pmem: Initial version of persistent memory driver

2014-09-21 Thread Boaz Harrosh
On 09/19/2014 07:27 PM, Dan Williams wrote: > before adding any new device > discovery capabilities to pmem. > I lost you? what "new device discovery capabilities" do you see in Ross's or my code to pmem? Actually my point is that I hope there will never be any. That the discovery should be

Re: [PATCH RFC 1/2] virtio: support for urgent descriptors

2014-09-21 Thread Michael S. Tsirkin
On Wed, Jul 09, 2014 at 09:58:43AM +0930, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > Below should be useful for some experiments Jason is doing. > > I thought I'd send it out for early review/feedback. > > > > Compiled-only at this point. > > It's not a terrible idea, but it will

[char-misc-next 3/4] mei: fix KDoc documentation formatting

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin Fix Kdoc documentation formatting warnings genertaed by ./scripts/kernel-doc Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c| 30 +++ drivers/misc/mei/client.c| 70 ---

[char-misc-next 1/4] mei: trivial: fix errors in prints in comments

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin Fix misspellings and wrong print texts Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/client.c | 2 +- drivers/misc/mei/debugfs.c | 2 +- drivers/misc/mei/hw-txe.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff

[char-misc-next 2/4] mei: drop me_client_presentation_num

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin me_client_presentation_num field is not used for any particular purpose now, so it can be safely dropped. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hbm.c | 2 -- drivers/misc/mei/mei_dev.h | 1 - 2 files changed, 3

[char-misc-next 4/4] mei: fix kernel-doc warnings

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin Add missed parameters descriptions and return values descriptions Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c| 5 +- drivers/misc/mei/client.c| 6 ++ drivers/misc/mei/debugfs.c | 2 +

[char-misc-next 0/4] mei: docmentation cleanup

2014-09-21 Thread Tomas Winkler
Overall documentation formating fix and other collateral fixes. Alexander Usyskin (4): mei: trivial: fix errors in prints in comments mei: drop me_client_presentation_num mei: fix KDoc documentation formatting mei: fix kernel-doc warnings drivers/misc/mei/amthif.c| 35 +++

[Consult] About using 'compiler.h' in uapi header files

2014-09-21 Thread Chen Gang
Hello all: I find many "include/uapi/linux/*.h" need "include/linux/compiler.h", is it still OK?? (in my memory, only the headers in "uapi" are for outside using). For me, we need move 'compiler.h' to "include/uapi/linux/". Welcome any ideas, suggestions, or completions. Thanks. -- Chen Gang

Re: [PATCH] drm/panel: update innolux n116bge timings

2014-09-21 Thread Daniel Kurtz
Hi Thierry, Congratulations! I saw in one thread that you said you are out on paternity leave. You mentioned that you would be back around v3.17-rc6, which should be soonish, so just a gentle ping on this patch for when you return. Thanks, -Daniel -- To unsubscribe from this list: send the

[tip:sched/core] sched: Clean up some typos and grammatical errors in code/comments

2014-09-21 Thread tip-bot for Zhihui Zhang
Commit-ID: 9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b Gitweb: http://git.kernel.org/tip/9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b Author: Zhihui Zhang AuthorDate: Sat, 20 Sep 2014 21:24:36 -0400 Committer: Ingo Molnar CommitDate: Sun, 21 Sep 2014 09:00:02 +0200 sched: Clean up some typos

Re: [PATCH 2/3] x86, ptdump: Simplify page flag evaluation code

2014-09-21 Thread Ingo Molnar
* Mathias Krause wrote: > -#define pt_dump_seq_printf(m, to_dmesg, fmt, args...)\ > +#define ptd_print(m, to_dmesg, fmt, args...) \ Please don't abbreviate to non-obvious shortcuts ('ptd'), keep using the pt_dump_ prefix which was just fine. (If checkpatch

9/19/2014

2014-09-21 Thread LI MAN-KIU
Hello Friend. Li Man-Kiu has a transaction for you. Contact Mr. Li Man-Kiu On ( limanki...@postino.at ) For more information. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

9/19/2014

2014-09-21 Thread LI MAN-KIU
Hello Friend. Li Man-Kiu has a transaction for you. Contact Mr. Li Man-Kiu On ( limanki...@postino.at ) For more information. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/3] x86, ptdump: Simplify page flag evaluation code

2014-09-21 Thread Ingo Molnar
* Mathias Krause mini...@googlemail.com wrote: -#define pt_dump_seq_printf(m, to_dmesg, fmt, args...)\ +#define ptd_print(m, to_dmesg, fmt, args...) \ Please don't abbreviate to non-obvious shortcuts ('ptd'), keep using the pt_dump_ prefix which was just fine.

[tip:sched/core] sched: Clean up some typos and grammatical errors in code/comments

2014-09-21 Thread tip-bot for Zhihui Zhang
Commit-ID: 9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b Gitweb: http://git.kernel.org/tip/9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b Author: Zhihui Zhang zzhs...@gmail.com AuthorDate: Sat, 20 Sep 2014 21:24:36 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 21 Sep 2014 09:00:02

Re: [PATCH] drm/panel: update innolux n116bge timings

2014-09-21 Thread Daniel Kurtz
Hi Thierry, Congratulations! I saw in one thread that you said you are out on paternity leave. You mentioned that you would be back around v3.17-rc6, which should be soonish, so just a gentle ping on this patch for when you return. Thanks, -Daniel -- To unsubscribe from this list: send the

[Consult] About using 'compiler.h' in uapi header files

2014-09-21 Thread Chen Gang
Hello all: I find many include/uapi/linux/*.h need include/linux/compiler.h, is it still OK?? (in my memory, only the headers in uapi are for outside using). For me, we need move 'compiler.h' to include/uapi/linux/. Welcome any ideas, suggestions, or completions. Thanks. -- Chen Gang Open

[char-misc-next 2/4] mei: drop me_client_presentation_num

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com me_client_presentation_num field is not used for any particular purpose now, so it can be safely dropped. Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com ---

[char-misc-next 4/4] mei: fix kernel-doc warnings

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Add missed parameters descriptions and return values descriptions Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c| 5 +-

[char-misc-next 1/4] mei: trivial: fix errors in prints in comments

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Fix misspellings and wrong print texts Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/client.c | 2 +- drivers/misc/mei/debugfs.c | 2 +-

[char-misc-next 0/4] mei: docmentation cleanup

2014-09-21 Thread Tomas Winkler
Overall documentation formating fix and other collateral fixes. Alexander Usyskin (4): mei: trivial: fix errors in prints in comments mei: drop me_client_presentation_num mei: fix KDoc documentation formatting mei: fix kernel-doc warnings drivers/misc/mei/amthif.c| 35 +++

[char-misc-next 3/4] mei: fix KDoc documentation formatting

2014-09-21 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Fix Kdoc documentation formatting warnings genertaed by ./scripts/kernel-doc Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c| 30

Re: [PATCH RFC 1/2] virtio: support for urgent descriptors

2014-09-21 Thread Michael S. Tsirkin
On Wed, Jul 09, 2014 at 09:58:43AM +0930, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: Below should be useful for some experiments Jason is doing. I thought I'd send it out for early review/feedback. Compiled-only at this point. It's not a terrible idea, but it will

Re: [Linux-nvdimm] [PATCH v2] pmem: Initial version of persistent memory driver

2014-09-21 Thread Boaz Harrosh
On 09/19/2014 07:27 PM, Dan Williams wrote: before adding any new device discovery capabilities to pmem. I lost you? what new device discovery capabilities do you see in Ross's or my code to pmem? Actually my point is that I hope there will never be any. That the discovery should be

STRICTLY AND CONFIDENTIAL:

2014-09-21 Thread Zirifa Oussesni
Dear Friend, Greetings to you and your family, I am the Bill and Exchange Manager here in Bank of Africa, I have a business proposal in the tune of $15.5m,(Fifteen Million Five Hundred Thousand Dollars Only) to be transfer into your Bank account over there in your country, and after the

Re: [PATCH 1/3] cap1106: Add support for various cap11xx devices

2014-09-21 Thread Daniel Mack
Hi, On 09/21/2014 05:01 AM, Matt Ranostay wrote: Several other variants of the cap11xx device exists with a varying number of capacitance detection channels. Add support for creating the channels dynamically. Thanks for the patches! Signed-off-by: Matt Ranostay mranos...@gmail.com ---

Re: [PATCH 2/3] cap1106: support for active-high interrupt option

2014-09-21 Thread Daniel Mack
On 09/21/2014 05:01 AM, Matt Ranostay wrote: Some applications need to use the active-high push-pull interrupt option. This allows it be enabled in the device tree child node. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap1106.c | 6 ++ 1 file changed,

Re: [PATCH 1/3] cap1106: Add support for various cap11xx devices

2014-09-21 Thread Daniel Mack
Hi, On 09/21/2014 05:01 AM, Matt Ranostay wrote: priv-regmap = devm_regmap_init_i2c(i2c_client, cap1106_regmap_config); if (IS_ERR(priv-regmap)) return PTR_ERR(priv-regmap); - error = regmap_read(priv-regmap, CAP1106_REG_PRODUCT_ID, val); - if (error) -

man-pages-3.73 is released

2014-09-21 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.73 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [PATCH v2 0/3] iio: exynos-adc: use syscon instead of ioremap

2014-09-21 Thread Jonathan Cameron
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote: Changes since v1: 1. Rebased on top of togreg branch of IIO git. This patch set does the following 1. Use the syscon and Regmap API instead of ioremappaing the ADC_PHY register from PMU. 2. Updates the Documentation in exynos-adc.txt

Re: [PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support

2014-09-21 Thread Jonathan Cameron
On 19/09/14 13:58, Sanchayan Maity wrote: Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using

Re: [PATCH v2] IIO: add si7020 driver

2014-09-21 Thread Hartmut Knaack
David Barksdale schrieb, Am 18.09.2014 22:01: This patch adds support to the Industrial IO subsystem for the Silicon Labs Si7013/20/21 Relative Humidity and Temperature Sensors. Website: http://www.silabs.com/products/sensors/humidity-sensors/Pages/si7013-20-21.aspx These are i2c

[PATCH] MIPS/loongson2_cpufreq: Fix CPU clock rate setting mismerge

2014-09-21 Thread Aaro Koskinen
During 3.16 merge window, parts of the commit 8e8acb32960f (MIPS/loongson2_cpufreq: Fix CPU clock rate setting) seem to have been deleted probably due to a mismerge, and as a result cpufreq is broken again on Loongson2 boards in 3.16 and newer kernels. Fix by repeating the fix. Signed-off-by:

Re: [PATCH v3] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-09-21 Thread Jonathan Cameron
On 16/09/14 23:08, Hartmut Knaack wrote: Heiko Stübner schrieb, Am 15.09.2014 23:47: Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc for temperature measurements. This so called tsadc does not contain any active parts like temperature interrupts and only supports

Re: [PATCH 03/18] usbip: Add kernel support for client ACLs

2014-09-21 Thread Dominik Paulus
On Sun, Sep 21, 2014 at 02:44:33AM +0200, Max Vozeler wrote: Hi, On Tue, Sep 16, 2014 at 11:38:40PM +, Maximilian Eschenbacher wrote: From: Dominik Paulus dominik.pau...@fau.de This patch adds the possibility to stored ACLs for allowed clients for each stub device in sysfs. It

Re: [PATCH 02/18] usbip: Add support for client authentication

2014-09-21 Thread Dominik Paulus
Hi, thanks for your feedback! On Sun, Sep 21, 2014 at 02:42:59AM +0200, Max Vozeler wrote: + if (strcmp(username, dummyuser)) + /* User invalid, stored dummy data in g and n. */ + return 1; Could you describe the role of dummyuser in a comment? It seems to be a

Re: [PATCH v4 1/3] mfd/axp20x: extend axp20x to support axp288 pmic

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and AD converters. It also provides extended status and interrupt reporting capabilities than the devices

Re: [PATCH v4 3/3] iio: add documentation for current attribute

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: Add documentation for input current raw sysfs attribute. Signed-off-by: Jacob Pan jacob.jun@linux.intel.com Applied to the togreg branch of iio.git (initially pushed out as testing for autobuilders to play - though obviously they aren't going to do much

Re: [PATCH v4 2/3] iio/adc: add support for axp288 adc

2014-09-21 Thread Jonathan Cameron
On 17/09/14 01:11, Jacob Pan wrote: Platform driver for X-Powers AXP288 ADC, which is a sub-device of the customized AXP288 PMIC for Intel Baytrail-CR platforms. GPADC device enumerates as one of the MFD cell devices. It uses IIO infrastructure to communicate with userspace and consumer

[PATCH RESEND v3 0/6] AHCI: Optimize interrupt processing

2014-09-21 Thread Alexander Gordeev
As per Tejun's feedback I am sending v3. Changes since v2: - single patch split in a series; - benchmarking statistics reworded; - HOST_IRQ_STAT reg optimization added (patch 6); Cc: linux-...@vger.kernel.org Alexander Gordeev (6): AHCI: Cleanup checking of multiple MSIs/SLM modes

[PATCH RESEND v3 3/6] AHCI: Make few function names more descriptive

2014-09-21 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: linux-...@vger.kernel.org --- drivers/ata/ahci.c| 7 +++ drivers/ata/ahci.h| 6 +++--- drivers/ata/libahci.c | 16 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/ata/ahci.c

[PATCH RESEND v3 1/6] AHCI: Cleanup checking of multiple MSIs/SLM modes

2014-09-21 Thread Alexander Gordeev
Sharing Last Message (SLM) mode is currently checked in two functions: ahci_host_activate() and ahci_init_interrupts(). This update consolidates SLM mode check with activation of multiple MSIs mode. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: linux-...@vger.kernel.org ---

[PATCH RESEND v3 6/6] AHCI: Do not read HOST_IRQ_STAT reg in multi-MSI mode

2014-09-21 Thread Alexander Gordeev
As described in AHCI v1.0 specification chapter 10.6.2.2 Multiple MSI Based Messages generation of interrupts is not controlled through the HOST_IRQ_STAT register. Considering MMIO access is expensive remove unnecessary reading and writing of HOST_IRQ_STAT register. Further, serializing access

[PATCH RESEND v3 4/6] AHCI: Get rid of redundant arg to ahci_handle_port_interrupt()

2014-09-21 Thread Alexander Gordeev
Function's ahci_handle_port_interrupt() 'port_mmio' parameter could be derived within function. No need to pass it from outside. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: linux-...@vger.kernel.org --- drivers/ata/libahci.c | 9 - 1 file changed, 4 insertions(+), 5

[PATCH RESEND v3 5/6] AHCI: Optimize single IRQ interrupt processing

2014-09-21 Thread Alexander Gordeev
Split interrupt service routine into hardware context handler and threaded context handler. That allows to protect ports with individual locks rather than with a single host-wide lock and move port interrupts handling out of the hardware interrupt context. Testing was done by transferring 8GB on

[PATCH RESEND v3 2/6] AHCI: Move host activation code into ahci_host_activate()

2014-09-21 Thread Alexander Gordeev
Currently host activation done by calling either function ahci_host_activate() or ata_host_activate(). Consolidate the code by only calling ahci_host_activate() for all AHCI devices. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: linux-...@vger.kernel.org --- drivers/ata/acard-ahci.c

Re: [PATCH v2 1/2] Return a value from printk_ratelimited

2014-09-21 Thread Paul E. McKenney
On Fri, Sep 19, 2014 at 11:15:53AM -0700, Joe Perches wrote: On Fri, 2014-09-19 at 13:21 -0400, Steven Rostedt wrote: On Fri, 19 Sep 2014 02:01:29 -0700 Omar Sandoval osan...@osandov.com wrote: printk returns an integer; there's no reason for printk_ratelimited to swallow it.

Re: [PATCH v2 0/2] Move BTRFS RCU string to common library

2014-09-21 Thread Paul E. McKenney
On Fri, Sep 19, 2014 at 12:22:57PM -0400, Chris Mason wrote: On 09/19/2014 12:05 PM, Paul E. McKenney wrote: On Fri, Sep 19, 2014 at 11:47:53AM -0400, Chris Mason wrote: On 09/19/2014 11:45 AM, Paul E. McKenney wrote: On Fri, Sep 19, 2014 at 02:01:28AM -0700, Omar Sandoval wrote: This

Re: [PATCH v2 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-21 Thread Jonathan Cameron
On 18/09/14 10:57, Stanimir Varbanov wrote: Hi Jonathan, On 09/15/2014 07:11 PM, Jonathan Cameron wrote: On September 15, 2014 3:12:50 PM GMT+01:00, Stanimir Varbanov svarba...@mm-sol.com wrote: Hi Jonathan, Thanks for the review! On 09/13/2014 08:27 PM, Jonathan Cameron wrote: On

Re: [PATCH] V1 1/2] ipc: let message queues use SIGEV_THREAD_ID with mq_notify

2014-09-21 Thread Manfred Spraul
Hi Steven, You wrote: Currently the only thread-safe way of using mq_notify with message queues is to use the SIGEV_THREAD option. Could you explain what you mean with only thread-safe way? I'm a bit relunctant to extend mq_notify() without understanding the reason. What about: - use

Re: SO_REUSEPORT and Unix domain sockets

2014-09-21 Thread Tobias Oberstein
Am 20.09.2014 03:44, schrieb Eduardo Silva: How can this be used for sockets of type AF_UNIX? I can only get it working with TCP sockets, not Unix domain sockets. When using TCP, the incoming clients will get nicely balanced to all processes listening. With Unix domain sockets, the incoming

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-21 Thread Jonathan Cameron
On 18/09/14 14:15, Ivan T. Ivanov wrote: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com A few

Re: [PATCH 0/8] Armada XP pinctrl consolidation and ix4-300d fixes

2014-09-21 Thread Benoit Masson
Le 19 sept. 2014 à 22:14, Sebastian Hesselbarth sebastian.hesselba...@gmail.com a écrit : Guys, Hi this is a patch set preparing barebox support for ix4-300d. As usual, I stumbled upon a few nice-to-haves before actually touching ix4-300d dts. As it is a mach-mvebu thing, I just added the

Re: [PATCH] tty/serial: samsung: Add earlycon support

2014-09-21 Thread Alim Akhtar
Hi Tomasz, Thanks for your valuable feedback on this patch. Please see my comments inline. On Sat, Sep 20, 2014 at 7:09 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Alim, Please see my comments inline. On 16.09.2014 13:32, Alim Akhtar wrote: Add earlycon support for the samsung serial

[GIT PULL for v3.17-rc6] media fixes

2014-09-21 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media-v3.17-rc6 For some media bug fixes: - a Kconfig dependency issue; - Some fixes for af9033/it913x demod to be more reliable and address a performance regression;

[PATCH 0/6] ARM: sunxi: Add basic support for Allwinner A80 SoC

2014-09-21 Thread Chen-Yu Tsai
Hi everyone, This patch series adds very basic support for Allwinner's A80 SoC, a big.LITTLE architecture with 4 Cortex-A7s and 4 Cortex-A15s. Development is done on the A80 Optimus Board, the defacto development board for the A80, with the accompanying SDK as a reference. So far I've been

[PATCH 5/6] devicetree: bindings: Add vendor prefix for Merrii Technology Co., Ltd.

2014-09-21 Thread Chen-Yu Tsai
Merrii Technology Co., Ltd. is a Chinese ARM integration developer that specializes in Allwinner SoC based designs. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 6/6] devicetree: bindings: Document supported Allwinner sunxi SoCs

2014-09-21 Thread Chen-Yu Tsai
This adds a list of supported Allwinner SoC bindings. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/arm/sunxi.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sunxi.txt diff --git

[PATCH 2/6] ARM: sunxi: Add debug uart used by sun9i (Allwinner A80)

2014-09-21 Thread Chen-Yu Tsai
The uarts on sun9i are still compatible with the dw_8250, but are located at different addresses. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index

[PATCH 4/6] ARM: dts: sun9i: Add A80 Optimus Board support

2014-09-21 Thread Chen-Yu Tsai
The A80 Optimus Board is was launched with the Allwinner A80 SoC. It was jointly developed by Allwinner and Merrii. This board has a UART port, a JTAG connector, USB host ports, a USB 3.0 OTG connector, an HDMI output, a micro SD slot, 8G NAND flash, 4G DRAM, a camera sensor interface, a WiFi/BT

[PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-21 Thread Chen-Yu Tsai
The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and 4 Cortex-A15 cores in a big.LITTLE architecture, and a 64-core PowerVR G6230 GPU. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 280 +++ 1 file changed, 280

[PATCH 1/6] ARM: sunxi: Introduce Allwinner A80 support

2014-09-21 Thread Chen-Yu Tsai
The Allwinner A80 is a new Cortex octo-core A7/A15 big.LITTLE SoC. While it's processor cores and interconnecting bus are new, it re-uses many peripherals found in earlier Allwinner SoCs. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/mach-sunxi/Kconfig | 5 +

[PATCH -mm 04/14] memcg: use mem_cgroup_id for per memcg cache naming

2014-09-21 Thread Vladimir Davydov
Currently, we use memcg_cache_id as a part of a per memcg cache name. Since memcg_cache_id is released only on css free, this guarantees cache name uniqueness. However, it's a bad practice to keep memcg_cache_id till css free, because it occupies a slot in kmem_cache-memcg_params-memcg_caches

[PATCH -mm 00/14] Per memcg slab shrinkers

2014-09-21 Thread Vladimir Davydov
Hi, Kmem accounting of memcg is unusable now, because it lacks slab shrinker support. That means when we hit the limit we will get ENOMEM w/o any chance to recover. What we should do then is to call shrink_slab, which would reclaim old inode/dentry caches from this cgroup. This is what this patch

[PATCH -mm 06/14] memcg: keep all children of each root cache on a list

2014-09-21 Thread Vladimir Davydov
Sometimes we need to iterate over all child caches of a particular root cache, e.g. when we are destroying it. Currently each root cache keeps pointers to its children in its memcg_cache_params-memcg_caches_array so that we can enumerate all active kmemcg ids dereferencing appropriate array slots

[PATCH -mm 09/14] memcg: rename some cache id related variables

2014-09-21 Thread Vladimir Davydov
memcg_limited_groups_array_size, which defines the size of memcg_caches arrays, sounds rather cumbersome. Also it doesn't point anyhow that it's related to kmem/caches stuff. So let's rename it to memcg_max_cache_ids. It's concise and points us directly to memcg_cache_id. Also, rename

[PATCH -mm 14/14] fs: make shrinker memcg aware

2014-09-21 Thread Vladimir Davydov
Now, to make any list_lru-based shrinker memcg aware we should only initialize its list_lru as memcg-enabled. Let's do it for the general FS shrinker (super_block::s_shrink) and mark it as memcg aware. There are other FS-specific shrinkers that use list_lru for storing objects, such as XFS and

[PATCH -mm 10/14] memcg: add rwsem to sync against memcg_caches arrays relocation

2014-09-21 Thread Vladimir Davydov
We need a stable value of memcg_max_cache_ids in kmem_cache_create() (memcg_alloc_cache_params() wants it for root caches), where we only hold the slab_mutex and no memcg-related locks. As a result, we have to update memcg_cache_ids under the slab_mutex, which we can only take from the slab's

[PATCH -mm 13/14] list_lru: introduce per-memcg lists

2014-09-21 Thread Vladimir Davydov
There are several FS shrinkers, including super_block::s_shrink, that keep reclaimable objects in the list_lru structure. Hence to turn them to memcg-aware shrinkers, it is enough to make list_lru per-memcg. This patch does the trick. It adds an array of lru lists to the list_lru_node structure

[PATCH -mm 12/14] list_lru: organize all list_lrus to list

2014-09-21 Thread Vladimir Davydov
I need it for making list_lru memcg-aware. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- include/linux/list_lru.h |3 +++ mm/list_lru.c| 29 + 2 files changed, 32 insertions(+) diff --git a/include/linux/list_lru.h

<    1   2   3   4   5   >