Re: [PATCH] perf stat: fix per-pkg event reporting bug

2015-09-03 Thread Stephane Eranian
On Thu, Sep 3, 2015 at 9:53 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 03, 2015 at 02:25:44PM +0200, Jiri Olsa escreveu: >> On Thu, Sep 03, 2015 at 05:16:41AM -0700, Stephane Eranian wrote: >> > On Thu, Sep 3, 2015 at 5:13 AM, Jiri Olsa wrote: >> > >

Re: [RFC 24/30] x86/entry/32: Switch INT80 to the new C syscall path

2015-09-03 Thread Andy Lutomirski
On Thu, Sep 3, 2015 at 9:45 AM, Brian Gerst wrote: > On Tue, Sep 1, 2015 at 6:41 PM, Andy Lutomirski wrote: >> Signed-off-by: Andy Lutomirski >> --- >> arch/x86/entry/entry_32.S | 34 +- >> 1 file changed, 13

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-09-03 Thread Arend van Spriel
On 09/03/2015 01:46 AM, Luis R. Rodriguez wrote: On Wed, Sep 2, 2015 at 4:29 PM, Dmitry Torokhov wrote: On Wed, Sep 2, 2015 at 4:22 PM, Luis R. Rodriguez wrote: On Wed, Sep 02, 2015 at 04:13:51PM -0700, Dmitry Torokhov wrote: On Wed, Sep 2, 2015

Re: [PATCH v2 1/2] clk: qcom: Add support for RPM Clocks

2015-09-03 Thread Bjorn Andersson
On Thu 03 Sep 08:40 PDT 2015, Georgi Djakov wrote: > Hi Stephen, > > On 09/02/2015 11:31 PM, Stephen Boyd wrote: > > On 08/03, Georgi Djakov wrote: > >> diff --git a/drivers/clk/qcom/clk-smd-rpm.c > >> b/drivers/clk/qcom/clk-smd-rpm.c > >> new file mode 100644 > >> index

Re: [PATCH v2 2/6] input: pwm-beeper: Fix module autoload for OF platform driver

2015-09-03 Thread Dmitry Torokhov
On Sat, Aug 29, 2015 at 12:45:38PM +0200, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt Applied, thank you. > --- >

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Eric Sandeen
On 9/3/15 1:22 PM, Richard Yao wrote: > What happens with this patch if /dev/$DEVICE is ext4 formatted and someone > runs > `mount -t ext3 /dev/$DEVICE $MNT`? > > This should fail with the ext3 driver, but it looks like it will work fine > with > CONFIG_EXT4_USE_FOR_EXT23 because ext3_fs_type

Re: [PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Greg Kroah-Hartman
On Fri, Sep 04, 2015 at 12:35:38AM +0600, Alexander Kuleshov wrote: > printk() supports %pM format specifier for printing 6-byte MAC/FDDI > addresses in hex notation small buffers, let's use it intead of %x:%x... > > Changelog: > > v1 -> v2: > > * In the first version of the patch was

Re: parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs

2015-09-03 Thread Helge Deller
Hi Andreas, On 03.09.2015 11:23, Andreas Ziegler wrote: > today's linux-next tree (next-20150903) contains commit 20f924902ff6 > ("parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs") > which you authored. > > I noticed it because we[0] are runnin

***Proposal****

2015-09-03 Thread Barr. Manuel Francisco Suarez
* Please Acknowledge My Proposal! My name is Mr. Manuel Francisco Suarez a lawyer resident in Spain. I am writing to let you know that I have some funds I want to transfer and am seeking if you can be a beneficiary.Do not

Re: Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-03 Thread Toshi Kani
On Thu, 2015-09-03 at 20:40 +0200, Luis R. Rodriguez wrote: > On Thu, Sep 03, 2015 at 02:10:14PM -0400, Prarit Bhargava wrote: > > > > > > On 09/03/2015 01:59 PM, Luis R. Rodriguez wrote: > > > On Thu, Sep 03, 2015 at 08:17:02AM -0400, Prarit Bhargava wrote: > > > > > > > > > > > > On

Re: [GIT] Networking

2015-09-03 Thread Julia Lawall
On Thu, 3 Sep 2015, Joe Perches wrote: > On Thu, 2015-09-03 at 11:22 -0700, Linus Torvalds wrote: > > On Thu, Sep 3, 2015 at 10:40 AM, David Miller wrote: > > > > > > Linus, what GCC version are you using and what does the warning look > > > like? > > > > I'm on whatever

[PATCH V8 7/7] perf,tools: Show freq/CPU%/CORE_BUSY% in perf report --stdio

2015-09-03 Thread kan . liang
From: Kan Liang Show frequency, CPU Utilization and percent performance for each symbol in perf report by --stdio --show-freq-perf In sampling group, only group leader do sampling. So only need to print group leader's freq in --group. Here is an example. $ perf report

[PATCH V8 5/7] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-09-03 Thread kan . liang
From: Kan Liang The group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE event can be used to calculate the frequency, CPU Utilization and percent performance during each sampling period. This patch shows them in report -D. Here is an example: $ perf record

[PATCH V8 2/7] perf,tools: read msr pmu type from header.

2015-09-03 Thread kan . liang
From: Kan Liang Get msr pmu type when processing pmu_mappings Signed-off-by: Kan Liang Acked-by: Jiri Olsa --- tools/perf/util/header.c | 3 +++ tools/perf/util/header.h | 1 + 2 files changed, 4 insertions(+) diff --git

[PATCH V8 1/7] perf,tools: introduce generic FEAT for CPU attributes

2015-09-03 Thread kan . liang
From: Kan Liang This patch introduces generic FEAT for CPU attributes. For the patch set, we only need cpu max frequency. But it can be easily extented to support more other CPU attributes. The cpu max frequency is from the first online cpu. Signed-off-by: Kan Liang

[PATCH v5 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-03 Thread Peter Griffin
reset-gpios is more clear than rst-gpio. This change has been done as one atomic commit but it does breaks compatability with older dtbs. Signed-off-by: Peter Griffin Acked-by: Lee Jones ---

Re: Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-03 Thread Prarit Bhargava
On 09/03/2015 01:59 PM, Luis R. Rodriguez wrote: > On Thu, Sep 03, 2015 at 08:17:02AM -0400, Prarit Bhargava wrote: >> >> >> On 09/02/2015 10:45 PM, Luis R. Rodriguez wrote: >>> On Mon, Aug 31, 2015 at 11:05:33AM -0500, Stuart Hayes wrote: Increase the range of chunk sizes tried in

[PATCH v5 6/6] [media] c8sectpfe: Simplify for loop in load_slim_core_fw

2015-09-03 Thread Peter Griffin
Signed-off-by: Peter Griffin --- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c

[PATCH v5 5/6] [media] c8sectpfe: Update DT binding doc with some minor fixes

2015-09-03 Thread Peter Griffin
Signed-off-by: Peter Griffin Acked-by: Lee Jones --- .../devicetree/bindings/media/stih407-c8sectpfe.txt| 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v5 0/6] [media] c8sectpfe: Various fixups

2015-09-03 Thread Peter Griffin
Hi Mauro, This series includes a couple of fixes for the c8sectpfe Linux dvb driver. The only difference versus v5 is on RobH advice we are back to "reset-gpios" for the binding. One was caused by omitting a patch from the original c8sectpfe series which defined the ssc2 and ssc3 dt nodes,

[PATCH v5 1/6] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3

2015-09-03 Thread Peter Griffin
Adding these properties makes the I2C bus to the demodulators much more reliable, and we no longer suffer from I2C errors when tuning. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 10 -- 1

[PATCH 2/3] arm64/setup: Use ID_AA64ISAR0_EL1_.* macros

2015-09-03 Thread Alexander Kuleshov
The 26d75e67c commit (arm64/cpufeature.h: Add macros for a cpu features testing) provides set of macros for the testing processor's crypto features. Let's use these macros instead of direct calculation. Signed-off-by: Alexander Kuleshov --- arch/arm64/kernel/setup.c | 29

[PATCH 3/3] arm64/fpsimd: Use ID_AA64PFR0_EL1_.* macros

2015-09-03 Thread Alexander Kuleshov
The 26d75e67c commit (arm64/cpufeature.h: Add macros for a cpu features testing) provides set of macros for the testing processor's FP and advanced SIMD features. Let's use these macros instead of direct calculation. Signed-off-by: Alexander Kuleshov ---

[PATCH 1/3] arm64/cpufeature.h: Add macros for a cpu features testing

2015-09-03 Thread Alexander Kuleshov
This patch provides a couple of macros for the testing of processor features (crypto and FP/SIMD) like support of SHA1, AES instructions, support for FPU and etc. There is already a couple of places in the arch/arm64/kernel where these processor features are tested and these macros are facilitate

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Sean O. Stalley
On Thu, Sep 03, 2015 at 09:46:54AM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > > On Wed, Sep 02, 2015

Re: [GIT] Networking

2015-09-03 Thread Linus Torvalds
On Thu, Sep 3, 2015 at 11:22 AM, Linus Torvalds wrote: > [-Wsizeof-array-argument] Ahh. Google shows that it's an old clang warning that gcc has recently picked up. But even clang doesn't seem to have any way for a project to say "please warn about arrays in

Re: [RFC 3/3] mmc: sdhci-pxav3: Add ->voltage_switch callback support

2015-09-03 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 07:21 PM, Shawn Lin wrote: On 2015/9/2 3:32, Vaibhav Hiremath wrote: In case PXA1928 family of devices, there is device/controller specific configuration to control voltage/power on the IO pins. This patch implements and enables the sdhci_ops->voltage_switch()

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Changelog: v1 -> v2: * In the first version of the patch was instruduced incorrect conversion, now there is previous formatting in the

Re: [PATCH v3 8/9] spi: rockchip: modify DMA max burst to 1

2015-09-03 Thread Mark Brown
On Thu, Sep 03, 2015 at 09:41:43PM +0800, Shawn Lin wrote: > On 2015/9/3 20:54, Mark Brown wrote: > >If this is a quirk of the DMA controller why is it being fixed with a > >property specific to the SPI controller? Can't the DMA controller just > >override the burst size? > Cool...that's a good

Re: Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-03 Thread Luis R. Rodriguez
On Thu, Sep 03, 2015 at 02:10:14PM -0400, Prarit Bhargava wrote: > > > On 09/03/2015 01:59 PM, Luis R. Rodriguez wrote: > > On Thu, Sep 03, 2015 at 08:17:02AM -0400, Prarit Bhargava wrote: > >> > >> > >> On 09/02/2015 10:45 PM, Luis R. Rodriguez wrote: > >>> On Mon, Aug 31, 2015 at 11:05:33AM

Re: [PATCH v2 4/5] drivers/misc/sgi-gru: fix dereference of ERR_PTR

2015-09-03 Thread Dimitri Sivanich
On Thu, Sep 03, 2015 at 08:20:50PM +0530, Sudip Mukherjee wrote: > gru_alloc_gts() can fail and it can return ERR_PTR(errvalue). We should > not dereference it if it has returned error. And incase it has returned > error then wait for some time and try again. > > Signed-off-by: Sudip Mukherjee

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Richard Yao
On Thu, Sep 03, 2015 at 01:36:45PM -0500, Eric Sandeen wrote: > On 9/3/15 1:22 PM, Richard Yao wrote: > > What happens with this patch if /dev/$DEVICE is ext4 formatted and someone > > runs > > `mount -t ext3 /dev/$DEVICE $MNT`? > > > > This should fail with the ext3 driver, but it looks like it

[PATCH] ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410

2015-09-03 Thread Nishanth Menon
With the support in the generic PM framework for wakeirq and capability added to the rtc-ds1307 driver to support this, we can now define the optional wakeup irq to allow the RTC to wakeup the system from low power modes as part of suspend. Signed-off-by: Nishanth Menon --- This

[PATCH] ARM: dts: am57xx-beagle-x15: Update Phy supplies

2015-09-03 Thread Nishanth Menon
Originally, all the SoC PHY rails were supplied by LDO3. However, as a result of characterization, it was determined that this posed a risk in extreme load conditions. Hence the PHY rails are split between two different LDOs. Update the related node as a result LDO3/VDDA_1V8_PHYA supplies

[tip:x86/urgent] x86/alternatives: Make optimize_nops() interrupt safe and synced

2015-09-03 Thread tip-bot for Thomas Gleixner
Commit-ID: 66c117d7fa2ae429911e60d84bf31a90b2b96189 Gitweb: http://git.kernel.org/tip/66c117d7fa2ae429911e60d84bf31a90b2b96189 Author: Thomas Gleixner AuthorDate: Thu, 3 Sep 2015 12:34:55 +0200 Committer: Thomas Gleixner CommitDate: Thu, 3 Sep

Re: [PATCH] remoteproc: report error if resource table doesn't exist

2015-09-03 Thread Suman Anna
On 08/28/2015 08:08 PM, Stefan Agner wrote: > Currently, if the resource table is completely missing in the > firmware, powering up the remoteproc fails silently. Add a message > indicating that the resource table is missing in the firmware. Yeah, pretty useful to have a trace there.. Acked-by:

[PATCH v3 3/3] ARM: dts: add suspend opp to exynos4412

2015-09-03 Thread Bartlomiej Zolnierkiewicz
Mark 800MHz OPP as a suspend opp for Exynos4412 based boards so effectively cpufreq-dt driver behavior w.r.t. suspend frequency matches what the old exynos-cpufreq driver has been doing. This patch fixes suspend/resume support on Exynos4412 based Trats2 board and reboot hang on Exynos4412 based

[PATCH v3 2/3] cpufreq-dt: add suspend frequency support

2015-09-03 Thread Bartlomiej Zolnierkiewicz
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Also implement custom suspend method (needed to not error out on platforms which don't require suspend frequency). Cc: Viresh Kumar

[PATCH v3 1/3] PM / OPP: add dev_pm_opp_get_suspend_opp() helper

2015-09-03 Thread Bartlomiej Zolnierkiewicz
Add dev_pm_opp_get_suspend_opp() helper to obtain suspend opp. Cc: Viresh Kumar Cc: Thomas Abraham Cc: Javier Martinez Canillas Cc: Krzysztof Kozlowski Cc: Marek Szyprowski

[PATCHv7] ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4

2015-09-03 Thread Anand Moon
Earlier design of the LED for Odroid XU3 was using gpio-leds Now It was change to using both pwm-leds and gpio-leds. Signed-off-by: Anand Moon Reviewed-by: Javier Martinez Canillas --- Changes from last version dropped following option.

[PATCH v5 3/6] [media] c8sectpfe: Remove select on undefined LIBELF_32

2015-09-03 Thread Peter Griffin
LIBELF_32 is not defined in Kconfig, and is left over legacy which is not required in the upstream driver, so remove it. Suggested-by: Valentin Rothberg Signed-off-by: Peter Griffin Acked-by: Lee Jones ---

[PATCH v3 0/3] cpufreq-dt: add suspend frequency support

2015-09-03 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds suspend frequency support (using opp-v2 bindings and suspend-opp functionality) to cpufreq-dt driver and then adds suspend opp for Exynos4412 based boards. This patch series fixes suspend/resume support on Exynos4412 based Trats2 board and reboot hang on Exynos4412

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Jiri Olsa
On Thu, Sep 03, 2015 at 01:41:09PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 03, 2015 at 07:23:43PM +0300, Adrian Hunter escreveu: > > On 3/09/2015 6:27 p.m., Arnaldo Carvalho de Melo wrote: > > >Em Thu, Sep 03, 2015 at 04:34:24PM +0300, Adrian Hunter escreveu: > > >>On 01/09/15 11:31,

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Darrick J. Wong
On Thu, Sep 03, 2015 at 06:22:25PM +, Richard Yao wrote: > What happens with this patch if /dev/$DEVICE is ext4 formatted and someone > runs > `mount -t ext3 /dev/$DEVICE $MNT`? > > This should fail with the ext3 driver, but it looks like it will work fine > with > CONFIG_EXT4_USE_FOR_EXT23

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-03 Thread Roman Bacik
Is there anything else we should address in this patch? Thanks, Roman > -Original Message- > From: Scott Branden [mailto:sbran...@broadcom.com] > Sent: August-31-15 9:17 AM > To: John Youn; Greg Kroah-Hartman; linux-...@vger.kernel.org; Roman > Bacik > Cc: linux-kernel@vger.kernel.org;

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- Changelog: v1 -> v2: * In the first version of the patch was instruduced incorrect

Re: perf fails to mmap data file (JFFS2)

2015-09-03 Thread Andi Kleen
Kenth Eriksson writes: > perf on 4.1 fails to mmap the perf data file (in > __perf_session__process_events) with error code 22 (invalid > argument). I believe the JFFS2 file system does not support PROT_READ > and MAP_SHARED. How can this be fixed? Can we change

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Jiri Olsa
On Thu, Sep 03, 2015 at 09:38:16PM +0300, Adrian Hunter wrote: SNIP > > > >perf_evlist__propagate_maps is called from perf_evlist__create_maps, > >so if evsel is added later it will not be affected, perhaps we need > >something like below > > Yes but it would be nice to have a single function

Re: [PATCH] [v4] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-09-03 Thread Darren Hart
On Tue, Sep 01, 2015 at 01:30:27PM -0400, Josh Boyer wrote: > On Fri, Aug 28, 2015 at 1:56 PM, Darren Hart wrote: > > On Wed, Aug 26, 2015 at 05:04:01AM -0700, Joe Perches wrote: > >> On Wed, 2015-08-26 at 00:22 -0700, Darren Hart wrote: > >> > On Tue, Aug 18, 2015 at

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Richard Yao
What happens with this patch if /dev/$DEVICE is ext4 formatted and someone runs `mount -t ext3 /dev/$DEVICE $MNT`? This should fail with the ext3 driver, but it looks like it will work fine with CONFIG_EXT4_USE_FOR_EXT23 because ext3_fs_type maps to ext4_mount. My system is not built with

Re: [GIT] Networking

2015-09-03 Thread Linus Torvalds
On Thu, Sep 3, 2015 at 10:40 AM, David Miller wrote: > > Linus, what GCC version are you using and what does the warning look > like? I'm on whatever is in F22. gcc -v says gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC) and the warning looks like so:

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Adrian Hunter
On 3/09/2015 9:19 p.m., Jiri Olsa wrote: On Thu, Sep 03, 2015 at 01:41:09PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Sep 03, 2015 at 07:23:43PM +0300, Adrian Hunter escreveu: On 3/09/2015 6:27 p.m., Arnaldo Carvalho de Melo wrote: Em Thu, Sep 03, 2015 at 04:34:24PM +0300, Adrian Hunter

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-03 Thread Austin S Hemmelgarn
On 2015-09-03 12:34, Stas Sergeev wrote: 03.09.2015 18:44, Austin S Hemmelgarn пишет: On 2015-09-03 08:15, Stas Sergeev wrote: 03.09.2015 15:11, Austin S Hemmelgarn пишет: On 2015-09-02 17:53, Stas Sergeev wrote: [... trimmed for brevity ...] I don't think the attack scenario was

Re: [PATCH v2 0/2] ARM: dts: rockchip: pull up cts lines

2015-09-03 Thread Heiko Stuebner
Hi Alex, Am Mittwoch, 2. September 2015, 16:27:57 schrieb Alexandru M Stan: > The flow control lines from a user accessible UART are optional, > the user might not have anything connected to those pins. > In order to prevent random interrupts happening and noise affecting > the cts pin should be

[for-next][PATCH] ring-buffer: Revert "ring-buffer: Get timestamp after event is allocated"

2015-09-03 Thread Steven Rostedt
One of my updates that was suppose to go into mainline in this merge window has a bug in it that causes the ring-buffer timestamp to slip out of sync. I haven't found the actual bug, but as this is holding up other changes, I'm reverting it. The patch hasn't made it into mainline, but other

Re: __might_sleep in uio_read()?

2015-09-03 Thread Greg KH
On Thu, Sep 03, 2015 at 11:47:34AM -0700, Andy Grover wrote: > On 09/03/2015 05:26 AM, Michal Hocko wrote: > >On Wed 02-09-15 15:45:10, Andy Grover wrote: > >>Hi Hans and Greg, > >> > >>Is this an issue with uio? I swear it didn't used to throw this warning... > >> > >>Thanks -- Andy > >> > >>[

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Darrick J. Wong
On Thu, Sep 03, 2015 at 07:16:19PM +, Richard Yao wrote: > On Thu, Sep 03, 2015 at 11:36:57AM -0700, Darrick J. Wong wrote: > > On Thu, Sep 03, 2015 at 06:22:25PM +, Richard Yao wrote: > > > What happens with this patch if /dev/$DEVICE is ext4 formatted and > > > someone runs > > > `mount

Re: [PATCH] infiniband:cxgb4:Fix if statement check in the function pick_local_ip6adddrs

2015-09-03 Thread Doug Ledford
On 08/26/2015 11:00 PM, Nicholas Krause wrote: > This fixes a if statement checking the return value of the function > get_lladdr for success in the function pick_local_ip6addrs to instead > of directly checking the return value of this call check the opposite > as get_lladdr returns zero for

Re: pcieport AER error spam on Intel Skylake

2015-09-03 Thread Alexander Duyck
On 09/03/2015 06:32 AM, Daniel Drake wrote: On Wed, Sep 2, 2015 at 7:57 PM, Alexander Duyck wrote: Since it is correctable errors it is likely some sort of signalling issue. Could we get the output of something like an lspci -vt? Then you would be able to tell what

[PATCH v5 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-09-03 Thread Peter Griffin
This patch adds in the required DT node for the c8sectpfe Linux DVB demux driver which allows the tsin channels to be used on an upstream kernel. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 35

Re: [PATCH v2 1/5] drivers/misc/sgi-gru: add return on error

2015-09-03 Thread Dimitri Sivanich
Acked-by: Dimitri Sivanich On Thu, Sep 03, 2015 at 08:20:47PM +0530, Sudip Mukherjee wrote: > If the buffer is too small then return the error and in the process > remove the variables which became unused. > > Signed-off-by: Sudip Mukherjee > --- > >

Re: [PATCH v2 5/5] drivers/misc/sgi-gru: remove unused variable

2015-09-03 Thread Dimitri Sivanich
Acked-by: Dimitri Sivanich On Thu, Sep 03, 2015 at 08:20:51PM +0530, Sudip Mukherjee wrote: > dw was only assigned some value and was never reused. > > Signed-off-by: Sudip Mukherjee > --- > > v2: It was part of first patch in v1. But since one logical

[PATCH] drm/msm/dsi: Parse lane swap information from DT

2015-09-03 Thread Hai Li
Lane swap configuration is based on the board design. This change allows the DSI host to get this information from device tree, instead of hardcoding in driver. Signed-off-by: Hai Li --- Documentation/devicetree/bindings/drm/msm/dsi.txt | 13 ++

Re: [GIT] Networking

2015-09-03 Thread Joe Perches
On Thu, 2015-09-03 at 11:22 -0700, Linus Torvalds wrote: > On Thu, Sep 3, 2015 at 10:40 AM, David Miller wrote: > > > > Linus, what GCC version are you using and what does the warning look > > like? > > I'm on whatever is in F22. gcc -v says > >gcc version 5.1.1

Re: __might_sleep in uio_read()?

2015-09-03 Thread Andy Grover
On 09/03/2015 05:26 AM, Michal Hocko wrote: On Wed 02-09-15 15:45:10, Andy Grover wrote: Hi Hans and Greg, Is this an issue with uio? I swear it didn't used to throw this warning... Thanks -- Andy [ 5174.883261] [ cut here ] [ 5174.883617] WARNING: CPU: 0 PID: 1532 at

Re: [GIT] Networking

2015-09-03 Thread David Miller
From: Linus Torvalds Date: Thu, 3 Sep 2015 11:22:10 -0700 > (note the lack of warning about the use of an array in the function > definition parameter list - I tried to find if there's any way to > enable such a warning, but couldn't find anything. Maybe my

Re: [PATCH v2] clk: rockchip: reset init state before mmc card initialization

2015-09-03 Thread Heiko Stuebner
Am Dienstag, 25. August 2015, 08:34:36 schrieb Shawn Lin: > mmc host controller's IO input/output timing is unpredictable if > bootloader execute tuning for HS200 mode. It might make kernel failed > to initialize mmc card in identification mode. The root cause is > tuning phase and degree setting

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-03 Thread Richard Yao
On Thu, Sep 03, 2015 at 11:36:57AM -0700, Darrick J. Wong wrote: > On Thu, Sep 03, 2015 at 06:22:25PM +, Richard Yao wrote: > > What happens with this patch if /dev/$DEVICE is ext4 formatted and someone > > runs > > `mount -t ext3 /dev/$DEVICE $MNT`? > > > > This should fail with the ext3

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-03 Thread Murali Karicheri
Tony, On 09/03/2015 10:26 AM, Tony Lindgren wrote: * santosh shilimkar [150902 08:55]: I suspected the same. I know back then we started with SERDES code with NETCP but as you already know, its a separate block which is needed for NIC card to work. Its more of

[PATCH] net: fec: normalize return value of pm_runtime_get_sync() in MDIO write

2015-09-03 Thread Maciej S. Szmigiero
If fec MDIO write method succeeds its return value comes from call to pm_runtime_get_sync(). But pm_runtime_get_sync() can also return 1. In case of Micrel KSZ9031 PHY this value will then be returned along the call chain of phy_write() -> ksz9031_extended_write() -> ksz9031_center_flp_timing()

[PATCH 4.2] hid_dr: Fixed HID Descriptor

2015-09-03 Thread Maciej Zuk
From: Maciej Zuk Fixed HID descriptor for DragonRise Joystick. Replaced default descriptor which doubles Z axis and causes mixing values of X and Z axes. Signed-off-by: Maciej Zuk --- drivers/hid/hid-dr.c | 58

[PATCH V8 0/7] Freq/CPU%/CORE_BUSY% support

2015-09-03 Thread kan . liang
From: Kan Liang This patch set supports per-sample freq/CPU%/CORE_BUSY% print in perf report -D and --stdio. For printing these information, the perf.data file must have been obtained by group read and using special events cycles, ref-cycles, msr/tsc/, msr/aperf/ or

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Richard W.M. Jones
On Thu, Sep 03, 2015 at 12:41:47PM +0200, Thomas Gleixner wrote: > On Thu, 3 Sep 2015, Borislav Petkov wrote: > > On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > > > static void __init_or_module add_nops(void *insns, unsigned int len) > > > { > > > + unsigned long flags; > > >

Re: [PATCH v2 7/8] soc: qcom: smd_rpm: Handle big endian CPUs

2015-09-03 Thread Bjorn Andersson
On Wed 02 Sep 15:46 PDT 2015, Stephen Boyd wrote: > The smd rpm structures are always in little endian, but this > driver is not capable of being used on big endian CPUs. Annotate > the little endian data members and update the code to do the > proper byte swapping. > Reviewed-by: Bjorn

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-03 Thread Stas Sergeev
03.09.2015 19:57, Linus Torvalds пишет: > On Thu, Sep 3, 2015 at 8:44 AM, Austin S Hemmelgarn > wrote: >> >> This lets you turn this on or off at runtime. > > Tangential aside: we already effectively have a flag that could turn > off vm86 mode dynamically:

[RFC/PATCH 2/3] perf probe: Rename __event_package to probe_event_package

2015-09-03 Thread Namhyung Kim
The struct __event_package can be accessed now from other than probe-event.c code. So rename it to more specific name. Cc: Masami Hiramatsu Signed-off-by: Namhyung Kim --- tools/perf/util/probe-event.c | 18 ++

[RFC/PATCH 3/3] perf probe: Move print logic into cmd_probe()

2015-09-03 Thread Namhyung Kim
Showing actual trace event when adding perf events is only needed in perf probe command. But the add functionality itself can be used by other places. So move the printing code into the cmd_probe(). Also it combines the output if more than one event is added. Before: $ sudo perf probe -a

[RFC/PATCH 1/3] perf probe: Split add_perf_probe_events()

2015-09-03 Thread Namhyung Kim
The add_perf_probe_events() does 3 things: 1. convert all perf events to trace events 2. add all trace events to kernel 3. cleanup all trace events But sometimes we need to do something with the trace events. So split the funtion into two, so that it can access intermediate trace events via

Re: [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()

2015-09-03 Thread Dmitry Torokhov
On Sat, Aug 29, 2015 at 03:05:24AM +0200, Javier Martinez Canillas wrote: > The drivers have a I2C device ID table that is used to create the module > aliases and also "cyttsp" and "cyttsp4" are not supported I2C device IDs > so these module aliases are never used. > > Signed-off-by: Javier

Re: Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-03 Thread Luis R. Rodriguez
On Thu, Sep 03, 2015 at 08:17:02AM -0400, Prarit Bhargava wrote: > > > On 09/02/2015 10:45 PM, Luis R. Rodriguez wrote: > > On Mon, Aug 31, 2015 at 11:05:33AM -0500, Stuart Hayes wrote: > >> Increase the range of chunk sizes tried in mtrr_cleanup() so it is able > >> to map large memory configs

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-03 Thread Doug Anderson
Hi, On Thu, Sep 3, 2015 at 8:46 AM, Rob Herring wrote: > On Thu, Sep 3, 2015 at 10:18 AM, Russell King - ARM Linux > wrote: >> On Thu, Sep 03, 2015 at 09:46:38AM -0500, Rob Herring wrote: >>> Yes, that is fairly common (ADV75xx is same), and we

[PATCH] HID: mode button quirk for Mad Catz R.A.T.5

2015-09-03 Thread Harald Brinkmann
Hi all, this patch applies to Linux 4.2.0. It enables the Saitek HID quirk for the mode button of the Mad Catz R.A.T.5 gaming mouse. Signed-off-by: Harald Brinkmann --- drivers/hid/Kconfig |5 ++--- drivers/hid/hid-core.c |1 +

Re: [PATCH v3 2/4] perf tests: make objdump disassemble zero blocks

2015-09-03 Thread Jan Stancek
On 09/03/2015 05:14 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 03, 2015 at 02:35:55PM +0300, Adrian Hunter escreveu: >> On 03/09/15 14:23, Jan Stancek wrote: >>> Add -z parameter to avoid skipping zero blocks: >>> >>> 816704fe : >>> 816704fe: 7b 34

Announce loop-AES-v3.7e file/swap crypto package

2015-09-03 Thread Jari Ruusu
loop-AES changes since previous release: - Worked around block layer interface changes on 4.2 kernels. bzip2 compressed tarball is here: http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.7e.tar.bz2 md5sum 209fd5f3e658d6527bc1607f8726acda

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-03 Thread Tejun Heo
Hello, Vladimir. On Wed, Sep 02, 2015 at 12:30:39PM +0300, Vladimir Davydov wrote: ... > To sum it up. Basically, there are two ways of handling kmemcg charges: > > 1. Make the memcg try_charge mimic alloc_pages behavior. > 2. Make API functions (kmalloc, etc) work in memcg as if they were >

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 03, 2015 at 07:23:43PM +0300, Adrian Hunter escreveu: > On 3/09/2015 6:27 p.m., Arnaldo Carvalho de Melo wrote: > >Em Thu, Sep 03, 2015 at 04:34:24PM +0300, Adrian Hunter escreveu: > >>On 01/09/15 11:31, tip-bot for Kan Liang wrote: > >>>Commit-ID:

Re: [PATCH] staging: most: Use NULL instead of 0 in assignment of pointer

2015-09-03 Thread Greg KH
On Thu, Aug 20, 2015 at 12:12:51AM +0200, Anders Fridlund wrote: > Fix sparse warning 'Using plain integer as NULL pointer' by replacing 0 > with NULL in the assignment. > > Signed-off-by: Anders Fridlund > --- > drivers/staging/most/aim-network/networking.c | 2 +- >

Re: [PATCH] staging: ft1000_pcmcia: staticize local functions in ft1000_dnld.c

2015-09-03 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2015 at 06:19:22PM +0300, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport I can't take a patch with no changelog entry at all :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] staging: fsl-mc: Upgraded MC flibs used in MC bus driver

2015-09-03 Thread Greg KH
On Wed, Aug 19, 2015 at 11:52:40AM -0500, J. German Rivera wrote: > Since signatures of flib functions have changed, we had to > change all the corresponding calls in the MC bus driver > > Signed-off-by: J. German Rivera > --- > drivers/staging/fsl-mc/bus/dpbp.c

Re: [PATCH v2 1/6] input: ab8500-ponkey: Fix module autoload for OF platform driver

2015-09-03 Thread Dmitry Torokhov
On Sat, Aug 29, 2015 at 12:43:51PM +0200, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt Applied, thank you. > --- >

Re: [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN

2015-09-03 Thread Srinivas Kandagatla
On 25/08/15 22:33, Stephen Boyd wrote: On 08/18/2015 06:06 AM, Srinivas Kandagatla wrote: @@ -10,6 +11,20 @@ serial1 = _serial; }; +pwrseq { +#address-cells = <1>; +#size-cells = <1>; +ranges; Why do we need any of these three properties? Yep,

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-03 Thread Austin S Hemmelgarn
On 2015-09-03 08:15, Stas Sergeev wrote: 03.09.2015 15:11, Austin S Hemmelgarn пишет: On 2015-09-02 17:53, Stas Sergeev wrote: 03.09.2015 00:40, Andy Lutomirski пишет: On Wed, Sep 2, 2015 at 2:12 PM, Stas Sergeev wrote: 02.09.2015 23:55, Andy Lutomirski пишет: On Wed, Sep 2,

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-03 Thread Rob Herring
On Thu, Sep 3, 2015 at 10:18 AM, Russell King - ARM Linux wrote: > On Thu, Sep 03, 2015 at 09:46:38AM -0500, Rob Herring wrote: >> Yes, that is fairly common (ADV75xx is same), and we would not >> describe an I2C bus in DT in that case. Same with HPD directly handled >>

[PATCH 0/5] [media] Create pads links after entities registration

2015-09-03 Thread Javier Martinez Canillas
Hello, This series changes all the MC media drivers that are currently creating pads links before registering the media entities with the media device. The patches are similar to the ones posted for the OMAP3 ISP driver [0] and depends on Mauro's "[PATCH v8 00/55] MC next generation patches"

[PATCH 2/5] [media] v4l: vsp1: create pad links after subdev registration

2015-09-03 Thread Javier Martinez Canillas
The vsp1 driver creates the pads links before the media entities are registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Move entities registration logic before pads links creation. Signed-off-by: Javier Martinez

[PATCH 1/5] [media] staging: omap4iss: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
The omap4iss driver initializes the entities and creates the pads links before the entities are registered with the media device. This does not work now that object IDs are used to create links so the media_device has to be set. Split out the pads links creation from the entity initialization so

[PATCH 3/5] [media] v4l: vsp1: separate links creation from entities init

2015-09-03 Thread Javier Martinez Canillas
The vsp1 driver initializes the entities and creates the pads links before the entities are registered with the media device. This doesn't work now that object IDs are used to create links so the media_device has to be set. Split out the pads links creation from the entity initialization so are

[GIT PULL 0/2] perf/urgent fixes

2015-09-03 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-09-02 09:22:53 +0200) are available in the

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Adrian Hunter
On 3/09/2015 6:27 p.m., Arnaldo Carvalho de Melo wrote: Em Thu, Sep 03, 2015 at 04:34:24PM +0300, Adrian Hunter escreveu: On 01/09/15 11:31, tip-bot for Kan Liang wrote: Commit-ID: d988d5ee647861706bc7a391ddbc29429b50f00e Gitweb:

Re: [PATCH] dax, pmem: add support for msync

2015-09-03 Thread Ross Zwisler
On Thu, Sep 03, 2015 at 09:32:02AM +0300, Boaz Harrosh wrote: > On 09/02/2015 10:04 PM, Ross Zwisler wrote: > > On Tue, Sep 01, 2015 at 03:18:41PM +0300, Boaz Harrosh wrote: > <> > >> Apps expect all these to work: > >> 1. open mmap m-write msync ... close > >> 2. open mmap m-write fsync ... close

<    4   5   6   7   8   9   10   11   12   13   >