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 paul...@linux.vnet.ibm.com wrote: On Wed, Oct 22, 2014 at 01:25:37PM -0500, Eric W. Biederman wrote: Paul E. McKenney paul...@linux.vnet.ibm.com writes: On Wed, Oct 22, 2014 at 12:53:24PM

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 pa...@bonedaddy.net 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] 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 agord...@redhat.com Cc: linux-...@vger.kernel.org

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 sb...@codeaurora.org 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

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 GPIOs,

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 aneesh.ku...@linux.vnet.ibm.com 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. ... ---

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() to

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 code /** *

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

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 r...@redhat.com 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

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

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 could

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 o...@redhat.com 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]

[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 paul...@linux.vnet.ibm.com wrote: [ . . . ] Don't get me wrong -- the fact that this kthread appears to have blocked within

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 keesc...@chromium.org wrote: From: Paul Wise pa...@bonedaddy.net 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

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 a...@linux-foundation.org wrote: On Tue, 21 Oct 2014 13:21:37 -0700 Kees Cook keesc...@chromium.org wrote: From: Paul Wise pa...@bonedaddy.net This partially mitigates a common strategy used by attackers for hiding the full contents of strings

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 is

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 match

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 type

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_address()

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

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 *dev,

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 z...@rock-chips.com 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

[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 standby2...@gmail.com --- drivers/gpu/drm/drm_crtc.c | 1 - 1 file changed, 1 deletion(-)

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

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

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 z...@rock-chips.com 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 x...@rock-chips.com Signed-off-by: Chris Zhong

[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

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 are

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 gregory.0...@gmail.com wrote: From: Kevin Cernekee cerne...@gmail.com Signed-off-by: Kevin Cernekee cerne...@gmail.com [gregory.0...@gmail.com: rebased from 3.14 and

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 seth.fors...@canonical.com wrote: Cc: Eric W. Biederman ebied...@xmission.com Cc: Serge H. Hallyn serge.hal...@ubuntu.com Cc: Andy Lutomirski l...@amacapital.net Signed-off-by:

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); + + dump_stack(); +} +

[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 sb...@codeaurora.org

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 is

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 that Linux kernel

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 operate

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, eMMC

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 masami.hiramatsu...@hitachi.com 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

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

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 mma...@suse.cz 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

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 jh80.ch...@samsung.com 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 diand...@chromium.org wrote: Alim, On

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 the MSI

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

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:

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()

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 r...@redhat.com 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

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

2014-10-22 Thread Martin K. Petersen
Sitsofe == Sitsofe Wheeler sits...@gmail.com 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

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

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

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 keesc...@chromium.org wrote: On Wed, Oct 22, 2014 at 4:26 PM, Andrew Morton a...@linux-foundation.org wrote: On Tue, 21 Oct 2014 13:21:37 -0700 Kees Cook keesc...@chromium.org wrote: From: Paul Wise pa...@bonedaddy.net This partially

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 --strict

[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 lv.zh...@intel.com Tested-by: Fei Yang fei.y...@intel.com --- drivers/acpi/mem.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git

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 r...@redhat.com 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

[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 lv.zh...@intel.com Tested-by: Fei Yang fei.y...@intel.com --- drivers/acpi/mem.c | 38 ++ 1 file

[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 lv.zh...@intel.com Tested-by: Fei Yang fei.y...@intel.com --- drivers/acpi/mem.c | 45 - 1 file changed, 20 insertions(+), 25

[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 lv.zh...@intel.com Tested-by: Fei Yang fei.y...@intel.com --- drivers/acpi/mem.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff

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]

[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 lv.zh...@intel.com Tested-by: Fei Yang fei.y...@intel.com --- drivers/acpi/Makefile |2 +- drivers/acpi/mem.c| 395

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 seth.fors...@canonical.com 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 seth.fors...@canonical.com wrote: Cc: Eric W. Biederman ebied...@xmission.com Cc: Serge H. Hallyn

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 +-

[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 eric.r...@mybabylon.net --- drivers/staging/skein/Kconfig | 22 +-- drivers/staging/skein/Makefile| 13 ++-- drivers/staging/skein/skein.c

[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.

[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 eric.r...@mybabylon.net --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 122 ++ 2 files

[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

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:

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 r...@redhat.com wrote: On 10/22/2014 02:07 AM, Mike

[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 athorl...@sgi.com Cc: Andrew Morton a...@linux-foundation.org Cc: Bob

[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:

[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

[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 athorl...@sgi.com Cc: Andrew Morton a...@linux-foundation.org

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 right

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

[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 a...@linux-foundation.org Cc: Bob Liu lliu...@gmail.com Cc: David Rientjes rient...@google.com Cc: Eric W. Biederman ebied...@xmission.com Cc: Hugh Dickins hu...@google.com Cc: Ingo Molnar mi...@redhat.com Cc: Kees Cook

[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 a...@linux-foundation.org Cc: Bob Liu lliu...@gmail.com Cc: David Rientjes rient...@google.com Cc: Eric W. Biederman ebied...@xmission.com Cc: Hugh Dickins

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 cannot

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 the device

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 jack@skyworksinc.com --- Changes v4: Removed MODULE_VERSION() Modified license to GPLv2 Changes v3: Fixed the backlight name from 'sky81452-bl' to

Possible wireless issue introduced in next-20140930

2014-10-22 Thread Murilo Opsfelder Araujo
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 larry.fin

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 --strict option of

[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

[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 b38...@freescale.com --- 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

[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

[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 b38...@freescale.com --- drivers/dma/imx-sdma.c | 127 +++-- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/drivers/dma/imx-sdma.c

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

2014-10-22 Thread Robin Gong
Add device_prep_dma_memcpy and device_prep_dma_sg common interfaces for imx-sdma driver to support memory copy in two ways: continuous memory buffers or scatter lists. Signed-off-by: Robin Gong b38...@freescale.com --- drivers/dma/imx-sdma.c | 188

[PATCH v5 2/3] dma: imx-sdma: correct the printk format

2014-10-22 Thread Robin Gong
Correct the printk format for 'size_t', 'dma_address_t', etc. Signed-off-by: Robin Gong b38...@freescale.com --- 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 5424d9a..377bb18

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

2014-10-22 Thread Robin Gong
Add device_prep_dma_memcpy and device_prep_dma_sg common interfaces for imx-sdma driver to support memory copy in two ways: continuous memory buffers or scatter lists. Signed-off-by: Robin Gong b38...@freescale.com --- drivers/dma/imx-sdma.c | 188

[PATCH] i386/audit: stop scribbling on the stack frame

2014-10-22 Thread Eric Paris
git commit b4f0d3755c5e9cc86292d5fd78261903b4f23d4a was very very dumb. It was writing over %esp/pt_regs semi-randomly on i686 with the expected system can't boot results. As noted in: https://bugs.freedesktop.org/show_bug.cgi?id=85277 This patch stops fscking with pt_regs. Instead it sets up

[PATCH 13/14] net: dsa/mv88e6352: Add support for reading switch registers

2014-10-22 Thread Guenter Roeck
Report switch register values to ethtool. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/net/dsa/mv88e6352.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/mv88e6352.c b/drivers/net/dsa/mv88e6352.c index 9dddcba..2f31e28 100644 ---

[PATCH 12/14] net: dsa/mv88e6123_61_65: Add support for reading switch registers

2014-10-22 Thread Guenter Roeck
The infrastructure can now report switch registers to ethtool. Add support for it to the mv88e6123_61_65 driver. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/net/dsa/mv88e6123_61_65.c | 2 ++ drivers/net/dsa/mv88e6xxx.c | 24

[PATCH 14/14] net: dsa: Provide additional RMON statistics

2014-10-22 Thread Guenter Roeck
Display sw_in_discards, sw_in_filtered, and sw_out_filtered for chips supported by mv88e6123_61_65 and mv88e6352 drivers. The variables are provided in port registers, not the normal status registers. Mark by adding 0x100 to the register offset and add special handling code to

Re: [PATCH RFC 6/7] sched: cfs: cpu frequency scaling based on task placement

2014-10-22 Thread Preeti U Murthy
Hi Mike, On 10/22/2014 11:37 AM, Mike Turquette wrote: {en,de}queue_task_fair are updated to track which cpus will have changed utilization values as function of task queueing. The affected cpus are passed on to arch_eval_cpu_freq for further machine-specific processing based on a selectable

[PATCH 05/14] net: dsa/mv88e6352: Add support for MV88E6176

2014-10-22 Thread Guenter Roeck
MV88E6176 is mostly compatible to MV88E6352 and is documented in the same functional specification. Add support for it. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/net/dsa/Kconfig | 5 +++-- drivers/net/dsa/mv88e6352.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-)

[PATCH] lib: show_mem: This patch adds cma reserved infromation

2014-10-22 Thread Vishnu Pratap Singh
This patch adds cma reserved information which is currently shown as a part of total reserved only. This patch is continuation of our previos cma patches related to this. https://lkml.org/lkml/2014/10/20/64 https://lkml.org/lkml/2014/10/22/383 Signed-off-by: Vishnu Pratap Singh

  1   2   3   4   5   6   7   8   9   10   >