RE: [PATCH v9 17/18] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-09-19 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Saturday, September 19, 2015 12:07 AM > To: Wu, Feng; Alex Williamson; j...@8bytes.org; Marcelo Tosatti > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; KV

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Stats on automatically backporting Linux with Coccinelle

2015-09-19 Thread Luis R. Rodriguez
Thanks to all who contributed answering questions regarding use of Linux backports [0] in the industry, a paper is now published (EDCC 2015) and available regarding evaluation of use of use of Coccinelle to help automatically backport the Linux kernel [1]. Below are some stats and specific statisti

PCIe bus (re-)numbering

2015-09-19 Thread Ruud
Hello all, Not a patch, not a complaint: a start of a discussion on PCIe bus renumbering and bus numbering in general.. For bigger PCIe chassis I notice it contains lots of levels of PCIe switches e.g. as per commit lopg https://git.kernel.org/cgit/linux/kernel/git/yinghai/linux-yinghai.git/comm

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Re: [PATCH v2] arm64: Introduce IRQ stack

2015-09-19 Thread Jungseok Lee
On Sep 18, 2015, at 10:46 PM, James Morse wrote: > Hi Jungseok Lee, Hi James Morse, > I gave this a go on a Juno board, while generating usb/network interrupts: > > Tested-by: James Morse Thanks a lot! > On 13/09/15 15:42, Jungseok Lee wrote: >> Currently, kernel context and interrupts are ha

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Michal Hocko
On Thu 17-09-15 13:59:43, Kyle Walker wrote: > Currently, the oom killer will attempt to kill a process that is in > TASK_UNINTERRUPTIBLE state. For tasks in this state for an exceptional > period of time, such as processes writing to a frozen filesystem during > a lengthy backup operation, this ca

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Michal Hocko
On Fri 18-09-15 10:41:09, Christoph Lameter wrote: [...] > if (test_tsk_thread_flag(task, TIF_MEMDIE)) { > - if (oc->order != -1) > - return OOM_SCAN_ABORT; > + if (unlikely(frozen(task))) > + __thaw_task(task); TIF_MEMDIE proce

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Michal Hocko
On Fri 18-09-15 12:00:59, Christoph Lameter wrote: [...] > Subject: Allow multiple kills from the OOM killer > > The OOM killer currently aborts if it finds a process that already is having > access to the reserve memory pool for exit processing. This is done so that > the reserves are not overcom

Re: [PATCH v2] arm64: Introduce IRQ stack

2015-09-19 Thread Jungseok Lee
On Sep 19, 2015, at 12:31 AM, Catalin Marinas wrote: > On Fri, Sep 18, 2015 at 04:03:02PM +0100, Catalin Marinas wrote: >> On Fri, Sep 18, 2015 at 09:57:56PM +0900, Jungseok Lee wrote: >>> On Sep 18, 2015, at 1:21 AM, Catalin Marinas wrote: So, without any better suggestion for current_thread_

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-19 Thread Lee Jones
On Sat, 19 Sep 2015, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 04:51:12PM +0100, Lee Jones wrote: > > > > I think it's okay for you to take all but patch 6. > > > > Patch 6 is an ARM patch and needs to go into ARM SoC via > > STMicroelectronics STi tree. > > In future please don't send me patch

Re: [PATCH] mfd: stmpe: PWM on 24xx has altfunc 1

2015-09-19 Thread Lee Jones
On Thu, 27 Aug 2015, Linus Walleij wrote: > On the STMPE2401 and STMPE2401 altfunction 1 corresponds to the > PWM channels. This oneliner was missing in the case-switch, making > it impossible to enable the PWM channel output. > > Signed-off-by: Linus Walleij > --- > drivers/mfd/stmpe.c | 1 + >

[PATCH 0/5] arm64: berlin: add pinctrl support

2015-09-19 Thread Jisheng Zhang
This series adds support for Marvell berlin4ct pin-controller, allowing to configure the pin muxing from the device tree. This series applies on top of patches adding GPIO support for berlin4ct[1]. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/371106.html Jisheng Zhan

Re: [PATCH] backlight: lp855x: Make sure props struct is zeroed

2015-09-19 Thread Lee Jones
On Thu, 27 Aug 2015, Bjorn Andersson wrote: > From: Werner Johansson > > The driver occasionally got stuck in suspend mode or other strange > states as those parts of the props struct were never initialized. > > Signed-off-by: Werner Johansson > Signed-off-by: Bjorn Andersson > --- > drivers

[PATCH 1/5] pinctrl: berlin: regmap as an extra argument of berlin_pinctrl_probe()

2015-09-19 Thread Jisheng Zhang
Let berlin_pinctrl_probe() accepts an extra argument: regmap, this is to prepare for the next berlin4ct support, where we won't use simple-mfd any more. Signed-off-by: Jisheng Zhang --- drivers/pinctrl/berlin/berlin-bg2.c | 9 - drivers/pinctrl/berlin/berlin-bg2cd.c | 9 - driv

[PATCH 2/5] pinctrl: berlin: add the berlin4ct pinctrl driver

2015-09-19 Thread Jisheng Zhang
Add the pin-controller driver for Marvell Berlin BG4CT SoC, with definition of its groups and functions. This uses the core Berlin pinctrl driver. Signed-off-by: Jisheng Zhang --- drivers/pinctrl/berlin/Kconfig | 5 + drivers/pinctrl/berlin/Makefile| 1 + drivers/pinctrl/berlin/berli

[PATCH 3/5] arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs

2015-09-19 Thread Jisheng Zhang
This is to add the pinctrl dependency for Marvell Berlin SoCs. Signed-off-by: Jisheng Zhang --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index c6e2c75..3d17ee2 100644 --- a/arch/arm64/Kconfig.plat

[PATCH 4/5] pinctrl: dt-binding: document berlin4ct SoC

2015-09-19 Thread Jisheng Zhang
Add berlin4ct to existing berlin pinctrl device tree binding. Signed-off-by: Jisheng Zhang --- Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt b/Docu

[PATCH 5/5] arm64: dts: berlin4ct: add the pinctrl node and muxing setup for uart0

2015-09-19 Thread Jisheng Zhang
Add the avio, soc, sm pinctrl nodes for Marvell berlin4ct SoC. This patch also adds urt0 txd and rxd muxing setup in the dtsi because uart0 always use them to work, no other possibilities. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 27 ++

Re: [PATCH RESEND] mfd: Fixup clients of multi_reg_write/register_patch

2015-09-19 Thread Lee Jones
On Fri, 18 Sep 2015, Charles Keepax wrote: > From: Nariman Poushin > > Introduced by: > commit 8019ff6cfc04 > ("regmap: Use reg_sequence for multi_reg_write / register_patch") > > Interacting with: > commit 561629755a21 ("mfd: arizona: Add support for WM8998 and WM1814") > commit 81207880cef2 (

Re: [RFC PATCH 20/20] coresight: updating documentation to reflect integration with perf

2015-09-19 Thread Ingo Molnar
Looks like a pretty useful feature all around. While reading the description I noticed a few typos: * Mathieu Poirier wrote: > +Regardless of the amnout ETM/PTM IP block in a system (usually equal to the > +amount of processor core), the "cs_etm" PMU will be listed only once. s/amnout/amount

Re: [PATCH 0/4] mfd: Fix module autoload for OF platform drivers

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, Luis de Bethencourt wrote: > These patches add the missing MODULE_DEVICE_TABLE() for OF to export > the information so modules have the correct aliases built-in and > autoloading works correctly. > > A longer explanation by Javier Canillas can be found here: > https://lkml.org

Re: [PATCH] mfd: lpc_ich: Separate device cells for clarity

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, Andy Shevchenko wrote: > On Thu, 2015-09-03 at 14:14 -0500, Aaron Sierra wrote: > > The lpc_ich_cells array gives the wrong impression about the > > relationship between the watchdog and GPIO devices. They are > > completely distinct devices, so this patch separates the > > ar

Re: [PATCH 2/4] mfd: hi6421-pmic: Fix module autoload for OF platform driver

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, 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 > --- > drivers/mfd/hi6421-pmic-core.c | 1 + > 1 file changed, 1 inserti

Re: [PATCH 1/4] mfd: atmel-hlcdc: Fix module autoload for OF platform driver

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, 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 > --- > drivers/mfd/atmel-hlcdc.c | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 3/4] mfd: max8997: Fix module autoload for OF platform driver

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, 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 > --- > drivers/mfd/max8997.c | 1 + > 1 file changed, 1 insertion(+) Ap

Re: [PATCH v2 8/8] memcg: generate file modified notifications on "memory.events"

2015-09-19 Thread Johannes Weiner
On Fri, Sep 18, 2015 at 06:01:59PM -0400, Tejun Heo wrote: > cgroup core only recently grew generic notification support. Wire up > "memory.events" so that it triggers a file modified event whenever its > content changes. > > v2: Refreshed on top of mem_cgroup relocation. > > Signed-off-by: Teju

Re: [PATCH 4/4] mfd: sm501: Fix module autoload for OF platform driver

2015-09-19 Thread Lee Jones
On Thu, 17 Sep 2015, 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 > --- > drivers/mfd/sm501.c | 1 + > 1 file changed, 1 insertion(+) Appl

Re: [PATCH] mfd: lpc_ich: Separate device cells for clarity

2015-09-19 Thread Lee Jones
On Thu, 03 Sep 2015, Aaron Sierra wrote: > The lpc_ich_cells array gives the wrong impression about the > relationship between the watchdog and GPIO devices. They are > completely distinct devices, so this patch separates the > array into distinct mfd_cell structs per device. What does this mean?

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

[PATCH 0/7] nilfs2 updates

2015-09-19 Thread Ryusuke Konishi
Hi Andrew, Please queue the following changes for the next merge window: Julia Lawall (1): nilfs2: drop null test before destroy functions Ryusuke Konishi (6): nilfs2: use nilfs_warning() in allocator implementation nilfs2: do not call nilfs_mdt_bgl_lock() needlessly nilf

[PATCH 3/7] nilfs2: do not call nilfs_mdt_bgl_lock() needlessly

2015-09-19 Thread Ryusuke Konishi
In the bitmap based allocator implementation, nilfs_mdt_bgl_lock() helper is frequently used to get a spinlock protecting a target block group. This reduces its usage and simplifies arguments of some related functions by directly passing a pointer to the spinlock. Signed-off-by: Ryusuke Konishi

[PATCH 1/7] nilfs2: drop null test before destroy functions

2015-09-19 Thread Ryusuke Konishi
From: Julia Lawall Remove unneeded NULL test. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ -if (x != NULL) \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); // Signed-off-by: Julia Lawall Signed-off-by: Ryusuke Ko

[PATCH 5/7] nilfs2: get rid of nilfs_palloc_group_is_in()

2015-09-19 Thread Ryusuke Konishi
This unfolds nilfs_palloc_group_is_in() helper function into nilfs_palloc_freev() function to simplify a range check and an index calculation repeatedy performed in a loop of the function. Signed-off-by: Ryusuke Konishi --- fs/nilfs2/alloc.c | 28 +--- 1 file changed, 9 i

[PATCH 2/7] nilfs2: use nilfs_warning() in allocator implementation

2015-09-19 Thread Ryusuke Konishi
This uses nilfs_warning() to replace "printk(KERN_WARNING ...);" in the bitmap based allocator implementation of nilfs2. The warning messages are modified to include the device name and the inode number in each message. This makes it clear which metadata file of which device has output warnings s

[PATCH 6/7] nilfs2: add helper functions to delete blocks from dat file

2015-09-19 Thread Ryusuke Konishi
This adds delete functions for data blocks of metadata files using bitmap based allocator. nilfs_palloc_delete_entry_block() deletes an entry block (e.g. block storing dat entries), and nilfs_palloc_delete_bitmap_block() deletes a bitmap block, respectively. These helpers are intended to be used

[PATCH 7/7] nilfs2: free unused dat file blocks during garbage collection

2015-09-19 Thread Ryusuke Konishi
As a nilfs2 volume ages, the amount of available disk space decreases little by little due to bloat of DAT (disk address translation) metadata file. Even if we delete all files in a file system and free their block addresses from the DAT file through a garbage collection, empty DAT blocks are not

[PATCH 4/7] nilfs2: refactor nilfs_palloc_find_available_slot()

2015-09-19 Thread Ryusuke Konishi
The current implementation of nilfs_palloc_find_available_slot() function is overkill. The underlying bit search routine is well optimized, so this uses it more simply in nilfs_palloc_find_available_slot(). Signed-off-by: Ryusuke Konishi --- fs/nilfs2/alloc.c | 48 +-

Re: First kernel patch (optimization)

2015-09-19 Thread Theodore Ts'o
On Fri, Sep 18, 2015 at 10:18:27PM -0700, Greg KH wrote: > And again, don't knock the basic whitespace patch. It is non-trivial, > see the tutorials for proof of that. > > And please, NEVER chide someone for contributing whitespace patches, > it's a sure way to ensure that this person never contr

Re: First kernel patch (optimization)

2015-09-19 Thread Alexander Holler
Am 19.09.2015 um 07:18 schrieb Greg KH: I have been saying for years that we have a lack of real projects / tasks / ideas for people who are skilled, yet have no idea what to do. I know of well over a hundred people I have email addresses of that have asked me for these types of things, and have

Re: [PATCH] linux-firmware: Add qmss accumulator pdsp firmware for keystone SoCs

2015-09-19 Thread Kyle McMartin
On Fri, Sep 18, 2015 at 11:43:02AM -0400, Murali Karicheri wrote:> >>+ > Dear firmware maintainer, > > Could you please review this patch and comment if it requires any change? If > looks good, let me know when this will be queued for merge to the mainline > linux-firmware.git repo. > > Thanks I

[PATCH] nvmem: core: Fix memory leak in nvmem_cell_write

2015-09-19 Thread Axel Lin
A tmp buffer is allocated if cell->bit_offset || cell->nbits. So the tmp buffer needs to be freed at the same condition to avoid leak. Signed-off-by: Axel Lin --- drivers/nvmem/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c

[PATCH 1/2] perf tools: Use postorder rbtree iteration when removing symbols

2015-09-19 Thread Alex Snast
Avoid using rb_erase when removing symbols as it requires rbtree rebalancing, instead preform a post order iteration when deleting tree symbols. Signed-off-by: Alex Snast --- tools/include/linux/rbtree.h | 14 ++ tools/perf/util/symbol.c | 11 --- 2 files changed, 18 inse

[PATCH 2/2] perf tools: Use rb_entry_safe on first / next symbol lookup

2015-09-19 Thread Alex Snast
Signed-off-by: Alex Snast --- tools/perf/util/symbol.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 8b3608c..5728121 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -344,20 +344,14

[PATCH v3 1/4] usb: host: ehci-spear: Fix module autoload for OF platform driver

2015-09-19 Thread Luis de Bethencourt
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 --- drivers/usb/host/ehci-spear.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/

[PATCH v3 0/4] usb: host: Fix module autoload for OF platform drivers

2015-09-19 Thread Luis de Bethencourt
Hi, Resending the whole series as Greg asked, and also doing it as a thread patch series. Sorry for not doing this properly before, I'm learning the development process. I was using mutt but now I switched to git send-email. Hopefully procedure will be correct this time. These patches add the mis

[PATCH v3 4/4] usb: host: uhci-platform: Fix module autoload for OF platform driver

2015-09-19 Thread Luis de Bethencourt
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 --- drivers/usb/host/uhci-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/uhci-platform.c b/driver

[PATCH v3 3/4] usb: host: ohci-spear: Fix module autoload for OF platform driver

2015-09-19 Thread Luis de Bethencourt
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 --- drivers/usb/host/ohci-spear.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/

[PATCH v3 2/4] usb: host: fsl-mph-dr-of: Fix module autoload for OF platform driver

2015-09-19 Thread Luis de Bethencourt
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 --- drivers/usb/host/fsl-mph-dr-of.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/driver

Apply Loan!

2015-09-19 Thread ALLIANCE & LEICESTER LOANS
ALLIANCE & LEICESTER LOANS Do you need a loan? Arrangements to borrow up to £ 100,000,000.00, choose between 1 to 25 years repayment period, choose between monthly and annual repayment plan, flexible loan terms and conditions. All this plan and more by contacting us Dr. Richard Jose Head of Fi

Re: tools build: Unused function, incomplete rename

2015-09-19 Thread Jiri Olsa
On Fri, Sep 18, 2015 at 04:23:34PM -0300, Arnaldo Carvalho de Melo wrote: > Hi Jiri, Ingo, > > While trying to figure out why the bpf feature test is always > triggering the display of the "Auto-detecting system features" I noticed > this pattern: > > [acme@felicio linux]$ egrep '^define|ev

Re: tools build: Unused function, incomplete rename

2015-09-19 Thread Jiri Olsa
On Fri, Sep 18, 2015 at 05:42:47PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 18, 2015 at 04:48:52PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Sep 18, 2015 at 04:38:42PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Fri, Sep 18, 2015 at 04:23:34PM -0300, Arnaldo Carvalho

Linux 3.12.48

2015-09-19 Thread Jiri Slaby
I'm announcing the release of the 3.12.48 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: First kernel patch (optimization)

2015-09-19 Thread Alexander Holler
Am 19.09.2015 um 14:52 schrieb Alexander Holler: Am 19.09.2015 um 07:18 schrieb Greg KH: I have been saying for years that we have a lack of real projects / tasks / ideas for people who are skilled, yet have no idea what to do. I know of well over a hundred people I have email addresses of that

Re: First kernel patch (optimization)

2015-09-19 Thread Theodore Ts'o
On Sat, Sep 19, 2015 at 02:52:06PM +0200, Alexander Holler wrote: > > I've recently posted a proof of concept for wiping files, or in other words > to really delete files, And it was a disaster because if someone posts > imperfect pathhes on this list, people have fun trying to eat you (because >

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Tetsuo Handa
Michal Hocko wrote: > This has been posted in various forms many times over past years. I > still do not think this is a right approach of dealing with the problem. I do not think "GFP_NOFS can fail" patch is a right approach because that patch easily causes messages like below. Buffer I/O erro

Re: [linux-next] oops in ip_route_input_noref

2015-09-19 Thread David Ahern
On 9/18/15 5:06 PM, Andrew Morton wrote: I've been hitting this as well. An oops on boot in ip_route_input_slow(), here: Fixed in net-next. bde6f9ded1bd37ff27a042dcb968e104d92b02c1 David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to m

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Oleg Nesterov
On 09/19, Michal Hocko wrote: > > This has been posted in various forms many times over past years. I > still do not think this is a right approach of dealing with the problem. Agreed. But still I think it makes sense to try to kill another task if the victim refuse to die. Yes, the details are no

[PATCH] tools lib api fs: Store tracing mountpoint for better error message

2015-09-19 Thread Jiri Olsa
Storing the actual tracing path mountpoint to display correct error message hint ('Hint:' line). The error hint rediscovers mountpoints, but it could be different from what we actually used in tracing path. Before we'd display debugfs mount even though tracefs was used: $ perf record -e sched:sc

Re: [PATCH] tools lib api fs: Store tracing mountpoint for better error message

2015-09-19 Thread David Ahern
On 9/19/15 8:47 AM, Jiri Olsa wrote: diff --git a/tools/lib/api/fs/tracing_path.c b/tools/lib/api/fs/tracing_path.c index 38aca2dd1946..0406a7d5c891 100644 --- a/tools/lib/api/fs/tracing_path.c +++ b/tools/lib/api/fs/tracing_path.c @@ -12,12 +12,14 @@ #include "tracing_path.h" +char tracing_

[PATCH] Staging: comedi: Fix trailing */ and * comment warning

2015-09-19 Thread Punit Vara
This patch is to comedidev.h file that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/comedi/comedidev.h | 62 ---

Re: [PATCH] tools lib api fs: Store tracing mountpoint for better error message

2015-09-19 Thread Jiri Olsa
On Sat, Sep 19, 2015 at 08:50:19AM -0600, David Ahern wrote: > On 9/19/15 8:47 AM, Jiri Olsa wrote: > > >diff --git a/tools/lib/api/fs/tracing_path.c > >b/tools/lib/api/fs/tracing_path.c > >index 38aca2dd1946..0406a7d5c891 100644 > >--- a/tools/lib/api/fs/tracing_path.c > >+++ b/tools/lib/api/fs/

can't oom-kill zap the victim's memory?

2015-09-19 Thread Oleg Nesterov
On 09/17, Kyle Walker wrote: > > Currently, the oom killer will attempt to kill a process that is in > TASK_UNINTERRUPTIBLE state. For tasks in this state for an exceptional > period of time, such as processes writing to a frozen filesystem during > a lengthy backup operation, this can result in a

Re: can't oom-kill zap the victim's memory?

2015-09-19 Thread Oleg Nesterov
(off-topic) On 09/19, Oleg Nesterov wrote: > > @@ -570,8 +590,8 @@ void oom_kill_process(struct task_struct *p, gfp_t > gfp_mask, int order, > victim = p; > } > > - /* mm cannot safely be dereferenced after task_unlock(victim) */ > mm = victim->mm; > + atomic_inc

Re: [PATCH] tools lib api fs: Store tracing mountpoint for better error message

2015-09-19 Thread Raphaël Beamonte
2015-09-19 11:00 GMT-04:00 Jiri Olsa : > On Sat, Sep 19, 2015 at 08:50:19AM -0600, David Ahern wrote: >> On 9/19/15 8:47 AM, Jiri Olsa wrote: >> >> >diff --git a/tools/lib/api/fs/tracing_path.c >> >b/tools/lib/api/fs/tracing_path.c >> >index 38aca2dd1946..0406a7d5c891 100644 >> >--- a/tools/lib/ap

Re: [PATCH] tools lib api fs: Store tracing mountpoint for better error message

2015-09-19 Thread Raphaël Beamonte
2015-09-19 10:47 GMT-04:00 Jiri Olsa : > Storing the actual tracing path mountpoint to display correct > error message hint ('Hint:' line). The error hint rediscovers > mountpoints, but it could be different from what we actually > used in tracing path. > > Before we'd display debugfs mount even th

Re: [RFC v2 3/7] powerpc: atomic: Implement atomic{,64}_{add,sub}_return_* variants

2015-09-19 Thread Boqun Feng
Hi Will, On Fri, Sep 18, 2015 at 05:59:02PM +0100, Will Deacon wrote: > On Wed, Sep 16, 2015 at 04:49:31PM +0100, Boqun Feng wrote: > > On powerpc, we don't need a general memory barrier to achieve acquire and > > release semantics, so __atomic_op_{acquire,release} can be implemented > > using "lw

Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting

2015-09-19 Thread Kohji Okuno
From: Thomas Gleixner Date: Fri, 18 Sep 2015 16:46:24 +0200 > On Fri, 18 Sep 2015, Kohji Okuno wrote: >> >> irq thread(runs sdhci_thread_irq()) is waiting on >> drivers/mmc/core/core.c:mmc_wait_for_req_done() in order to access >> a SDIO register. And, this thread shoud be woken up from >> sdhci_

DO YOU NEED A LOAN AT 3% RATE ANNUALLY.

2015-09-19 Thread
DO YOU NEED A LOAN AT 3% RATE ANNUALLY,IF YES CONTACT US FOR MORE INFO -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://w

[PATCH] char: ipmi: Move MODULE_DEVICE_TABLE() to follow struct

2015-09-19 Thread Luis de Bethencourt
The policy for drivers is to have MODULE_DEVICE_TABLE() just after the struct used in it. For clarity. Suggested-by: Corey Minyard Signed-off-by: Luis de Bethencourt --- Suggested in: https://lkml.org/lkml/2015/9/18/842 Thanks Corey, Luis drivers/char/ipmi/ipmi_si_intf.c | 2 +- 1 file chang

Affordable Loan

2015-09-19 Thread RadiantFinance
Radiant Finance provides the cash you need with fixed monthly payments that you can afford and no prepayment penalties. We can help make your dreams a reality with a personal loan for most any purpose. To get started with our simple, sensible and secure loan application process, just fill the l

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-19 Thread Michal Hocko
On Sat 19-09-15 23:33:07, Tetsuo Handa wrote: > Michal Hocko wrote: > > This has been posted in various forms many times over past years. I > > still do not think this is a right approach of dealing with the problem. > > I do not think "GFP_NOFS can fail" patch is a right approach because > that p

Re: can't oom-kill zap the victim's memory?

2015-09-19 Thread Michal Hocko
On Sat 19-09-15 17:03:16, Oleg Nesterov wrote: > On 09/17, Kyle Walker wrote: > > > > Currently, the oom killer will attempt to kill a process that is in > > TASK_UNINTERRUPTIBLE state. For tasks in this state for an exceptional > > period of time, such as processes writing to a frozen filesystem d

Re: [PATCH 2/2] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-19 Thread Sergei Shtylyov
Hello. On 9/18/2015 8:12 PM, e...@felipetonello.com wrote: From: "Felipe F. Tonello" f_midi is not checking weather the is an error on usb_ep_queue request, ignoring potential problems, such as memory leaks. Signed-off-by: Felipe F. Tonello --- drivers/usb/gadget/function/f_midi.c | 10 ++

Re: [PATCH v2 8/8] memcg: generate file modified notifications on "memory.events"

2015-09-19 Thread Michal Hocko
On Fri 18-09-15 18:01:59, Tejun Heo wrote: > Hello, > > Once cgroup/for-4.4 gets propagated to mm, this should apply cleanly. > Alternatively, I can apply it through the cgroup tree. Which would > you prefer? I am OK to go via your tree as well. -- Michal Hocko SUSE Labs -- To unsubscribe from

Re: [PATCH -mm] mm/khugepaged: fix scan not aborted on SCAN_EXCEED_SWAP_PTE

2015-09-19 Thread Michal Hocko
On Fri 18-09-15 18:43:23, Vladimir Davydov wrote: [...] > Fixes: acc067d59a1f9 ("mm: make optimistic check for swapin readahead") This sha will not exist after the patch gets merged to the Linus tree from the Andrew tree. Either reference it just by the subject or simply mark it for Andrew to be f

Re: [PATCH] Staging: comedi: Fix coding style issues

2015-09-19 Thread punit vara
For this patch can I put subject like [PATCH] Staging: comedi: Fix trailing */ and * comment warning ?? Kindly suggest me as this is my first patch and i am trying to contribute to linux kernel . On Fri, Sep 18, 2015 at 10:22 PM, Punit Vara wrote: > This patch is to comedidev.h file that fixes

Re: [PATCH] Staging: comedi: Fix coding style issues

2015-09-19 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Sat, Sep 19, 2015 at 09:57:43PM +0530, punit vara wrote: > For this patch can I put subject like > > [PATCH] Staging: comedi: Fix trailing */ and * comment warning > > ?? Yes, that would be much

Re: [PATCH 0/3] ALSA: hda - Avoid potential deadlock

2015-09-19 Thread Takashi Iwai
On Thu, 17 Sep 2015 12:00:03 +0200, Thierry Reding wrote: > > From: Thierry Reding > > The Tegra HDA controller driver committed in v3.16 causes deadlocks when > loaded as a module. The reason is that the driver core will lock the HDA > controller device upon calling its probe callback and the p

Re: [PATCH] platform/x86: Toshiba WMI Hotkey Driver

2015-09-19 Thread Dmitry Torokhov
On Fri, Sep 18, 2015 at 2:59 PM, Darren Hart wrote: > On Wed, Sep 09, 2015 at 11:30:10AM -0600, Azael Avalos wrote: >> Toshiba laptops that feature WMI events for hotkeys were left unsupported >> by the toshiba_acpi driver, however, commit a88bc06e5aec ("toshiba_acpi: >> Avoid registering input de

MacBook8,1 (2015) HID Hardware Support

2015-09-19 Thread Aleksa Sarai
Hello, I've been trying to get Linux installed on a MacBook8,1 (not the pro) and have had trouble getting keyboard input to work, despite a4a2c54560f2c57b88ba0283f141b44f594c2337 ("HID: apple: Add support for the 2015 Macbook Pro") and d58069265c9d15c04c9e3832cd1d9dffe9d4d5f6 ("Input: bcm5974 - ad

[GIT PULL] libnvdimm fixes for 4.3-rc2

2015-09-19 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive: 1/ A boot regression (since v4.2) fix for some ARM configurations from Tyler 2/ Regression (since v4.1) fixes for mkfs.xfs on a DAX enabled device from Jeff. These are tag

[PATCH 3/3] page-flags: rectify forward declaration

2015-09-19 Thread Sudip Mukherjee
compound_head is defined as inline in page-flags.h but in the forward declaration of compound_head in the same file missed "inline". As a result we got plenty of build warnings while building for some architecture like avr32. The warning showed as: warning: 'compound_head' declared inline after bei

[PATCH 1/3] avr32: fix build failure

2015-09-19 Thread Sudip Mukherjee
While building avr32 with allmodconfig, the build used to fail with the message: error: implicit declaration of function 'pci_iomap' error: implicit declaration of function 'pci_iounmap' Create dummy pci_io{map,unmap} functions to fix the build. Signed-off-by: Sudip Mukherjee --- Tested with de

[PATCH 0/3] fix allmodconfig failure of avr32

2015-09-19 Thread Sudip Mukherjee
Build of allmodconfig with avr32 used to fail with the errors: error: implicit declaration of function 'pci_iomap' error: implicit declaration of function 'pci_iounmap' and "at91_pmc_base" [drivers/usb/gadget/udc/atmel_usba_udc.ko] undefined! First two patches fixes these two problems. Third patch

[PATCH 2/3] usb: gadget: at91_udc: mention proper dependency

2015-09-19 Thread Sudip Mukherjee
While building allmodconfig on avr32 the build failed with the error: "at91_pmc_base" [drivers/usb/gadget/udc/atmel_usba_udc.ko] undefined! On checking the code it turned out that if CONFIG_OF is defined then it is using at91_pmc_read() which is using at91_pmc_base. And unless COMMON_CLK_AT91 is d

Re: MacBook8,1 (2015) HID Hardware Support

2015-09-19 Thread Dmitry Torokhov
On Sun, Sep 20, 2015 at 03:10:16AM +1000, Aleksa Sarai wrote: > Hello, > > I've been trying to get Linux installed on a MacBook8,1 (not the pro) > and have had trouble getting keyboard input to work, despite > a4a2c54560f2c57b88ba0283f141b44f594c2337 ("HID: apple: Add support for > the 2015 Macboo

Re: Loan

2015-09-19 Thread 4trt4rf
We can help you with a genuine loan to meet your needs. Do you need a personal or business loan without stress and quick approval? Do you need an urgent loan today? No Credit Checks * LOAN APPROVAL IN 60MINS !! * GUARANTEED SAME DAY TRANSFER !! * 100% APPROVAL RATE !! * LOW INTEREST RATE !! Contact

Re: MacBook8,1 (2015) HID Hardware Support

2015-09-19 Thread Aleksa Sarai
> IIRC these models use SPI instead of USB for the keyboard/trackpad, so > the commits you are referencing will not work for you. Ah, okay. Figures. > I do not know if anyone is looking into getting SPI variants to work. I'm guessing the current effort for supporting Apple hardware in drivers/hi

[PATCH 3.10 00/20] 3.10.89-stable review

2015-09-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.89 release. There are 20 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Sep 21 17:16:03 UTC 2015. Anything receiv

[PATCH 3.14 16/29] serial: 8250: dont bind to SMSC IrCC IR port

2015-09-19 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: "Maciej S. Szmigiero" commit ffa34de03bcfbfa88d8352942bc238bb48e94e2d upstream. SMSC IrCC SIR/FIR port should not be bound to by (legacy) serial driver so its own driver (smsc-ircc2) can bind

[PATCH 3.14 26/29] of/address: Dont loop forever in of_find_matching_node_by_address().

2015-09-19 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit 3a496b00b6f90c41bd21a410871dfc97d4f3c7ab upstream. If the internal call to of_address_to_resource() fails, we end up looping forever in of_find_matching_node_by_address().

[PATCH 3.14 28/29] drivercore: Fix unregistration path of platform devices

2015-09-19 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Grant Likely commit 7f5dcaf1fdf289767a126a0a5cc3ef39b5254b06 upstream. The unregister path of platform_device is broken. On registration, it will register all resources with either a parent al

[PATCH 3.14 00/29] 3.14.53-stable review

2015-09-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.14.53 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Sep 21 17:18:53 UTC 2015. Anything receiv

[PATCH 3.14 29/29] hpfs: update ctime and mtime on directory modification

2015-09-19 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit f49a26e7718dd30b49e3541e3e25aecf5e7294e2 upstream. Update ctime and mtime when a directory is modified. (though OS/2 doesn't update them anyway) Signed-off-by: Mikulas

[PATCH 3.14 27/29] ARM: OMAP2+: DRA7: clockdomain: change l4per2_7xx_clkdm to SW_WKUP

2015-09-19 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Vignesh R commit b9e23f321940d2db2c9def8ff723b8464fb86343 upstream. Legacy IPs like PWMSS, present under l4per2_7xx_clkdm, cannot support smart-idle when its clock domain is in HW_AUTO on DRA7

[PATCH 4.1 006/102] drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6

2015-09-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Imre Deak commit 54875571bbfde00fc63741715c531cbb5246c3b2 upstream. commit da2bc1b9db3351addd293e5b82757efe1f77ed1d Author: Imre Deak Date: Thu Oct 23 19:23:26 2014 +0300 drm/i915: add

  1   2   3   4   5   >