[PATCH 0/3] platform/chrome: upstream changes

2016-02-15 Thread Enric Balletbo i Serra
Dear all, Please take in consideration to include these patches that upstream some changes already found in chromeos kernel. The three patches came from the chromeos tree and were tested in current mainline. The first patch simply adds the touch device for Leon Chromebook, the second and the

[PATCH 3/3] platform/chrome: pstore: Move to larger record size.

2016-02-15 Thread Enric Balletbo i Serra
From: Olof Johansson Accidentally specified a smaller record size, bring it back to the same size as we had when we used the config file. Signed-off-by: Olof Johansson Signed-off-by: Enric Balletbo i Serra Reviewed-by:

[PATCH 2/3] platform/chrome: pstore: probe for ramoops buffer using acpi

2016-02-15 Thread Enric Balletbo i Serra
From: Aaron Durbin In order to handle the firmware placing the ramoops buffer in a different location than the kernel is configured to look probe for an ACPI device specified by GOOG acpi id. If no device is found or the first memory resource is not defined properly

Re: linux-next: build warning after merge of the net-next tree

2016-02-15 Thread Nikolay Borisov
On 02/15/2016 04:09 AM, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > net/ipv4/igmp.c: In function 'igmp_group_added': > net/ipv4/igmp.c:1227:14: warning: unused variable 'net'

Re: [linux-sunxi] Re: [PATCH v2 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-15 Thread Krzysztof Adamski
On Thu, Feb 11, 2016 at 02:21:15PM +0100, Linus Walleij wrote: On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: H3 has additional PIO controller similar to what we can find on A23. It's a 12 pin port, described in H3 Datasheet rev 1.1, pages 345-350. Signed-off-by:

Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller

2016-02-15 Thread Matt Redfearn
Hi Rob, On 12/02/16 15:39, Rob Herring wrote: On Wed, Feb 10, 2016 at 05:36:15PM +, Matt Redfearn wrote: From: Aleksey Makarov The OCTEON MMC controller is currently found on cn61XX and cnf71XX devices. Device parameters are configured from device

Re: [BUG]: get-maintainers unable to respect parenthesis in subsystem name

2016-02-15 Thread Viresh Kumar
On 14-02-16, 23:36, Joe Perches wrote: > On Mon, 2016-02-15 at 12:07 +0530, Viresh Kumar wrote: > > On 14-02-16, 21:42, Joe Perches wrote: > > > Not what I get with current -next: > > > > > > $ ./scripts/get_maintainer.pl -f Documentation/power/opp.txt  > > > Viresh Kumar

Re: arm qemu test failures due to 'driver-core: platform: probe of-devices only using list of compatibles'

2016-02-15 Thread Uwe Kleine-König
Hello Russell, On Sun, Feb 14, 2016 at 08:07:55PM +, Russell King - ARM Linux wrote: > On Sun, Feb 14, 2016 at 08:55:01PM +0100, Uwe Kleine-König wrote: > > So the unexpected abnormality here is that even though this device is > > instantiated by dt, the driver doesn't provide any

Re: [PATCH 2/9] cpufreq: governor: Avoid atomic operations in hot paths

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:13, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rework the handling of work items by dbs_update_util_handler() and > dbs_work_handler() so the former (which is executed in scheduler > paths) only uses atomic operations when absolutely

Re: [PATCH 1/4] block: bio: introduce helpers to get the 1st and last bvec

2016-02-15 Thread Sagi Grimberg
+/* + * bio_get_last_bvec() is introduced to get the last bvec of one + * bio for bio_will_gap(). + * + * TODO: make it more efficient. + */ +static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) +{ + struct bvec_iter iter; + + bio_for_each_segment(*bv, bio,

[PATCHv2 0/2] fs/pstore: Use memcpy_from/toio() instead of memcpy.

2016-02-15 Thread Enric Balletbo i Serra
Dear all, These patches were needed in order to make ramoops work in my armv8 board. They originally come from chrome os kernel, so I kept the original authors. I found that weren't in mainline so I thought that will be really interesting send them. Best regards, Enric Changes since v1: -

[PATCHv2 1/2] fs/pstore: Use memcpy_toio instead of memcpy

2016-02-15 Thread Enric Balletbo i Serra
From: Furquan Shaikh persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, both map it as non-cacheable memory. For armv8 specifically, non-cacheable mapping requests use a memory type that has to be accessed

[PATCHv2 2/2] fs/pstore: Use memcpy_fromio() to save old ramoops buffer

2016-02-15 Thread Enric Balletbo i Serra
From: Andrew Bresticker The ramoops buffer may be mapped as either I/O memory or uncached memory. On ARM64, this results in a device-type (strongly-ordered) mapping. Since unnaligned accesses to device-type memory will generate an alignment fault (regardless of whether

Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall

2016-02-15 Thread Lee Jones
On Mon, 15 Feb 2016, Krzysztof Kozlowski wrote: > On 12.02.2016 13:30, Javier Martinez Canillas wrote: > > The driver's init and exit function don't do anything besides adding and > > deleting the I2C driver so the module_i2c_driver() macro could be used. > > > > Currently is not being used

Re: [PATCH 2/4] block: check virt boundary in bio_will_gap()

2016-02-15 Thread Sagi Grimberg
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 4571ef1..b8ff6a3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1388,7 +1388,7 @@ static inline bool bvec_gap_to_prev(struct request_queue *q, static inline bool bio_will_gap(struct request_queue *q,

Re: [PATCH] serial: 8250_pci: add MOXA Smartio MUE boards support

2016-02-15 Thread Jiri Slaby
On 02/12/2016, 07:28 PM, Mathieu OTHACEHE wrote: > Add support for : > > - CP-102E: 2 ports RS232 PCIE card > - CP-102EL: 2 ports RS232 PCIE card > - CP-132EL: 2 ports RS422/485 PCIE card > - CP-114EL: 4 ports RS232/422/485 PCIE card > - CP-104EL-A: 4 ports RS232 PCIE card > - CP-168EL-A: 8 ports

[PATCH v9 0/2] power: act8945a: add charger driver for the sub-device of ACT8945A MFD

2016-02-15 Thread Wenyou Yang
The ACT8945A is a Multi Function Device with the following subdevices: - Regulator - Charger This patch set is to add regulator driver for ACT8945A. It is based on the patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-February/405258.html Changes in v9: - add

[PATCH v9 1/2] power: act8945a: add charger driver for ACT8945A

2016-02-15 Thread Wenyou Yang
This patch adds new driver for Active-semi ACT8945A ActivePath charger (part of ACT8945A MFD driver) providing power supply class information to userspace. The driver can be configured through DT (such as, total timer, precondition timer and input over-voltage threshold). Signed-off-by: Wenyou

[PATCH v9 2/2] power: add documentation for ACT8945A's charger DT bindings

2016-02-15 Thread Wenyou Yang
This patch adds documentation for the DT bindings of the charger subdevice of ACT8945A MFD. Signed-off-by: Wenyou Yang Reviewed-by: Krzysztof Kozlowski --- Changes in v9: None Changes in v8: - due the mfd cell .of_compatible removal, update the

Re: [RFC PATCH] SPI/ACPI: DesignWare: Add ACPI support for Designware SPI driver

2016-02-15 Thread Hanjun Guo
On 2016/2/5 19:09, Mark Brown wrote: > On Fri, Feb 05, 2016 at 03:11:20PM +0800, qiujiang wrote: > >> This patch added ACPI support for DesignWare SPI mmio driver. It >> was based the corresponding DT driver and compatible for this two >> way. This patch has been tested on Hisilicon D02 board. It

Re: [PATCH 3/9] cpufreq: governor: Fix nice contribution computation in dbs_check_cpu()

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:15, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The contribution of the CPU nice time to the idle time in dbs_check_cpu() > is computed in a bogus way, as the code may subtract current and previous > nice values for different CPUs. > > That

Re: [PATCH] mfd: stmpe: add the proper PWM resources

2016-02-15 Thread Lee Jones
On Sun, 14 Feb 2016, Linus Walleij wrote: > This adds the PWM resources to the STMPE MFD driver, so that > it can properly grab and use them. > > Cc: linux-...@vger.kernel.org > Cc: Thierry Reding > Signed-off-by: Linus Walleij > --- >

Re: [BUG]: get-maintainers unable to respect parenthesis in subsystem name

2016-02-15 Thread Joe Perches
On Mon, 2016-02-15 at 13:48 +0530, Viresh Kumar wrote: > On 14-02-16, 23:36, Joe Perches wrote: > > On Mon, 2016-02-15 at 12:07 +0530, Viresh Kumar wrote: > > > On 14-02-16, 21:42, Joe Perches wrote: > > > > Not what I get with current -next: > > > > > > > > $ ./scripts/get_maintainer.pl -f

[PATCH 0/3] Some rockchip_spi fixes and debug support

2016-02-15 Thread Shawn Lin
This patchset fix some missing err handles of rockchip_spi. And it also add debugfs support for rockchip_spi in order to trace the driver's and controller's state. Shawn Lin (3): spi: rockchip: disable runtime pm when in err case spi: rockchip: add missing spi_master_put spi: rockchip:

[PATCH 2/3] spi: rockchip: add missing spi_master_put

2016-02-15 Thread Shawn Lin
Add missing spi_master_put for rockchip_spi_remove since it calls spi_master_get already. Signed-off-by: Shawn Lin --- drivers/spi/spi-rockchip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index

[PATCH 1/3] spi: rockchip: disable runtime pm when in err case

2016-02-15 Thread Shawn Lin
Before registering master, driver enables runtime pm. This patch pm_runtime_disable in err case while probing driver to balance pm reference count. Signed-off-by: Shawn Lin --- drivers/spi/spi-rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v8 1/5] mfd: hi655x: Add document for mfd hi665x PMIC

2016-02-15 Thread Lee Jones
On Sun, 14 Feb 2016, Chen Feng wrote: > DT bindings for hisilicon hi655x MFD PMIC chip. > > Signed-off-by: Chen Feng > Signed-off-by: Fei Wang > Signed-off-by: Xinwei Kong > Reviewed-by: Haojian Zhuang

[PATCH 3/3] spi: rockchip: add debug interface support

2016-02-15 Thread Shawn Lin
Add debugfs support for user to debug rockchip spi problems. Signed-off-by: Shawn Lin --- drivers/spi/spi-rockchip.c | 79 ++ 1 file changed, 79 insertions(+) diff --git a/drivers/spi/spi-rockchip.c

Re: [PATCH 4/9] cpufreq: governor: Clean up load-related computations

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:18, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Clean up some load-related computations in dbs_check_cpu() and > cpufreq_governor_start() to get rid of unnecessary operations and > type casts and make the code easier to read. > > No

Re: [PATCH 0/4] block: fix bio_will_gap()

2016-02-15 Thread Sagi Grimberg
Hi, After bio splitting is introduced, the splitted bio can be fast-cloned, which is correct because biovecs has become immutable since v3.13. Unfortunately bio_will_gap() isn't ready for this kind of change, because it figures out the last bvec via 'bi_io_vec[prev->bi_vcnt - 1]' directly.

[PATCH 03/23] perf tools: Introduce cl_offset function

2016-02-15 Thread Jiri Olsa
It'll be used in following patches. Link: http://lkml.kernel.org/n/tip-m7dfmhya60y30hzhboeac...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index

[PATCH 01/23] perf record: Add --all-user/--all-kernel options

2016-02-15 Thread Jiri Olsa
Allow user to easily switch all events to user or kernel space with simple --all-user or --all-kernel options. This will be handy within perf mem/c2c wrappers to switch easily monitoring modes. Link: http://lkml.kernel.org/n/tip-hdd2u0y1o8cwfpplrpzc1...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 00/23] perf tools: Several memory events updates

2016-02-15 Thread Jiri Olsa
hi, this is generic part of the c2c patchset. It contains several enhancements for perf mem and script commands: - display memory events properties in perf script - perf mem DATALA events support - few other assorted fixes/options Also available in here:

[PATCH 08/23] perf mem: Add -l/--ldlat option

2016-02-15 Thread Jiri Olsa
Adding -l/--ldlat option to specify desired latency for loads event. Specify 50 as loads event latency: $ perf mem record -e ldlat-loads -v -l 50 true calling: record -W -d -e cpu/mem-loads,ldlat=50/P true Link: http://lkml.kernel.org/n/tip-ec2m0cvivkfs8uhtiv411...@git.kernel.org

[PATCH 16/23] perf tools: Introduce perf_mem__lck_scnprintf function

2016-02-15 Thread Jiri Olsa
Move meminfo's lck display function into mem-events.c object, so it could be reused later from script code. Link: http://lkml.kernel.org/n/tip-qiwjnu0m6vzknv25t5ggu...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 16

[PATCH 09/23] perf mem: Add -u/-k options

2016-02-15 Thread Jiri Olsa
Add -u/-k (--all-user/--all-kernel) options to use the perf record --all-user/--all-kernel options. Link: http://lkml.kernel.org/n/tip-adxn5c48oe0gmjrjmq6we...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-mem.c | 11 ++- 1 file changed, 10

[PATCH 20/23] perf tools: Change perf_mem__lck_scnprintf to return nb of displayed bytes

2016-02-15 Thread Jiri Olsa
Moving strncat call into scnprintf to easily track number of displayed bytes. It will be used in following patch. Link: http://lkml.kernel.org/n/tip-oqjs8kf50g0n65uj8sfql...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 12 +++-

[PATCH 18/23] perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed bytes

2016-02-15 Thread Jiri Olsa
Moving strncat/strcpy calls into scnprintf to easily track number of displayed bytes. It will be used in following patch. Link: http://lkml.kernel.org/n/tip-9q9h9trua9zljnw26c56m...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 13 +++--

[PATCH 22/23] perf script: Display addr/data_src/weight columns for raw events

2016-02-15 Thread Jiri Olsa
Adding addr/data_src/weight columns for raw events. Example: $ perf script ... true 11883 322960.489590: ... 8801aa0b840068501042 246 813b2cd true 11883 322960.489600: ... 8800b90b38d868501042 251 811d0b7 true 11883

[PATCH 23/23] perf script: Display data_src values

2016-02-15 Thread Jiri Olsa
Adding support to display data_src values, for events with data_src data in sample. Example: $ perf script ... rcuos/332 [002] ... 68501042 Local RAM hit|SNP None or Hit|TLB L1 or L2 hit|LCK No ... rcuos/332 [002] ... 68100142 L1 hit|SNP None|TLB L1 or L2

[PATCH 21/23] perf script: Add data_src and weight column definitions

2016-02-15 Thread Jiri Olsa
Adding data_src and weight column definitions, so it's displayed for related sample types. Link: http://lkml.kernel.org/n/tip-d9d387o10v7ega0mbd4b2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-script.c | 20 1 file changed, 20

[PATCH 19/23] perf tools: Change perf_mem__snp_scnprintf to return nb of displayed bytes

2016-02-15 Thread Jiri Olsa
Moving strncat/strcpy calls into scnprintf to easily track number of displayed bytes. It will be used in following patch. Link: http://lkml.kernel.org/n/tip-dvtk0c7clgi857x699mk0...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 9 +

[PATCH 17/23] perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed bytes

2016-02-15 Thread Jiri Olsa
Moving strncat/strcpy calls into scnprintf to easily track number of displayed bytes. It will be used in following patch. Link: http://lkml.kernel.org/n/tip-9q9h9trua9zljnw26c56m...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 13 +++--

[PATCH 14/23] perf tools: Introduce perf_mem__lvl_scnprintf function

2016-02-15 Thread Jiri Olsa
Move meminfo's lvl display function into mem-events.c object, so it could be reused later from script code. Link: http://lkml.kernel.org/n/tip-ujrrar78msnlkbvrgujwc...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 53

[PATCH 15/23] perf tools: Introduce perf_mem__snp_scnprintf function

2016-02-15 Thread Jiri Olsa
Move meminfo's snp display function into mem-events.c object, so it could be reused later from script code. Link: http://lkml.kernel.org/n/tip-zhd9q561o49xzhrtg8cz5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 34

[PATCH 12/23] perf tools: Use ARRAY_SIZE in mem sort display functions

2016-02-15 Thread Jiri Olsa
There's no need to define extra macros for that. Link: http://lkml.kernel.org/n/tip-ib5fkxt3i5bp1pi9ym6et...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/perf/util/sort.c

[PATCH 11/23] perf mem: Add Intel DATALA memory events

2016-02-15 Thread Jiri Olsa
Adding Intel DATALA memory events into perf mem record command: $ perf mem record -e list [ok] ldlat-loads [ok] ldlat-stores stlb-miss-loads stlb-miss-stores lock-loads split-loads split-stores all-loads all-stores l1-hit l2-hit

[PATCH 13/23] perf tools: Introduce perf_mem__tlb_scnprintf function

2016-02-15 Thread Jiri Olsa
Move meminfo's tlb display function into mem-events.c object, so it could be reused later from script code. Link: http://lkml.kernel.org/n/tip-kdsvxdm3ucwknyvkluwav...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 47

[PATCH 10/23] perf x86 intel: Add DATALA events into sysfs

2016-02-15 Thread Jiri Olsa
Adding DATALA events into Haaswell events sysfs directory, so it's easier to use them. Adding all DATALA events as specified by Intel SDM manual 18.10.3 PEBS Data Address Profiling. Link: http://lkml.kernel.org/n/tip-dvpk5ys80v41oh5xgqvlo...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 06/23] perf mem: Check for memory events support

2016-02-15 Thread Jiri Olsa
Check if current kernel support available memory events and display the status within -e list option: $ perf mem record -e list [ok] ldlat-loads [ok] ldlat-stores Link: http://lkml.kernel.org/n/tip-r8smhxjfe69q67jwt7mzs...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 07/23] perf mem: Introduce perf_mem_events__name function

2016-02-15 Thread Jiri Olsa
Wrap perf_mem_events[].name into perf_mem_events__name function so we could alter the events name if needed. This will be handy when changing latency settings for loads event in following patch. Link: http://lkml.kernel.org/n/tip-76wibzfbjamxfu7vapizs...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 05/23] perf mem: Add -e record option

2016-02-15 Thread Jiri Olsa
Adding -e option for perf mem record command, to be able to specify memory event directly. Get list of available events: $ perf mem record -e list ldlat-loads ldlat-stores Monitor ldlat-loads: $ perf mem record -e ldlat-loads true Link:

[PATCH 04/23] perf tools: Add monitored events array

2016-02-15 Thread Jiri Olsa
It will ease up configuration of memory events and addition of other memory events in following patches. Link: http://lkml.kernel.org/n/tip-5n4yyd6dlrjhpd9rmaa2s...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-mem.c | 17 +

[PATCH 02/23] perf tools: Make cl_address global

2016-02-15 Thread Jiri Olsa
It'll be used in following patches. Link: http://lkml.kernel.org/n/tip-up22drulx98h0nskjtpng...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 6 -- tools/perf/util/sort.h | 5 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH v1 1/6] rockchip: power-domain: make idle handling optional

2016-02-15 Thread Elaine Zhang
Not all new socs need to handle idle states on domain state changes, so add the possibility to make them optional. Signed-off-by: Elaine Zhang Signed-off-by: Heiko Stuebner --- drivers/soc/rockchip/pm_domains.c | 11 --- 1 file changed, 8

[PATCH v1 3/6] rockchip: power-domain: add support for sub-power domains

2016-02-15 Thread Elaine Zhang
This patch adds support for making one power domain a sub-domain of other domain. This is useful for modeling power dependences, which needs to have more than one power domain enabled to be operational. Signed-off-by: Elaine Zhang --- drivers/soc/rockchip/pm_domains.c

[PATCH v1 2/6] rockchip: power-domain: allow domains only handling idle requests

2016-02-15 Thread Elaine Zhang
On some Rockchip SoC there exist child-domains only handling their idle state with the actual power-state handled by a parent-domain. So allow such types of domains. For them, we can determine their state (on/of) by checking the inverse idle-state instead. There exist one special case if both

[PATCH v1 4/6] dt/bindings: power: add RK3399 SoCs header for power-domain

2016-02-15 Thread Elaine Zhang
According to a description from TRM, add all the power domains Signed-off-by: Elaine Zhang --- include/dt-bindings/power/rk3399-power.h | 53 1 file changed, 53 insertions(+) create mode 100644 include/dt-bindings/power/rk3399-power.h

[PATCH v1 0/6] rockchip: power-domain: fix pm domain for support RK3399 SoC

2016-02-15 Thread Elaine Zhang
fix some idle handling support sub-power domain add rk3399-power.h modify power domain for RK3399 SoC modify document for RK3399 Soc Elaine Zhang (6): rockchip: power-domain: make idle handling optional rockchip: power-domain: allow domains only handling idle requests rockchip:

Re: [BUG]: get-maintainers unable to respect parenthesis in subsystem name

2016-02-15 Thread Viresh Kumar
On 15-02-16, 00:30, Joe Perches wrote: > git send-email requires a simple list of names and addresses > without decorations like roles, commit stats or section names. > > You are supposed to use something like: > > tocmd = "scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats >

[PATCH] arm64: add alignment fault hanling

2016-02-15 Thread EunTaik Lee
Userspace memory is mapped as below: F2A7F000--F2A7 Normal Memory F2A8--F2A80FFF Device nGnRnE And that userspace application makes a system call as below: -009 |do_strncpy_from_user(inline) -009 |strncpy_from_user() -010 |getname_flags() -011 |user_path_at_empty() -012 |user_path_at()

Re: [PATCH v2] ARM: mm: mark section-aligned portion of rodata NX

2016-02-15 Thread Geert Uytterhoeven
On Fri, Feb 12, 2016 at 10:45 AM, Arnd Bergmann wrote: > On Thursday 11 February 2016 18:00:32 Russell King - ARM Linux wrote: >> On Fri, Jan 22, 2016 at 01:19:03PM -0800, Kees Cook wrote: >> > On Tue, Dec 8, 2015 at 10:38 AM, Kees Cook wrote: >> > > On Mon,

[PATCH v1 6/6] dt/bindings: rockchip: modify document of Rockchip power domains

2016-02-15 Thread Elaine Zhang
Add binding documentation for the power domains found on Rockchip RK3399 SoCs. Signed-off-by: Elaine Zhang --- .../bindings/soc/rockchip/power_domain.txt | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH v1 5/6] rockchip: power-domain: Modify power domain driver for rk3399

2016-02-15 Thread Elaine Zhang
This driver is modified to support RK3399 SoC. Signed-off-by: Elaine Zhang --- drivers/soc/rockchip/pm_domains.c | 55 +++ 1 file changed, 55 insertions(+) diff --git a/drivers/soc/rockchip/pm_domains.c

Re: [PATCH 5/9] cpufreq: governor: Get rid of the ->gov_check_cpu callback

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:19, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The way the ->gov_check_cpu governor callback is used by the ondemand > and conservative governors is not really straightforward. Namely, the > governor calls dbs_check_cpu() that updates the

Re: [PATCH 2/2] net: dsa: remove phy_disconnect from error path

2016-02-15 Thread Neil Armstrong
On 02/11/2016 04:39 PM, Vivien Didelot wrote: > Hi Sascha, > > Sascha Hauer writes: > >> The phy has not been initialized, disconnecting it in the error >> path results in a NULL pointer exception. Drop the phy_disconnect >> from the error path. >> >> Signed-off-by:

Re: [PATCH 6/9] cpufreq: governor: Reset sample delay in store_sampling_rate()

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:20, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If store_sampling_rate() updates the sample delay when the ondemand > governor is in the middle of its high/low dance (OD_SUB_SAMPLE sample > type is set), the governor will still do the bottom

Re: [PATCH 7/9] cpufreq: governor: Move rate_mult to struct policy_dbs

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:20, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The rate_mult field in struct od_cpu_dbs_info_s is used by the code > shared with the conservative governor and to access it that code > has to do an ugly governor type check. However, first

Re: [PATCH 8/9] cpufreq: ondemand: Simplify conditionals in od_dbs_timer()

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Reduce the indentation level in the conditionals in od_dbs_timer() > and drop the delay variable from it. > > No functional changes. > > Signed-off-by: Rafael J. Wysocki

Re: [PATCH v7 0/4] mailbox: hisilicon: add Hi6220 mailbox driver

2016-02-15 Thread Jassi Brar
On Thu, Feb 4, 2016 at 8:54 PM, Leo Yan wrote: > Hi6220 mailbox supports up to 32 channels. Each channel is unidirectional > with a maximum message size of 8 words. I/O is performed using register > access (there is no DMA) and the cell raises an interrupt when messages > are

[PATCH RESEND] arm64: add alignment fault hanling

2016-02-15 Thread EunTaik Lee
Userspace memory is mapped as below: F2A7F000--F2A7 Normal Memory F2A8--F2A80FFF Device nGnRnE And that userspace application makes a system call as below: -009 |do_strncpy_from_user(inline) -009 |strncpy_from_user() -010 |getname_flags() -011 |user_path_at_empty() -012 |user_path_at()

Re: arm qemu test failures due to 'driver-core: platform: probe of-devices only using list of compatibles'

2016-02-15 Thread Russell King - ARM Linux
On Mon, Feb 15, 2016 at 09:17:50AM +0100, Uwe Kleine-König wrote: > Hello Russell, > > On Sun, Feb 14, 2016 at 08:07:55PM +, Russell King - ARM Linux wrote: > > On Sun, Feb 14, 2016 at 08:55:01PM +0100, Uwe Kleine-König wrote: > > > So the unexpected abnormality here is that even though this

Re: [PATCH 9/9] cpufreq: governor: Use microseconds in sample delay computations

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:22, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Do not convert microseconds to jiffies and the other way around > in governor computations related to the sampling rate and sample > delay and drop delay_for_sampling_rate() which isn't of any

Re: [PATCH 2/3] platform/chrome: pstore: probe for ramoops buffer using acpi

2016-02-15 Thread kbuild test robot
Hi Aaron, [auto build test WARNING on v4.5-rc4] [also build test WARNING on next-20160215] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Enric-Balletbo-i-Serra/platform-chrome-upstream

Re: [PATCH 0/4 v6] sched,time: reduce nohz_full syscall overhead 40%

2016-02-15 Thread Mike Galbraith
Hi Rik, On Wed, 2016-02-10 at 20:08 -0500, r...@redhat.com wrote: > I tested this series with a microbenchmark calling > an invalid syscall number ten million times in a row, > on a nohz_full cpu. > > Run times for the microbenchmark: > > 4.4 3.8 seconds >

[git pull] m68k updates for 4.5 (take two)

2016-02-15 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

[PATCH] platform/chrome: pstore: fix platform_no_drv_owner.cocci warnings

2016-02-15 Thread kbuild test robot
drivers/platform/chrome/chromeos_pstore.c:85:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Aaron Durbin Signed-off-by: Fengguang

[PATCH] iio: health/afe4403: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Arnd Bergmann
The newly added afe4403 driver implements suspend/resume using the SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual functions when CONFIG_PM is disabled, causing a harmless warning: health/afe4403.c:509:12: error: 'afe4403_suspend' defined but not used health/afe4403.c:530:12:

RE: [f2fs-dev] [PATCH 5/7] f2fs crypto: set up encryption info for new inodes in f2fs_inherit_context()

2016-02-15 Thread Chao Yu
Hi Jaegeuk, Please ignore this patch because it incurs deadlock as below: bit_wait_io+0x1f/0x60 __wait_on_bit_lock+0x5c/0xb0 __lock_page+0xba/0xd0 pagecache_get_page+0x187/0x230 __get_node_page+0x7d/0x200 [f2fs] get_node_page+0x12/0x20 [f2fs] read_all_xattrs+0x213/0x330 [f2fs]

更多关于我的信息在

2016-02-15 Thread 更多关于我的信息在
你的老朋友邀你来Q群:343257759

Re: [PATCH 2/2] iio: ina2xx: Remove trace_printk debug statments

2016-02-15 Thread Marc Titinger
On 14/02/2016 21:02, Andrew F. Davis wrote: On 02/13/2016 07:21 AM, Jonathan Cameron wrote: On 12/02/16 18:34, Andrew F. Davis wrote: These are generally for devlopment use only, remove these from performance-critical code, convert to dev_dbg elswhere. Signed-off-by: Andrew F. Davis

Re: [PATCH v4 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-02-15 Thread James Liao
Hi Matthias, On Wed, 2016-02-03 at 10:00 +0100, Matthias Brugger wrote: > On 03/02/16 06:22, James Liao wrote: > > On Tue, 2016-02-02 at 11:44 +0100, Matthias Brugger wrote: > >> On 02/02/16 07:56, James Liao wrote: > >>> On Sun, 2016-01-31 at 12:51 +0100, Matthias Brugger wrote: > > On

[PATCH] Bluetooth: hci_core: cancel power off delayed work properly

2016-02-15 Thread Wei-Ning Huang
From: Wei-Ning Huang When the HCI_AUTO_OFF flag is cleared, the power_off delayed work need to be cancel or HCI will be powered off even if it's managed. Signed-off-by: Wei-Ning Huang --- net/bluetooth/hci_core.c | 1 + 1 file changed, 1

Re: [PATCH] irqchip: irq-mvebu-odmi: new driver

2016-02-15 Thread Marc Zyngier
Hi Thomas, On 15/02/16 07:42, Thomas Petazzoni wrote: > This commits adds a new irqchip driver that handles the ODMI > controller found on Marvell 7K/8K processors. The ODMI controller > provide MSI interrupt functionality to on-board peripherals, much like > the GIC-v2m. May I suggest a title

Re: arm qemu test failures due to 'driver-core: platform: probe of-devices only using list of compatibles'

2016-02-15 Thread Uwe Kleine-König
Hello Russell, On Mon, Feb 15, 2016 at 08:58:18AM +, Russell King - ARM Linux wrote: > On Mon, Feb 15, 2016 at 09:17:50AM +0100, Uwe Kleine-König wrote: > > On Sun, Feb 14, 2016 at 08:07:55PM +, Russell King - ARM Linux wrote: > > > On Sun, Feb 14, 2016 at 08:55:01PM +0100, Uwe

Re: [linux-sunxi] Re: [PATCH v2 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-15 Thread Linus Walleij
On Mon, Feb 15, 2016 at 9:08 AM, Krzysztof Adamski wrote: > On Thu, Feb 11, 2016 at 02:21:15PM +0100, Linus Walleij wrote: >> >> On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: >> >>> H3 has additional PIO controller similar to what we can find on A23. >>>

Re: [PATCH] iio: health/afe4403: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Daniel Baluta
On Mon, Feb 15, 2016 at 11:02 AM, Arnd Bergmann wrote: > The newly added afe4403 driver implements suspend/resume using the > SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual > functions when CONFIG_PM is disabled, causing a harmless warning: > >

Re: [PATCH v6 4/7] clk: mediatek: Add MT2701 clock support

2016-02-15 Thread James Liao
Hi Mike, On Wed, 2016-02-10 at 12:08 -0800, Michael Turquette wrote: > Quoting James Liao (2016-02-05 01:37:27) > > +CLK_OF_DECLARE(mtk_topckgen, "mediatek,mt2701-topckgen", > > mtk_topckgen_init); > > +CLK_OF_DECLARE(mtk_infrasys, "mediatek,mt2701-infracfg", > > mtk_infrasys_init); > >

Re: [PATCH] iio: health/afe4403: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Arnd Bergmann
On Monday 15 February 2016 11:18:20 Daniel Baluta wrote: > On Mon, Feb 15, 2016 at 11:02 AM, Arnd Bergmann wrote: > > The newly added afe4403 driver implements suspend/resume using the > > SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual > > functions when

[PATCH] iio: health/afe4404: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Arnd Bergmann
The newly added afe4404 driver implements suspend/resume using the SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual functions when CONFIG_PM is disabled, causing a harmless warning: health/afe4404.c:509:12: error: 'afe4404_suspend' defined but not used health/afe4404.c:530:12:

Re: [PATCH 1/5] x86: make platform/intel-quark/imr.c explicitly non-modular

2016-02-15 Thread Bryan O'Donoghue
On Sun, 2016-02-14 at 18:09 -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/platform/x86/Kconfig:config INTEL_IMR > drivers/platform/x86/Kconfig: bool "Intel Isolated Memory Region > support" > > ...meaning that it currently is not

Re: [PATCH] x86: make platform/intel-quark/imr_selftest.c explicitly non-modular

2016-02-15 Thread Bryan O'Donoghue
On Sun, 2016-02-14 at 18:09 -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > arch/x86/Kconfig.debug:config DEBUG_IMR_SELFTEST > arch/x86/Kconfig.debug:bool "Isolated Memory Region self test" > > ...meaning that it currently is not being built

[media 0/7] Driver bundle for PT3 & PX-Q3PE

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Polished driver bundle for PT3 & PX-Q3PE, two of the most powerful ISDB-S/ISDB-T receiver cards currently available in Japan. Useless features are removed. Main Components: A. PT3 (2 ISDB-S + 2 ISDB-T receiver) 1. Altera EP4CGX15BF14C8N :

[media 6/7] Sharp QM1D1C0042 ISDB-S tuner

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/tuners/qm1d1c0042.c | 246 ++ drivers/media/tuners/qm1d1c0042.h | 23 2 files changed, 269 insertions(+) create mode 100644

[media 2/7] add NXP tda2014x & Newport Media nm120/130/131 tuners

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/tuners/Kconfig| 14 ++ drivers/media/tuners/Makefile | 2 + drivers/media/tuners/nm131.c| 272 ++ drivers/media/tuners/nm131.h

[media 7/7] PCI bridge driver for PT3 & PXQ3PE

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/pci/Kconfig | 2 +- drivers/media/pci/Makefile | 2 +- drivers/media/pci/ptx/Kconfig | 21 ++ drivers/media/pci/ptx/Makefile | 8 +

[media 5/7] MaxLinear MxL301RF ISDB-T tuner

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/tuners/mxl301rf.c | 251 drivers/media/tuners/mxl301rf.h | 23 2 files changed, 274 insertions(+) create mode 100644

[media 4/7] Toshiba TC90522XBG quad demod (2ch OFDM + 2ch 8PSK) for PT3 & PXQ3PE

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/dvb-frontends/tc90522.c | 280 ++ drivers/media/dvb-frontends/tc90522.h | 18 +++ 2 files changed, 298 insertions(+) create mode

[media 3/7] drop backstabbing drivers

2016-02-15 Thread info
From: Буди Романто, AreMa Inc Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/dvb-frontends/tc90522.c | 840 drivers/media/dvb-frontends/tc90522.h | 42 -- drivers/media/pci/pt3/Kconfig | 10 -

[media 1/7] raise adapter number limit

2016-02-15 Thread info
From: Буди Романто, AreMa Inc The current limit is too low for latest cards with 8+ tuners on a single slot, change to 64. Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/dvb-core/dvbdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

  1   2   3   4   5   6   7   8   9   10   >