Re: [PATCH] x86: vdso32/syscall.S: do not load __USER32_DS to %ss

2015-03-25 Thread Denys Vlasenko
On 03/25/2015 10:28 AM, Ingo Molnar wrote: * Andy Lutomirski l...@amacapital.net wrote: Now we can do a fun hack on top. On Intel, we have sysenter/sysexitl and, on AMD, we have syscall/sysretl. But, if I read the docs right, Intel has sysretl, too. So we can ditch sysexit entirely,

Re: [PATCH] x86, entry: Check for syscall exit work with IRQs disabled

2015-03-25 Thread Andy Lutomirski
On Wed, Mar 25, 2015 at 5:21 AM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@amacapital.net wrote: On Tue, Mar 24, 2015 at 1:08 PM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: We currently have a race: if we're preempted during syscall

Re: [PATCH 2/2] zsmalloc: micro-optimize zs_object_copy()

2015-03-25 Thread Minchan Kim
On Wed, Mar 25, 2015 at 12:24:47AM +0900, Sergey Senozhatsky wrote: A micro-optimization. Avoid additional branching and reduce (a bit) registry pressure (f.e. s_off += size; d_off += size; may be calculated twise: first for = PAGE_SIZE check and later for offset update in else clause).

[PATCH 5/7] btrfs: add support for write stream IDs

2015-03-25 Thread Jens Axboe
Both buffered and O_DIRECT. Signed-off-by: Jens Axboe ax...@fb.com --- fs/btrfs/extent_io.c | 1 + fs/btrfs/inode.c | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index d688cfe5d496..2845fae054b6 100644 --- a/fs/btrfs/extent_io.c +++

[PATCH 6/7] xfs: add support for buffered writeback stream ID

2015-03-25 Thread Jens Axboe
Signed-off-by: Jens Axboe ax...@fb.com --- fs/xfs/xfs_aops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 3a9b7a1b8704..ee49e57bfd53 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -377,6 +377,7 @@ xfs_submit_ioend_bio(

[PATCH RFC v2] Support for write stream IDs

2015-03-25 Thread Jens Axboe
One of the things that exacerbates write amplification on flash based devices is that fact that data with different lifetimes get grouped together on media. Currently we have no interface that applications can use to separate different types of writes. This patch set adds support for that. The

[PATCH 2/2 RESEND] IB/Verbs: Use helpers to check IBoE technology

2015-03-25 Thread Michael Wang
This patch will introduce rdma_tech_is_iboe() and use it to save some code. Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty sean.he...@intel.com Signed-off-by: Michael Wang yun.w...@profitbricks.com --- drivers/infiniband/core/cma.c | 6 ++ include/rdma/ib_verbs.h | 6 ++ 2 files

Re: [V5 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-03-25 Thread Suravee Suthikulpanit
On 3/24/15 15:20, Rafael J. Wysocki wrote: On Tuesday, March 24, 2015 04:43:46 PM Mika Westerberg wrote: On Tue, Mar 24, 2015 at 09:23:47AM -0500, Suravee Suthikulpanit wrote: On 3/9/15 10:20, Mika Westerberg wrote: [] diff --git a/include/linux/mod_devicetable.h

[PATCH 3/7] direct-io: add support for write stream IDs

2015-03-25 Thread Jens Axboe
Get the streamid from the file, if any, and set it on the bio. Signed-off-by: Jens Axboe ax...@fb.com --- fs/direct-io.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index e181b6b2e297..3ec57abb524f 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@

[PATCH 1/2 RESEND] IB/Verbs: Use helpers to check transport and link layer

2015-03-25 Thread Michael Wang
We have so many places to check transport type and link layer type, it's now make sense to introduce some helpers in order to refine the lengthy code. This patch will introduce helpers: rdma_transport_is_ib() rdma_transport_is_iwarp() rdma_port_ll_is_ib() rdma_port_ll_is_eth()

Re: [V5 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-03-25 Thread Suravee Suthikulpanit
On 3/24/15 15:20, Rafael J. Wysocki wrote: On Tuesday, March 24, 2015 04:43:46 PM Mika Westerberg wrote: On Tue, Mar 24, 2015 at 09:23:47AM -0500, Suravee Suthikulpanit wrote: On 3/9/15 10:20, Mika Westerberg wrote: [] diff --git a/include/linux/mod_devicetable.h

Re: [Intel-gfx] [git pull] drm fixes

2015-03-25 Thread Jani Nikula
On Wed, 25 Mar 2015, Xi Ruoyao xry...@outlook.com wrote: It's annoying to see my code caused so much trouble. I didn't test my code with a HDMI device or I should've found this trouble before commiting. I apologize for that again. Don't worry about it. It's our fail, not yours. BR, Jani. --

Re: [PATCH 1/2] kconfig: move DEBUG_FS out of compilation options

2015-03-25 Thread cascardo
On Wed, Mar 25, 2015 at 07:56:53AM -0700, Dave Hansen wrote: On 03/25/2015 07:22 AM, Thadeu Lima de Souza Cascardo wrote: Since 6dfc06651b3d29aa07ed99b8075e5d324f7a953a (consolidate compilation option configs), DEBUG_FS has been hidden under the Compile-time checks and compiler options.

Re: [patch v11 19/23] XEN / ACPI: Make XEN ACPI depend on X86

2015-03-25 Thread Stefano Stabellini
On Wed, 25 Mar 2015, Will Deacon wrote: Hi Stefano, On Tue, Mar 24, 2015 at 05:24:53PM +, Stefano Stabellini wrote: On Tue, 24 Mar 2015, Boris Ostrovsky wrote: On 03/24/2015 10:02 AM, Hanjun Guo wrote: When ACPI is enabled on ARM64, XEN ACPI will also compiled into the kernel,

Re: [PATCH 1/5] ACPI: move arm64 GSI IRQ model to generic GSI IRQ layer

2015-03-25 Thread Lorenzo Pieralisi
On Wed, Mar 25, 2015 at 01:20:44PM +, Marc Zyngier wrote: On 24/03/15 17:58, Lorenzo Pieralisi wrote: The code deployed to implement GSI linux IRQ numbers mapping on arm64 turns out to be generic enough so that it can be moved to ACPI core code along with its respective config option

Re: [PATCHSET 1/3 v2 block/for-4.1/core] writeback: cgroup writeback support

2015-03-25 Thread Vivek Goyal
On Mon, Mar 23, 2015 at 12:54:11AM -0400, Tejun Heo wrote: How to test --- * Boot with kernel option cgroup__DEVEL__legacy_files_on_dfl. * umount /sys/fs/cgroup/memory umount /sys/fs/cgroup/blkio mkdir /sys/fs/cgroup/unified mount -t cgroup -o __DEVEL__sane_behavior

Re: [PATCH 1/1] nfsd: incorrect check for debugfs returns

2015-03-25 Thread Jeff Layton
On Wed, 25 Mar 2015 11:08:56 -0400 J. Bruce Fields bfie...@fieldses.org wrote: On Tue, Mar 24, 2015 at 06:44:20AM -0400, Jeff Layton wrote: On Mon, 23 Mar 2015 22:58:05 -0400 Chengyu Song cson...@gatech.edu wrote: debugfs_create_dir and debugfs_create_file may return -ENODEV when

Re: [git pull] drm fixes

2015-03-25 Thread Dave Jones
On Wed, Mar 25, 2015 at 09:56:28AM +0100, Daniel Vetter wrote: I've started seeing this one too as of rc5. Along with.. Yeah we're freeing memory too early with these bugs. To get up to the current debug state can you please cherry-pick commit

[PATCH 3.16.y-ckt 067/165] mei: make device disabled on stop unconditionally

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin alexander.usys...@intel.com commit 6c15a8516b8118eb19a59fd0bd22df41b9101c32 upstream. Set the internal device state to to disabled after hardware reset in stop flow.

Re: [PATCH] zsmalloc: remove unnecessary insertion/removal of zspage in compaction

2015-03-25 Thread Minchan Kim
I was missing mailing lists. Ping again with correction. On Mon, Mar 09, 2015 at 09:10:40AM +0900, Minchan Kim wrote: In putback_zspage, we don't need to insert a zspage into list of zspage in size_class again to just fix fullness group. We could do directly without reinsertion so we could

[PATCH 3.16.y-ckt 006/165] ipvs: add missing ip_vs_pe_put in sync code

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov j...@ssi.bg commit 528c943f3bb919aef75ab2fff4f00176f09a4019 upstream. ip_vs_conn_fill_param_sync() gets in param.pe a module reference for persistence engine from

Re: [PATCH 1/3] rculist: Fix list_entry_rcu to read ptr with rcu_dereference_raw

2015-03-25 Thread Patrick Marlier
On 03/25/2015 03:30 PM, Paul E. McKenney wrote: On Tue, Mar 24, 2015 at 11:31:38AM +0100, Patrick Marlier wrote: Change to read effectively ptr with rcu_dereference_raw and not the __ptr variable on the stack. Signed-off-by: Patrick Marlier patrick.marl...@gmail.com Avoiding an extra load

[PATCH 3.16.y-ckt 005/165] netfilter: xt_socket: fix a stack corruption bug

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com commit 78296c97ca1fd3b104f12e1f1fbc06c46635990b upstream. As soon as extract_icmp6_fields() returns, its local storage (automatic variables) is

[PATCH 3.16.y-ckt 012/165] rtnetlink: call -dellink on failure when -newlink exists

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong xiyou.wangc...@gmail.com commit 7afb8886a05be68e376655539a064ec672de8a8e upstream. Ignacy reported that when eth0 is down and add a vlan device on top of it like: ip link

[PATCH 3.16.y-ckt 003/165] ipvs: rerouting to local clients is not needed anymore

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov j...@ssi.bg commit 579eb62ac35845686a7c4286c0a820b4eb1f96aa upstream. commit f5a41847acc5 (ipvs: move ip_route_me_harder for ICMP) from 2.6.37 introduced

[PATCH 3.16.y-ckt 007/165] flowcache: Fix kernel panic in flow_cache_flush_task

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Miroslav Urbanek m...@miroslavurbanek.com commit 233c96fc077d310772375d47522fb444ff546905 upstream. flow_cache_flush_task references a structure member flow_cache_gc_work where it

[PATCH 3.16.y-ckt 011/165] ipv6: fix ipv6_cow_metrics for non DST_HOST case

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Martin KaFai Lau ka...@fb.com commit 3b4711757d7903ab6fa88a9e7ab8901b8227da60 upstream. ipv6_cow_metrics() currently assumes only DST_HOST routes require dynamic metrics allocation

[PATCH 3.16.y-ckt 009/165] rtnetlink: ifla_vf_policy: fix misuses of NLA_BINARY

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann dan...@iogearbox.net commit 364d5716a7adb91b731a35765d369602d68d2881 upstream. ifla_vf_policy[] is wrong in advertising its individual member types as NLA_BINARY since

Re: [RFC][PATCH 0/4] Another go at ktime_get_raw_fast_ns()

2015-03-25 Thread Peter Zijlstra
On Tue, Mar 24, 2015 at 02:02:55PM -0700, John Stultz wrote: On Tue, Mar 24, 2015 at 9:00 AM, John Stultz john.stu...@linaro.org wrote: Yea, this looks much better! I'll queue it up for testing and if that goes well include it for 4.1. Just fyi, didn't see any issues w/ x86_64, i386 and

[PATCH 3.16.y-ckt 008/165] pktgen: fix UDP checksum computation

2015-03-25 Thread Luis Henriques
3.16.7-ckt9 -stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca s...@queasysnail.net commit 7744b5f3693cc06695cb9d6667671c790282730f upstream. This patch fixes two issues in UDP checksum computation in pktgen. First, the

Re: [PATCH 1/1] nfsd: incorrect check for debugfs returns

2015-03-25 Thread J. Bruce Fields
On Mon, Mar 23, 2015 at 10:58:05PM -0400, Chengyu Song wrote: debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would crash the

Re: [GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-25 Thread Rob Herring
On Wed, Mar 25, 2015 at 4:15 AM, Philipp Zabel p.za...@pengutronix.de wrote: Hi Rob, Am Dienstag, den 24.03.2015, 23:42 -0500 schrieb Rob Herring: On Tue, Mar 24, 2015 at 4:15 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Mar 23, 2015 at 05:29:02PM +0100, Heiko Stuebner

Re: [RFC PATCH] kdbus: move all kdbus headers to include/linux/kdbus

2015-03-25 Thread Paul Osmialowski
Hi, First of all, I'm sorry for this no-subject covering letter. Accidents never happen only in a perfect world. On Wed, 25 Mar 2015, David Herrmann wrote: I'd prefer if we only move the required structure definitions into a separate header. There is no reason to export all internal entry

[PATCH v2] Input: cros_ec_keyb - Clear keyboard state only when it hasn't been a wake source

2015-03-25 Thread Tomeu Vizoso
As the comment right before explains, the keyboard state is to be cleared only if the EC wasn't a wakeup source in the last suspend. Without this commit, there's an unneeded delay when resuming from suspend and we also lose the key that was pressed while suspended. Signed-off-by: Tomeu Vizoso

Re: [PATCH] ASoC: pcm512x: use DIV_ROUND_CLOSEST_ULL() from kernel.h

2015-03-25 Thread Mark Brown
On Wed, Mar 25, 2015 at 11:29:44AM +, Javi Merino wrote: Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Acked-by: Mark Brown broo...@kernel.org signature.asc Description: Digital signature

[PATCH v4 6/6] ARM: dts: vf-colibri: enable NAND flash controller

2015-03-25 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Signed-off-by: Stefan Agner ste...@agner.ch ---

[PATCH v4 0/6] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-03-25 Thread Stefan Agner
This adds support for Freescale NAND flash controller (NFC) found on various devices such as Vybrid (VF610), MPC5125, MCF54418 (ColdFire) and Kinetis K70. The patchset is based on the patchset by Bill Pringlemeir, see: http://thread.gmane.org/gmane.linux.ports.arm.kernel/295419 A variant of this

[PATCH v4 5/6] ARM: dts: vf610: add NAND flash controller peripherial

2015-03-25 Thread Stefan Agner
This adds the NAND flash controller (NFC) peripherial. The driver supports the SLC NAND chips found on Freescale's Vybrid Tower System Module. The Micron NAND chip on the module needs 4-bit ECC per 512 byte page. Use 24-bit ECC per 2k page, which is supported by the driver. Signed-off-by: Bill

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:04 AM, Christoph Hellwig h...@lst.de wrote: Here is another version of the same trivial pmem driver, because two obviously aren't enough. Welcome to the party! :-) The first patch is the same pmem driver that Ross posted a short time ago, just modified to use

Re: [PATCH v8 23/30] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-25 Thread Thomas Petazzoni
Dear Yijing Wang, On Wed, 25 Mar 2015 16:55:02 +0800, Yijing Wang wrote: Do you have any comment for this patch ? In this series, pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), so I think the pci_scan_root_bus() is almost the same as pci_create_root_bus +

Re: [PATCH 1/1] hfs: incorrect return values

2015-03-25 Thread Viacheslav Dubeyko
On Tue, 2015-03-24 at 20:37 -0400, Chengyu Song wrote: In case of memory allocation error, the return should be -ENOMEM, instead of -ENOSPC. To be honest, I am not fully sure that such fix makes sense. Of course, it is possible to exchange -ENOSPC on -ENOMEM. But principally it is not

Re: [patch 08/12] mm: page_alloc: wait for OOM killer progress before retrying

2015-03-25 Thread Vlastimil Babka
On 03/25/2015 03:15 PM, Tetsuo Handa wrote: Johannes Weiner wrote: diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 5cfda39b3268..e066ac7353a4 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -711,12 +711,15 @@ bool out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask,

[PATCH 1/4] x86/asm/entry/64: better label name, fix comments

2015-03-25 Thread Denys Vlasenko
A named label ret_from_sys_call implies that there are jumps to this location from elsewhere, as happens with many other labels in this file. But this label is used only by the JMP a few insns above. To make that obvious, use local numeric label instead. Improve comments: and return regs-ax

[PATCH V2 1/2] MIPS: smp: Make stop_this_cpu() actually stop the CPU

2015-03-25 Thread Andrew Bresticker
Since cpu_wait() enables interrupts upon return, CPUs which have entered stop_this_cpu() may still end up handling interrupts. This can lead to the softlockup detector firing on a panic or restart/poweroff/halt. Just disable interrupts and spin to ensure nothing else runs on the CPU once it has

Re: [Intel-gfx] [git pull] drm fixes

2015-03-25 Thread Josh Boyer
On Wed, Mar 25, 2015 at 1:17 PM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Mar 25, 2015 at 12:42:46PM -0400, Josh Boyer wrote: On Wed, Mar 25, 2015 at 11:53 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Wed, Mar 25, 2015 at 11:50 AM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Mar

[PATCH] i2c: i2c-mux-gpio: Change log level to debug for probe deferrals

2015-03-25 Thread Ioan Nicu
Probe deferral is not an error case. It happens only when the necessary dependencies are not there yet. The driver core is already printing a message when a driver requests probe deferral, so this can be traced in the logs without these error prints. This patch changes the error messages from

Re: [PATCH 0/4] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-25 Thread Darren Hart
On Wed, Mar 18, 2015 at 01:12:54PM -0600, Azael Avalos wrote: These patches introduce three new functions, cleaning up the driver code, checking for errors and returning accordingly, and also fixes bug 93911. Azael Avalos (4): toshiba_bluetooth: Add three new functions to the driver

Re: [PATCH 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Darren Hart
On Wed, Mar 18, 2015 at 01:12:59PM -0600, Azael Avalos wrote: Bug 93911 reported a broken handling of the BT device, causing the driver to get stuck in a loop enabling/disabling the device whenever the device is deactivated by the kill switch as follows: 1. The user activated the kill

Re: [PATCH 2/4] x86/asm/entry/64: do not TRACE_IRQS fast SYSRET64 path

2015-03-25 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: On 03/25/2015 06:29 PM, Ingo Molnar wrote: * Denys Vlasenko dvlas...@redhat.com wrote: SYSRET code path has a small irq-off block. On this code path, TRACE_IRQS_ON can't be called right before interrupts are enabled for real, we can't

[PATCH 1/1] mfd: intel_quark_i2c_gpio: don't crash if !DMI

2015-03-25 Thread Andy Shevchenko
dmi_get_system_info() may return NULL either when CONFIG_DMI is not set or when board has an old firmware. The patch prevents a crash and changes the default frequency to be in align with older board. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com ---

Re: [PATCH 1/1] hfsplus: incorrect return value

2015-03-25 Thread Viacheslav Dubeyko
On Tue, 2015-03-24 at 20:44 -0400, Chengyu Song wrote: In case of memory allocation error, the return should be -ENOMEM, instead of -ENOSPC. To be honest, I am not fully sure that such fix makes sense. Of course, it is possible to exchange -ENOSPC on -ENOMEM. But principally it is not

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and does not collide too much with the upcoming ACPI mechanism for this stuff. I do worry that the new memmap=nn[KMG]!ss[KMG] kernel command

Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440

2015-03-25 Thread Dmitry Torokhov
On Wed, Mar 25, 2015 at 09:57:51AM -0300, Ramiro Morales wrote: On Wed, Mar 25, 2015 at 6:04 AM, Daniel Martin consume.no...@gmail.com wrote: On 25 March 2015 at 02:20, Filip Ayazi filipay...@gmail.com wrote: Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440

Re: [PATCH] staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros

2015-03-25 Thread Joe Perches
On Tue, 2015-03-24 at 21:28 -0700, Joe Perches wrote: Remove these flow hiding macros. Apologies, this won't compile properly as I neglected to git add trace.c prior to the git commit. I'll resend later. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 1/1] cifs: potential missing check for posix_lock_file_wait

2015-03-25 Thread Chengyu Song
On Mar 24, 2015, at 10:29 PM, Steve French smfre...@gmail.com wrote: On Tue, Mar 24, 2015 at 7:18 PM, Chengyu Song cson...@gatech.edu wrote: posix_lock_file_wait may fail under certain circumstances, and its result is usually checked/returned. But given the complexity of cifs, I'm not sure

[PATCH V2 2/2] MIPS: Provide fallback reboot/poweroff/halt implementations

2015-03-25 Thread Andrew Bresticker
If a machine-specific hook is not implemented for restart, poweroff, or halt, fall back to halting secondary CPUs, disabling interrupts, and spinning. In the case of restart, attempt to restart the system via do_kernel_restart() (which will call any registered restart handlers) before halting.

Re: [PATCH] x86/wmi: delete unused wmi_data_lock mutex causing gcc warning

2015-03-25 Thread Darren Hart
On Mon, Mar 23, 2015 at 02:01:37PM -0400, Paul Gortmaker wrote: In commit bff431e49ff531a343fbb2b4426e313000844f32 (ACPI: WMI: Add ACPI-WMI mapping driver) this mutex was added, but the rest of the final commit never actually made use of it, resulting in: In file included from

Transakce /

2015-03-25 Thread Jng Chen
Mám vzájemn#283; vyplácena podnik pro nás oba. pokud máte zájem, m#367;žete mi dostat na e-mailovou adresu a podrobnosti vysv#283;tlil po telefonu. E-mail: jg.ch...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: The kernel command line would simply be the standard/existing memmap= to reserve a memory range. Then, when the platform device loads, it does a request_firmware() to inject a binary table that further carves memory into ranges to

[PATCH 4/4] x86/asm/entry/64: fix typo in comment

2015-03-25 Thread Denys Vlasenko
Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar mi...@kernel.org CC: Borislav Petkov b...@alien8.de CC: H. Peter Anvin h...@zytor.com CC: Andy Lutomirski l...@amacapital.net CC: Oleg Nesterov

[PATCH 2/4] x86/asm/entry/64: do not TRACE_IRQS fast SYSRET64 path

2015-03-25 Thread Denys Vlasenko
SYSRET code path has a small irq-off block. On this code path, TRACE_IRQS_ON can't be called right before interrupts are enabled for real, we can't clobber registers there. So current code does it earlier, in a safe place. But with this, TRACE_IRQS_OFF/ON frames just two fast instructions, which

[PATCH 3/4] x86/asm/entry/64: use smaller insns

2015-03-25 Thread Denys Vlasenko
The $AUDIT_ARCH_X86_64 parameter to syscall_trace_enter_phase1/2 is a 32-bit constant, loading it with 32-bit MOV produces 5-byte insn instead of 10-byte one. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org

Request for additional arm64 branch in linux-next

2015-03-25 Thread Will Deacon
Hi Stephen, We've got a series of patches introducing ACPI support for arm64 that are tentatively targetting the 4.1 merge window. Whilst there are face-to-face discussions set to happen in the next day or so around this topic, could you please pull this into linux-next under the assumption that

[PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Luis Henriques
'usleep' seems to be a distro-specific utility and may not be available: [5] event tracing - enable/disable with event level files [FAIL] execute: /home/miguel/linux/tools/testing/selftests/ftrace/test.d/event/event-enable.tc + .

Re: [PATCH 2/4] x86/asm/entry/64: do not TRACE_IRQS fast SYSRET64 path

2015-03-25 Thread Denys Vlasenko
On 03/25/2015 06:29 PM, Ingo Molnar wrote: * Denys Vlasenko dvlas...@redhat.com wrote: SYSRET code path has a small irq-off block. On this code path, TRACE_IRQS_ON can't be called right before interrupts are enabled for real, we can't clobber registers there. So current code does it

RE: [PATCH V2 1/1] X86: hyperv: Enable MSR based APIC access

2015-03-25 Thread KY Srinivasan
-Original Message- From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo Molnar Sent: Wednesday, March 25, 2015 5:15 AM To: KY Srinivasan Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;

Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.

2015-03-25 Thread Dr. H. Nikolaus Schaller
Hi, Am 25.03.2015 um 16:21 schrieb Sebastian Reichel s...@kernel.org: Hi, On Wed, Mar 25, 2015 at 08:59:14AM +0100, Dr. H. Nikolaus Schaller wrote: Am 25.03.2015 um 02:45 schrieb Sebastian Reichel s...@kernel.org: On Tue, Mar 24, 2015 at 06:58:15PM +0100, Dr. H. Nikolaus Schaller wrote:

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and does not collide too much with the upcoming ACPI mechanism for this stuff. I do worry that the new memmap=nn[KMG]!ss[KMG] kernel command line option will only be relevant for at most one kernel cycle given the

[PATCH v2] perf tool: Fix ppid for synthesized fork events

2015-03-25 Thread David Ahern
363b785f38 added synthesized fork events and set a thread's parent id to itself. Since we are already processing /proc/pid/status the ppid can be determined properly. Make it so. Performance impact measured on a sparc based T5-8 (1024 CPUs): $ ps -efL | wc -l 20185 Current code: $ time perf

Re: [PATCH 1/1] nfsd: incorrect check for debugfs returns

2015-03-25 Thread Chengyu Song
There may be a simpler solution, declare NFSD_FAULT_INJECTION has dependency on DEBUG_FS, or automatically select DEBUG_FS. I don't think current debugfs implementation will return any error ptr once it's configured. I choose to check the return instead, because I was worried the debugfs

Re: [PATCH] perf tool: Fix ppid for synthesized fork events

2015-03-25 Thread David Ahern
On 3/25/15 6:22 AM, Joe Mario wrote: We ran time perf mem record -a -e cpu/mem-loads,ldlat=50/pp -e cpu/mem-stores/pp sleep 10 on a system that was running SPECjbb2013 in the background. There were about 10,000 java threads with about 500 to 800 in a runnable state at any given time. We ran

[PATCH V5 1/2] spmi: remove wakeup command before slave probe

2015-03-25 Thread Gilad Avidov
According to spmi spec a slave powers up into startup state and then transitions into active state. Thus, the wakeup command is not required before calling the slave's probe. The wakeup command is only needed for slaves that are in sleep state after receiving the sleep command. Cc:

[PATCH V5 2/2] spmi: pmic_arb: add support for hw version 2

2015-03-25 Thread Gilad Avidov
Qualcomm PMIC Arbiter version-2 changes from version-1 are: - Some different register offsets. - New channel register space, one per PMIC peripheral (ppid). All tx traffic uses these channels. - New observer register space. All rx trafic uses this space. - Different command format for spmi

[PATCH V5 0/2] add support for pmic_arb v2 and correct framework

2015-03-25 Thread Gilad Avidov
pmic_arb v2 has no support for spmi non-data commands and thus returns -EOPNOTSUPP on .cmd callback. This causes a failure in spmi_drv_probe() which sends a wakeup command to the slave before probing its driver. This patchset removes the wakeup from spmi_drv_probe() since the spmi spec stipulates

String literals in __init functions

2015-03-25 Thread Mason
Hello everyone, AFAIU, functions only used at system init are tagged __init to have the linker store them in a separate .init.text section, so memory can be reclaimed once initialization is complete. Is that correct? The corresponding tag for data is __initdata (section .init.data) I started

Re: String literals in __init functions

2015-03-25 Thread Joe Perches
On Wed, 2015-03-25 at 18:56 +0100, Mason wrote: Hello everyone, AFAIU, functions only used at system init are tagged __init to have the linker store them in a separate .init.text section, so memory can be reclaimed once initialization is complete. Is that correct? The corresponding tag

[PATCH 0/1] Drivers: hv: hv_balloon: do not online pages in offline blocks

2015-03-25 Thread Vitaly Kuznetsov
Patch 1/1 is rather a hackaround. The root cause of the issue is the fact that we're adding not fully backed memory blocks and allow to online them. It is relatively easy to forbid that and add only fully backed 128Mb regions. The whole driver code will be much simpler: hv_bring_pgs_online() and

Re: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement

2015-03-25 Thread Juri Lelli
Hi Peter, On 24/03/15 16:35, Peter Zijlstra wrote: On Wed, Feb 04, 2015 at 06:31:10PM +, Morten Rasmussen wrote: +static int energy_aware_wake_cpu(struct task_struct *p) +{ +struct sched_domain *sd; +struct sched_group *sg, *sg_target; +int target_max_cap =

Re: [PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-25 Thread Peter Hurley
Hi Neil, On 03/18/2015 01:58 AM, NeilBrown wrote: uart_{suspend,resume}_port seach the children of a uart device to find a particular tty device. This requires all the ttys to be direct children of the uart. A future patch will allow a 'tty_slave' to intervene between the port and the

Re: [PATCH v3 5/9] eeprom: Add bindings for simple eeprom framework

2015-03-25 Thread Maxime Ripard
On Wed, Mar 25, 2015 at 08:10:06AM +0100, Sascha Hauer wrote: On Tue, Mar 24, 2015 at 10:30:30PM +, Srinivas Kandagatla wrote: This patch adds bindings for simple eeprom framework which allows eeprom consumers to talk to eeprom providers to get access to eeprom cell data.

[PATCH 0/3] Add configfs support for software triggers in IIO

2015-03-25 Thread Daniel Baluta
This patchset adds initial support for configfs in IIO. It is structured in the following way: * patch 1 - adds configfs infrastructure creating an iio configfs subystem + an initial triggers group. * patch 2 - adds the first real trigger type - hrtimer. * patch 3

[PATCH 1/3] iio: configfs: Add configfs support to IIO

2015-03-25 Thread Daniel Baluta
This creates an IIO configfs subsystem named iio, which has one default group named triggers. This allows us to easily create/destroy software triggers. One must create a driver which implements iio_configfs_trigger.h interface and then add its trigger type to IIO configfs core. See

[PATCH 3/3] iio: Documentation: Add initial documentaton for IIO

2015-03-25 Thread Daniel Baluta
This file wants to be a starting point document for anyone wanting to use IIO configfs support or adding new IIO configfs functionality. Signed-off-by: Daniel Baluta daniel.bal...@intel.com --- Documentation/iio/iio_configfs.txt | 74 ++ 1 file changed, 74

Re: [Intel-gfx] [git pull] drm fixes

2015-03-25 Thread Daniel Vetter
On Wed, Mar 25, 2015 at 12:42:46PM -0400, Josh Boyer wrote: On Wed, Mar 25, 2015 at 11:53 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Wed, Mar 25, 2015 at 11:50 AM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Mar 25, 2015 at 11:37:35AM -0400, Josh Boyer wrote: On Wed, Mar 25, 2015

Re: [PATCH 3/3] iio: Documentation: Add initial documentaton for IIO

2015-03-25 Thread Peter Meerwald
On Wed, 25 Mar 2015, Daniel Baluta wrote: This file wants to be a starting point document for anyone wanting to use IIO configfs support or adding new IIO configfs functionality. typos below; I'm just trying to understand what's going on... Signed-off-by: Daniel Baluta

Re: [PATCH v4 00/14] Add kdbus implementation

2015-03-25 Thread David Herrmann
Hi On Tue, Mar 24, 2015 at 12:24 AM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Mar 23, 2015 at 8:28 AM, David Herrmann dh.herrm...@gmail.com wrote: On Thu, Mar 19, 2015 at 4:48 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Mar 19, 2015 at 4:26 AM, David Herrmann

Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Tomeu Vizoso wrote: If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. What do you mean by fully-suspended? What if the parent

Re: [PATCH v8 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-25 Thread Tomasz Nowicki
On 24.03.2015 04:34, Yijing Wang wrote: Introduce pci_host_bridge_list to manage pci host bridges in system, this make us have the ability to check whether the new host would conflict with existing one. Then we could remove bus alreay exist check in __pci_create_root_bus(). Signed-off-by:

[PATCH 2/3] iio: trigger: Add support for highres timer trigger

2015-03-25 Thread Daniel Baluta
This patch adds an IIO trigger driver which uses a high resolution timer to provide a frequency based trigger. Signed-off-by: Marten Svanfeldt mar...@intuitiveaerial.com Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Daniel Baluta daniel.bal...@intel.com ---

Re: [PATCH] Add virtio gpu driver.

2015-03-25 Thread Michael S. Tsirkin
On Wed, Mar 25, 2015 at 04:37:16PM +0100, Gerd Hoffmann wrote: Hi, BTW can we teach virtio-gpu to look for framebuffer using virtio pci caps? The virtio-gpu driver doesn't matter much here, it doesn't use it anyway. Or are there limitations such as only using IO port BARs, or

Re: [PATCH V6 15/25] MIPS: BMIPS: Flush the readahead cache after DMA

2015-03-25 Thread Kevin Cernekee
On Wed, Mar 25, 2015 at 2:23 AM, Ralf Baechle r...@linux-mips.org wrote: On Thu, Dec 25, 2014 at 09:49:10AM -0800, Kevin Cernekee wrote: BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer may cause parts

Re: [PATCH] gpio: gpio-tb10x: remove incorrect __exit markup

2015-03-25 Thread Dmitry Torokhov
On Wed, Mar 25, 2015 at 04:32:13PM +0100, Linus Walleij wrote: On Wed, Mar 18, 2015 at 5:55 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Tue, Mar 17, 2015 at 01:30:15PM +0100, Linus Walleij wrote: On Mon, Mar 9, 2015 at 7:04 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote:

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 10:04 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: The kernel command line would simply be the standard/existing memmap= to reserve a memory range. Then, when the platform device loads, it does a

Re: [PATCH 1/3] iio: configfs: Add configfs support to IIO

2015-03-25 Thread Peter Meerwald
This creates an IIO configfs subsystem named iio, which has one default group named triggers. This allows us to easily create/destroy software triggers. One must create a driver which implements iio_configfs_trigger.h interface and then add its trigger type to IIO configfs core. some minor

Re: [PATCH 2/4] x86/asm/entry/64: do not TRACE_IRQS fast SYSRET64 path

2015-03-25 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: SYSRET code path has a small irq-off block. On this code path, TRACE_IRQS_ON can't be called right before interrupts are enabled for real, we can't clobber registers there. So current code does it earlier, in a safe place. But with this,

Re: Request for additional arm64 branch in linux-next

2015-03-25 Thread Borislav Petkov
On Wed, Mar 25, 2015 at 05:20:03PM +, Will Deacon wrote: Hi Stephen, We've got a series of patches introducing ACPI support for arm64 that Oh dear ARM comrades-in-arms, I was hearing rumours and was secretly hoping that you would stay sane and not do the colossal mistake x86 did. My

Re: [PATCH v2 0/3] toshiba_acpi: Hotkey handling and keymap updates

2015-03-25 Thread Darren Hart
On Fri, Mar 20, 2015 at 04:55:15PM -0600, Azael Avalos wrote: These patches add support to a new function that queries the supported Hotkey Event Type, making the use of the DMI matching unnecessary and also fixes the Special Functions mode on some laptops. Queued, thank you Azael. -- Darren

[PATCH 1/1] Drivers: hv: hv_balloon: do not online pages in offline blocks

2015-03-25 Thread Vitaly Kuznetsov
Currently we add memory in 128Mb blocks but the request from host can be aligned differently. In such case we add a partially backed block and when this block goes online we skip onlining pages which are not backed (hv_online_page() callback serves this purpose). When we receive next request for

Re: [PATCH 3/4] x86/asm/entry/64: use smaller insns

2015-03-25 Thread Andy Lutomirski
On Wed, Mar 25, 2015 at 10:18 AM, Denys Vlasenko dvlas...@redhat.com wrote: The $AUDIT_ARCH_X86_64 parameter to syscall_trace_enter_phase1/2 is a 32-bit constant, loading it with 32-bit MOV produces 5-byte insn instead of 10-byte one. Acked-by: Andy Lutomirski l...@kernel.org Signed-off-by:

Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Alan Stern wrote: On Wed, 25 Mar 2015, Tomeu Vizoso wrote: If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. What do you

<    1   2   3   4   5   6   7   8   9   10   >