[PATCH 0/2] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-15 Thread rogerable
From: Roger Tseng rogera...@realtek.com (The original patch for PCI and USB was splitted here to make it easier for stable tree.) Current code erroneously fill the last byte of R2 response with an undefined value. In addition, the controller actually 'offloads' the last byte (CRC7, end bit)

[PATCH 2/2] mmc: rtsx_usb_sdmmc: fix incorrect last byte in R2 response

2014-08-15 Thread rogerable
From: Roger Tseng rogera...@realtek.com Current code erroneously fill the last byte of R2 response with an undefined value. In addition, the controller actually 'offloads' the last byte (CRC7, end bit) while receiving R2 response and thus it's impossible to get the actual value. This could cause

[PATCH 1/2] mmc: rtsx_pci_sdmmc: fix incorrect last byte in R2 response

2014-08-15 Thread rogerable
From: Roger Tseng rogera...@realtek.com Current code erroneously fill the last byte of R2 response with an undefined value. In addition, the controller actually 'offloads' the last byte (CRC7, end bit) while receiving R2 response and thus it's impossible to get the actual value. This could cause

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Alexei Starovoitov
On Thu, Aug 14, 2014 at 2:20 PM, Brendan Gregg brendan.d.gr...@gmail.com wrote: On Wed, Aug 13, 2014 at 12:57 AM, Alexei Starovoitov a...@plumgrid.com wrote: [...] +/* For tracing filters save first six arguments of tracepoint events. + * On 64-bit architectures argN fields will match one to

Re: [PATCH v4] x86, hotplug: fix llc shared map unreleased during cpu hotplug

2014-08-15 Thread Borislav Petkov
On Fri, Aug 15, 2014 at 11:00:42AM +0800, Wanpeng Li wrote: Is it ok for you to apply this patch or still need update? Just be patient: we have the merge window still open and after that kernel summit coming up first. -- Regards/Gruss, Boris. Sent from a fat crate under my desk.

[git pull] Input updates for 3.17-rc0 (part 2)

2014-08-15 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive 2nd round of updates for the input subsystem. Mostly small fixups to the code merged in the first

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-15 Thread Sergey Senozhatsky
On (08/15/14 11:27), Chao Yu wrote: Now we have supported handling discard request which is sended by filesystem, but no interface could be used to show information of discard. This patch adds num_discards to stat discarded pages, then export it to sysfs for displaying. a side question: we

Re: [PATCH V3] hwmon, k10temp: Add support for F15h M60h

2014-08-15 Thread Borislav Petkov
On Thu, Aug 14, 2014 at 06:15:27PM -0500, Aravind Gopalakrishnan wrote: This patch adds temperature monitoring support for F15h M60h processor. - Add new pci device id for the relevant processor - The functionality of REG_REPORTED_TEMPERATURE is moved to D0F0xBC_xD820_0CA4 [Reported

[PATCH] keys, encrypted: add forgotten newline characters

2014-08-15 Thread Jarkko Sakkinen
I was debugging patches that I'm working for trusted keys. I have a test case where I seal an encrypted key with a trusted key. Piping of the encrypted key failed but I couldn't see any error message from the encrypted subsystem. Then I tried my test a second time and error message was visible

Re: [RFC 0/3] Experimental patchset for CPPC

2014-08-15 Thread Peter Zijlstra
On Thu, Aug 14, 2014 at 05:56:10PM -0400, Ashwin Chaugule wrote: Hi Peter, On 14 August 2014 16:51, Peter Zijlstra pet...@infradead.org wrote: On Thu, Aug 14, 2014 at 03:57:07PM -0400, Ashwin Chaugule wrote: What is CPPC: = CPPC is the new interface for CPU

Re: [PATCH RFC v4 net-next 25/26] samples: bpf: counting eBPF example in C

2014-08-15 Thread Alexei Starovoitov
On Thu, Aug 14, 2014 at 3:13 PM, Brendan Gregg brendan.d.gr...@gmail.com wrote: On Wed, Aug 13, 2014 at 12:57 AM, Alexei Starovoitov a...@plumgrid.com wrote: this example has two probes in C that use two different maps. 1st probe is the similar to dropmon.c. It attaches to kfree_skb

Re: [PATCH RFC] time,signal: protect resource use statistics with seqlock

2014-08-15 Thread Peter Zijlstra
On Fri, Aug 15, 2014 at 07:19:31AM +0200, Mike Galbraith wrote: For the N threads doing this on N cores case, seems rq-lock hammering will still be a source of major box wide pain. Is there any correctness reason to add up unaccounted -on_cpu beans, or is that just value added? That delta

Re: [RFC v2 0/2] vfs / btrfs: add support for ustat()

2014-08-15 Thread Christoph Hellwig
On Thu, Aug 14, 2014 at 10:48:05PM -0400, Luis R. Rodriguez wrote: Any further advice? I'll submit a v3 for RFC with some small change for a fix for stress testing identified by Filipe Manana. The advice is to stop setting different dev_t values for different files in btrfs. -- To unsubscribe

Re: [PATCH V3] hwmon, k10temp: Add support for F15h M60h

2014-08-15 Thread Clemens Ladisch
Aravind Gopalakrishnan wrote: This patch adds temperature monitoring support for F15h M60h processor. - Add new pci device id for the relevant processor - The functionality of REG_REPORTED_TEMPERATURE is moved to D0F0xBC_xD820_0CA4 [Reported Temperature Control] - So, use this to get

Re: [PATCH RFC v4 net-next 03/26] bpf: introduce syscall(BPF, ...) and BPF maps

2014-08-15 Thread Alexei Starovoitov
On Thu, Aug 14, 2014 at 3:28 PM, Brendan Gregg brendan.d.gr...@gmail.com wrote: On Wed, Aug 13, 2014 at 12:57 AM, Alexei Starovoitov a...@plumgrid.com wrote: [...] maps can have different types: hash, bloom filter, radix-tree, etc. The map is defined by: . type . max number of

[PATCH v2] ext4: include journal blocks of internal journal in df overhead calcs

2014-08-15 Thread Chin-Tsung Cheng
The journal blocks of external journal device should not be counted as overhead. Signed-off-by: Chin-Tsung Cheng chintz...@gmail.com --- fs/ext4/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 32b43ad..a80b122 100644 ---

Re: [PATCHv10 2/2] arm: dts: Add Altera SDRAM EDAC bindings devicetree entries.

2014-08-15 Thread Steffen Trumtrar
Hi! ttha...@opensource.altera.com writes: From: Thor Thayer ttha...@opensource.altera.com Add the Altera SDRAM EDAC bindings and device tree changes to the Altera SoC project. Signed-off-by: Thor Thayer ttha...@opensource.altera.com --- v2: Changes to SoC SDRAM EDAC code. v3:

linux-next: few releases for the next week

2014-08-15 Thread Stephen Rothwell
Hi all, linux-next releases will be intermittent at best over the next week while I, and others, are at Kernel Summit. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

[PATCH 2/3] smp: re-implement the kick_all_cpus_sync() with wake_up_if_idle()

2014-08-15 Thread Chuansheng Liu
Currently using smp_call_function() just woke up the corresponding cpu, but can not break the polling idle loop. Here using the new sched API wake_up_if_idle() to implement it. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- kernel/smp.c | 18 +++--- 1 file changed, 11

[PATCH 3/3] cpuidle: Using the kick_all_cpus_sync() to wake up all cpus

2014-08-15 Thread Chuansheng Liu
Current latency notify callback has the same function with kick_all_cpus_sync(). Here use it directly to remove the redundant code. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- drivers/cpuidle/cpuidle.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH 1/3] sched: Add new API wake_up_if_idle() to wake up the idle cpu

2014-08-15 Thread Chuansheng Liu
Implementing one new API wake_up_if_idle(), which is used to wake up the idle CPU. Suggested-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Chuansheng Liu chuansheng@intel.com --- include/linux/sched.h |1 + kernel/sched/core.c | 16 2 files changed, 17

[PATCH v2 03/14] perf Documentation: sysfs events/ interfaces

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Add documentation for the event, event.scale, and event.unit files in sysfs. event.scale and event.unit were undocumented. event was previously documented only for specific powerpc pmu events. CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer

[PATCH v2 08/14] tools/perf: document parameterized events and note symbolically formed events

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- tools/perf/Documentation/perf-list.txt | 13 +

[PATCH v2 10/14] powerpc/perf/hv-24x7: parse catalog and populate sysfs with events

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Retrieves and parses the 24x7 catalog on POWER systems that supply it (right now, only POWER 8). Events are exposed via sysfs in the standard fashion, and are all parameterized. Catalog is (at the moment) only parsed on boot. It needs re-parsing when a some

[PATCH v2 12/14] perf: add PMU_EVENT_ATTR_STRING() helper

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Helper for constructing static struct perf_pmu_events_attr s. CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com ---

[PATCH v2 11/14] powerpc/perf/hv-24x7: Documentaion for new sysfs entries which expose descriptions

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- .../testing/sysfs-bus-event_source-devices-hv_24x7 | 22

[PATCH v2 05/14] tools/perf: annotate list_head with type info

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- tools/perf/util/pmu.c | 4 ++-- tools/perf/util/pmu.h | 6 +++--- 2

[PATCH v2 13/14] powerpc/perf/{hv-gpci,hv-common}: generate requests with counters annotated

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum values

[PATCH v2 14/14] powerpc/perf/hv-gpci: add the remaining gpci requests

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Add the remaining gpci requests that contain counters suitable for use by perf. Omit those that don't contain any counters (but note their ommision). CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer

[PATCH v2 00/14] Add support for parameterized events from sysfs

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com What this patchset does: - the first patch (override sysfs in tools/perf via SYSFS_PATH) was sent out previously, but needed a resend anyhow. Having it is useful for testing the later changes to tools/perf. - the second patch is a bugfix to the

[PATCH v2 06/14] tools/perf: support parsing parameterized events

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Enable event specification like: pmu/event_name,param1=0x1,param2=0x4/ Assuming that /sys/bus/event_source/devices/pmu/events/event_name Contains something like bar=param2,foo=1,baz=param1 CC: Haren Myneni hb...@us.ibm.com CC:

[PATCH v2 07/14] tools/perf: extend format_alias() to include event parameters

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com This causes `perf list pmu` to show parameters for parameterized events like follows: pmu/event_name,param1=?,param2=?/ [Kernel PMU event] An example: hv_gpci/dispatch_timebase_by_processor_processor_time_in_timebase_cycles,phys_processor_idx=?/

[PATCH v2 04/14] perf Documentation: add event parameters

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event. It is intended for supporting cases where the single 'cpu' parameter is

[PATCH v2 01/14] powerpc/perf/hv-24x7: use kmem_cache instead of aligned stack allocations

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Ian pointed out the use of __aligned(4096) caused rather large stack consumption in single_24x7_request(), so use the kmem_cache hv_page_cache (which we've already got set up for other allocations) insead of allocating locally. CC: Haren Myneni

[PATCH v2 04/14] perf Documentation: remove duplicated docs for powerpc cpu specific events

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com Listing specific events doesn't actually help us at all here because: - these events actually vary between different ppc processors, they aren't garunteed to be present. - the documentation of the (generic) file contents is now superceded by the docs

[PATCH v2 09/14] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com (struct perf_pmu_events_attr) is defined in include/linux/perf_event.h, but the only show for it is in x86 and contains x86 specific stuff. Make a generic one for those of us who are just using the event_str. CC: Haren Myneni hb...@us.ibm.com CC: Cody P

[PATCH] arm: irq: fix the affinity when migrate a irq

2014-08-15 Thread Neil Zhang
Commit ffde1de64012 (irqchip: Gic: Support forced affinity setting) has enable the forcing cpu affinity of interrupts for gic. The current code of migrate_one_irq will pass the current affinity mask to irq_set_affinity with force is true, it may select the cpu being offlined as the target CPU

Re: [PATCH v2 00/14] Add support for parameterized events from sysfs

2014-08-15 Thread Peter Zijlstra
On Fri, Aug 15, 2014 at 12:26:09AM -0700, Sukadev Bhattiprolu wrote: include/linux/perf_event.h | 10 + kernel/events/core.c | 8 + Those are patches 9 and 12 iirc, no objection to that. I've not had time to actually think about the

Re: Kernel 3.16.0 USB crash

2014-08-15 Thread Claudio Bizzarri
On Thu, Aug 14, 2014 at 11:46:33AM +0200, Hans de Goede wrote: Hi, ... Can you collect lsusb -v output for the drive in question when connected through an usb-3 port (the uas module does not need to be loaded). Here lsusb output, full text as attachment Bus 003 Device 003: ID 152d:0567

PROBLEM: External USB HDD Seagate Backup Plus tooks too much time to mount in linux 3.15+

2014-08-15 Thread mrDoctorWho0 .
1. External USB HDD Seagate Backup Plus tooks too much time to mount 2. When i used linux 3.14 all was fine, but when i've updated it to 3.15 i began to experience these problems: - random system freezes when something read/write on the disk (linux ver 3.15, not 3.16) - too much time to mount

Re: [PATCH 1/1] mmc: core: Use regulator_get_voltage() if OCR mask is empty.

2014-08-15 Thread Javier Martinez Canillas
Hello Tim, On 08/15/2014 07:36 AM, Tim Kryger wrote: On Thu, Aug 14, 2014 at 8:19 AM, Mark Brown broo...@kernel.org wrote: Right, there's two things going on here. One is that as you describe we shouldn't be putting constraints in .dtsi files if we don't know they're OK for a given board.

[PATCH] ext3: Count internal journal as bsddf overhead in ext3_statfs

2014-08-15 Thread Chin-Tsung Cheng
The journal blocks of external journal device should not be counted as overhead. Signed-off-by: Chin-Tsung Cheng chintz...@gmail.com --- fs/ext3/super.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 08cdfe5..622e882 100644 ---

Re: [PATCH] mmc: check EXT_CSD_PARTITION_SETTING_COMPLETED before creating partitions

2014-08-15 Thread Ulf Hansson
On 14 August 2014 15:27, Grégory Soutadé gsout...@neotion.com wrote: Le 14/08/2014 13:46, Ulf Hansson a écrit : On 13 August 2014 11:20, Grégory Soutadé gsout...@neotion.com wrote: Le 13/08/2014 10:36, Ulf Hansson a écrit : On 17 July 2014 16:57, Grégory Soutadé gsout...@neotion.com wrote:

Re: [Patch v3 2/2] freezer: remove obsolete comments in __thaw_task()

2014-08-15 Thread Michal Hocko
On Thu 14-08-14 14:15:26, Cong Wang wrote: __thaw_task() no longer clears frozen flag. since a3201227f803 (freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE). Cc: David Rientjes rient...@google.com Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Tejun Heo

Re: [PATCH V2] I2C: Rework kernel config I2C_ACPI

2014-08-15 Thread Mika Westerberg
On Fri, Aug 15, 2014 at 01:38:59PM +0800, Lan Tianyu wrote: Commit da3c6647(I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI config) adds a new kernel config I2C_ACPI and make I2C core built in when the config is selected. This is wrong because distributions etc generally compile I2C

Re: network interfaces called all, default or config

2014-08-15 Thread Stephane Chazelas
Yes, I know those are also used for the eth0:1 aliases, but the bug is, since it is allowed to do ip link add link eth0 eth0:123 type vlan id 123 Then the ip link del link eth0 eth0:123 should be allowed as well. Or probably better to avoid confusion ip link add link eth0 foo:bar

Re: [Patch] x86,mm: check freeze request in page fault handler

2014-08-15 Thread Michal Hocko
On Wed 13-08-14 17:26:48, Cong Wang wrote: On Wed, Aug 13, 2014 at 2:36 AM, Michal Hocko mho...@suse.cz wrote: On Tue 12-08-14 17:47:02, Cong Wang wrote: [...] Does the following updated patch make any sense to you? If not, I will just drop it. Not really to be honest. I do not see

Re: [PATCH] can: dev: remove unused variable from can_calc_bittiming() function

2014-08-15 Thread Marc Kleine-Budde
On 08/07/2014 10:17 AM, Lad, Prabhakar wrote: this patch removes best_rate variable from can_calc_bittiming() function which was set but was never used. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Applied to can-next. Thanks, Marc -- Pengutronix e.K. | Marc

Re: [PATCH] can: mcp251x: Use dmam_alloc_coherent

2014-08-15 Thread Marc Kleine-Budde
On 08/02/2014 03:52 PM, Himangi Saraogi wrote: This patch moves the data allocated using dma_alloc_coherent to the corresponding managed interface and does away with the calls to free the allocated memory in the probe and remove functions. Signed-off-by: Himangi Saraogi himangi...@gmail.com

Re: [PATCH v3] sched/deadline: overrun could happen in start_hrtick_dl

2014-08-15 Thread xiaofeng.yan
On 2014/8/12 22:52, Ingo Molnar wrote: * xiaofeng.yan xiaofeng@huawei.com wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK

[PATCH] Input: hyperv-keyboard - implement Type Clipboard Text

2014-08-15 Thread Dexuan Cui
In the menu of the Hyper-V's Virtual Machine Connection, there is a feature called Clipboard | Type clipboard text, which can be used to copy a string in the host's clipboard into the guest's current input focus(text console or a GUI window). Currently the feature doesn't work for Linux VM

Re: [PATCH] arm: irq: fix the affinity when migrate a irq

2014-08-15 Thread Sudeep Holla
Hi Neil, On 15/08/14 08:31, Neil Zhang wrote: Commit ffde1de64012 (irqchip: Gic: Support forced affinity setting) has enable the forcing cpu affinity of interrupts for gic. The current code of migrate_one_irq will pass the current affinity mask to irq_set_affinity with force is true, it may

Re: [PATCH] arm: irq: fix the affinity when migrate a irq

2014-08-15 Thread Russell King - ARM Linux
On Fri, Aug 15, 2014 at 03:31:57PM +0800, Neil Zhang wrote: Commit ffde1de64012 (irqchip: Gic: Support forced affinity setting) has enable the forcing cpu affinity of interrupts for gic. The current code of migrate_one_irq will pass the current affinity mask to irq_set_affinity with force is

SCTP_PEER_ADDR_CHANGE Notification over UNCONFIRMED path

2014-08-15 Thread zhuyj
Hi, Vlad DEEPAK Michael David From Michael DEEPAK lxr SCTP implementation, doesn't transit the path state to INACTIVE, if it was never confirmed. this leads to SCTP_PEER_ADDRESS_CHANGE notification after each failed probe from this time. Is there any specific reason to have same

Re: [PATCHv2] HID:hid-logitech: Prevent possibility of infinite loop when using /sys interface

2014-08-15 Thread Jiri Kosina
On Thu, 14 Aug 2014, Simon Wood wrote: If the device data is not accessible for some reason, returning 0 will cause the call to be continuously called again as none of the string has been 'consumed'. Signed-off-by: Simon Wood si...@mungewell.org --- drivers/hid/hid-lg4ff.c | 4 ++-- 1

[PATCH] x86_32, entry: Clean up sysenter_badsys declaration

2014-08-15 Thread Stefan Bader
commit 554086d85e x86_32, entry: Do syscall exit work on badsys (CVE-2014-4508) introduced a new jump label (sysenter_badsys) but somehow the END statements seem to have gone wrong (at least it feels that way to me). This does not seem to be a fatal problem, but just for the sake of symmetry,

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-15 Thread Wei Yang
On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding

Re: [PATCH 1/1] mmc: core: Use regulator_get_voltage() if OCR mask is empty.

2014-08-15 Thread Mark Brown
On Thu, Aug 14, 2014 at 10:36:18PM -0700, Tim Kryger wrote: On Thu, Aug 14, 2014 at 8:19 AM, Mark Brown broo...@kernel.org wrote: Right, there's two things going on here. One is that as you describe we shouldn't be putting constraints in .dtsi files if we don't know they're OK for a

Re: Issue with commit 33c133cc7598e60976a phy: IRQ cannot be shared

2014-08-15 Thread christophe leroy
Le 14/08/2014 13:03, Sergei Shtylyov a écrit : Hello. On 8/14/2014 10:31 AM, leroy christophe wrote: I have an hardware with two ethernet interfaces, and with the two PHYs inside the same component INTEL LXT973 which has only one interrupt. I also have another hardware with two ethernet

Re: [PATCH 19/19] Documentation: ACPI for ARM64

2014-08-15 Thread Hanjun Guo
On 2014-8-14 18:27, Catalin Marinas wrote: On Thu, Aug 14, 2014 at 04:21:25AM +0100, Hanjun Guo wrote: On 2014-8-14 7:41, Rafael J. Wysocki wrote: On Tuesday, August 12, 2014 07:23:47 PM Catalin Marinas wrote: If we consider ACPI unusable on ARM but we still want to start merging patches, we

[PATCH] mmc: sdhci-pxav3: set_uhs_signaling is initialized twice differently

2014-08-15 Thread Peter Griffin
.set_uhs_signaling field is currently initialised twice once to the arch specific callback pxav3_set_uhs_signaling, and also to the generic sdhci_set_uhs_signaling callback. This means that uhs is currently broken for this platform currently, as pxav3 has some special constriants which means it

[PATCH RESEND] usb: chipidea: msm: Use USB PHY API to control PHY state

2014-08-15 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com PHY drivers keep track of the current state of the hardware, so don't change PHY settings under it. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/chipidea/ci_hdrc_msm.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-)

sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2014-08-15 Thread Zhu Yanjun
Hi, Vlad DEEPAK Michael David From Michael DEEPAK lxr SCTP implementation, doesn't transit the path state to INACTIVE, if it was never confirmed. this leads to SCTP_PEER_ADDRESS_CHANGE notification after each failed probe from this time. Is there any specific reason to have same

Re: OT: Open letter to the Linux World

2014-08-15 Thread Vlad Glagolev
This is a problem, which is silently ignored by those who HAS to defend OSS' freedom. But politics (related to stuff they get a lot of money from) of companies like RedHat isn't that white and fluffy for users, because THEY started this chaos of perverting the UNIX philosophy. I noticed that when

[PATCH 1/1] sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2014-08-15 Thread Zhu Yanjun
When a failed probe comes along UNCONFIRMED path, it is not necessary to send SCTP_PEER_ADDR_CHANGE notification. Reported-by: DEEPAK KHANDELWAL khandelwal.deepak.1...@gmail.com Suggested-by: Vlad Yasevich vyasev...@gmail.com Suggested-by: Michael Tuexen tue...@fh-muenster.de Signed-off-by:

Re: [RFC v3 0/2] vfs / btrfs: add support for ustat()

2014-08-15 Thread Al Viro
On Thu, Aug 14, 2014 at 07:58:56PM -0700, Luis R. Rodriguez wrote: Christoph had noted that this seemed associated to the problem that the btrfs uses different assignments for st_dev than s_dev, but much as I'd like to see that changed based on discussions so far its unclear if this is going

Re: Overriding -Werror

2014-08-15 Thread Jeff Kirsher
On Thu, Aug 14, 2014 at 3:21 PM, Brian Norris computersforpe...@gmail.com wrote: Hi all, I'm interested in being able to build-test kernels on various architectures while enabling extra warnings (make W=[123]). I'd like to be able to finish the builds and see all warnings, rather than seeing

Re: SCTP_PEER_ADDR_CHANGE Notification over UNCONFIRMED path

2014-08-15 Thread zhuyj
Sorry. I used attachment to send patch. Maybe it is not convenient. Now I resend it again. Please ignore this mail. Best Regards! Zhu Yanjun On 08/15/2014 04:49 PM, zhuyj wrote: Hi, Vlad DEEPAK Michael David From Michael DEEPAK lxr SCTP implementation, doesn't transit the path state to

Re: [PATCH RFC] time,signal: protect resource use statistics with seqlock

2014-08-15 Thread Mike Galbraith
On Fri, 2014-08-15 at 08:28 +0200, Peter Zijlstra wrote: On Fri, Aug 15, 2014 at 07:19:31AM +0200, Mike Galbraith wrote: For the N threads doing this on N cores case, seems rq-lock hammering will still be a source of major box wide pain. Is there any correctness reason to add up

3.17-rc0: cursor on pipe A assertion failure

2014-08-15 Thread Pavel Machek
Hi! Today X session died on me (painful :-(). I got this in dmesg, not sure if it is related. Any ideas? Thanks, Pavel Initializing cgroup subsys cpu Linux version 3.16.0+ (pavel@duo) (gcc version 4.4.5 (Debian 4.4.5-8) )

Re: [PATCH RFC] time,signal: protect resource use statistics with seqlock

2014-08-15 Thread Peter Zijlstra
On Fri, Aug 15, 2014 at 11:37:33AM +0200, Mike Galbraith wrote: On Fri, 2014-08-15 at 08:28 +0200, Peter Zijlstra wrote: On Fri, Aug 15, 2014 at 07:19:31AM +0200, Mike Galbraith wrote: For the N threads doing this on N cores case, seems rq-lock hammering will still be a source of major

RE: [PATCH] arm: irq: fix the affinity when migrate a irq

2014-08-15 Thread Neil Zhang
-Original Message- From: Sudeep Holla [mailto:sudeep.ho...@arm.com] Sent: 2014年8月15日 16:45 To: Neil Zhang; li...@arm.linux.org.uk Cc: Sudeep Holla; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH] arm: irq: fix the affinity when migrate a irq

Re: [PATCH] mmc: sdhci-pxav3: set_uhs_signaling is initialized twice differently

2014-08-15 Thread Russell King - ARM Linux
On Fri, Aug 15, 2014 at 10:12:38AM +0100, Peter Griffin wrote: .set_uhs_signaling field is currently initialised twice once to the arch specific callback pxav3_set_uhs_signaling, and also to the generic sdhci_set_uhs_signaling callback. This means that uhs is currently broken for this

[PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Mikko Perttunen
Currently the i2c-tegra bus driver prepares, enables and set_rates its clocks separately for each transfer. This causes locking problems when doing I2C transfers from clock notifiers; see http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/268653.html This patch moves

Re: [PATCH 1/1] mmc: core: Use regulator_get_voltage() if OCR mask is empty.

2014-08-15 Thread Mark Brown
On Fri, Aug 15, 2014 at 09:48:43AM +0200, Javier Martinez Canillas wrote: But now I wonder why regulator_list_voltage() even list the voltage for fixed regulators (desc-fixed_uV) since they don't have the ability to vary voltage. The regulator_list_voltage() documentation says: That's because

[PATCH net] net: fix checksum features handling in netif_skb_features()

2014-08-15 Thread Michal Kubecek
This is follow-up to da08143b8520 (vlan: more careful checksum features handling) which introduced more careful feature intersection in vlan code, taking into account that HW_CSUM should be considered superset of IP_CSUM/IPV6_CSUM. The same is needed in netif_skb_features() in order to avoid

[PATCH] net: phy: smsc: move smsc_phy_config_init reset part in a soft_reset function

2014-08-15 Thread Gwenhael Goavec-Merou
On the one hand, phy_device.c provides a generic reset function if the phy driver does not provide a soft_reset pointer. This generic reset does not take into account the state of the phy, with a potential failure if the phy is in powerdown mode. On the other hand, smsc driver provides a function

Re: [PATCH 19/19] Documentation: ACPI for ARM64

2014-08-15 Thread Catalin Marinas
Hanjun, On Fri, Aug 15, 2014 at 10:09:42AM +0100, Hanjun Guo wrote: On 2014-8-14 18:27, Catalin Marinas wrote: On Thu, Aug 14, 2014 at 04:21:25AM +0100, Hanjun Guo wrote: On 2014-8-14 7:41, Rafael J. Wysocki wrote: On Tuesday, August 12, 2014 07:23:47 PM Catalin Marinas wrote: If we

Re: [PATCH v2] cpuidle/cpuidle-big_little: fix reading cpu id part number

2014-08-15 Thread Lorenzo Pieralisi
On Thu, Aug 14, 2014 at 09:27:45AM +0100, Juri Lelli wrote: Commit af040ffc9ba1 (ARM: make it easier to check the CPU part number correctly) changed ARM_CPU_PART_X masks, and the way they are returned and checked against. Usage of read_cpuid_part_number() is now deprecated, and calling places

Re: [PATCH v11] NVMe: Convert to blk-mq

2014-08-15 Thread Matias Bjorling
On 08/15/2014 01:09 AM, Keith Busch wrote: The allocation and freeing of blk-mq parts seems a bit asymmetrical to me. The 'tags' belong to the tagset, but any request_queue using that tagset may free the tags. I looked to separate the tag allocation concerns, but that's more time than I have,

Re: [PATCH 1/1] x86: add phys addr validity check for /dev/mem mmap

2014-08-15 Thread Frantisek Hrbata
self-nack As pointed by Dave Hansen, the check is just wrong. I will post V2. Many thanks Dave! -- Frantisek Hrbata -- 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: [Intel-gfx] Usage of _PAGE_PCD et al in i915 driver

2014-08-15 Thread Ville Syrjälä
On Thu, Aug 14, 2014 at 05:55:11AM +0200, Juergen Gross wrote: On 08/13/2014 05:07 PM, Jesse Barnes wrote: On Fri, 8 Aug 2014 15:14:15 +0200 Daniel Vetter daniel.vet...@ffwll.ch wrote: Adding relevant mailing lists. On Fri, Aug 8, 2014 at 1:23 PM, Juergen Gross jgr...@suse.com wrote:

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-15 Thread Liviu Dudau
On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of

Re: [PATCH] arm64: smp: Update the topology masks before calling CPU_STARTING notifiers

2014-08-15 Thread Will Deacon
On Wed, Aug 13, 2014 at 02:11:09AM +0100, Rohit Vaswani wrote: Currently, the CPU_STARTING notifiers would observe an incorrect sibling mask since the notifier chain is called before the topology masks are updated for the new cpu. Update the topology masks before calling the notifier chain to

Re: [PATCH V3] hwmon, k10temp: Add support for F15h M60h

2014-08-15 Thread Guenter Roeck
On 08/14/2014 04:15 PM, Aravind Gopalakrishnan wrote: This patch adds temperature monitoring support for F15h M60h processor. - Add new pci device id for the relevant processor - The functionality of REG_REPORTED_TEMPERATURE is moved to D0F0xBC_xD820_0CA4 [Reported Temperature Control]

Re: [PATCH] of: Deep-copy names of platform devices

2014-08-15 Thread Grant Likely
On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org wrote: On 08/12/14 17:57, Stepan Moskovchenko wrote: diff --git a/drivers/of/device.c b/drivers/of/device.c index f685e55..3e116f6 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -54,7 +54,7 @@ int

Re: [PATCH] of: Deep-copy names of platform devices

2014-08-15 Thread Grant Likely
On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org wrote: On 08/12/14 17:57, Stepan Moskovchenko wrote: diff --git a/drivers/of/device.c b/drivers/of/device.c index f685e55..3e116f6 100644 ---

Re: [PATCH v14 7/8] arm64: add pmd_[dirty|mkclean] for THP

2014-08-15 Thread Will Deacon
On Thu, Aug 14, 2014 at 02:53:31AM +0100, Minchan Kim wrote: MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Acked-by: Will

Re: [PATCH v14 6/8] arm: add pmd_mkclean for THP

2014-08-15 Thread Will Deacon
On Thu, Aug 14, 2014 at 02:53:30AM +0100, Minchan Kim wrote: MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_mkclean for THP page MADV_FREE support. Acked-by: Will Deacon

Re: [PATCHv3 2/2] dt-bindings: regulator: Add regulator suspend state for PM state

2014-08-15 Thread Mark Brown
On Thu, Aug 14, 2014 at 09:40:14AM +0900, Chanwoo Choi wrote: +- regulator-initial-state: initial state for suspend state, cnd set initial + state among following defined suspend states: + 2: PM_SUSPEND_STANDBY - Setup regulator according to regulator-state-standby + 3: PM_SUSPEND_MEM -

Re: [PATCH] of: Deep-copy names of platform devices

2014-08-15 Thread Grant Likely
On Fri, Aug 15, 2014 at 11:52 AM, Grant Likely grant.lik...@linaro.org wrote: On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org wrote: On 08/12/14 17:57, Stepan Moskovchenko wrote: diff --git

[PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-15 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v4: - constified struct - added bunch of defines

Re: [PATCH V2] I2C: Rework kernel config I2C_ACPI

2014-08-15 Thread Wolfram Sang
On Fri, Aug 15, 2014 at 01:38:59PM +0800, Lan Tianyu wrote: Commit da3c6647(I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI config) adds a new kernel config I2C_ACPI and make I2C core built in when the config is selected. This is wrong because distributions etc generally compile I2C

[PATCH] regulator: as3722: .name field initialized twice differently

2014-08-15 Thread Peter Griffin
Regulator AS3722_REGULATOR_ID_LDO3 and AS3722_REGULATOR_ID_LDO4 have there .name field initialised twice with different values. Looking at the code the second entry should have been .sname which is what this patch corrects. Signed-off-by: Peter Griffin peter.grif...@linaro.org ---

Re: [PATCH 1/1] mmc: core: Use regulator_get_voltage() if OCR mask is empty.

2014-08-15 Thread Javier Martinez Canillas
Hello Mark, On 08/15/2014 11:55 AM, Mark Brown wrote: On Fri, Aug 15, 2014 at 09:48:43AM +0200, Javier Martinez Canillas wrote: But now I wonder why regulator_list_voltage() even list the voltage for fixed regulators (desc-fixed_uV) since they don't have the ability to That's because it's

Re: Thunderbolt driver hotplug not working correctly

2014-08-15 Thread Steven Noonan
On Tue, Aug 12, 2014 at 3:55 PM, Andreas Noever andreas.noe...@gmail.com wrote: On Tue, Aug 12, 2014 at 11:01 AM, Steven Noonan ste...@uplinklabs.net wrote: Hello Andreas, I'm trying out the new Thunderbolt driver in Linus' tree and I'm noticing device hotplug isn't quite working correctly.

Re: Thunderbolt driver hotplug not working correctly

2014-08-15 Thread Steven Noonan
On Wed, Aug 13, 2014 at 4:05 PM, Andreas Noever andreas.noe...@gmail.com wrote: Hello Steven, I think that there are two problems: - The Kernel does not notice that the device is gone. - The first hotplug operation, after removing a coldplugged device fails. For the first one could you

Re: [PATCH] fuse: do not evict dirty inodes

2014-08-15 Thread Maxim Patlasov
Hi Miklos, On 08/13/2014 02:32 PM, Miklos Szeredi wrote: On Tue, Jun 3, 2014 at 1:49 PM, Maxim Patlasov mpatla...@parallels.com wrote: Commit 1e18bda8 added .write_inode method to the fuse super_operations. This allowed fuse to use the kernel infrastructure for writing out dirty metadata

[GIT PULL] please pull file locking changes for v3.17 (pile #2)

2014-08-15 Thread Jeff Layton
The following changes since commit c8d6637d0497d62093dbba0694c7b3a80b79bfe1: Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux (2014-08-10 21:31:58 -0700) are available in the git repository at: git://git.samba.org/jlayton/linux.git

Re: [PATCH] regulator: as3722: .name field initialized twice differently

2014-08-15 Thread Mark Brown
On Fri, Aug 15, 2014 at 12:09:44PM +0100, Peter Griffin wrote: Regulator AS3722_REGULATOR_ID_LDO3 and AS3722_REGULATOR_ID_LDO4 have there .name field initialised twice with different values. Looking at the code the second entry should have been .sname which is what this patch corrects. This

  1   2   3   4   5   6   7   8   9   10   >