Re: [PATCH net] hyperv: Fix the total_data_buflen in send path

2014-10-22 Thread David Miller
From: Haiyang Zhang Date: Wed, 22 Oct 2014 13:47:18 -0700 > total_data_buflen is used by netvsc_send() to decide if a packet can be put > into send buffer. It should also include the size of RNDIS message before the > Ethernet frame. Otherwise, a messge with total size bigger than > send_section

Re: [PATCH v2 02/47] memory: emif: Use API function to determine poweroff capability

2014-10-22 Thread Guenter Roeck
On Wed, Oct 22, 2014 at 11:48:20AM -0700, Santosh Shilimkar wrote: > > > On 10/20/2014 09:12 PM, Guenter Roeck wrote: > >Use have_kernel_power_off() to determine if the kernel is able > >to power off the system. > > > >Cc: Santosh Shilimkar > >Signed-off-by: Guenter Roeck > >--- > >v2: > >- pow

Re: [PATCH v2 22/47] power/reset: restart-poweroff: Register with kernel poweroff handler

2014-10-22 Thread Guenter Roeck
On Wed, Oct 22, 2014 at 11:32:22PM +0200, Sebastian Reichel wrote: > Hi, > > On Mon, Oct 20, 2014 at 09:12:38PM -0700, Guenter Roeck wrote: > > Register with kernel poweroff handler instead of setting pm_power_off > > directly. Register as poweroff handler of last resort since the driver > > does

Re: [PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-22 Thread James Hogan
On Wed, Oct 22, 2014 at 06:39:56AM +, Eunbong Song wrote: > This patch adds arch_trigger_all_cpu_backtrace() for mips architecture. Don't forget your Signed-off-by > +static void arch_dump_stack(void *info) > +{ > + struct pt_regs *regs; > + > + regs = get_irq_regs(); > + > +

Re: introduce task_rcu_dereference?

2014-10-22 Thread Oleg Nesterov
Damn. On 10/22, Oleg Nesterov wrote: > > +struct task_struct *task_rcu_dereference(struct task_struct **ptask) > +{ > + struct task_struct *task; > + struct sighand_struct *sighand; > + > + task = rcu_dereference(*ptask); > + if (!task) > + return NULL; > + > + /* I

Re: [PATCH v2 3/3] fpga manager: bus driver

2014-10-22 Thread atull
On Wed, 22 Oct 2014, at...@opensource.altera.com wrote: > From: Alan Tull > > Support programming the fpga from device tree overlays. > > This patch adds one exported function to the core > (fpga-mgr.c): of_fpga_mgr_dev_lookup > Get pointer to fpga manager struct given a phandle. > > This co

Re: [PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-22 Thread James Hogan
Hi John, On Wed, Oct 22, 2014 at 09:11:39AM +0200, John Crispin wrote: > On 22/10/2014 08:54, Eunbong Song wrote: > >>> +void arch_trigger_all_cpu_backtrace(bool); +#define > >>> arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace > > > >> What is the purpose of this define ? is this ma

Re: [PATCH 1/2] misc: Add Wi2Wi w2sc0004 gps driver

2014-10-22 Thread Dr. H. Nikolaus Schaller
Hi, Am 21.10.2014 um 12:49 schrieb Pavel Machek : > Hi! > >> --- a/drivers/misc/Kconfig >> +++ b/drivers/misc/Kconfig >> @@ -515,6 +515,16 @@ config VEXPRESS_SYSCFG >>bus. System Configuration interface is one of the possible means >>of generating transactions on this bus. >> >>

Re: Regression: audit: x86: drop arch from __audit_syscall_entry() interface

2014-10-22 Thread Eric Paris
On Wed, 2014-10-22 at 14:43 -0700, H. Peter Anvin wrote: > On 10/22/2014 02:38 PM, Eric Paris wrote: > > > > It was sent, numerous times, to the x86 list for reviews, and lived in > > -next for 2 complete devel cycles without a complaint. I'm trying to > > get an i386 system to test a fix. But y

Re: [PATCH v2 1/3] PM / clock_ops: Add pm_clk_add_clk()

2014-10-22 Thread Dmitry Torokhov
On Wed, Oct 22, 2014 at 02:16:31PM -0700, Dmitry Torokhov wrote: > On Wed, Oct 22, 2014 at 01:14:09PM -0700, Dmitry Torokhov wrote: > > On Wed, Oct 22, 2014 at 10:02:41PM +0300, Grygorii Strashko wrote: > > > On 10/22/2014 08:38 PM, Dmitry Torokhov wrote: > > > >On Mon, Oct 20, 2014 at 03:56:02PM +

Re: [PATCH v2] memory-hotplug: Clear pgdat which is allocated by bootmem in try_offline_node()

2014-10-22 Thread Yasuaki Ishimatsu
(2014/10/23 4:02), Toshi Kani wrote: On Wed, 2014-10-22 at 16:51 +0900, Yasuaki Ishimatsu wrote: When hot adding the same memory after hot removing a memory, the following messages are shown: WARNING: CPU: 20 PID: 6 at mm/page_alloc.c:4968 free_area_init_node+0x3fe/0x426() ... Call Trace: [<

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-22 Thread Yanko Kaneti
On Wed-10/22/14-2014 15:33, Josh Boyer wrote: > On Wed, Oct 22, 2014 at 2:55 PM, Paul E. McKenney > wrote: > > On Wed, Oct 22, 2014 at 01:25:37PM -0500, Eric W. Biederman wrote: > >> "Paul E. McKenney" writes: > >> > >> > On Wed, Oct 22, 2014 at 12:53:24PM -0500, Eric W. Biederman wrote: > >> >>

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread David Rientjes
On Tue, 21 Oct 2014, Kees Cook wrote: > From: Paul Wise > > This partially mitigates a common strategy used by attackers for hiding > the full contents of strings in procfs from naive sysadmins who use cat, > more or sysctl to inspect the contents of strings in procfs. > > References: > http:/

Re: [PATCH] PCI/MSI: Remove pci_enable_msix()

2014-10-22 Thread Bjorn Helgaas
On Fri, Oct 10, 2014 at 05:35:43PM +0200, Alexander Gordeev wrote: > There are no users of pci_enable_msix() function left. Obsolete > it in favor of pci_enable_msix_range() and pci_enable_msix_exact() > functions. > > Signed-off-by: Alexander Gordeev > Cc: linux-...@vger.kernel.org Applied to p

Re: [PATCH] RFC: add function for localbus address

2014-10-22 Thread Stephen Boyd
On 09/13/2014 09:46 PM, Grant Likely wrote: > On Mon, 08 Sep 2014 13:22:44 -0700, Stephen Boyd wrote: >> >> Where is this described? From the commit text that introduces >> IORESOURCE_REG I see: >> >> "Currently a bunch of I2C/SPI MFD drivers are using IORESOURCE_IO for >> register address ranges.

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Rafael J. Wysocki
On Wednesday, October 22, 2014 05:56:51 PM Mika Westerberg wrote: > On Wed, Oct 22, 2014 at 04:07:08PM +0200, Rafael J. Wysocki wrote: > > Moreover, we need to clarify what situation we're really talking about. > > > > For one, drivers using the unified interface only will always use names for > >

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-22 Thread Andrew Morton
On Fri, 17 Oct 2014 10:08:06 +0530 "Aneesh Kumar K.V" wrote: > Update generic gup implementation with powerpc specific details. > On powerpc at pmd level we can have hugepte, normal pmd pointer > or a pointer to the hugepage directory. > > ... > > --- a/arch/arm/include/asm/pgtable.h > +++ b/ar

Re: [PATCH v4] PCI: tegra: add PM-ops support

2014-10-22 Thread Bjorn Helgaas
On Mon, Oct 13, 2014 at 03:20:03PM +0530, Vidya Sagar wrote: > adds support for suspend_noirq and resume_noirq hooks > of PM framework. Enables powergating of PCIe partition during > suspend. > It also separates allocation part from > tegra_pcie_enable_msi() to make a new API tegra_pcie_alloc_msi()

source file /drivers/base/platform.c

2014-10-22 Thread w.danford
Following originally sent to gre...@linuxfoundation.org Automated reply suggested to send here and/or resend if I desire this to specifically go to Greg. I only wish to point out a type of 'bug' in the file named. Bug discovered, fix offered in file platform.c /** * platform_get_r

Jobs & Careers via Adecco UK

2014-10-22 Thread Adecco UK
Dear Expatriate, Adecco is a recruitment provider that creates the opportunity for you to live in the UK and work with some of the most exciting companies. Our recruitment is broad, so regardless of your education and industry, we will have your Resume forwarded to the appropriate companies and c

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Turquette
On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/22/2014 02:07 AM, Mike Turquette wrote: >> arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow the >> scheduler to evaluate if cpu frequency should change and to invoke >> tha

Re: [PATCH v5 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-22 Thread Minchan Kim
Hey Karam, You could keep Acked-by/Reviewed-by gotten from me and Jerome in old versions if new version isn't changed heavily. It's credit of them and at least, you should respect it. :) Please Cc Andrew for zram patches because he merges the patche into his tree (ie, mmotm). Oops but get_maintai

Re: [PATCH] RFC: add function for localbus address

2014-10-22 Thread Russell King - ARM Linux
On Wed, Oct 22, 2014 at 04:01:26PM -0700, Stephen Boyd wrote: > Where did this end up? When we talked at Connect I think we settled on > exploring a driver core specific API like dev_get_localbus_address() > that calls of_get_localbus_address() for devices with an of_node and in > the future it cou

Re: [RFC PATCH] coredump: fix incomplete core file created when dump_skip was used last

2014-10-22 Thread Victor Kamensky
On 22 October 2014 09:55, Oleg Nesterov wrote: > On 10/21, Victor Kamensky wrote: >> >> +static int dump_write_last_byte(struct coredump_params *cprm) >> +{ >> + char lastbyte = 0; >> + struct file *file = cprm->file; >> + >> + if (file->f_op->llseek && file->f_op->llseek != no_llseek)

Re: unaligned accesses in SLAB etc.

2014-10-22 Thread Meelis Roos
> Whilst I don't have access to my reproducer machine until tomorrow in > order to test this myself, I wanted to toss this patch your way so you > could get a head start on me. Unfortunately it fails earlier during the boot: [ 25.232318] clocksource: mult[5355] shift[24] [ 25.288559] cloc

[PATCH] mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips

2014-10-22 Thread Andrea Adami
After '#echo mem > /sys/power/state' some devices can not be properly resumed because apparently the MTD Partition Configuration Register has been reset to default thus the rootfs cannot be mounted cleanly on resume. An example of this can be found in the SA-1100 Developer's Manual at 9.5.3.3 where

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-22 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 01:40:32AM +0300, Yanko Kaneti wrote: > On Wed-10/22/14-2014 15:33, Josh Boyer wrote: > > On Wed, Oct 22, 2014 at 2:55 PM, Paul E. McKenney > > wrote: [ . . . ] > > > Don't get me wrong -- the fact that this kthread appears to have > > > blocked within rcu_barrier() for 1

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread Andrew Morton
On Tue, 21 Oct 2014 13:21:37 -0700 Kees Cook wrote: > From: Paul Wise > > This partially mitigates a common strategy used by attackers for hiding > the full contents of strings in procfs from naive sysadmins who use cat, > more or sysctl to inspect the contents of strings in procfs. > > ... >

Re: [PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-22 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:47 Jean-Michel Hautbois wrote: > Some I2C devices have multiple addresses assigned, for example each address > corresponding to a different internal register map page of the device. > So far drivers which need support for

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread Kees Cook
On Wed, Oct 22, 2014 at 4:26 PM, Andrew Morton wrote: > On Tue, 21 Oct 2014 13:21:37 -0700 Kees Cook wrote: > >> From: Paul Wise >> >> This partially mitigates a common strategy used by attackers for hiding >> the full contents of strings in procfs from naive sysadmins who use cat, >> more or sy

Re: [PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-22 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:48 Jean-Michel Hautbois wrote: > The ADV7604 has thirteen 256-byte maps that can be accessed via the main > I²C ports. Each map has it own I²C address and acts > as a standard slave device on the I²C bus. > > If nothing

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-22 Thread Hartmut Knaack
Sudip Mukherjee schrieb am 22.10.2014 06:21: > On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: >> This fixes the 2 checkpatch.pl warnings: >> WARNING: line over 80 characters >> > please check your patch with --strict option of checkpatch.pl , and you will > get : > "Alignment should

Re: [PATCH] RFC: add function for localbus address

2014-10-22 Thread Mark Brown
On Wed, Oct 22, 2014 at 04:01:26PM -0700, Stephen Boyd wrote: > >> "Currently a bunch of I2C/SPI MFD drivers are using IORESOURCE_IO for > >> register address ranges. Since this causes some confusion due to the > >> primary use of this resource type for PCI/ISA I/O ports create a new > >> resource

Re: [PATCH] RFC: add function for localbus address

2014-10-22 Thread Stephen Boyd
On 10/22/2014 04:20 PM, Russell King - ARM Linux wrote: > On Wed, Oct 22, 2014 at 04:01:26PM -0700, Stephen Boyd wrote: >> Where did this end up? When we talked at Connect I think we settled on >> exploring a driver core specific API like dev_get_localbus_address() >> that calls of_get_localbus_add

Re: [PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: > This patch adds support for DT parsing of ADV7604 as well as ADV7611. > It needs to be improved in order to get ports parsing too. Let's improve it then :-) The DT bindings as proposed by

Re: [PATCH v3 24/27] IA64/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-22 Thread Bjorn Helgaas
On Wed, Oct 15, 2014 at 11:07:12AM +0800, Yijing Wang wrote: > Use MSI chip framework instead of arch MSI functions to configure > MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. This needs slightly more detail. You're using the MSI chip framework "instead of arch MSI functi

Re: source file /drivers/base/platform.c

2014-10-22 Thread Brian Norris
On Wed, Oct 22, 2014 at 04:09:55PM -0700, w.danf...@electronics-software.com wrote: > /** > * platform_get_resource - get a resource for a device > * @dev: platform device > * @type: resource type > * @num: resource index > */ > struct resource *platform_get_resource(struct platform_device *d

Re: [PATCH v4 6/6] ARM: dts: add RK3288 suspend support

2014-10-22 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:26 PM, Chris Zhong wrote: > add pmu_intmem node for suspend, add global_pwroff pinctrl. > The pmu_intmem is used to store the resume code. > global_pwroff is held low level at work, it would be pull to high > when entering suspend. PMICs can get this signal, then

[PATCH] gpu: drm: Fix warning caused by a parameter description in drm_crtc.c

2014-10-22 Thread Masanari Iida
This patch fix following error while "make xmldocs" Warning(.//drivers/gpu/drm/drm_crtc.c:778): Excess function parameter 'mode' description in 'drm_connector_get_cmdline_mode' Signed-off-by: Masanari Iida --- drivers/gpu/drm/drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver

[PATCH] mm: cma: Use %pa to avoid truncating the physical address

2014-10-22 Thread Gregory Fong
From: Kevin Cernekee Signed-off-by: Kevin Cernekee [gregory.0...@gmail.com: rebased from 3.14 and updated commit message] Signed-off-by: Gregory Fong --- mm/cma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/cma.c b/mm/cma.c index 963bc4a..154efb0 100644 --- a/mm/

Re: [PATCH v4 5/6] ARM: rockchip: Add pmu-sram binding

2014-10-22 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:26 PM, Chris Zhong wrote: > The pmu-sram is used to store resume code, suspend/resume need get the > address of it. Therefore add a binding and documentation for it. > > Signed-off-by: Tony Xie > Signed-off-by: Chris Zhong > --- > > Changes in v4: None > Changes

[GIT PULL] hwmon fixes for 3.18-rc2

2014-10-22 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux 3.18-rc2 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v3.18-rc2 Thanks, Guenter -- The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014

Re: [PATCH v2 2/2] fs: proc: Include cma info in proc/meminfo

2014-10-22 Thread Gioh Kim
2014-10-22 오후 11:06, Pintu Kumar 쓴 글: > This patch include CMA info (CMATotal, CMAFree) in /proc/meminfo. > Currently, in a CMA enabled system, if somebody wants to know the > total CMA size declared, there is no way to tell, other than the dmesg > or /var/log/messages logs. > With this patch we

Re: [PATCH] mm: cma: Use %pa to avoid truncating the physical address

2014-10-22 Thread Gregory Fong
Replying to change to use the real linux-mm list on CC (sorry for the noise!) On Wed, Oct 22, 2014 at 5:09 PM, Gregory Fong wrote: > From: Kevin Cernekee > > Signed-off-by: Kevin Cernekee > [gregory.0...@gmail.com: rebased from 3.14 and updated commit message] > Signed-off-by: Gregory Fong > -

Re: [PATCH v5 4/4] fuse: Allow user namespace mounts

2014-10-22 Thread Seth Forshee
On Wed, Oct 22, 2014 at 02:51:56PM -0700, Andy Lutomirski wrote: > On Wed, Oct 22, 2014 at 2:24 PM, Seth Forshee > wrote: > > Cc: Eric W. Biederman > > Cc: Serge H. Hallyn > > Cc: Andy Lutomirski > > Signed-off-by: Seth Forshee > > --- > > fs/fuse/inode.c | 4 ++-- > > 1 file changed, 2 inser

Re: Re: [PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-22 Thread Eunbong Song
>> This patch adds arch_trigger_all_cpu_backtrace() for mips architecture. > Don't forget your Signed-off-by I'm sorry fot this. >> +static void arch_dump_stack(void *info) >> +{ >> + struct pt_regs *regs; >> + >> + regs = get_irq_regs(); >> + >> + if(regs) >> + show_regs(regs); >> + >> +

[PATCH] tty: serial: msm_serial: Use DT aliases

2014-10-22 Thread Stephen Boyd
We rely on probe order of this driver to determine the line number for the uart port. This makes it impossible to know the line number when these devices are populated via DT. Use the DT alias mechanism to assign the line based on the aliases node. Signed-off-by: Stephen Boyd --- drivers/tty/ser

Re: [PATCH V2] kernel, add bug_on_warn

2014-10-22 Thread Yasuaki Ishimatsu
(2014/10/22 1:47), Prarit Bhargava wrote: > There have been several times where I have had to rebuild a kernel to > cause a panic when hitting a WARN() in the code in order to get a crash > dump from a system. Sometimes this is easy to do, other times (such as > in the case of a remote admin) it i

Re: [PATCH 0/4] (CMA_AGGRESSIVE) Make CMA memory be more aggressive about allocation

2014-10-22 Thread 朱辉
On 10/22/14 20:02, Peter Hurley wrote: > On 10/16/2014 04:55 AM, Laura Abbott wrote: >> On 10/15/2014 8:35 PM, Hui Zhu wrote: >>> In fallbacks of page_alloc.c, MIGRATE_CMA is the fallback of >>> MIGRATE_MOVABLE. >>> MIGRATE_MOVABLE will use MIGRATE_CMA when it doesn't have a page in >>> order tha

RE: [PATCH 1/1 v3] driver:mtd:spi-nor: Add Micron quad I/O support

2014-10-22 Thread beanhuo
>This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. >For Micron SPI NOR flash, enabling or disabling quad I/O protocol is >controlled by >EVCR (Enhanced Volatile Configuration Register), Quad I/O protocol bit 7. >When EVCR bit 7 is reset to 0, the SPI NOR flash will ope

RE: [PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-10-22 Thread bpqw
>This patch is used to add vendor prefix for Micron Technology Inc in the >vendor-prefixes.txt file. >Micron Technology, Inc. is an American multinational corporation based in >Boise, Idaho, best known for producing many forms of semiconductor devices. >This includes DRAM, SDRAM, flash memory,

Re: [PATCH 1/2] ftracetest: add kprobes on ftrace testcase

2014-10-22 Thread Masami Hiramatsu
(2014/10/23 0:04), Steven Rostedt wrote: > On Tue, 21 Oct 2014 21:10:00 +0900 > Masami Hiramatsu wrote: > > >> Steven, could you pick this series to your tree? >> I think it is better to manage ftracetest testcases in one tree. > > I can pick these up. Is it OK if it goes into the 3.19 queue? O

btrfs: WARN_ON(data_sinfo->bytes_may_use < bytes);

2014-10-22 Thread Dave Jones
Just hit this while running trinity. WARNING: CPU: 3 PID: 9612 at fs/btrfs/extent-tree.c:3799 btrfs_free_reserved_data_space+0x1d1/0x280 [btrfs]() Modules linked in: rfcomm hidp bnep af_key llc2 scsi_transport_iscsi nfnetlink sctp libcrc32c can_raw can_bcm nfc caif_socket caif af_802154 ieee8021

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-22 Thread Steven Rostedt
On Wed, 22 Oct 2014 21:44:08 +0200 Michal Marek wrote: > Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): > > > > Commit 7ff525712acf "kbuild: fake the "Entering directory ..." message > > more simply" changed the output of "make kernelrelease" such that the > > kernel release version was not th

Re: [PATCH] mmc: dw_mmc: Remove old card detect infrastructure

2014-10-22 Thread Jaehoon Chung
Dear, Doug. On 10/23/2014 01:36 AM, Doug Anderson wrote: > Hi, > > On Sun, Oct 19, 2014 at 8:23 PM, Jaehoon Chung wrote: >> Hi. >> >> On 10/17/2014 09:44 PM, Alim Akhtar wrote: >>> Hi Doug, >>> >>> On Thu, Oct 16, 2014 at 9:40 PM, Doug Anderson >>> wrote: Alim, On Thu, Oct 16, 2

Re: [PATCH v3 24/27] IA64/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-22 Thread Yijing Wang
On 2014/10/23 7:53, Bjorn Helgaas wrote: > On Wed, Oct 15, 2014 at 11:07:12AM +0800, Yijing Wang wrote: >> Use MSI chip framework instead of arch MSI functions to configure >> MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. > > This needs slightly more detail. You're using t

Re: btrfs: WARN_ON(data_sinfo->bytes_may_use < bytes);

2014-10-22 Thread Dave Jones
On Wed, Oct 22, 2014 at 09:07:31PM -0400, Dave Jones wrote: > Just hit this while running trinity. > > WARNING: CPU: 3 PID: 9612 at fs/btrfs/extent-tree.c:3799 > btrfs_free_reserved_data_space+0x1d1/0x280 [btrfs]() > Modules linked in: rfcomm hidp bnep af_key llc2 scsi_transport_iscsi > nf

RE: [PATCH v8 00/13] input: cyapa: intruction of cyapa patches

2014-10-22 Thread Dudley Du
Hi Dmitry, It has been long time after the v8 patches submitted, with your busy time, could you help take a little time to update the status of the schedule or reviews? Any information will halp a lot. Thanks, Dudley > -Original Message- > From: Dudley Du > Sent: 2014?10?20? 9:16 > To:

linux-next: build warning after merge of the block tree

2014-10-22 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (x86_64 allmodconfig) produced this warning: block/scsi_ioctl.c: In function 'sg_scsi_ioctl': block/scsi_ioctl.c:520:1: warning: label 'out' defined but not used [-Wunused-label] out: ^ Introduced by commit 374f8fdea4aa ("scsi: F

Re: [PATCH resend] ARM: perf: remove useless return and check of idx in counter handling

2014-10-22 Thread Chai Wen
On 10/22/2014 08:31 PM, Mark Rutland wrote: > On Wed, Oct 22, 2014 at 01:16:49PM +0100, chai wen wrote: >> Idx sanity check was once implemented separately in these counter >> handling functions and then return value was treated as a judgement. >> armv7_pmnc_select_counter() >> armv7_pmn

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/22/2014 07:20 PM, Mike Turquette wrote: > On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel > wrote: On 10/22/2014 02:07 AM, Mike Turquette wrote: arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow the scheduler to evaluate if c

Re: [PATCH 2/3] scsi: add try_rc16 blacklist flag

2014-10-22 Thread Martin K. Petersen
> "Sitsofe" == Sitsofe Wheeler writes: >> Last time around we identified this as a problem with Microsoft's >> interpretation of the T10 SBC spec. And they promised that they are >> going to fix that. Sitsofe> OK but if we were happy to wait for Microsoft to fix the Sitsofe> problem on the h

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-22 Thread Martin K. Petersen
> "Sitsofe" == Sitsofe Wheeler writes: Sitsofe> 2. On top of the above, when a disk is "small" (has less than Sitsofe>2^32 sectors which is typically < 2 TBytes in size) READ Sitsofe>CAPACITY(16) won't be triggered. static int sd_try_rc16_first(struct scsi_device *sdp) { if (

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread Andrew Morton
On Wed, 22 Oct 2014 16:43:10 -0700 Kees Cook wrote: > On Wed, Oct 22, 2014 at 4:26 PM, Andrew Morton > wrote: > > On Tue, 21 Oct 2014 13:21:37 -0700 Kees Cook wrote: > > > >> From: Paul Wise > >> > >> This partially mitigates a common strategy used by attackers for hiding > >> the full content

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-22 Thread Brian Vandre
On Thu, Oct 23, 2014 at 01:47:37AM +0200, Hartmut Knaack wrote: > Sudip Mukherjee schrieb am 22.10.2014 06:21: > > On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: > >> This fixes the 2 checkpatch.pl warnings: > >> WARNING: line over 80 characters > >> > > please check your patch with

[PATCH 0/6] ACPI/OSL: Rework of ACPICA memory OSLs to improve performance.

2014-10-22 Thread Lv Zheng
It is reported that there is a performance issue in the ACPICA OSL implementation around memory mappings. On the reported platforms, there is a debugging facility implemented in the ACPI namespace using circular logging buffer: Name (DPTR, 0x3AFEB000) Name (EPTR, 0x3AFFB000)

[PATCH 3/6] ACPI/OSL: Cleanup memory access functions by merging duplicate code.

2014-10-22 Thread Lv Zheng
This patch merges duplicate code to cleanup ACPI memory access implementations. No functional changes. Signed-off-by: Lv Zheng Tested-by: Fei Yang --- drivers/acpi/mem.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/acpi/mem.c b/drivers/acpi/mem.c

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Galbraith
On Wed, 2014-10-22 at 21:42 -0400, Rik van Riel wrote: > On 10/22/2014 07:20 PM, Mike Turquette wrote: > > On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel > > wrote: On 10/22/2014 02:07 AM, Mike Turquette wrote: > arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow > the schedul

[PATCH 2/6] ACPI/OSL: Rename system memory functions.

2014-10-22 Thread Lv Zheng
This patch cleans up system memory functions to make it easier to understand the meaning of such functions. No functional cleanup. Signed-off-by: Lv Zheng Tested-by: Fei Yang --- drivers/acpi/mem.c | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-)

[PATCH 4/6] ACPI/OSL: Add acpi_map2virt() to merge duplicate code.

2014-10-22 Thread Lv Zheng
This patch adds acpi_map2virt() so that some duplicated code can be merged. No functional changes. Signed-off-by: Lv Zheng Tested-by: Fei Yang --- drivers/acpi/mem.c | 45 - 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/drivers/acp

[PATCH 6/6] ACPI/OSL: Fix performance issue in system memory lockings.

2014-10-22 Thread Lv Zheng
It is reported that the synchronize_rcu() used in the hot path is not performance friendly: <6>[3.998532] acpi_ut_update_object_reference: obj:88003c305f78 type:10 <6>[4.006137] acpi_ut_update_ref_count:locked count:1 action:1 flags:286 <6>[4.013450] acpi_ut_delete_internal_obj:

[PATCH 5/6] ACPI/OSL: Cleanup branch logics.

2014-10-22 Thread Lv Zheng
This patch cleans up trivial branch logics in acpi_os_unmap_iomem() to eliminate several lines. No functional changes. Signed-off-by: Lv Zheng Tested-by: Fei Yang --- drivers/acpi/mem.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/mem.c b/drivers/a

Re: linux-next: build warning after merge of the block tree

2014-10-22 Thread Jens Axboe
On 2014-10-22 19:28, Stephen Rothwell wrote: Hi Jens, After merging the block tree, today's linux-next build (x86_64 allmodconfig) produced this warning: block/scsi_ioctl.c: In function 'sg_scsi_ioctl': block/scsi_ioctl.c:520:1: warning: label 'out' defined but not used [-Wunused-label] out:

[PATCH 1/6] ACPI/OSL: Split memory operation region implementations to a seperate file.

2014-10-22 Thread Lv Zheng
This patch moves SystemMemory operation region implementations to a seperate file before doing cleanups. No functional changes. Signed-off-by: Lv Zheng Tested-by: Fei Yang --- drivers/acpi/Makefile |2 +- drivers/acpi/mem.c| 395 + driver

Re: [PATCH v5 4/4] fuse: Allow user namespace mounts

2014-10-22 Thread Andy Lutomirski
On Wed, Oct 22, 2014 at 5:22 PM, Seth Forshee wrote: > On Wed, Oct 22, 2014 at 02:51:56PM -0700, Andy Lutomirski wrote: >> On Wed, Oct 22, 2014 at 2:24 PM, Seth Forshee >> wrote: >> > Cc: Eric W. Biederman >> > Cc: Serge H. Hallyn >> > Cc: Andy Lutomirski >> > Signed-off-by: Seth Forshee >> >

Re: [PATCH] perf tools: ensure return negitive value when write header error

2014-10-22 Thread Wang Nan
Hi Ingo, Could you please collect this patch which fixes a perf problem? Thanks. On 2014/10/22 15:00, Namhyung Kim wrote: > On Thu, 16 Oct 2014 11:08:29 +0800, Wang Nan wrote: >> When 'perf record' write headers, it calls write_xxx in >> tools/perf/util/header.c, and check return value. It rolls

[PATCH v2 0/2] staging: skein: Add Crypto API and Loadable Module support

2014-10-22 Thread Eric Rost
This patchset adds crypto api support and loadable module support to the skein driver. Eric Rost (2): staging: skein: Add Crypto API support staging: skein: Add Loadable Module Support drivers/staging/skein/Kconfig | 24 +--- drivers/staging/skein/Makefile| 13 +- drivers/s

[PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-22 Thread Eric Rost
Adds crypto API support for the skein module. Also collapses the threefish module into the skein module. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +-- drivers/staging/skein/Makefile| 13 ++-- drivers/staging/skein/skein.c | 1 + drivers/stag

[patch][resend] MAP_HUGETLB munmap fails with size not 2MB aligned

2014-10-22 Thread Davide Libenzi
[Resending with proper CC list suggested by Andrew] Calling munmap on a MAP_HUGETLB area, and a size which is not 2MB aligned, causes munmap to fail. Tested on 3.13.x but tracking back to 3.2.x. In do_munmap() we forcibly want a 4KB default page, and we wrongly calculate the end of the map. Si

[PATCH v2 2/2] staging: skein: Add Loadable Module Support

2014-10-22 Thread Eric Rost
Adds loadable module support for skein_mod, containing skein256, skein512, and skein1024 algorithms. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 122 ++ 2 files changed, 123 insertions(+), 1

[PATCH 0/4] Convert khugepaged to a task_work function

2014-10-22 Thread Alex Thorlton
Hey everyone, Last week, while discussing possible fixes for some unexpected/unwanted behavior from khugepaged (see: https://lkml.org/lkml/2014/10/8/515) several people mentioned possibly changing changing khugepaged to work as a task_work function instead of a kernel thread. This will give us fi

Re: [PATCH 0/4] Convert khugepaged to a task_work function

2014-10-22 Thread Alex Thorlton
Please ignore! Screwed up my git send-email... Sending the proper version here in a bit... On Wed, Oct 22, 2014 at 09:35:02PM -0500, Alex Thorlton wrote: > Hey everyone, > > Last week, while discussing possible fixes for some unexpected/unwanted > behavior > from khugepaged (see: https://lkml.

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/22/2014 10:12 PM, Mike Galbraith wrote: > On Wed, 2014-10-22 at 21:42 -0400, Rik van Riel wrote: >> On 10/22/2014 07:20 PM, Mike Turquette wrote: >>> On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel >>> wrote: On 10/22/2014 02:07 AM, Mike Turquette

[PATCH] Add pgcollapse controls to task_struct

2014-10-22 Thread Alex Thorlton
This patch just adds the necessary bits to the task_struct so that the scans can eventually be controlled on a per-mm basis. As I mentioned previously, we might want to add some more counters here. Signed-off-by: Alex Thorlton Cc: Andrew Morton Cc: Bob Liu Cc: David Rientjes Cc: Eric W. Biede

[PATCH 4/4] Add /proc files to expose per-mm pgcollapse stats

2014-10-22 Thread Alex Thorlton
This patch adds a /proc file to read out the information that we've added to the task_struct. I'll need to split the information out to separate files, probably in a subdirectory, change a few of the files to allow us to modify their values, and it will need appropriate locks. Signed-off-by: Alex

[PATCH 0/4] Convert khugepaged to a task_work function

2014-10-22 Thread Alex Thorlton
Hey everyone, Last week, while discussing possible fixes for some unexpected/unwanted behavior from khugepaged (see: https://lkml.org/lkml/2014/10/8/515) several people mentioned possibly changing changing khugepaged to work as a task_work function instead of a kernel thread. This will give us fi

[PATCH 1/4] Disable khugepaged thread

2014-10-22 Thread Alex Thorlton
This patch just removes any call to start khugepaged for now. If we decide to go forward with this new approach, then this patch will also dismantle the other bits of khugepaged that we'll no longer need. Signed-off-by: Alex Thorlton Cc: Andrew Morton Cc: Bob Liu Cc: David Rientjes Cc: Eric W

Re: [PATCH v5 02/20] perf: Add AUX area to ring buffer for raw data streams

2014-10-22 Thread Frederic Weisbecker
On Wed, Oct 22, 2014 at 02:35:47PM +0200, Peter Zijlstra wrote: > On Mon, Oct 13, 2014 at 04:45:30PM +0300, Alexander Shishkin wrote: > > + struct kref aux_refcount; > > I'm not a fan of kref, pointless obfuscation that. It has a good potential for debugging though. Sure rig

Re: [PATCHSET 0/5] perf tools: option parsing improvement

2014-10-22 Thread Hemant Kumar
Hi Namhyung, On 10/22/2014 08:45 PM, Namhyung Kim wrote: Hello, This patchset tries to enhance option parser a bit. Patch 1-3 are to reuse existing perf record options for other commands like perf kvm stat record. Patch 4-5 are to support exclusive options that cannot be used at the same time.

[PATCH 2/2] Add /proc files to expose per-mm pgcollapse stats

2014-10-22 Thread Alex Thorlton
Just add a proc file to expose the stat counter I added. Cc: Andrew Morton Cc: Bob Liu Cc: David Rientjes Cc: Eric W. Biederman Cc: Hugh Dickins Cc: Ingo Molnar Cc: Kees Cook Cc: Kirill A. Shutemov Cc: Mel Gorman Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner

[PATCH 1/2] Add pgcollapse stat counter to task_struct

2014-10-22 Thread Alex Thorlton
Pretty self explanatory. Just adding one of the same counters that I used to gather data for the other patches. Cc: Andrew Morton Cc: Bob Liu Cc: David Rientjes Cc: Eric W. Biederman Cc: Hugh Dickins Cc: Ingo Molnar Cc: Kees Cook Cc: Kirill A. Shutemov Cc: Mel Gorman Cc: Oleg Nesterov C

linux-next: manual merge of the akpm-current tree with the pm tree

2014-10-22 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in include/linux/oom.h, kernel/power/process.c and mm/oom_kill.c between commit 5695be142e20 ("OOM, PM: OOM killed task shouldn't escape PM suspend") from the pm tree and commit e039ae202d34 ("OOM, PM: OOM killed task cann

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-22 Thread Gyungoh Yoo
On Wed, Oct 22, 2014 at 11:27:23AM +0100, Mark Brown wrote: > On Mon, Oct 20, 2014 at 03:10:24PM +0900, Gyungoh Yoo wrote: > > On Fri, Oct 17, 2014 at 04:26:05PM +0200, Mark Brown wrote: > > > > The thing I'm seeing is that the binding for your device with the > > > subnode looks very much like th

Re: [RESUBMIT PATCH v4 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-10-22 Thread Gyungoh Yoo
On Tue, Oct 21, 2014 at 01:30:01PM +0100, Lee Jones wrote: > On Mon, 13 Oct 2014, Gyungoh Yoo wrote: > > > Signed-off-by: Gyungoh Yoo > > --- > > Changes v4: > > Removed MODULE_VERSION() > > Modified license to GPLv2 > > > > Changes v3: > > Fixed the backlight name from 'sky81452-bl' to 'sky8145

Possible wireless issue introduced in next-20140930

2014-10-22 Thread Murilo Opsfelder Araujo
27;ve also tested with next-20141022 and v3.18-rc1 and no luck. git bisect pointed me to the commit below [1]. My wireless card is a RTL8191SEvA [2]. I need your help to troubleshoot this. Thanks in advance. [1] commit 38506ecefab911785d5e1aa5889f6eeb462e0954 Author: Larry Finger Date: Mo

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-22 Thread Joe Perches
On Thu, 2014-10-23 at 01:47 +0200, Hartmut Knaack wrote: > Sudip Mukherjee schrieb am 22.10.2014 06:21: > > On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: > >> This fixes the 2 checkpatch.pl warnings: > >> WARNING: line over 80 characters > >> > > please check your patch with --stric

[PATCH v5 0/3] dma: imx-sdma: add support for sdma memory copy

2014-10-22 Thread Robin Gong
Add memory copy interface to sdma driver, the patch set is based on v3: http://www.spinics.net/lists/dmaengine/msg00850.html. change from v4: 1.address comments from Andy Shevchenko. change from v3: 1.split two patches from v3 patch for Vinod's comments. change from v2: 1.remove redundant check f

[PATCH v4 2/3] dma: imx-sdma: correct print format

2014-10-22 Thread Robin Gong
correct print format for 'size_t', 'dma_address_t',etc. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index fc4a0df..7e8aa2d 100644 --- a/drivers/dma/imx-

[PATCH v5 0/3] dma: imx-sdma: add support for sdma memory copy

2014-10-22 Thread Robin Gong
Add memory copy interface to sdma driver, the patch set is based on v3: http://www.spinics.net/lists/dmaengine/msg00850.html. change from v4: 1.address comments from Andy Shevchenko. change from v3: 1.split two patches from v3 patch for Vinod's comments. change from v2: 1.remove redundant check f

[PATCH v5 3/3] dma: imx-sdma: reorg code to make code clean

2014-10-22 Thread Robin Gong
Code reorg for transfer prepare and bus width check to make code cleaner. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 127 +++-- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c

<    4   5   6   7   8   9   10   >