Re: [RFC 0/2] Reenable might_sleep() checks for might_fault() when atomic

2014-11-27 Thread David Hildenbrand
> On Thu, 27 Nov 2014, David Hildenbrand wrote: > > > OTOH, there is no reason why we need to disable preemption over that > > > page_fault_disabled() region. There are code pathes which really do > > > not require to disable preemption for that. > > > > > > We have that seperated in preempt-rt fo

Re: [PATCH v3 2/8] mm/debug-pagealloc: prepare boottime configurable on/off

2014-11-27 Thread Joonsoo Kim
On Thu, Nov 27, 2014 at 01:35:39PM +0100, Paul Bolle wrote: > Joonsoo, > > On Mon, 2014-11-24 at 17:15 +0900, Joonsoo Kim wrote: > > Until now, debug-pagealloc needs extra flags in struct page, so we need > > to recompile whole source code when we decide to use it. This is really > > painful, beca

Re: [Patch v2 2/2] gpio: Document GPIO hogging mechanism

2014-11-27 Thread Alexandre Courbot
On Fri, Nov 21, 2014 at 8:54 AM, Benoit Parrot wrote: > Add GPIO hogging documentation to gpio.txt > > Signed-off-by: Benoit Parrot > --- > Changes since v1: > * Split the devicetree bindings documentation in its own patch. > > Documentation/devicetree/bindings/gpio/gpio.txt | 25 > +++

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-11-27 Thread Alexandre Courbot
On Fri, Nov 21, 2014 at 8:54 AM, Benoit Parrot wrote: > Based on Boris Brezillion's work this is a reworked patch > of his initial GPIO hogging mechanism. > This patch provides a way to initally configure specific GPIO > when the gpio controller is probed. > > The actual DT scanning to collect the

Re: [PATCH] Drivers:Staging:rtl8188eu:hal:usb_halinit.c: Added blank line after declarations

2014-11-27 Thread Sudip Mukherjee
On Thu, Nov 27, 2014 at 08:13:03PM +0530, Anjana Sasindran wrote: > This patch fixes the five checkpatch.pl warnings: > > WARNING:Missing a blank line after declaration > > Signed-off-by: Anjana Sasindran > --- > drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++ > 1 file changed,

Re: [PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Nicolas Pitre
On Fri, 28 Nov 2014, Masahiro Yamada wrote: > This line converts PHYS_OFFSET into PHYS_PFN_OFFSET. > It is better to use PAGE_SHIFT rather than the magic number 12. > > Signed-off-by: Masahiro Yamada Acked-by: Nicolas Pitre > --- > > arch/arm/kernel/head.S | 2 +- > 1 file changed, 1 inser

Re: [PATCH 2/3] ARM: edma: Rename header file for dmaengine filter function definition

2014-11-27 Thread Peter Ujfalusi
On 11/27/2014 11:52 PM, Arnd Bergmann wrote: > On Thursday 27 November 2014 20:46:12 Peter Ujfalusi wrote: >> >> I see. With this series I did not planed to fix all edma related issues, just >> as a start clean up the related header files. I would rather not add fixes to >> mmc, spi, etc drivers si

Re: [PATCH] ARM: decompressor: fix a wrong comment

2014-11-27 Thread Nicolas Pitre
On Fri, 28 Nov 2014, Masahiro Yamada wrote: > This comment does not correspond to the actual code. > > When zImage is loaded at a lower *OR* higher address of > the destination of Image, it won't overwrite itself. > > Signed-off-by: Masahiro Yamada Acked-by: Nicolas Pitre > --- > > arch/a

[PATCH v2 2/2] perf record: Show precise number of samples

2014-11-27 Thread Namhyung Kim
After perf record finishes, it prints file size and number of samples in the file but this info is wrong since it assumes typical sample size of 24 bytes and divides file size by the value. However as we post-process recorded samples for build-id, it can show correct number like below. If build-i

[PATCH 2/2] perf record: Show precise number of samples

2014-11-27 Thread Namhyung Kim
After perf record finishes, it prints file size and number of samples in the file but this info is wrong since it assumes typical sample size of 24 bytes and divides file size by the value. However as we post-process recorded samples for build-id, it can show correct number like below. If build-i

[PATCH 1/2] perf tools: Do not use __perf_session__process_events() directly

2014-11-27 Thread Namhyung Kim
It's only used for perf record to process build-id because its file size it's not fixed at this time due to remaining header features. However data offset and size is available so that we can use the perf_session__process_events() once we set the file size as the current offset like for now. Signe

Re: [regression] Boot crash with: f7426b983a6a ("mm: cma: adjust address limit to avoid hitting low/high memory boundary")

2014-11-27 Thread Joonsoo Kim
On Thu, Nov 27, 2014 at 02:05:56PM +0100, Ingo Molnar wrote: > > Any replies to this regression after 10 days, or should I send a > revert patch? Hello, Ingo. I can reproduce your problem and find root cause. If CONFIG_DEBUG_VIRTUAL is enabled, __pa() checks whether virtual address is valid or

Re: [PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-27 Thread Jason Wang
On Thu, Nov 27, 2014 at 9:09 PM, Dexuan Cui wrote: In the case the user-space daemon crashes, hangs or is killed, we need to down the semaphore, otherwise, after the daemon starts next time, the obsolete data in fcopy_transaction.message or fcopy_transaction.fcopy_msg will be used immediately.

[PATCH v2 2/2] mmc: rtsx: add support for sdio card

2014-11-27 Thread micky_ching
From: Micky Ching Add support for sdio card by SD interface. The main change is data transfer mode, When read data, host wait data transfer while command start. When write data, host will start data transfer after command get response. The transfer mode modify can be applied both for SD/MMC card

[PATCH v2 0/2] mmc: rtsx: add support for sdio card

2014-11-27 Thread micky_ching
From: Micky Ching v2: rtsx_pci.h: - remove unused rtsx_pci_write_le32 - add SD_CMD_START rtsx_pci_sdmmc.c: - dump_reg_range - alloc data on stack - remove forward declaration - use SD_CMD_START replace magic number 0x40 - move initialize assignment to error handl

[PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-11-27 Thread micky_ching
From: Micky Ching Add helper function to write u32 to registers, if we want to put u32 value to 4 continuous register, this can help us reduce tedious work. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/linux/mf

linux-next: manual merge of the usb tree with the driver-core tree

2014-11-27 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/usb/chipidea/core.c between commit 5bc879a6a271 ("usb: chipidea: drop owner assignment from platform_drivers") from the driver-core tree and commit 8076932ff2fc ("usb: chipidea: add system power management support") from t

[PATCH] nf_log_ipv6: correct typo in module description

2014-11-27 Thread Steven Noonan
It incorrectly identifies itself as "IPv4" packet logging. Signed-off-by: Steven Noonan --- net/ipv6/netfilter/nf_log_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/netfilter/nf_log_ipv6.c b/net/ipv6/netfilter/nf_log_ipv6.c index 7b17a0b..41b9ade 100644 --- a

linux-next: manual merge of the tty tree with the devicetree tree

2014-11-27 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in Documentation/devicetree/bindings/serial/pl011.txt between commit a81a6c654bbe ("ARM: dt: fix up PL011 device tree bindings") from the devicetree tree and commit 98267d33e2da ("serial: pl011: Add device tree support for RX DMA pol

[PATCH] ARM: decompressor: fix a wrong comment

2014-11-27 Thread Masahiro Yamada
This comment does not correspond to the actual code. When zImage is loaded at a lower *OR* higher address of the destination of Image, it won't overwrite itself. Signed-off-by: Masahiro Yamada --- arch/arm/boot/compressed/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Masahiro Yamada
This line converts PHYS_OFFSET into PHYS_PFN_OFFSET. It is better to use PAGE_SHIFT rather than the magic number 12. Signed-off-by: Masahiro Yamada --- arch/arm/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S inde

Re: [PATCH net] bpf: x86: fix epilogue generation for eBPF programs

2014-11-27 Thread Alexei Starovoitov
On Thu, Nov 27, 2014 at 1:52 AM, Daniel Borkmann wrote: > On 11/27/2014 06:02 AM, Alexei Starovoitov wrote: >> >> classic BPF has a restriction that last insn is always BPF_RET. >> eBPF doesn't have BPF_RET instruction and this restriction. >> It has BPF_EXIT insn which can appear anywhere in the

[PATCH v10 6/6] arm64: add seccomp support

2014-11-27 Thread AKASHI Takahiro
secure_computing() is called first in syscall_trace_enter() so that a system call will be aborted quickly without doing succeeding syscall tracing if seccomp rules want to deny that system call. On compat task, syscall numbers for system calls allowed in seccomp mode 1 are different from those on

[PATCH v10 5/6] arm64: add SIGSYS siginfo for compat task

2014-11-27 Thread AKASHI Takahiro
SIGSYS is primarily used in secure computing to notify tracer of syscall events. This patch allows signal handler on compat task to get correct information with SA_SIGINFO specified when this signal is delivered. Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro --- arch/arm64/include/asm/c

[PATCH v10 4/6] arm64: add seccomp syscall for compat task

2014-11-27 Thread AKASHI Takahiro
This patch allows compat task to issue seccomp() system call. Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro --- arch/arm64/include/asm/unistd32.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32

[PATCH v10 1/6] arm64: ptrace: add NT_ARM_SYSTEM_CALL regset

2014-11-27 Thread AKASHI Takahiro
This regeset is intended to be used to get and set a system call number while tracing. There was some discussion about possible approaches to do so: (1) modify x8 register with ptrace(PTRACE_SETREGSET) indirectly, and update regs->syscallno later on in syscall_trace_enter(), or (2) define a de

[PATCH v10 3/6] asm-generic: add generic seccomp.h for secure computing mode 1

2014-11-27 Thread AKASHI Takahiro
Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Acked-by: Arnd Bergmann Reviewed-by: Kees Cook Signed-off-by: AKASHI Takahiro --- include/asm-generic/sec

[PATCH v10 0/6] arm64: add seccomp support

2014-11-27 Thread AKASHI Takahiro
This patch series enables secure computing (system call filtering) on arm64, and contains related enhancements and bug fixes. NOTE: This versions contain a workaround against possible BUG_ON() failure at audit_syscall_exit(), but doesn't contain an extra optimization, as I submitted for arm,

[PATCH v10 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-27 Thread AKASHI Takahiro
If tracer modifies a syscall number to -1, this traced system call should be skipped with a return value specified in x0. This patch implements this semantics. Please note: * syscall entry tracing and syscall exit tracing (ftrace tracepoint and audit) are always executed, if enabled, even when s

Re: [PATCH v9 1/6] arm64: ptrace: add NT_ARM_SYSTEM_CALL regset

2014-11-27 Thread AKASHI Takahiro
On 11/27/2014 11:10 PM, Will Deacon wrote: On Thu, Nov 27, 2014 at 05:53:36AM +, AKASHI Takahiro wrote: On 11/26/2014 09:41 PM, Will Deacon wrote: On Wed, Nov 26, 2014 at 04:49:46AM +, AKASHI Takahiro wrote: This regeset is intended to be used to get and set a system call number while

[CFT][PATCH v2] userns: Avoid problems with negative groups

2014-11-27 Thread Eric W. Biederman
Classic unix permission checks have an interesting feature. The group permissions for a file can be set to less than the other permissions on a file. Occassionally this is used deliberately to give a certain group of users fewer permissions than the default. Overlooking negative groups has resu

Re: [PATCH 1/2 V4] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-27 Thread Yasuaki Ishimatsu
(2014/11/28 12:36), Ethan Zhao wrote: > Oracle Sun X86 servers have dynamic power capping capability that works via > ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC > enabled. > > Signed-off-by: Ethan Zhao > Signed-off-by: Dirk Brandewie > Tested-by: Linda Knippers

Re: [CFT][PATCH] userns: Avoid problems with negative groups

2014-11-27 Thread Eric W. Biederman
Andy Lutomirski writes: >> This change should break userspace by the minimal amount needed >> to fix this issue. >> >> This should fix CVE-2014-8989. > > I think this is both unnecessarily restrictive and that it doesn't fix > the bug. You are going to have to work very hard to convince me thi

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-27 Thread Al Viro
On Thu, Nov 06, 2014 at 10:16:08PM +, Al Viro wrote: > On Thu, Nov 06, 2014 at 09:55:31AM +, Jon Maloy wrote: > > > Point, but that might very well be a pattern to watch for - there's at > > > least one > > > more instance in TIPC (also not exploitable, according to TIPC folks) and > > >

Re: [Xen-devel] [PATCH] xen: privcmd: schedule() after private hypercall when non CONFIG_PREEMPT

2014-11-27 Thread Juergen Gross
On 11/27/2014 07:50 PM, Andrew Cooper wrote: On 27/11/14 18:36, Luis R. Rodriguez wrote: On Thu, Nov 27, 2014 at 07:36:31AM +0100, Juergen Gross wrote: On 11/26/2014 11:26 PM, Luis R. Rodriguez wrote: From: "Luis R. Rodriguez" Some folks had reported that some xen hypercalls take a long time

[PATCH] irqchip: gic: Remove warning by including linux/irqdomain.h

2014-11-27 Thread Jason Cooper
Commit 853a33ce6932 irqchip: gic-v2m: Add support for ARM GICv2m MSI(-X) doorbell Introduced a series of warnings when building ARM multi_v7_defconfig: include/linux/irqchip/arm-gic.h:109:53: warning: its scope is only this definition or declaration, which is probably not what you want In

[PATCH V4 01/16] irqchip: Update docs regarding irq_domain_add_tree()

2014-11-27 Thread Kevin Cernekee
Several drivers now use this API, including the ARM GIC driver, so remove the outdated comment. Signed-off-by: Kevin Cernekee --- Documentation/IRQ-domain.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/IRQ-domain.txt b/Documentation/IRQ-domain.txt index 8

[PATCH V4 07/16] irqchip: bcm7120-l2: Add support for BCM3380-style controllers

2014-11-27 Thread Kevin Cernekee
These controllers support multiple enable/status pairs (64+ IRQs), can put the enable/status words at different offsets, and do not support multiple parent IRQs. Signed-off-by: Kevin Cernekee --- .../interrupt-controller/brcm,bcm3380-l2-intc.txt | 41 drivers/irqchip/irq-bcm712

[PATCH V4 04/16] irqchip: bcm7120-l2: fix error handling of irq_of_parse_and_map

2014-11-27 Thread Kevin Cernekee
From: Dmitry Torokhov Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov Acked-by: Florian Fainelli Tested-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 4 ++-- 1 file chang

[PATCH V4 03/16] irqchip: brcmstb-l2: fix error handling of irq_of_parse_and_map

2014-11-27 Thread Kevin Cernekee
From: Dmitry Torokhov Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov Acked-by: Florian Fainelli Tested-by: Kevin Cernekee --- drivers/irqchip/irq-brcmstb-l2.c | 4 ++-- 1 file chang

[PATCH V4 06/16] irqchip: bcm7120-l2: Split STB-specific logic into its own function

2014-11-27 Thread Kevin Cernekee
The BCM7xxx instances of this block (listed in the register manual as simply "IRQ0") all have the following items in common: - brcm,int-map-mask: for routing different bits in the L2 to different parent IRQs - brcm,int-fwd-mask: for hardwiring certain IRQs to bypass the L2 and use dedicat

[PATCH V4 08/16] irqchip: Add new driver for BCM7038-style level 1 interrupt controllers

2014-11-27 Thread Kevin Cernekee
This is the main peripheral IRQ controller on the BCM7xxx MIPS chips; it has the following characteristics: - 64 to 160+ level IRQs - Atomic set/clear registers - Reasonably predictable register layout (N status words, then N mask status words, then N mask set words, then N mask clear words)

[PATCH V4 09/16] MIPS: Let __dt_register_buses accept a single bus type

2014-11-27 Thread Kevin Cernekee
Some machines only have one bus type to register (e.g. "simple-bus"). Signed-off-by: Kevin Cernekee --- arch/mips/kernel/prom.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index 452d4350ce42..e303cb1ef2f4 100644 --- a/

[PATCH V4 10/16] MIPS: Fall back to the generic restart notifier

2014-11-27 Thread Kevin Cernekee
If the machine doesn't set its own _machine_restart callback, call the common do_kernel_restart() instead. This allows arch-independent reset drivers from drivers/power/reset/ to be used to reboot the machine. Signed-off-by: Kevin Cernekee --- arch/mips/kernel/reset.c | 2 ++ 1 file changed, 2

[PATCH V4 11/16] MIPS: Reorder MIPS_L1_CACHE_SHIFT priorities

2014-11-27 Thread Kevin Cernekee
Enabling support for more than one BMIPS CPU in the same build may result in different L1_CACHE_SHIFT values, e.g. CPU_BMIPS5000 selects MIPS_L1_CACHE_SHIFT_7 CPU_BMIPS4380 selects MIPS_L1_CACHE_SHIFT_6 anything else defaults to MIPS_L1_CACHE_SHIFT_5 Ensure that if more than one MIPS_

[PATCH V4 13/16] MIPS: BMIPS: Flush the readahead cache after DMA

2014-11-27 Thread Kevin Cernekee
BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer may cause parts of the DMA buffer to be prefetched into the RAC. To avoid possible coherency problems, flush the RAC upon DMA completion. Signed-off-by: Kev

[PATCH V4 12/16] MIPS: Create a common

2014-11-27 Thread Kevin Cernekee
11 platforms require at least one of these workarounds to be enabled; 22 platforms do not. In the latter case we can fall back to a generic version. Note that this also deletes an orphaned reference to RM9000_CDEX_SMP_WAR. Suggested-by: Arnd Bergmann Signed-off-by: Kevin Cernekee --- arch/mip

[PATCH V4 15/16] MIPS: Add Generic BMIPS target

2014-11-27 Thread Kevin Cernekee
bmips_be_defconfig supports Linux running on the following CM and DSL SoCs: - BCM3384 (BMIPS5000) cable modem application processor, BE, SMP - BCM3384 (BMIPS4355) cable modem "spare CPU"*, BE - BCM6328 (BMIPS4355) ADSL chip, BE - BCM6368 (BMIPS4350) ADSL chip, BE, SMP *experimental; most conf

[PATCH V4 14/16] MIPS: BMIPS: Document the firmware->kernel DTB interface

2014-11-27 Thread Kevin Cernekee
Add a new section covering the Generic BMIPS machine type. Signed-off-by: Kevin Cernekee --- Documentation/devicetree/booting-without-of.txt | 28 + 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/

[PATCH V4 16/16] MIPS: BMIPS: Add DTS files for several platforms

2014-11-27 Thread Kevin Cernekee
Most of the supported chips use legacy (non-DT) bootloaders, so they will need to select an appropriate builtin DTB at compile time until the bootloader is updated. Provide suitable DTS files, and a means to compile one of them into the kernel image. Signed-off-by: Kevin Cernekee --- arch/mips/

[PATCH V4 05/16] irqchip: bcm7120-l2: Refactor driver for arbitrary IRQEN/IRQSTAT offsets

2014-11-27 Thread Kevin Cernekee
Currently the driver assumes that REG_BASE+0x00 is the IRQ enable mask, and REG_BASE+0x04 is the IRQ status mask. This is true on BCM3384 and BCM7xxx, but it is not true for some of the controllers found on BCM63xx chips. So we will change a couple of key assumptions: - Don't assume that both t

[PATCH V4 00/16] Generic BMIPS kernel

2014-11-27 Thread Kevin Cernekee
This patch series REPLACES the following commits in Ralf's mips-for-linux-next branch: 846deacebfe1 Documentation: DT: Add entries for BCM3384 and its peripherals d666cd0246f7 MIPS: bcm3384: Initial commit of bcm3384 platform support a2f6734c5f68 MAINTAINERS: Add entry for BCM33xx cable chips (if

[PATCH V4 02/16] irqchip: brcmstb-l2: don't clear wakeable interrupts at init time

2014-11-27 Thread Kevin Cernekee
From: Brian Norris Wakeable interrupts might be pending at boot/init time, because wakeup interrupts might have triggered a resume from S5. So don't clear such wakeups. This means that any driver which requests a wakeable interrupt bit should be prepared to handle an interrupt as soon as they ca

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-27 Thread Sanchayan Maity
On Wednesday 19 November 2014 10:19 AM, Sanchayan Maity wrote: > On Wednesday 19 November 2014 06:47 AM, Shawn Guo wrote: >> On Thu, Nov 13, 2014 at 11:03:09AM +0530, Sanchayan Maity wrote: >>> On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: On Wed, Nov 12, 2014 at 02:26:51PM +0530, S

[PATCH 1/1] arcmsr: Notify has sense data report

2014-11-27 Thread Ching Huang
From: Ching Huang This patch is relative to http://git.infradead.org/users/hch/scsi-queue.git/tree/refs/heads/drivers-for-3.18:/drivers/scsi/arcmsr Setting command status with 'DRIVER_SENSE' except 'CHECK_CONDITION' if we have sense data. Signed-off-by: Ching Huang --- diff -uprN a/drivers/

[PATCH] selinux: Remove security_ops extern

2014-11-27 Thread Yao Dongdong
security_ops is not used in this file. Signed-off-by: Yao Dongdong --- security/selinux/hooks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index c603b20..6da7532 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@

Re: [PATCH 4/4] (CMA_AGGRESSIVE) Update page alloc function

2014-11-27 Thread Hui Zhu
On Fri, Oct 24, 2014 at 1:28 PM, Joonsoo Kim wrote: > On Thu, Oct 16, 2014 at 11:35:51AM +0800, Hui Zhu wrote: >> If page alloc function __rmqueue try to get pages from MIGRATE_MOVABLE and >> conditions (cma_alloc_counter, cma_aggressive_free_min, cma_alloc_counter) >> allow, MIGRATE_CMA will be a

Re: [PATCH V2 2/2] arm64: exynos: Add bus1 pinctrl node on exynos7

2014-11-27 Thread Vivek Gautam
Hi Kukjin, On Wed, Nov 26, 2014 at 6:59 PM, Alim Akhtar wrote: > Hi Vivek, > > On Mon, Nov 24, 2014 at 6:36 PM, Vivek Gautam > wrote: >> BUS1 pinctrl provides gpios for usb and power regulator >> available on exynos7-espresso board. So add relevant device >> node for pinctrl-bus1. >> >> Signed

Re: [PATCH V2 1/2] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-27 Thread Vivek Gautam
Hi Linus, On Fri, Nov 28, 2014 at 9:05 AM, Vivek Gautam wrote: > Hi Alim, > > > On Wed, Nov 26, 2014 at 7:03 PM, Alim Akhtar wrote: >> Hi Vivek, >> >> On Mon, Nov 24, 2014 at 6:32 PM, Vivek Gautam >> wrote: >>> USB and Power regulator on Exynos7 require gpios available >>> in BUS1 pin control

[PATCH 2/2 V6] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-11-27 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = ora_force For those who be aware of the risk of no power capping capabily working and try to get better performance with this driver. Signed-off-by: Ethan Zhao --- v2: change to hardware vend

[PATCH 2/2 V6] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-11-27 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = ora_force For those who be aware of the risk of no power capping capabily working and try to get better performance with this driver. Signed-off-by: Ethan Zhao --- v2: change to hardware vend

[PATCH 1/2 V4] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-27 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao Signed-off-by: Dirk Brandewie Tested-by: Linda Knippers --- v2: fix break HP Proliant issue. v3: expan

[PATCH 0/2 V4] intel_pstate: skip this driver if hit Sun X86 servers

2014-11-27 Thread Ethan Zhao
Oracle Sun servers(X86) have power capping features that work via ACPI _PPC method, patch No.1 is used to skip this driver if Oracle Sun server and _PPC detected. Patch No.2 introduces a kernel command line parameter for those who would like to enable intel_pstate on Sun X86 servers and be aware o

Re: [PATCH V2 1/2] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-27 Thread Vivek Gautam
Hi Alim, On Wed, Nov 26, 2014 at 7:03 PM, Alim Akhtar wrote: > Hi Vivek, > > On Mon, Nov 24, 2014 at 6:32 PM, Vivek Gautam > wrote: >> USB and Power regulator on Exynos7 require gpios available >> in BUS1 pin controller block. >> So adding the BUS1 pinctrl support. >> >> Signed-off-by: Naveen

[PATCH 2/2 V5] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-11-27 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = ora_force For those who be aware of the risk of no power capping capabily working and try to get better performance with this driver. Signed-off-by: Ethan Zhao --- v2: change to hardware vend

[PATCH 1/2 V4] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-27 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao Signed-off-by: Dirk Brandewie Tested-by: Linda Knippers --- v2: fix break HP Proliant issue. v3: expan

[PATCH 0/2 V4] intel_pstate: skip this driver if hit Sun X86 servers

2014-11-27 Thread Ethan Zhao
Oracle Sun servers(X86) have power capping features that work via ACPI _PPC method, patch No.1 is used to skip this driver if Oracle Sun server and _PPC detected. Patch No.2 introduces a kernel command line parameter for those who would like to enable intel_pstate on Sun X86 servers and be aware o

[PATCH 2/2 V5] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-11-27 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = ora_force For those who be aware of the risk of no power capping capabily working and try to get better performance with this driver. Signed-off-by: Ethan Zhao --- v2: change to hardware vend

Re: [PATCH v2] arm64: ARM: Fix the Generic Timers interrupt active level description

2014-11-27 Thread Jisheng Zhang
Dear Marc and Liviu, On Thu, 27 Nov 2014 10:39:28 -0800 Marc Zyngier wrote: > On 27/11/14 16:21, Liviu Dudau wrote: > > The Cortex-A5x TRM states in paragraph "9.2 Generic Timer functional > > description" that generic timers provide a level not edge interrupt > > output. Fix the device trees to

Re: Re: [PATCH v10 2/2] ARM: kprobes: enable OPTPROBES for ARM 32

2014-11-27 Thread Masami Hiramatsu
(2014/11/27 23:36), Jon Medhurst (Tixy) wrote: > On Fri, 2014-11-21 at 14:35 +0800, Wang Nan wrote: >> This patch introduce kprobeopt for ARM 32. > > If I've understood things correctly, this is a feature which inserts > probes by using a branch instruction to some trampoline code rather than > us

[PATCH 2/2] cpufreq: show the real avail freqs with the freq_table

2014-11-27 Thread Wang Weidong
Some time, the policy's max_freq and min_freq will change, so the avail freqs is not from the cpuinfo_min to cpuinfo_max. Just add the check for the freq_table. Signed-off-by: Wang Weidong --- drivers/cpufreq/freq_table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dri

[PATCH 0/2] fix some problems for cpufreq

2014-11-27 Thread Wang Weidong
Hi Rafael and Viresh Sorry to trouble you again. As for: "acpi-cpufreq: get the cur_freq from acpi_processor_performance states" I do it again, and add the other patch. patch #1: acpi-cpufreq: make the freq_table store the same freq value I think it can work. The set of available states which co

[PATCH 1/2] acpi-cpufreq: make the freq_table store the same freq value

2014-11-27 Thread Wang Weidong
As the initialized freq_tables maybe different from the p-states values, so the array index is different as well. Although in this case: p-states value: [2400 2400 2000 ...], while the freq_tables: [2400 2000 ... CPUFREQ_TABLE_END]. After setted the freqs 2000, the perf->state is 3 while the freqs

Re: [tip:x86/apic] x86, irq: Use cached IOAPIC entry instead of reading from hardware

2014-11-27 Thread Jiang Liu
On 2014/11/28 3:32, Borislav Petkov wrote: > On Wed, Nov 26, 2014 at 03:20:08PM -0800, tip-bot for Jiang Liu wrote: >> Commit-ID: fda7c08b1349cc4c65f8a5240b10f7e9938604b8 >> Gitweb: >> http://git.kernel.org/tip/fda7c08b1349cc4c65f8a5240b10f7e9938604b8 >> Author: Jiang Liu >> AuthorDate:

Re: [PATCH 1/1] thermal: cpu_cooling: check for the readiness of cpufreq layer

2014-11-27 Thread Viresh Kumar
On 27 November 2014 at 19:38, Eduardo Valentin wrote: >> Acked-by: Viresh Kumar > > Ok. > > though.. "normal practice" says ack's are oftern used by the maintainer > of the affected code (quoting Documentation/SubmittingPatches) :-) Hehe :) Another paragraph from the same file: Acked-by: does

[PATCH 5/7] ARM: hisi: add a common smp_prepares_cpus function

2014-11-27 Thread Wang Long
As hix5hd2 and hip01 has the same .smp_prepare_cpus in struct smp_operations, so rename hix5hd2_smp_prepare_cpus to hisi_common_smp_prepare_cpus. the hip01 will use hisi_common_smp_prepare_cpus in its struct smp_operations. Signed-off-by: Wang Long --- arch/arm/mach-hisi/platsmp.c | 4 ++-- 1 f

[PATCH 4/7] ARM: config: enable ARCH_HIP01

2014-11-27 Thread Wang Long
Make hip01 share the hisi_defconfig. And add it into multi_v7_defconfig too. Signed-off-by: Wang Long --- arch/arm/configs/hisi_defconfig | 1 + arch/arm/configs/multi_v7_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_d

[PATCH 0/7] ARM: hisi: enable HiP01 SoC

2014-11-27 Thread Wang Long
This series patch enable Hisilicon HiP01 SoC. The HiP01 SoC series chip is designed for networking product, it integrates a rich peripheral interfaces to support network applications and supports both one core or dual cores and quad cores. The core is Cortex A9. Wang Long (7): ARM: debug: add

Re: Re: [PATCHv4 0/3] Kernel Live Patching

2014-11-27 Thread Masami Hiramatsu
(2014/11/27 19:52), Petr Mladek wrote: > On Thu 2014-11-27 19:06:37, Masami Hiramatsu wrote: >> (2014/11/27 0:27), Josh Poimboeuf wrote: >>> On Wed, Nov 26, 2014 at 10:18:24AM +0100, Jiri Kosina wrote: On Wed, 26 Nov 2014, Masami Hiramatsu wrote: >> Note to Steve: >> Masami's IPMO

[PATCH 6/7] ARM: hisi: rename secondary_startup function

2014-11-27 Thread Wang Long
As hix5hd2 and hip01 has the same secondary_startup so rename hix5hd2_secondary_startup to to hisi_secondary_startup. the hip01 will use hisi_secondary_startup for the secondary core boot. Signed-off-by: Wang Long --- arch/arm/mach-hisi/core.h| 2 +- arch/arm/mach-hisi/headsmp.S | 2 +- arc

[PATCH 7/7] ARM: hisi: enable smp for HiP01

2014-11-27 Thread Wang Long
enable smp for HiP01 board. Signed-off-by: Wang Long --- arch/arm/boot/dts/hip01-ca9x2.dts | 1 + arch/arm/mach-hisi/core.h | 3 +++ arch/arm/mach-hisi/hotplug.c | 31 arch/arm/mach-hisi/platsmp.c | 50 +++ 4 files

[PATCH 3/7] ARM: dts: Add hip01-ca9x2 dts file

2014-11-27 Thread Wang Long
Add dts file for Hisilicon hip01 ca9x2 board Signed-off-by: Wang Long --- .../bindings/arm/hisilicon/hisilicon.txt | 25 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/hip01-ca9x2.dts | 51 ++ arch/arm/boot/dts/hip01.dtsi

[PATCH 2/7] ARM: hisi: enable HiP01 SoC

2014-11-27 Thread Wang Long
Enable Hisilicon HiP01 SoC. This HiP01 SoC series support both one core or dual cores and quad cores. The core is Cortex A9. Signed-off-by: Wang Long --- arch/arm/mach-hisi/Kconfig | 8 arch/arm/mach-hisi/hisilicon.c | 10 ++ 2 files changed, 18 insertions(+) diff --git a/

[PATCH 1/7] ARM: debug: add HiP01 debug uart

2014-11-27 Thread Wang Long
Add the support of Hisilicon HiP01 debug uart. The uart of hip01 is 8250 compatible. Signed-off-by: Wang Long --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index d8f6a2e..ab65e58 100644 --- a/arch/arm/Kc

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-11-27 Thread Michael Ellerman
On Thu, 2014-10-23 at 16:07 +1100, Michael Ellerman wrote: > kcmp.h appears to be part of the API, it's documented in kcmp(2), and > the selftests/kcmp code uses it. So move it to uapi so it's actually > exported. Looks like this series fell through the cracks? It still applies on rc6. Should I r

[PATCH v2] thermal: Intel SoC DTS: Don't do thermal zone update inside spin_lock

2014-11-27 Thread Maurice Petallo
The driver calls spin_lock_irqsave during DTS interrupt. The interrupt handle then calls thermal_zone_device_update which implicitly calls a sleep function and produce the following bug: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:97 in_atomic(): 1, irqs_disabled()

Re: [PATCH 1/2] mfd: rtsx: add func to split u32 into register

2014-11-27 Thread 敬锐
On 11/27/2014 11:23 PM, Dan Carpenter wrote: >> +static inline void rtsx_pci_write_be32(struct rtsx_pcr *pcr, u16 reg, u32 >> val) >> >+{ >> >+ rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, reg, 0xFF, val >> 24); >> >+ rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, reg + 1, 0xFF, val >> 16); >> >+ rtsx_pc

RE: [PATCH] thermal: Don't call thermal_zone_device_update inside spinlock

2014-11-27 Thread Petallo, MauriceX R
Hi, Ok. I will update the title. Thanks for the feedbacks and Ack. Regards, -Maurice -Original Message- From: Srinivas Pandruvada [mailto:srinivas.pandruv...@linux.intel.com] Sent: Wednesday, November 26, 2014 1:57 AM To: Eduardo Valentin Cc: Petallo, MauriceX R; Zhang, Rui; linux...@vge

linux-next: manual merge of the kbuild tree with the arm-soc tree

2014-11-27 Thread Stephen Rothwell
Hi Michal, Today's linux-next merge of the kbuild tree got a conflict in scripts/Kbuild.include between commit 9fb5e5372208 ("dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst") from the arm-soc tree and commit 371fdc77af44 ("kbuild: collect shorthands into scripts/Kbuild.include") fr

Re: [PATCH 2/2] mmc: rtsx: add support for sdio card

2014-11-27 Thread 敬锐
On 11/27/2014 11:43 PM, Dan Carpenter wrote: >> +int stat_idx = sd_status_index(rsp_type); > I have always hated this terrible pointer math. 5 is relative to > pcr->host_cmds_ptr + 1. It's a mess... 5 mean CRC7 offset of Response R1, see SD spec V3.01 Page 82. 4.9.1 R1 (normal response comma

Re: [PATCH] acpi:apd:add AMD ACPI2Platform device support for x86 system.

2014-11-27 Thread Ken Xue
On Thu, 2014-11-27 at 13:46 +0200, Mika Westerberg wrote: > On Wed, Nov 26, 2014 at 06:31:38PM +0800, Ken Xue wrote: > > On Monday, 2014-11-24 at 02:47 +0100, Rafael J. Wysocki wrote: > > > On Monday, November 24, 2014 01:02:30 AM Xue, Ken wrote: > > > > > > > > On Tuesday, November 18, 2014 01:58

Re: [03/19] clk: samsung: exynos5433: Add clocks using common clock framework

2014-11-27 Thread Chanwoo Choi
Hi Pankaj, On 11/27/2014 08:48 PM, Pankaj Dubey wrote: > Hi Chanwoo, > > On Thursday 27 November 2014 01:05 PM, Chanwoo Choi wrote: >> This patch adds the support for CMU (Clock Management Units) of Exynos5433 >> which is 64bit SoC and has Octa-cores. This patch supports necessary clocks >> for k

RE: [PATCH v3] can: Convert to runtime_pm

2014-11-27 Thread Appana Durga Kedareswara Rao
Hi Soren, -Original Message- From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] Sent: Thursday, November 27, 2014 11:54 PM To: Appana Durga Kedareswara Rao Cc: w...@grandegger.com; m...@pengutronix.de; Michal Simek; grant.lik...@linaro.org; robh...@kernel.org; devicet...@vger.kerne

RE: [PATCH v3] can: Convert to runtime_pm

2014-11-27 Thread Appana Durga Kedareswara Rao
Hi Michal, -Original Message- From: Michal Simek [mailto:michal.si...@xilinx.com] Sent: Thursday, November 27, 2014 8:17 PM To: Appana Durga Kedareswara Rao; w...@grandegger.com; m...@pengutronix.de; Michal Simek; Soren Brinkmann; grant.lik...@linaro.org; robh...@kernel.org Cc: linux-...@

[PATCH v2 3/7] pinctrl: zynq: Document DT binding

2014-11-27 Thread Soren Brinkmann
Add documentation for the devicetree binding for the Zynq pincontroller. Signed-off-by: Soren Brinkmann Tested-by: Andreas Färber --- Changes since v1: - fix typo - add USB related documentation - remove 'pinctrl-' prefix for pinctrl sub-nodes - update documentation to enforce strict separat

[PATCH v2 4/7] pinctrl: Add driver for Zynq

2014-11-27 Thread Soren Brinkmann
This adds a pin-control driver for Zynq. Signed-off-by: Soren Brinkmann Tested-by: Andreas Färber --- Changes since v1: - fix EMIO_SD1_CD pin name - add USB to pinmux options changes since RFCv2: - let Zynq select PINCTRL_ZYNQ. Boot hangs when pinctrl information is present in DT but no d

[ANNOUNCE] lsscsi version 0.28 released

2014-11-27 Thread Douglas Gilbert
lsscsi is a command line utility that probes sysfs in Linux 2.6 and 3 series kernels in order to list information about SCSI devices and SCSI hosts. The default format is one device (e.g. disk) per line. Other storage devices that use the SCSI subsystem such as SATA and USB keys are also listed.

[PATCH v2 5/7] ARM: zynq: Enable pinctrl

2014-11-27 Thread Soren Brinkmann
Select pinctrl and the Zynq pinctrl driver. Signed-off-by: Soren Brinkmann Tested-by: Andreas Färber --- Changes since RFC v2: - separate mach-zynq changes in their own patch --- arch/arm/mach-zynq/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-zynq/Kconfig b/arch/

[PATCH v2 6/7] ARM: zynq: DT: Add pinctrl information

2014-11-27 Thread Soren Brinkmann
Add pinctrl descriptions to the zc702 and zc706 device trees. Signed-off-by: Soren Brinkmann Tested-by: Andreas Färber --- Changes since v1: - remove 'pinctrl-' prefix for pinctrl sub-nodes - separate config and mux nodes Changes since RFC v2: - add pinconf properties to zc702 mdio node - r

[PATCH v2 2/7] pinctrl: pinconf-generic: Allow driver to specify DT params

2014-11-27 Thread Soren Brinkmann
Additionally to the generic DT parameters, allow drivers to provide driver-specific DT parameters to be used with the generic parser infrastructure. To achieve this 'struct pinctrl_desc' is extended to pass custom pinconf option to the core. In order to pass this kind of information, the related d

  1   2   3   4   5   6   7   8   9   >