Re: A review of dm-writeboost

2013-10-16 Thread Dave Chinner
[cc x...@oss.sgi.com] On Tue, Oct 15, 2013 at 08:01:45PM -0400, Mikulas Patocka wrote: On Mon, 14 Oct 2013, Akira Hayakawa wrote: But, XFS stalls ... --- For testing, I manually turns `blockup` to 1 when compiling Ruby is in progress on XFS on a writeboost device.

Re: [PATCH 1/6] net: ip4_datagram_connect: Use correct form of statistics update

2013-10-16 Thread Ingo Molnar
* Eric Dumazet eric.duma...@gmail.com wrote: On Tue, 2013-10-15 at 12:47 -0500, Christoph Lameter wrote: plain text document attachment (fix_snmp) ip4_datagram_connect is called with BH processing enabled. Therefore we cannot use IP_INC_STATS_BH but must use IP_INC_STATS which disables

Re: [PATCH v2] blk-throttle: simplify logic by token bucket algorithm

2013-10-16 Thread Hong zhi guo
Hi, Vivek, Thanks for your careful review. I'll rename t_c to last_dispatch, it's much better. For the big burst issue, I've different opinion. Let's discuss it. Any time a big IO means a big burst. Even if it's throttled at first time, queued in the service_queue, and then waited for a while,

Re: [PATCH] x86: Remove WARN_ON(in_nmi()) from vmalloc_fault

2013-10-16 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: Since the NMI iretq nesting has been fixed, there's no reason that an NMI handler can not take a page fault for vmalloc'd code. No locks are taken in that code path, and the software now handles nested NMIs when the fault re-enables NMIs on iretq.

Re: [PATCH] perf: revert PERF_RECORD_MMAP2 support

2013-10-16 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: This unified patch removes the following commits for both kernel and perf tool: 6adb0b0 perf tools: Add default handler for mmap2 events 384c671 perf trace: Add mmap2 handler 5c5e854 perf tools: Add attr-mmap2 support d008d52 perf: Fix up

sched/rt: Pick up the throttled rt tasks in case no other non-rt tasks

2013-10-16 Thread Chuansheng Liu
Meet the case that on CPU2, there are just two tasks to be run, one is one rt task A, another is idle task, but at this time, and the rt_rq is throttled. CPU1 CPU2 staying in idle task; waking up rt task A on target CPU 2;

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-16 Thread Ingo Molnar
* Joe Perches j...@perches.com wrote: On Tue, 2013-10-15 at 09:41 +0200, Ingo Molnar wrote: * Joe Perches j...@perches.com wrote: On Mon, 2013-10-14 at 15:44 -0700, Eric Dumazet wrote: On Mon, 2013-10-14 at 15:37 -0700, Joe Perches wrote: On Mon, 2013-10-14 at 15:18 -0700, Eric

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-16 Thread Dave Young
On 10/14/13 at 11:57am, Peter Jones wrote: On Sat, Oct 12, 2013 at 10:14:39AM +0800, Dave Young wrote: CCing Peter Jones .., Peter, any idea about the grub related problem? What grub problem? As Matt was saying, grub2 isn't loading it as EfiBootServicesCode/Data. grub2 is loading it as

Re: [PATCH 1/2] dma: Add interface to calculate data transferred

2013-10-16 Thread Vinod Koul
On Tue, Oct 15, 2013 at 08:55:20AM -0700, Dan Williams wrote: On Tue, Oct 15, 2013 at 11:31 AM, Youquan Song youquan.s...@linux.intel.com wrote: On Sun, Oct 13, 2013 at 08:56:33PM +0530, Vinod Koul wrote: On Fri, Oct 11, 2013 at 06:33:43AM -0700, Greg KH wrote: On Fri, Oct 11, 2013 at

[PATCH 1/3] PCI: Refactor restore_msi_irqs - code movement

2013-10-16 Thread Zhenzhong Duan
Move default_restore_msi_irqs down to reference msi_mask_irq and msix_mask_irq. This patch lays the groundwork for patch titled: 'PCI: Refactor MSI/MSIX mask restore code to fix interrupt lost issue' Tested-by: Sucheta Chakraborty sucheta.chakrabo...@qlogic.com Signed-off-by: Zhenzhong Duan

[PATCH 2/3] PCI: Refactor MSI/MSIX mask restore code to fix interrupt lost issue

2013-10-16 Thread Zhenzhong Duan
Driver init call graph under baremetal: driver_init- msix_capability_init- msix_program_entries- msix_mask_irq- entry-masked = 1 request_irq- __setup_irq- irq_startup- unmask_msi_irq- msix_mask_irq-

[PATCH 3/3] Update x86_msi.restore_msi_irqs API param

2013-10-16 Thread Zhenzhong Duan
Change x86_msi.restore_msi_irqs(struct pci_dev *dev, int irq) to x86_msi.restore_msi_irqs(struct pci_dev *dev) From its naming, restore_msi_irqs is used to restore multiple msix irqs, param 'int irq' is unneeded. This could make code looks consistent in vm and bare metal. Dom0 msix restore code

Re: OMAPFB: CMA allocation failures

2013-10-16 Thread Ивайло Димитров
Hi Tomi, I think we should somehow find out what the pages are that cannot be migrated, and where they come from. So there are quot;anonymous pages without mappingquot; with page_count(page) != 1. I have to say I don't know what that means =). I need to find some time to study the mm.

Re: [PATCH 4/5] input: tc3589x-keypad: support probing from device tree

2013-10-16 Thread Dmitry Torokhov
On Tue, Oct 15, 2013 at 11:21:11PM +0200, Linus Walleij wrote: Implement device tree probing for the tc3589x keypad driver. This is modeled on the STMPE keypad driver and tested on the Ux500 TVK1281618 UIB. Signed-off-by: Linus Walleij linus.wall...@linaro.org Looks good, should I merge it

[PATCH] x86, relocs: add percpu fixup for GNU ld 2.23

2013-10-16 Thread Kees Cook
The GNU linker tries to put __per_cpu_load into the percpu area, resulting in a lack of its relocation. Force this symbol to be relocated. Seen starting with GNU ld 2.23 and later. Reported-by: Ingo Molnar mi...@kernel.org Signed-off-by: Kees Cook keesc...@chromium.org ---

Re: [PATCH] jump_label: unlikely(x) 0

2013-10-16 Thread Ingo Molnar
* H. Peter Anvin h...@linux.intel.com wrote: On 10/11/2013 01:57 PM, Andrew Morton wrote: I'm sure this was intended instead ;) The patch doesn't seem to make any difference in code generation with my gcc. Which is odd, because doesn't unlikely() booleanize? It's supposed to:

Re: [PATCH] x86, relocs: add percpu fixup for GNU ld 2.23

2013-10-16 Thread H. Peter Anvin
On 10/15/2013 11:43 PM, Kees Cook wrote: The GNU linker tries to put __per_cpu_load into the percpu area, resulting in a lack of its relocation. Force this symbol to be relocated. Seen starting with GNU ld 2.23 and later. Reported-by: Ingo Molnar mi...@kernel.org Signed-off-by: Kees Cook

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-16 Thread Hannes Reinecke
On 10/14/2013 05:24 PM, Steffen Maier wrote: On 10/14/2013 03:32 PM, Hannes Reinecke wrote: On 10/14/2013 03:18 PM, Hannes Reinecke wrote: On 10/14/2013 02:51 PM, Steffen Maier wrote: On 10/14/2013 01:13 PM, Hannes Reinecke wrote: On 10/13/2013 07:23 PM, Vaughan Cao wrote: [1.] One line

Re: [PATCH v8 0/9] rwsem performance optimizations

2013-10-16 Thread Ingo Molnar
* Tim Chen tim.c.c...@linux.intel.com wrote: On Thu, 2013-10-10 at 09:54 +0200, Ingo Molnar wrote: * Tim Chen tim.c.c...@linux.intel.com wrote: The throughput of pure mmap with mutex is below vs pure mmap is below: % change in performance of the mmap with pthread-mutex vs pure

Re: [tip:x86/kaslr] x86, relocs: Add more per-cpu gold special cases

2013-10-16 Thread Ingo Molnar
* Kees Cook keesc...@chromium.org wrote: The failure I saw triggered with fairly modern userspace: GNU ld version 2.23.52.0.1-9.fc19 20130226 gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC) Can you try with the gold linker? When not using Gold, I can produce a similar

Re: sched/rt: Pick up the throttled rt tasks in case no other non-rt tasks

2013-10-16 Thread Mike Galbraith
On Wed, 2013-10-16 at 23:43 +0800, Chuansheng Liu wrote: Meet the case that on CPU2, there are just two tasks to be run, one is one rt task A, another is idle task, but at this time, and the rt_rq is throttled. CPU1 CPU2 staying in

[V3 04/10] x86, perf: Add conditional branch filtering support

2013-10-16 Thread Anshuman Khandual
This patch adds conditional branch filtering support, enabling it for PERF_SAMPLE_BRANCH_COND in perf branch stack sampling framework by utilizing an available software filter X86_BR_JCC. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com

[V3 07/10] powerpc, lib: Add new branch instruction analysis support functions

2013-10-16 Thread Anshuman Khandual
Generic powerpc branch instruction analysis support added in the code patching library which will help the subsequent patch on SW based filtering of branch records in perf. This patch also converts and exports some of the existing local static functions through the header file to be used else

[V3 02/10] powerpc, perf: Enable conditional branch filter for POWER8

2013-10-16 Thread Anshuman Khandual
Enables conditional branch filter support for POWER8 utilizing MMCRA register based filter and also invalidates a BHRB branch filter combination involving conditional branches. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com --- arch/powerpc/perf/power8-pmu.c | 10 ++ 1 file

[V3 01/10] perf: New conditional branch filter criteria in branch stack sampling

2013-10-16 Thread Anshuman Khandual
POWER8 PMU based BHRB supports filtering for conditional branches. This patch introduces new branch filter PERF_SAMPLE_BRANCH_COND which will extend the existing perf ABI. Other architectures can provide this functionality with either HW filtering support (if present) or with SW filtering of

Re: [PATCH] X.25: Fix address field length calculation

2013-10-16 Thread Kelleter , Günther
Am 15.10.2013 19:29, schrieb Joe Perches: On Tue, 2013-10-15 at 14:29 +, Kelleter, Günther wrote: Addresses are BCD encoded, not ASCII. x25_addr_ntoa got it right. [] Wrong length calculation leads to rejection of CALL ACCEPT packets. [] diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Paul Chavent
On 10/15/2013 09:55 PM, Andrew Morton wrote: On Tue, 15 Oct 2013 12:43:50 +0200 Rodolfo Giometti giome...@enneenne.com wrote: On Fri, Oct 11, 2013 at 12:47:20PM -0700, Andrew Morton wrote: On Fri, 11 Oct 2013 14:40:32 +0200 Paul Chavent paul.chav...@onera.fr wrote: The PPS_FETCH ioctl is

[V3 10/10] powerpc, perf: Cleanup SW branch filter list look up

2013-10-16 Thread Anshuman Khandual
This patch adds enumeration for all available SW branch filters in powerpc book3s code and also streamlines the look for the SW branch filter entries while trying to figure out which all branch filters can be supported in SW. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com ---

[V3 05/10] perf, documentation: Description for conditional branch filter

2013-10-16 Thread Anshuman Khandual
Adding documentation support for conditional branch filter. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com --- tools/perf/Documentation/perf-record.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[V3 00/10] perf: New conditional branch filter

2013-10-16 Thread Anshuman Khandual
This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND branch filter. This patchset also enables SW based branch filtering support for book3s powerpc platforms which have PMU HW backed branch stack sampling

[V3 09/10] power8, perf: Change BHRB branch filter configuration

2013-10-16 Thread Anshuman Khandual
Powerpc kernel now supports SW based branch filters for book3s systems with some specifc requirements while dealing with HW supported branch filters in order to achieve overall OR semantics prevailing in perf branch stack sampling framework. This patch adapts the BHRB branch filter configuration

[V3 06/10] powerpc, perf: Change the name of HW PMU branch filter tracking variable

2013-10-16 Thread Anshuman Khandual
This patch simply changes the name of the variable from bhrb_filter to bhrb_hw_filter in order to add one more variable which will track SW filters in generic powerpc book3s code which will be implemented in the subsequent patch. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com ---

[V3 03/10] perf, tool: Conditional branch filter 'cond' added to perf record

2013-10-16 Thread Anshuman Khandual
Adding perf record support for new branch stack filter criteria PERF_SAMPLE_BRANCH_COND. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com --- tools/perf/builtin-record.c | 1 + 1 file changed, 1 insertion(+) diff --git

[V3 08/10] powerpc, perf: Enable SW filtering in branch stack sampling framework

2013-10-16 Thread Anshuman Khandual
This patch enables SW based post processing of BHRB captured branches to be able to meet more user defined branch filtration criteria in perf branch stack sampling framework. These changes increase the number of branch filters and their valid combinations on any powerpc64 server platform with BHRB

[PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Dave Young
Current code check boot service region with kernel text region by: start+size = __pa_symbol(_text) The end of the above region should be start + size - 1 instead. I see this problem in ovmf + Fedora 19 grub boot: text start: 100 md start: 80 md size: 80 Signed-off-by: Dave Young

Re: [PATCH] [media] staging: media: Fix build for iMON LIRC driver

2013-10-16 Thread Dan Carpenter
On Tue, Oct 15, 2013 at 04:02:43PM +0200, Thierry Reding wrote: Add a missing , between parameters in a call to dev_info(). Greg already reverted the original patch. The original patch wasn't sent to the list. Archana, use scripts/get_maintainer.pl to find out who to send patches to. Don't

Re: [PATCH part2 v2 0/8] Arrange hotpluggable memory as ZONE_MOVABLE

2013-10-16 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 10/14/2013 11:50 PM, Ingo Molnar wrote: So if anyone can implement it using huge pages, with a really fast __va() and __pa() implementation, then it might be possible. But that's a pretty major surgery on x86. Well, we already *have* a way

Re: fs/attr.c:notify_change locking warning.

2013-10-16 Thread Christoph Hellwig
On Wed, Oct 16, 2013 at 08:36:18AM +1100, Dave Chinner wrote: Sure, but file_remove_suid() doesn't actually modify any VFS inode structures until we process the flags and the modifications within -setattr, which in XFS are all done under the XFS_ILOCK_EXCL via xfs_setattr_mode(). i.e. both the

Re: cpufreq-next opps with cpufreq-bench

2013-10-16 Thread Srivatsa S. Bhat
On 10/16/2013 09:49 AM, Viresh Kumar wrote: On 16/10/2013, Rafael J. Wysocki r...@rjwysocki.net wrote: Well, I've dropped the offending commit from my queue. Hopefully, it still builds on all targets it used to build on. Thanks!! I tried to reproduce it 2 days back and my laptop was

RE: [PATCH 2] libahci: fix turning on LEDs in ahci_start_port()

2013-10-16 Thread Dorau, Lukasz
On Tuesday, October 15, 2013 3:41 PM Tejun Heo t...@kernel.org wrote: On Mon, Oct 14, 2013 at 06:18:53PM +0200, Lukasz Dorau wrote: If EM Transmit bit is busy during init ata_msleep() is called. It is wrong - msleep() should be used instead of ata_msleep(), because if EM Transmit bit is

Re: [PATCH 3/3] perf record: mmap output file

2013-10-16 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: On 10/15/13 10:06 AM, Ingo Molnar wrote: splice() is very fast and should be able to process a lot of pages in one go, so the feedback loop should be pretty weak. mmap() triggers kernel code as well, every time we run out of the 64 MB window we

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Dave Young
typo, fix hpa's mail address.. On 10/16/13 at 03:03pm, Dave Young wrote: Current code check boot service region with kernel text region by: start+size = __pa_symbol(_text) The end of the above region should be start + size - 1 instead. I see this problem in ovmf + Fedora 19 grub boot:

[PATCH V2] media: i2c: add driver for dual LED Flash, lm3560.

2013-10-16 Thread Daniel Jeong
Patch v2 deletes unnecessary codes. This patch adds the driver for the LM3560, dual LED Flash The LM3560 has two 1A constant current driver for high current white LEDs. It is controlled via an I2C compatible interface(up to 400kHz). Each flash brightness, torch brightness and enable/disable

Re: [PATCH 1/1] cx23885-dvb: fix ds3000 ts2020 split for TEVII S471

2013-10-16 Thread Johannes Koch
Hi Mauro, On Thu, Sep 26, 2013 at 01:51:57PM -0300, Mauro Carvalho Chehab wrote: The difference between your patch and the applied one is: diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index 971e4ff..8ed7b94 100644 ---

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-16 Thread vaughan
On 10/16/2013 02:52 PM, Hannes Reinecke wrote: But seeing that this approach raises quite some issues I've attached a different patch. Vaughan, could you test with that, too? Should be functionally equivalent to the previous one. Cheers, Hannes Of course. This one is more clear to express our

[PATCH v3] net: sctp: fix a cacc_saw_newack missetting issue

2013-10-16 Thread Chang Xiangzhong
For for each TSN t being newly acked (Not only cumulatively, but also SELECTIVELY) cacc_saw_newack should be set to 1. Signed-off-by: Xiangzhong Chang changxiangzh...@gmail.com --- net/sctp/outqueue.c | 53 --- 1 file changed, 25 insertions(+),

Re: [PATCH v2] pwm: add ep93xx PWM support

2013-10-16 Thread Arnd Bergmann
On Wednesday 16 October 2013, H Hartley Sweeten wrote: Remove the non-standard EP93xx PWM driver in drivers/misc and add a new driver for the PWM controllers on the EP93xx platform based on the PWM framework. These PWM controllers each support 1 PWM channel with programmable duty cycle,

[PATCH] mmc: rtsx: fix card poweroff bug

2013-10-16 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the host driver removed while card in the slot, the host will not power off card power correctly. This bug is produced because host eject flag set before the last mmc_set_ios callback, we should set the eject flag after power off. Signed-off-by:

[PATCH v2] mmc:sdhci-pci: Add Support of O2Mirco/BayHubTech SD Host

2013-10-16 Thread Peter Guo
Add O2Micro/BayHubTech SD Host DeviceId 8520 support and specified Init. Apply SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 for SD Host Controller. Apply SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC for SD Host Controller. Signed-off-by: peter.guo peter@bayhubtech.com --- drivers/mmc/host/sdhci-pci.c | 208

Re: [PATCH] mmc: rtsx: change phase searching method

2013-10-16 Thread micky
Hi Chris: have you accepted this patch ? micky -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Rodolfo Giometti
On Wed, Oct 16, 2013 at 08:52:47AM +0200, Paul Chavent wrote: I would also prefer the separate ioctl. As you said it, it's a bit annoying to switch from blocking mode to non blocking mode if we need both mode. But i was not sure about the preferences of the maintainer : (i) change the api,

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread H. Peter Anvin
On 10/16/2013 12:11 AM, Dave Young wrote: --- linux-2.6.orig/arch/x86/platform/efi/efi.c +++ linux-2.6/arch/x86/platform/efi/efi.c @@ -440,7 +440,7 @@ void __init efi_reserve_boot_services(vo * - Not within any part of the kernel * - Not the bios reserved area

Re: [PATCH v3 10/19] clk: tegra: move audio clk to common file

2013-10-16 Thread Peter De Schrijver
On Tue, Oct 15, 2013 at 09:13:44PM +0200, Stephen Warren wrote: On 10/15/2013 08:52 AM, Peter De Schrijver wrote: Move audio clocks and PLLA initialization to a common file so it can be used by multiple Tegra SoCs. diff --git a/drivers/clk/tegra/clk-tegra114.c

Re: [PATCH v3 13/19] clk: tegra: introduce common gen4 super clock

2013-10-16 Thread Peter De Schrijver
On Tue, Oct 15, 2013 at 09:37:23PM +0200, Stephen Warren wrote: On 10/15/2013 08:52 AM, Peter De Schrijver wrote: Introduce a common function which super clock initialization for Tegra114 and beyond. Nit: s/which/{which,that} performs/ ? For my education, why are cclk_g, cclk_lp, pll_x

[PATCH v3 07/12] clk: msm: Add support for root clock generators (RCGs)

2013-10-16 Thread Stephen Boyd
Add support for the root clock generators on MSM devices. RCGs are highly customizable mux/divider/counter clocks that can be used to generate almost any rate desired given some input source that is faster than the desired rate. Signed-off-by: Stephen Boyd sb...@codeaurora.org ---

[PATCH v3 11/12] clk: msm: Add support for MSM8960's multimedia clock controller (MMCC)

2013-10-16 Thread Stephen Boyd
Add a driver for the multimedia clock controller found on MSM 8960 based platforms. This should allow multimedia device drivers to probe and control their clocks. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/qcom,mmcc.txt

[PATCH v3 01/12] clk: Fix debugfs reparenting NULL pointer dereference

2013-10-16 Thread Stephen Boyd
Adding clocks from a kernel module can cause a NULL pointer dereference if the parent of a clock is added after the clock is added. This happens because __clk_init() iterates over the list of orphans and reparents the orphans to the clock being registered before creating the debugfs entry for the

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Andrew Morton
On Wed, 16 Oct 2013 09:29:58 +0200 Rodolfo Giometti giome...@enneenne.com wrote: On Wed, Oct 16, 2013 at 08:52:47AM +0200, Paul Chavent wrote: I would also prefer the separate ioctl. As you said it, it's a bit annoying to switch from blocking mode to non blocking mode if we need both

[PATCH v3 00/12] Add support for MSM's mmio clock/reset controller

2013-10-16 Thread Stephen Boyd
The first two patches fix a clock framework bug and break a reset-controller include ordering requirement. The next 3 patches are generic clock framework patches. They add support for regmap and for setting the rate and the parent at the same time based on patches from James Hogan's remuxing

[PATCH v3 08/12] clk: msm: Add support for branches/gate clocks

2013-10-16 Thread Stephen Boyd
Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/msm/Makefile | 1 + drivers/clk/msm/clk-branch.c | 152 +++ drivers/clk/msm/clk-branch.h | 52 +++ 3 files changed, 205 insertions(+) create mode 100644

[PATCH v3 09/12] clk: msm: Add reset controller support

2013-10-16 Thread Stephen Boyd
Reset controllers and clock controllers are combined into one IP block on qualcomm chipsets. Usually a reset signal is associated with each clock branch but sometimes a reset signal is associated with a handful of clocks. Either way the register interface is the same; set a bit to assert a reset

[PATCH v3 03/12] clk: Allow drivers to pass in a regmap

2013-10-16 Thread Stephen Boyd
Add support to the clock core so that drivers can pass in a regmap. If no regmap is specified try to query the device that's registering the clock for its regmap. This should allow drivers to use the core regmap helpers. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/clk.c

[PATCH v3 05/12] clk: Add set_rate_and_parent() op

2013-10-16 Thread Stephen Boyd
Some of Qualcomm's clocks can change their parent and rate at the same time with a single register write. Add support for this hardware to the common clock framework by adding a new set_rate_and_parent() op. When the clock framework determines that both the parent and the rate are going to change

[PATCH v3 02/12] reset: Silence warning in reset-controller.h

2013-10-16 Thread Stephen Boyd
If a user of linux/reset-controller.h doesn't include linux/of.h before including reset-controller.h they'll get a warning as follows: include/linux/reset-controller.h:44:17: warning: 'struct of_phandle_args' declared inside parameter list This is because of_phandle_args is not forward

[PATCH v3 06/12] clk: msm: Add support for phase locked loops (PLLs)

2013-10-16 Thread Stephen Boyd
Add support for MSM's PLLs (phase locked loops). This is sufficient enough to be able to determine the rate the PLL is running at. We can add rate setting support later when it's needed. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/Kconfig | 2 + drivers/clk/Makefile

[PATCH v3 04/12] clk: Add regmap core helpers for enable/disable/is_enabled

2013-10-16 Thread Stephen Boyd
The clock framework already has support for simple gate clocks but if drivers want to use the gate clock functionality they need to wrap the gate clock in another struct and chain the ops by calling the gate ops from their own custom ops. Plus the gate clock implementation only supports MMIO

RE: [PATCH] md: Fix skipping recovery for read-only arrays.

2013-10-16 Thread Dorau, Lukasz
On Wednesday, October 16, 2013 5:50 AM NeilBrown ne...@suse.de wrote: On Mon, 07 Oct 2013 16:25:51 +0200 Lukasz Dorau lukasz.do...@intel.com wrote: Since: commit 7ceb17e87bde79d285a8b988cfed9eaeebe60b86 md: Allow devices to be re-added to a read-only array. spares are

Re: [PATCH v2 1/7] clk: tegra: Add support for PLLSS

2013-10-16 Thread Peter De Schrijver
On Tue, Oct 15, 2013 at 10:20:03PM +0200, Stephen Warren wrote: On 10/15/2013 09:14 AM, Peter De Schrijver wrote: Tegra124 introduces a new PLL type, PLLSS. Add support for it. diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c +static int clk_pllss_set_rate(struct

Re: [PATCH 4/5] input: tc3589x-keypad: support probing from device tree

2013-10-16 Thread Linus Walleij
On Wed, Oct 16, 2013 at 8:39 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Tue, Oct 15, 2013 at 11:21:11PM +0200, Linus Walleij wrote: Implement device tree probing for the tc3589x keypad driver. This is modeled on the STMPE keypad driver and tested on the Ux500 TVK1281618 UIB.

Pls Confirm

2013-10-16 Thread Freeman Appiah
Attn I am Freeman Appiah,I serve as Manager of a Bank Branch in Ghana. In 2009, A customer made a fixed number deposit 24,600,000.00.This investor died four years ago leaving no WILL for Re-transfer to his next of kin. can you be of good assistance so that we can move the funds? -- To

Re: [PATCH 10/34] arc: handle pgtable_page_ctor() fail

2013-10-16 Thread Vineet Gupta
On 10/10/2013 11:35 PM, Kirill A. Shutemov wrote: Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Acked-by: Vineet Gupta vgu...@synopsys.com [for arch/arc bits] Thx, -Vineet -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Matt Fleming
Also better include Maarten on Cc as the author of the code. On Wed, 16 Oct, at 03:11:22PM, Dave Young wrote: typo, fix hpa's mail address.. On 10/16/13 at 03:03pm, Dave Young wrote: Current code check boot service region with kernel text region by: start+size = __pa_symbol(_text)

Re: [PATCH 19/34] m68k: handle pgtable_page_ctor() fail

2013-10-16 Thread Geert Uytterhoeven
On Thu, Oct 10, 2013 at 8:05 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Geert Uytterhoeven ge...@linux-m68k.org --- arch/m68k/include/asm/motorola_pgalloc.h | 5 -

Re: [PATCH] clk: s3c64xx: Correct spi bus clock hookups

2013-10-16 Thread Charles Keepax
+ samsung soc mailing list On Wed, Oct 16, 2013 at 12:52:42AM +0200, Tomasz Figa wrote: Hi Charles, On Tuesday 15 of October 2013 13:26:22 Charles Keepax wrote: ALIAS(SCLK_MMC1, s3c-sdhci.1, mmc_busclk.2), ALIAS(SCLK_MMC0, s3c-sdhci.0, mmc_busclk.2), - ALIAS(SCLK_SPI1,

Re: [PATCH v2 1/3] gpiolib: export descriptor-based GPIO interface

2013-10-16 Thread Linus Walleij
On Fri, Oct 11, 2013 at 8:14 PM, Alexandre Courbot acour...@nvidia.com wrote: This patch exports the gpiod_* family of API functions, a safer alternative to the legacy GPIO interface. Differences between the gpiod and legacy gpio APIs are: - gpio works with integers, whereas gpiod operates

Re: [PATCH v2] mmc:sdhci-pci: Add Support of O2Mirco/BayHubTech SD Host

2013-10-16 Thread Adam Lee
On Wed, Oct 16, 2013 at 07:26:23AM +, Peter Guo wrote: Add O2Micro/BayHubTech SD Host DeviceId 8520 support and specified Init. Apply SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 for SD Host Controller. Apply SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC for SD Host Controller. Signed-off-by: peter.guo

[GIT PULL] late GPIO fixes for v3.12

2013-10-16 Thread Linus Walleij
Hi Linus, here are three late GPIO fixes for the v3.12 series. It fixes two issues with internal refactoring of the subsystem to preserve external semantics, and a common bug in the Lynxpoint driver. In the absence of linux-next I'm using some extended local build tests and the kernelorg

Re: [PATCH v2 08/10] of/platform: Resolve interrupt references at probe time

2013-10-16 Thread Thierry Reding
On Wed, Oct 16, 2013 at 12:24:36AM +0100, Grant Likely wrote: On Wed, 18 Sep 2013 15:24:50 +0200, Thierry Reding thierry.red...@gmail.com wrote: Interrupt references are currently resolved very early (when a device is created). This has the disadvantage that it will fail in cases where the

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Dave Young
On 10/16/13 at 12:29am, H. Peter Anvin wrote: On 10/16/2013 12:11 AM, Dave Young wrote: --- linux-2.6.orig/arch/x86/platform/efi/efi.c +++ linux-2.6/arch/x86/platform/efi/efi.c @@ -440,7 +440,7 @@ void __init efi_reserve_boot_services(vo * - Not within any part of the kernel

Re: [PATCH v2 1/3] gpiolib: export descriptor-based GPIO interface

2013-10-16 Thread Linus Walleij
On Wed, Oct 16, 2013 at 10:11 AM, Linus Walleij linus.wall...@linaro.org wrote: Would you mind rebasing this on top of my devel branch? Or wait ... if it depends on the two fixes I just sent off to Torvalds as well, you'd better use my for-next branch, so I have it on top of everything. Yours,

RE: [PATCH 02/10][v6] powerpc/Power7: detect load/store instructions

2013-10-16 Thread David Laight
Implement instr_is_load_store_2_06() to detect whether a given instruction is one of the fixed-point or floating-point load/store instructions in the POWER Instruction Set Architecture v2.06. ... +int instr_is_load_store_2_06(const unsigned int *instr) +{ + unsigned int op, upper, lower;

Re: [PATCH] perf: revert PERF_RECORD_MMAP2 support

2013-10-16 Thread Stephane Eranian
On Wed, Oct 16, 2013 at 8:15 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: This unified patch removes the following commits for both kernel and perf tool: 6adb0b0 perf tools: Add default handler for mmap2 events 384c671 perf trace: Add mmap2 handler

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Maarten Lankhorst
op 16-10-13 10:07, Matt Fleming schreef: Also better include Maarten on Cc as the author of the code. On Wed, 16 Oct, at 03:11:22PM, Dave Young wrote: typo, fix hpa's mail address.. On 10/16/13 at 03:03pm, Dave Young wrote: Current code check boot service region with kernel text region by:

Re: [PATCH 1/6] net: ip4_datagram_connect: Use correct form of statistics update

2013-10-16 Thread Peter Zijlstra
On Tue, Oct 15, 2013 at 12:47:23PM -0500, Christoph Lameter wrote: ip4_datagram_connect is called with BH processing enabled. Therefore we cannot use IP_INC_STATS_BH but must use IP_INC_STATS which disables BH handling before incrementing the counter. The following trace is triggered without

Re: [PATCH] x86 efi: efi reverve boot service fix

2013-10-16 Thread Dave Young
On 10/16/13 at 09:07am, Matt Fleming wrote: Also better include Maarten on Cc as the author of the code. Will do in next version -- 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

[PATCH v2] x86 efi: efi reverve boot service fix

2013-10-16 Thread Dave Young
Current code check boot service region with kernel text region by: start+size = __pa_symbol(_text) The end of the above region should be start + size - 1 instead. I see this problem in ovmf + Fedora 19 grub boot: text start: 100 md start: 80 md size: 80 Signed-off-by: Dave Young

Re: [PATCH 1/2] dma: Add interface to calculate data transferred

2013-10-16 Thread Shevchenko, Andriy
On Wed, 2013-10-16 at 11:08 +0530, Vinod Koul wrote: On Tue, Oct 15, 2013 at 08:55:20AM -0700, Dan Williams wrote: On Tue, Oct 15, 2013 at 11:31 AM, Youquan Song youquan.s...@linux.intel.com wrote: On Sun, Oct 13, 2013 at 08:56:33PM +0530, Vinod Koul wrote: On Fri, Oct 11, 2013 at

Re: [PATCH 3/6] mm: Use raw_cpu ops for determining current NUMA node

2013-10-16 Thread Peter Zijlstra
On Tue, Oct 15, 2013 at 12:47:25PM -0500, Christoph Lameter wrote: Index: linux/include/linux/topology.h === --- linux.orig/include/linux/topology.h 2013-09-24 11:29:51.0 -0500 +++ linux/include/linux/topology.h

Re: [PATCH] ipc/sem.c: fix small codingstyle

2013-10-16 Thread Manfred Spraul
Hi Joe, On 10/15/2013 08:36 PM, Joe Perches wrote: On Tue, 2013-10-15 at 09:44 -0700, Davidlohr Bueso wrote: On Tue, 2013-10-15 at 16:19 +0800, Libin wrote: From: Li Bin huawei.li...@huawei.com small codingstyle fix: '*' should be adjacent to the data name. There are *tons* of these, go

Re: [PATCH 4/6] Use raw_cpu_write for initialization of per cpu refcount.

2013-10-16 Thread Peter Zijlstra
On Tue, Oct 15, 2013 at 12:47:26PM -0500, Christoph Lameter wrote: The initialization of a structure is not subject to synchronization. The use of __this_cpu would trigger a false positive with the additional preemption checks for __this_cpu ops. So simply disable the check through the use

[PATCH v2 01/15] slab: correct pfmemalloc check

2013-10-16 Thread Joonsoo Kim
We checked pfmemalloc by slab unit, not page unit. You can see this in is_slab_pfmemalloc(). So other pages don't need to be set/cleared pfmemalloc. And, therefore we should check pfmemalloc in page flag of first page, but current implementation don't do that. virt_to_head_page(obj) just return

[PATCH v2 15/15] slab: rename slab_bufctl to slab_freelist

2013-10-16 Thread Joonsoo Kim
Now, bufctl is not proper name to this array. So change it. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index fbb594f..af2db76 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -2550,7 +2550,7 @@ static struct freelist *alloc_slabmgmt(struct kmem_cache *cachep,

[PATCH v2 13/15] slab: use struct page for slab management

2013-10-16 Thread Joonsoo Kim
Now, there are a few field in struct slab, so we can overload these over struct page. This will save some memory and reduce cache footprint. After this change, slabp_cache and slab_size no longer related to a struct slab, so rename them as freelist_cache and freelist_size. These changes are just

[PATCH v2 05/15] slab: remove cachep in struct slab_rcu

2013-10-16 Thread Joonsoo Kim
We can get cachep using page in struct slab_rcu, so remove it. Acked-by: Christoph Lameter c...@linux.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index 71ba8f5..7e1aabe 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -204,7 +204,6 @@ typedef unsigned int

[PATCH v2 07/15] slab: use well-defined macro, virt_to_slab()

2013-10-16 Thread Joonsoo Kim
This is trivial change, just use well-defined macro. Acked-by: Christoph Lameter c...@linux.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index 84c4ed6..f9e676e 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -2865,7 +2865,6 @@ static inline void

[PATCH v2 14/15] slab: remove useless statement for checking pfmemalloc

2013-10-16 Thread Joonsoo Kim
Now, virt_to_page(page-s_mem) is same as the page, because slab use this structure for management. So remove useless statement. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index 0e7f2e7..fbb594f 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -750,9 +750,7 @@

[PATCH v2 12/15] slab: replace free and inuse in struct slab with newly introduced active

2013-10-16 Thread Joonsoo Kim
Now, free in struct slab is same meaning as inuse. So, remove both and replace them with active. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index c271d5b..2ec2336 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -174,8 +174,7 @@ struct slab { struct {

[PATCH v2 11/15] slab: remove SLAB_LIMIT

2013-10-16 Thread Joonsoo Kim
It's useless now, so remove it. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index 6ced1cc..c271d5b 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -163,8 +163,6 @@ */ static bool pfmemalloc_active __read_mostly; -#defineSLAB_LIMIT (((unsigned

[PATCH v2 06/15] slab: overloading the RCU head over the LRU for RCU free

2013-10-16 Thread Joonsoo Kim
With build-time size checking, we can overload the RCU head over the LRU of struct page to free pages of a slab in rcu context. This really help to implement to overload the struct slab over the struct page and this eventually reduce memory usage and cache footprint of the SLAB. Acked-by:

Re: [PATCH 5/6] net: __this_cpu_inc in route.c

2013-10-16 Thread Peter Zijlstra
On Tue, Oct 15, 2013 at 12:47:27PM -0500, Christoph Lameter wrote: The RT_CACHE_STAT_INC macro triggers the new preemption checks for __this_cpu ops I do not see any other synchronization that would allow the use of a __this_cpu operation here however in commit

  1   2   3   4   5   6   7   8   9   10   >