Re: [PATCH v2] Staging: rtl8712: Removed unused return variable

2015-04-23 Thread Sudip Mukherjee
On Thu, Apr 23, 2015 at 03:00:14PM +, DHANAPAL, GNANACHANDRAN (G.) wrote: > This patch removes unused return variable in this file. > > Signed-off-by: Gnanachandran Dhanapal > --- your From: name and Signed-off-by: name is not matching. regards sudip -- To unsubscribe from this list: send

Re: [PATCH] net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface

2015-04-23 Thread Mugunthan V N
On Friday 24 April 2015 12:47 AM, Murali Karicheri wrote: > Currently when interface type is MAC to Phy, netif_carrier_(on/off) > is called which is not needed as Phy lib already updates the carrier > status to net stack. This is needed only for other interface types > > Signed-off-by: Murali

Did you get my donation message??

2015-04-23 Thread Maureen Hinckley
Did you get my donation message?? Best Regards, Maureen Hinckley Copyright ©2015• The Maureen Hinckley Foundation• All Rights Reserved -- 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: [RESEND PATCH 4/8] mfd: cros_ec: Use a zero-length array for command data

2015-04-23 Thread Gwendal Grignou
In general we can use kmalloc instead of kzalloc. Also some commands do not need malloc at all. We could allocate on stack for known small commands and for the keyboard case use the caller argument. Gwendal. On Mon, Apr 6, 2015 at 9:15 AM, Javier Martinez Canillas wrote: > Commit 1b84f2a4cd4a

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-23 Thread Steven Noonan
On Thu, Apr 23, 2015 at 2:41 PM, Borislav Petkov wrote: > On Thu, Apr 23, 2015 at 11:22:39PM +0200, David Herrmann wrote: >> No it's not. O(256) equals O(1). > > Ok, you're right. Maybe O() was not the right thing to use when trying > to point out that iterating over 256 hash buckets and then

Re: Thunderbolt hotplug not working on MacMini7,1

2015-04-23 Thread Adam Goode
On Thu, Apr 23, 2015 at 1:15 PM, Adam Goode wrote: > On Thu, Apr 23, 2015 at 12:12 PM, Andreas Noever > wrote: >> On Thu, Apr 23, 2015 at 5:10 PM, Adam Goode wrote: >>> On Thu, Apr 23, 2015 at 9:28 AM, Adam Goode wrote: On Thu, Apr 23, 2015 at 6:08 AM, Andreas Noever wrote:

linux-next: Tree for Apr 24

2015-04-23 Thread Stephen Rothwell
Hi all, Please do not add any v4.2 material to your linux-next included trees until after v4.1-rc1 is released. Changes since 20150423: The blackfin tree gained a conflict against Linus' tree. The kvm tree gained a conflict against the powerpc-merge-mpe tree. Non-merge commits (relative

[PATCH] tools/liblockdep: Fix linker error in case of cross compile.

2015-04-23 Thread Eunbong Song
If we try to cross compile liblockdep, even if we set the CROSS_COMPILE variable the linker error can occur because LD is not set with CROSS_COMPILE. This patch adds "LD" can be set automatically with CROSS_COMPILE variable so fixes linker error problem. Signed-off-by: Eunbong Song ---

Re: [PATCH v3 2/2] extcon-axp288: Add axp288 extcon driver support

2015-04-23 Thread Chanwoo Choi
Hi Ramakrishna, I'm sorry for late reply. On 04/09/2015 02:12 AM, Ramakrishna Pallala wrote: > This patch adds the extcon support for AXP288 PMIC which > has the BC1.2 charger detection capability. Additionally > it also adds the USB mux switching support b/w SOC and PMIC > based on GPIO

[PATCH v4 2/2] thermal: hisilicon: add new hisilicon thermal sensor driver

2015-04-23 Thread Xinwei Kong
From: kongxinwei This patch adds the support for hisilicon thermal sensor, within hisilicon SoC. there will register sensors for thermal framework and use device tree to bind cooling device. Signed-off-by: Leo Yan Signed-off-by: kongxinwei --- drivers/thermal/Kconfig| 8 +

[PATCH v4 0/2] 96boards: add thermal senor support to hikey board

2015-04-23 Thread Xinwei Kong
From: kongxinwei The Linaro connect introduce 96boards series in Hong Kong,The HiKey board is the first board to be certified 96Boards Consumer Edition compatible. This board is based on the HiSilicon SoC. you can get more information from https://www.96boards.org. The hisilicon SoC contains

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-23 Thread Brian Gerst
On Thu, Apr 23, 2015 at 10:15 PM, Andy Lutomirski wrote: > AMD CPUs don't reinitialize the SS descriptor on SYSRET, so SYSRET > with SS == 0 results in an invalid usermode state in which SS is > apparently equal to __USER_DS but causes #SS if used. > > Work around the issue by replacing NULL SS

[PATCH v4 1/2] dt-bindings: Document the hi6220 thermal sensor bindings

2015-04-23 Thread Xinwei Kong
From: kongxinwei This adds documentation of device tree bindings for the thermal sensor controller of hi6220 SoC. Signed-off-by: Leo Yan Signed-off-by: kongxinwei --- .../bindings/thermal/hisilicon-thermal.txt | 23 ++ 1 file changed, 23 insertions(+) create mode

[uclinux-dist-devel] [GIT PULL] Blackfin fixes for v4.1

2015-04-23 Thread Steven Miao
Hi Linus, please pull blackfin fixes for v4.1, PM, kgdb, debug mmr fix, add gpio softswitch, update defconfig and board files, and build fixes. The following changes since commit 39a8804455fb23f09157341d3ba7db6d7ae6ee76: Linux 4.0 (2015-04-12 15:12:50 -0700) are available in the git

Re: [PATCH v2 1/2] soc: qcom: Add device tree binding for SMEM

2015-04-23 Thread Bjorn Andersson
On Thu, Apr 23, 2015 at 1:01 PM, Jeffrey Hugo wrote: > On 4/11/2015 5:32 PM, Bjorn Andersson wrote: >> >> Add device tree binding documentation for the Qualcom Shared Memory >> manager. >> [..] > > For my information, is there any intention to support the relocatable > smem_region by looking it

Re: [RFC 0/4] arm64: add livepatch support

2015-04-23 Thread Li Bin
On 2015/4/24 10:44, AKASHI Takahiro wrote: > This patchset enables livepatch support on arm64. > > Livepatch was merged in v4.0, and allows replacying a function dynamically > based on ftrace framework, but it also requires -mfentry option of gcc. > Currently arm64 gcc doesn't support it, but by

Re: loop block-mq conversion scalability issues

2015-04-23 Thread Ming Lei
Hi Justin, Thanks for the report. On Thu, 23 Apr 2015 16:04:10 -0500 "Justin M. Forbes" wrote: > The block-mq conversion for loop in 4.0 kernels is showing us an > interesting scalability problem with live CDs (ro, squashfs). It was > noticed when testing the Fedora beta that the more CPUs a

Re: [RFC 0/4] arm64: add livepatch support

2015-04-23 Thread Steven Rostedt
On Fri, 24 Apr 2015 11:44:05 +0900 AKASHI Takahiro wrote: > This patchset enables livepatch support on arm64. > > Livepatch was merged in v4.0, and allows replacying a function dynamically > based on ftrace framework, but it also requires -mfentry option of gcc. > Currently arm64 gcc doesn't

[RFC 3/4] arm64: ftrace: add DYNAMIC_TRACE_WITH_REGS version

2015-04-23 Thread AKASHI Takahiro
CONFIG_DYNAMIC_TRACE_WITH_REGS is a prerequisite for ftrace-based kprobes as well as livepatch. This patch adds ftrace_regs_caller(), which will pass pt_regs info to ftrace handlers, to enable this config. Signed-off-by: AKASHI Takahiro --- arch/arm64/Kconfig |1 +

[RFC 4/4] arm64: add livepatch support

2015-04-23 Thread AKASHI Takahiro
Signed-off-by: AKASHI Takahiro --- arch/arm64/Kconfig |3 ++ arch/arm64/include/asm/livepatch.h | 38 arch/arm64/kernel/Makefile |1 + arch/arm64/kernel/livepatch.c | 68 4 files changed, 110

[RFC 2/4] livepatch: adjust a patched function's address

2015-04-23 Thread AKASHI Takahiro
The existing livepatch code assumes that a fentry call is inserted before a function prolog by -mfentry option of gcc. But the location of mcount() can be identified by using ftrace_lookup_mcount(), and which eventually allows arch's which don't support -mfentry option, like arm64, to support

[RFC 1/4] ftrace: add a helper function for livepatch

2015-04-23 Thread AKASHI Takahiro
ftrace_lookup_mcount() will return an address of mcount call in a function. Signed-off-by: AKASHI Takahiro --- include/linux/ftrace.h |2 ++ kernel/trace/ftrace.c | 26 ++ 2 files changed, 28 insertions(+) diff --git a/include/linux/ftrace.h

[RFC 0/4] arm64: add livepatch support

2015-04-23 Thread AKASHI Takahiro
This patchset enables livepatch support on arm64. Livepatch was merged in v4.0, and allows replacying a function dynamically based on ftrace framework, but it also requires -mfentry option of gcc. Currently arm64 gcc doesn't support it, but by adding a helper function to ftrace, we will be able

Re: [PATCH 1/2] vfs: export symbol 'getname' and 'putname'

2015-04-23 Thread Drokin, Oleg
On Apr 22, 2015, at 3:34 AM, Christoph Hellwig wrote: > On Wed, Apr 22, 2015 at 06:49:08AM +, Drokin, Oleg wrote: >> I know this is not going to be a popular opinion with you, but sometimes >> opening a file >> is just too expensive. 1 RPC roudntrip to open a file and then another one >> to

Re: [PATCH v3] ethernet: myri10ge: use arch_phys_wc_add()

2015-04-23 Thread David Miller
From: Hyong-Youb Kim Date: Fri, 24 Apr 2015 10:57:58 +0900 > X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2015 01:58:46.2847 (UTC) > X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted > X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1302 > X-Greylist: Default is to

Re: [PATCH v2 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-23 Thread Ming Lei
On Sat, Apr 11, 2015 at 7:30 PM, Ming Lei wrote: > The lo_ctl_mutex is held for running all ioctl handlers, and > in some ioctl handlers, ioctl_by_bdev(BLKRRPART) is called for > rereading partitions, which requires bd_mutex. > > So it is easy to cause failure because trylock(bd_mutex) may > fail

Re: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-23 Thread Rik van Riel
On 04/23/2015 06:57 PM, Wanpeng Li wrote: > Cc Rik, who is doing the similar work. :) Hi Liang, I posted this patch earlier, which should have the same effect as your patch on more modern systems, while not loading the FPU context for guests that barely use it on older systems:

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-23 Thread Andy Lutomirski
On Thu, Apr 23, 2015 at 7:15 PM, Andy Lutomirski wrote: > AMD CPUs don't reinitialize the SS descriptor on SYSRET, so SYSRET > with SS == 0 results in an invalid usermode state in which SS is > apparently equal to __USER_DS but causes #SS if used. > > Work around the issue by replacing NULL SS

RE: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware

2015-04-23 Thread Kweh, Hock Leong
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Thursday, April 23, 2015 10:10 PM > > On Thu, 2015-04-23 at 08:30 +, Kweh, Hock Leong wrote: > > > -Original Message- > > > From: James Bottomley >

Re: [LKP] [RAID5] 878ee679279: -1.8% vmstat.io.bo, +40.5% perf-stat.LLC-load-misses

2015-04-23 Thread NeilBrown
On Thu, 23 Apr 2015 14:55:59 +0800 Huang Ying wrote: > FYI, we noticed the below changes on > > git://neil.brown.name/md for-next > commit 878ee6792799e2f88bdcac329845efadb205252f ("RAID5: batch adjacent full > stripe write") Hi, is there any chance that you could explain what some of this

[PATCH] context_tracking: remove local_irq_save from __acct_update_integrals

2015-04-23 Thread Rik van Riel
The function __acct_update_integrals() is called both from irq context and task context. This creates a race where irq context can advance tsk->acct_timexpd to a value larger than time, leading to a negative value, which causes a divide error. See commit 6d5b5acca9e5 ("Fix fixpoint divide

[PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-23 Thread Andy Lutomirski
AMD CPUs don't reinitialize the SS descriptor on SYSRET, so SYSRET with SS == 0 results in an invalid usermode state in which SS is apparently equal to __USER_DS but causes #SS if used. Work around the issue by replacing NULL SS values with __KERNEL_DS in __switch_to, thus ensuring that SYSRET

Input: keyboard/Trackpad support for MacBookPro 12,1

2015-04-23 Thread Yang Hongyang
My new MacBook Pro (Retina, 13-inch, Early 2015, Model Identifier: MacBookPro12,1) with ForceTouch trackpad has a new Product ID 0x0273, which I think is the ISO, and the other should be ANSI:0x0272, JIS:0x0274, but I'm not sure, anyone can confirm this? Apple Internal Keyboard / Trackpad:

linux-next: manual merge of the kvm tree with the powerpc-merge-mpe tree

2015-04-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in arch/powerpc/kvm/book3s_hv_rm_mmu.c between commit dac565706791 ("KVM: PPC: Remove page table walk helpers") from the powerpc-merge-mpe tree and commit a4bd6eb07ca7 ("KVM: PPC: Book3S HV: Add helpers for lock/unlock hpte") from

Re: [GIT PULL 0/4] perf/urgent fixes

2015-04-23 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 24, 2015 at 11:02:18AM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > I've set up some docker containers for build test, and found a couple > of failures.. It seems David's kmem build fix ("perf kmem: Fix > compiles on RHEL6/OL6") which is in your perf/core branch also needs > to be

[PATCH] elevator: fix memory leak in ->elevator_init_fn

2015-04-23 Thread Chao Yu
In ->elevator_init_fn, if we fail to call kzalloc_node, we should release elevator queue space which is allocated previously, otherwise it will cause memory leak. Signed-off-by: Chao Yu --- block/cfq-iosched.c | 1 + block/deadline-iosched.c | 1 + block/noop-iosched.c | 1 + 3 files

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-23 Thread Karol Lewandowski
On Thu, Apr 23, 2015 at 09:30:13PM +0200, Greg Kroah-Hartman wrote: > On Thu, Apr 23, 2015 at 01:42:25PM -0400, Stephen Smalley wrote: > > On 04/23/2015 01:16 PM, Greg Kroah-Hartman wrote: > > > The binder developers at Samsung have stated that the implementation we > > > have here works for their

Re: [GIT PULL 0/4] perf/urgent fixes

2015-04-23 Thread Namhyung Kim
Hi Arnaldo, I've set up some docker containers for build test, and found a couple of failures.. It seems David's kmem build fix ("perf kmem: Fix compiles on RHEL6/OL6") which is in your perf/core branch also needs to be in perf/urgent. Sorry about the kmem breakages.. And I also found this..

Re: [PATCH v3] ethernet: myri10ge: use arch_phys_wc_add()

2015-04-23 Thread Hyong-Youb Kim
On Thu, Apr 23, 2015 at 02:28:40PM -0400, David Miller wrote: > I can't wait forever for the driver maintainers to review this, so > I'm applying it. FWIW, I replied to Luis's patch yesterday. It appears on the netdev list and patchwork. Checked the recipient list, and it includes netdev, but

[PATCH v2] scripts/gdb: Add command to check list consistency

2015-04-23 Thread Thiébaud Weksteen
Add a gdb script to verify the consistency of lists. Signed-off-by: Thiébaud Weksteen --- Implement suggestions from Jan. Changes in v2: - Add copyright line - Rename check_list to list_check - Remove casting and only accept (struct list_head) object - Add error message if argument is

[PATCH RESEND] ocfs2: use retval instead of status for checking error

2015-04-23 Thread Daeseok Youn
The use of 'status' in __ocfs2_add_entry() can return wrong value. Some functions' return value in __ocfs2_add_entry(), i.e ocfs2_journal_access_di() is saved to 'status'. But 'status' is not used in 'bail' label for returning result of __ocfs2_add_entry(). So use retval instead of status.

RE: [PATCH] elevator: fix double release for elevator module

2015-04-23 Thread Chao Yu
Hi Jens and Jeff, Thanks for your review and help! :) Regards, > -Original Message- > From: Jens Axboe [mailto:ax...@kernel.dk] > Sent: Friday, April 24, 2015 12:49 AM > To: Jeff Moyer; Chao Yu > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH] elevator: fix double release for

Re: [PATCH] ocfs2: use retval instead of status for checking error

2015-04-23 Thread DaeSeok Youn
Hi, Andrew. Is there problem this patch to merge? If you care about mlog_errno() cleanup, I will send another patch for that. And also if you have any reasons this patch has not been taken, please let me know. I will fix and test again. Thanks. regards, Daeseok Youn/ 2015-04-23 9:49 GMT+09:00

[PATCH v2 9.5/10] perf hists browser: Simplify zooming code using pstack_peek()

2015-04-23 Thread Namhyung Kim
Now LEFT key press action can just use do_zoom_dso/thread() code to get out of the current filter. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c

[PATCH v2 9/10] perf tools: Introduce pstack_peek()

2015-04-23 Thread Namhyung Kim
The pstack_peek() is to get the topmost entry without removing it. Signed-off-by: Namhyung Kim --- I also pushed to perf/tui-cleanup-v4. tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 2 files changed, 8 insertions(+) diff --git a/tools/perf/util/pstack.c

RE: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-23 Thread Zhang, Yang Z
H. Peter Anvin wrote on 2015-04-24: > On 04/23/2015 08:28 AM, Dave Hansen wrote: >> On 04/23/2015 02:13 PM, Liang Li wrote: >>> When compiling kernel on westmere, the performance of eager FPU is >>> about 0.4% faster than lazy FPU. >> >> Do you have an theory why this is? What does the

Re: Broadcom 43340 module on iMX6DL

2015-04-23 Thread John Tobias
Btw, where I could get a copy of the latest driver?. Regards, John On Thu, Apr 23, 2015 at 5:59 PM, John Tobias wrote: > Hi John, > > Is it possible to have a copy of the firmware for 43340?. > > Regards, > > John > > On Thu, Apr 23, 2015 at 5:57 PM, John Stultz wrote: >> On Thu, Apr 23, 2015

Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary

2015-04-23 Thread H. Peter Anvin
On 04/23/2015 03:55 PM, Andy Lutomirski wrote: > On Thu, Apr 23, 2015 at 3:52 PM, H. Peter Anvin wrote: >> On 04/23/2015 03:38 PM, Andy Lutomirski wrote: Because there are way more sysrets than context switches, and Linux is particularly sensitive to system call latency, by design.

Re: [alsa-devel] [PATCH 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-23 Thread Chanwoo Choi
On 04/23/2015 11:15 PM, Richard Fitzgerald wrote: > On Wed, Apr 22, 2015 at 07:20:09PM +0900, Chanwoo Choi wrote: >> On 04/22/2015 06:19 PM, Richard Fitzgerald wrote: >>> On Wed, Apr 22, 2015 at 02:53:42PM +0900, Chanwoo Choi wrote: Hi Richard, > @@ -1176,6 +1182,11 @@ static int

Re: Broadcom 43340 module on iMX6DL

2015-04-23 Thread John Tobias
Hi John, Is it possible to have a copy of the firmware for 43340?. Regards, John On Thu, Apr 23, 2015 at 5:57 PM, John Stultz wrote: > On Thu, Apr 23, 2015 at 12:00 PM, Arend van Spriel wrote: >> By the name of the file I suspected you did. Personally, I verified the >> firmware works on

Re: Broadcom 43340 module on iMX6DL

2015-04-23 Thread John Stultz
On Thu, Apr 23, 2015 at 12:00 PM, Arend van Spriel wrote: > By the name of the file I suspected you did. Personally, I verified the > firmware works on 43341. John Stultz tested both 43340 and 43341 with this > firmware. Minor correction here, I only tested on 43341 hardware. The confusion might

Re: git pull] drm for v4.1-rc1

2015-04-23 Thread Alex Deucher
On Thu, Apr 23, 2015 at 5:30 PM, Bjorn Helgaas wrote: > [+cc Matthew] > > On Tue, Apr 21, 2015 at 09:07:45AM -0700, Linus Torvalds wrote: >> Hmm. The odd Intel PCI resource mess is back. >> >> Or maybe it never went away. >> >> I get these when suspending. Things *work*, but it's really spamming

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-23 Thread Andi Kleen
> We can just detect the deviation in the callback itself: > >u64 now = ktime_get_mono_fast_ns(); > >if (now - __this_cpu_read(nmi_timestamp) < period) > return; > >__this_cpu_write(nmi_timestamp, now); > > It's that simple. It's a simple short

Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

2015-04-23 Thread Peter Hutterer
On Thu, Apr 23, 2015 at 11:47:09AM -0700, Dmitry Torokhov wrote: > On Thu, Apr 23, 2015 at 02:38:27PM -0400, Benjamin Tissoires wrote: > > On Apr 23 2015 or thereabouts, Dmitry Torokhov wrote: > > > On Thu, Apr 23, 2015 at 07:10:55PM +0200, Henrik Rydberg wrote: > > > > > "Creation, replacement

Re: Broadcom 43340 module on iMX6DL

2015-04-23 Thread John Tobias
Hello Guys, I have a follow up questions: When the I power up the brcm44340 without loading the driver, the sdhci-esdhc-imx host controller configured it with the following info (cat /sys/kernel/debug/mmc0/ios): clock: 5000 Hz actual clock: 4950 Hz vdd: 17 (2.9 ~ 3.0 V) bus mode: 2

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-23 Thread Kevin Cernekee
On Sat, Apr 18, 2015 at 9:16 AM, Kevin Cernekee wrote: >>> + case SND_SOC_BIAS_OFF: >>> + /* Note that this kills I2C accesses. */ >>> + assert_pdn = 1; >> >> No, the GPIO set associated with it kills I2C access. I'd also expect >> to see the regmap being marked cache

RE: [PATCH v6 1/2] Devicetree: Add pl353 smc controller devicetree binding information

2015-04-23 Thread Punnaiah Choudary Kalluri
Hi Josh, > -Original Message- > From: Josh Cartwright [mailto:jo...@ni.com] > Sent: Friday, April 24, 2015 1:21 AM > To: Punnaiah Choudary Kalluri > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; r...@landley.net; >

Re: [PATCH] mm: soft-offline: fix num_poisoned_pages counting on concurrent events

2015-04-23 Thread Dean Nelson
On 04/20/2015 11:18 PM, Naoya Horiguchi wrote: > If multiple soft offline events hit one free page/hugepage concurrently, > soft_offline_page() can handle the free page/hugepage multiple times, > which makes num_poisoned_pages counter increased more than once. > This patch fixes this wrong

Re: [PATCH 2/2] mm/hwpoison-inject: check PageLRU of hpage

2015-04-23 Thread Dean Nelson
On 04/16/2015 09:08 PM, Naoya Horiguchi wrote: > Hwpoison injector checks PageLRU of the raw target page to find out whether > the page is an appropriate target, but current code now filters out thp tail > pages, which prevents us from testing for such cases via this interface. > So let's check

Re: [PATCH 1/2] mm/hwpoison-inject: fix refcounting in no-injection case

2015-04-23 Thread Dean Nelson
On 04/16/2015 09:08 PM, Naoya Horiguchi wrote: > Hwpoison injection via debugfs:hwpoison/corrupt-pfn takes a refcount of > the target page. But current code doesn't release it if the target page > is not supposed to be injected, which results in memory leak. > This patch simply adds the refcount

[PATCH] usb: image: mdc800: fixed various style issues

2015-04-23 Thread Jason Eastman
Fixed several style issues with: comments, function perenthesis, indentation, and conditional braces Signed-off-by: Jason Eastman --- drivers/usb/image/mdc800.c | 769 +++- 1 file changed, 336 insertions(+), 433 deletions(-) diff --git

4.0-rc1 perf build error "builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration"

2015-04-23 Thread Vinson Lee
Hi. 4.0-rc1 commit 0d68bc92c48167130b61b449f08be27dc862dba2 "perf kmem: Analyze page allocator events also" introduced a build error with older toolchains. For example, this build errors occurs on CentOS 6. CC builtin-kmem.o cc1: warnings being treated as errors builtin-kmem.c: In

Re: [PATCH 2/2] mtd: nand: Add support for Arasan Nand Flash Controller

2015-04-23 Thread punnaiah choudary kalluri
On Thu, Apr 23, 2015 at 6:19 PM, Michal Simek wrote: > On 04/16/2015 03:56 PM, Punnaiah Choudary Kalluri wrote: >> Added the basic driver for Arasan Nand Flash Controller used in >> Zynq UltraScale+ MPSoC. It supports only Hw Ecc and upto 24bit >> correction. >> >> Signed-off-by: Punnaiah

RE: [PATCH 1/6] mtd: nand_bbt: drop unnecessary header

2015-04-23 Thread peterpandong
On 23 April 2015 at 15:47, Rafał Miłecki wrote: > On 22 April 2015 at 19:50, Brian Norris > wrote: > > On Thu, Apr 16, 2015 at 02:09:41AM +, Peter Pan 潘栋 > (peterpandong) wrote: > >> > >> Signed-off-by: Brian Norris > >> Signed-off-by: Peter Pan > > > > Why are you just resending my

Re: [PATCH] exit,stats: /* obey this comment */

2015-04-23 Thread Rik van Riel
On 04/23/2015 05:47 PM, Andrew Morton wrote: > On Thu, 23 Apr 2015 17:17:59 -0400 Rik van Riel wrote: > >> There is a helpful comment in do_exit() that states we sync the >> mm's RSS info before statistics gathering. >> >> The function that does the statistics gathering is called right >> above

linux-next: manual merge of the blackfin tree with Linus' tree

2015-04-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the blackfin tree got a conflict in arch/blackfin/mach-common/smp.c between commit a17b4b7487eb ("blackfin: Use common outgoing-CPU-notification code") from Linus' tree and commit ca2b83264d99 ("blackfin: make timeout HZ independent") from the blackfin tree. I

Re: [PATCH v2 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

2015-04-23 Thread Joe Perches
On Thu, 2015-04-23 at 16:54 -0700, Joe Perches wrote: > On Thu, 2015-04-23 at 21:53 +0200, Mateusz Kulikowski wrote: > > I noticed funny behavior about $stat matches - > > it reports the same error several times (including as "scope" whole file) > > Is it feature or "feature" or I missed

Re: [RESEND PATCH 5/8] mfd: cros-ec: Support multiple EC in a system

2015-04-23 Thread Gwendal Grignou
This patch needs https://chromium-review.googlesource.com/217297: /dev/cros_ec0 was not a good idea, because it is difficult to know what it represents. On Mon, Apr 6, 2015 at 9:15 AM, Javier Martinez Canillas wrote: > From: Gwendal Grignou > > Chromebooks can have more than one Embedded

Re: [PATCH v2 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

2015-04-23 Thread Joe Perches
On Thu, 2015-04-23 at 21:53 +0200, Mateusz Kulikowski wrote: > On 22.04.2015 00:27, Joe Perches wrote: > > On Tue, 2015-04-21 at 23:44 +0200, Mateusz Kulikowski wrote: > >> On 21.04.2015 23:22, Joe Perches wrote: > >>> On Tue, 2015-04-21 at 22:57 +0200, Mateusz Kulikowski wrote: > >> (...) > (...)

[PATCH] Staging: fixed multiple spelling errors.

2015-04-23 Thread Carlos E. Garcia
Fixed multiple spellig errors. Signed-off-by: Carlos E. Garcia --- drivers/staging/android/ion/ion_priv.h| 6 +- drivers/staging/android/uapi/ion.h| 2 +- drivers/staging/comedi/comedi_fops.c | 2 +- drivers/staging/dgnc/TODO |

[Update][PATCH] ACPI / scan: Add a scan handler for PRP0001

2015-04-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the special PRP0001 device ID is present in the given device's list of ACPI/PNP IDs and the device has a valid "compatible" property in the _DSD, it should be enumerated using the default mechanism, unless some scan handlers match the IDs preceding PRP0001 in the

Re: Interacting with coherent memory on external devices

2015-04-23 Thread Benjamin Herrenschmidt
On Thu, 2015-04-23 at 09:10 -0500, Christoph Lameter wrote: > On Thu, 23 Apr 2015, Benjamin Herrenschmidt wrote: > > > > Anyone > > > wanting performance (and that is the prime reason to use a GPU) would > > > switch this off because the latencies are otherwise not controllable and > > > those

mmotm 2015-04-23-16-38 uploaded

2015-04-23 Thread akpm
The mm-of-the-moment snapshot 2015-04-23-16-38 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: Re: [PATCH perf/core v2 3/8] perf probe: Accept multiple filter options

2015-04-23 Thread Masami Hiramatsu
(2015/04/23 23:55), Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 23, 2015 at 10:46:17PM +0900, Masami Hiramatsu escreveu: >> Accept multiple filter options. Each filters are combined >> by logical-or. E.g. --filter abc* --filter *def is same >> as --filter abc*|*def > > Please break this patch

Re: [PATCH next] ocfs2: Reduce object size of mlog uses

2015-04-23 Thread Richard Weinberger
On Fri, Apr 24, 2015 at 1:19 AM, Andrew Morton wrote: > On Thu, 23 Apr 2015 16:04:18 -0700 Mark Fasheh wrote: > >> > This code needs some pretty serious rework and rethink, perhaps >> > involving a change to the emitted info. I was hoping one of the ocfs2 >> > developers would take the bait,

Re: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-23 Thread Wanpeng Li
On Fri, Apr 24, 2015 at 05:13:03AM +0800, Liang Li wrote: >Romove lazy FPU logic and use eager FPU entirely. Eager FPU does >not have performance regression, and it can simplify the code. > >When compiling kernel on westmere, the performance of eager FPU >is about 0.4% faster than lazy FPU. >

Re: [PATCH next] ocfs2: Reduce object size of mlog uses

2015-04-23 Thread Joe Perches
On Thu, 2015-04-23 at 16:04 -0700, Mark Fasheh wrote: > On Wed, Apr 22, 2015 at 03:46:04PM -0700, Andrew Morton wrote: > > If you feel like undertaking such a rotorooting then go wild - that should > > wake 'em up ;) > > Ok, I've taken the bait :) "Here fishy, fishy...", erm, "Here Fasheh,

Re: Adding subpage support to NAND driver -- backwards compatibility concerns

2015-04-23 Thread Richard Weinberger
Am 24.04.2015 um 01:13 schrieb Iwo Mergler: > On Fri, 24 Apr 2015 05:30:55 +1000 > Richard Weinberger wrote: > >> Am 23.04.2015 um 20:39 schrieb Josh Cartwright: > >>> Is there no metadata in the UBI data structures in flash that >>> indicate the min IO boundary? Assuming no, is another option

Re: [RFC][PATCH 0/4] tracing: Add new hwlat_detector tracer

2015-04-23 Thread Steven Rostedt
On Thu, 23 Apr 2015 15:50:29 -0700 Linus Torvalds wrote: > On Thu, Apr 23, 2015 at 1:21 PM, Thomas Gleixner wrote: > > > > But at least on the machines which have the event counter it would be > > usefull to include that information as well. > > In fact, I'd argue that we should *not* do this

Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary

2015-04-23 Thread Denys Vlasenko
On Fri, Apr 24, 2015 at 1:04 AM, Linus Torvalds wrote: > And at that point,> the only cost is a a single no-op on most CPU's (we still > don't know > _which_ AMD CPU's are affected, but I guess we could start off with > all of them and see if we can get an exhaustive list some way). This seems

RE: Adding subpage support to NAND driver -- backwards compatibility concerns

2015-04-23 Thread Iwo Mergler
On Fri, 24 Apr 2015 05:30:55 +1000 Richard Weinberger wrote: > Am 23.04.2015 um 20:39 schrieb Josh Cartwright: > > Is there no metadata in the UBI data structures in flash that > > indicate the min IO boundary? Assuming no, is another option to, > > at the time of attach, try both the min IO

Re: [PATCH next] ocfs2: Reduce object size of mlog uses

2015-04-23 Thread Andrew Morton
On Thu, 23 Apr 2015 16:04:18 -0700 Mark Fasheh wrote: > > This code needs some pretty serious rework and rethink, perhaps > > involving a change to the emitted info. I was hoping one of the ocfs2 > > developers would take the bait, but they're all in hiding. > > If it functions the same and

[PATCH v8] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin ---

Re: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-23 Thread Wanpeng Li
Cc Rik, who is doing the similar work. :) On Fri, Apr 24, 2015 at 05:13:03AM +0800, Liang Li wrote: >Romove lazy FPU logic and use eager FPU entirely. Eager FPU does >not have performance regression, and it can simplify the code. > >When compiling kernel on westmere, the performance of eager FPU

[PATCH] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. --- drivers/input/mouse/focaltech.c | 16 ++--

Re: [PATCHv2] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-23 Thread Tyrel Datwyler
On 04/22/2015 02:42 PM, Thomas Falcon wrote: > On 04/20/2015 08:07 PM, David Gibson wrote: >> AFAIK the PAPR document which defines the virtual device interface used by >> the ibmveth driver doesn't specify a specific maximum MTU. So, in the PAPR itself doesn't, but the max-frame-size property,

[PATCH v3 2/4] md/raid10: make sync_request_write() call bio_copy_data()

2015-04-23 Thread Ming Lin
From: Kent Overstreet Refactor sync_request_write() of md/raid10 to use bio_copy_data() instead of open coding bio_vec iterations. Cc: Christoph Hellwig Cc: Neil Brown Cc: linux-r...@vger.kernel.org Signed-off-by: Kent Overstreet [dpark: add more description in commit message] Signed-off-by:

[PATCH v3 3/4] fs: make _submit_bh consistent with generic bio chaining

2015-04-23 Thread Ming Lin
From: Kent Overstreet Make _submit_bh() handle refcounting by increasing bio->bi_remaining, followed by bio_endio(). Since bio chaining was introduced with 196d38bccfcf ("block: Generic bio chaining"), refcounting should be done on bi_remaining instead of ancient bio_cnt. Doing that, calling

[PATCH v3 4/4] PM: submit bio in a sane way in cases without bio_chain

2015-04-23 Thread Ming Lin
From: Kent Overstreet Make bio submission in kernel/power/block_io.c to properly submit bios also when bio_chain is not available. In that case, it's not necessary to handle refcount with bio_get(), but it's saner to simply call a predefined helper submit_bio_wait(). So call bio_get() only when

[PATCH v3 1/4] block: refactor iov_count_pages() from bio_{copy,map}_user_iov()

2015-04-23 Thread Ming Lin
From: Kent Overstreet Refactor the common part in bio_copy_user_iov() and __bio_map_user_iov() to separate out iov_count_pages() into the general iov_iter API, instead of open coding iov iterations as done previously. This commit should contain only literal replacements, without functional

Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary

2015-04-23 Thread Linus Torvalds
On Thu, Apr 23, 2015 at 3:55 PM, Andy Lutomirski wrote: > > It's a matter of the ratio, right? One cycle of syscall overhead > saved is worth some number of context switch cycles added, and the > ratio probably varies by workload. Yeah. That said, I do think Peter is right that there are

[PATCH v3 0/4] preparation for block layer simplification

2015-04-23 Thread Ming Lin
I'd like to continue on Dongsu's effort to push Kent's block-stuff upstream. This is a preparation series for simplifying block layer based on immutable biovecs, a spin off of the v2 of simplifying patchset. [1] The original goal of simplifying block layer was actually making

Re: [PATCH next] ocfs2: Reduce object size of mlog uses

2015-04-23 Thread Mark Fasheh
On Wed, Apr 22, 2015 at 03:46:04PM -0700, Andrew Morton wrote: > On Fri, 17 Apr 2015 00:17:50 -0700 Joe Perches wrote: > > > Using a function for __mlog_printk instead of a macro > > reduces the object size of built-in.o more than 120KB, or > > ~10% overall (x86-64 defconfig with all ocfs2

Re: git pull] drm for v4.1-rc1

2015-04-23 Thread Matthew Garrett
On Thu, Apr 23, 2015 at 3:47 PM, Linus Torvalds wrote: > I'm not sure why we want that IORESOURCE_ROM_SHADOW thing at all, but > yes, if what this is all about is the magic video ROM at 0xc, then It's used in the PCI layer to say "Read from 0xc rather than the ROM BAR" and then ends up

Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary

2015-04-23 Thread Andy Lutomirski
On Thu, Apr 23, 2015 at 3:52 PM, H. Peter Anvin wrote: > On 04/23/2015 03:38 PM, Andy Lutomirski wrote: >>> >>> Because there are way more sysrets than context switches, and Linux is >>> particularly sensitive to system call latency, by design. >> > > Just to clarify: why would Linux be more

Re: Suspicious RCU usage in bridge with Linux v4.0-9362-g1fc149933fd4

2015-04-23 Thread Cong Wang
On Thu, Apr 23, 2015 at 10:07 AM, Josh Boyer wrote: > [ 29.382235] br0: port 1(tap0) entered forwarding state > > [ 29.382286] === > [ 29.382315] [ INFO: suspicious RCU usage. ] > [ 29.382344] 4.1.0-0.rc0.git11.1.fc23.x86_64 #1 Not tainted > [ 29.382380]

Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary

2015-04-23 Thread H. Peter Anvin
On 04/23/2015 03:38 PM, Andy Lutomirski wrote: >> >> Because there are way more sysrets than context switches, and Linux is >> particularly sensitive to system call latency, by design. > Just to clarify: why would Linux be more sensitive to system call by design? It enables much simpler APIs

Re: [RFC][PATCH 0/4] tracing: Add new hwlat_detector tracer

2015-04-23 Thread Linus Torvalds
On Thu, Apr 23, 2015 at 1:21 PM, Thomas Gleixner wrote: > > But at least on the machines which have the event counter it would be > usefull to include that information as well. In fact, I'd argue that we should *not* do this odd magic latency measurement thing at all, exactly because Intel gave

Re: git pull] drm for v4.1-rc1

2015-04-23 Thread Linus Torvalds
On Thu, Apr 23, 2015 at 2:56 PM, Matthew Garrett wrote: > On Thu, Apr 23, 2015 at 2:30 PM, Bjorn Helgaas wrote: >> >> int pcibios_add_device(struct pci_dev *dev) >> { >> if (dev-is-default-vga-device) { >> dev->rom = 0xC; >> dev->romlen = 0x2; >> } > > I don't

Re: [PATCH] mm/hugetlb: reduce arch dependent code about huge_pmd_unshare

2015-04-23 Thread Andrew Morton
On Thu, 23 Apr 2015 22:26:18 + "Luck, Tony" wrote: > > Memory fails me. Why do some architectures (arm, arm64, x86_64) want > > huge_pmd_[un]share() while other architectures (ia64, tile, mips, > > powerpc, metag, sh, s390) do not? > > Potentially laziness/ignorance-of-feature? It looks

  1   2   3   4   5   6   7   8   9   10   >