[PATCH 01/14] arm64: Move swapper pagetable definitions

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Move the kernel pagetable (both swapper and idmap) definitions from the generic asm/page.h to a new file, asm/kernel-pgtable.h. This is mostly a cosmetic change, to clean up the asm/page.h to get rid of the arch specific details which are not needed

[PATCH 05/14] arm64: Handle 4 level page table for swapper

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com At the moment, we only support maximum of 3-level page table for swapper. With 48bit VA, 64K has only 3 levels and 4K uses section mapping. Add support for 4-level page table for swapper, needed by 16K pages. Cc: Ard Biesheuvel

[PATCH 04/14] arm64: Calculate size for idmap_pg_dir at compile time

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Now that we can calculate the number of levels required for mapping a va width, reserve exact number of pages that would be required to cover the idmap. The idmap should be able to handle the maximum physical address size supported. Cc: Ard

[PATCH 06/14] arm64: Clean config usages for page size

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com We use !CONFIG_ARM64_64K_PAGES for CONFIG_ARM64_4K_PAGES (and vice versa) in code. It all worked well, so far since we only had two options. Now, with the introduction of 16K, these cases will break. This patch cleans up the code to use the required

Payment

2015-08-13 Thread Finance Department
Dear Winner, We wish to inform you that your email as been selected and awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146. This compensation funds is from the United Nations. To receive payment Send us your full personal details to deliver your

[PATCHv4 2/3] selftests: Add test of O_BENEATH openat(2)

2015-08-13 Thread David Drysdale
Add simple tests of openat(2) variations, including examples that check the new O_BENEATH flag. Signed-off-by: David Drysdale drysd...@google.com --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/openat/.gitignore | 4 + tools/testing/selftests/openat/Makefile |

[PATCHv4 1/3] fs: add O_BENEATH flag to openat(2)

2015-08-13 Thread David Drysdale
Add a new O_BENEATH flag for openat(2) which restricts the provided path, rejecting (with -EPERM) paths that are not beneath the provided dfd. In particular, reject: - paths that contain .. components - paths that begin with / - symlinks that have paths as above. Also disallow use of

[PATCH 1/2] perf tools: Add a helper function to probe whether cpu-wide tracing is possible

2015-08-13 Thread Adrian Hunter
Add a helper function to probe whether cpu-wide tracing is possible. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/evlist.h | 1 + tools/perf/util/record.c | 24 2 files changed, 25 insertions(+) diff --git a/tools/perf/util/evlist.h

Re: [PATCH v2 2/6] genirq: fix irqchip_set_wake_parent if IRQCHIP_SKIP_SET_WAKE

2015-08-13 Thread Grygorii Strashko
On 08/13/2015 11:54 AM, Sudeep Holla wrote: On 12/08/15 18:45, Grygorii Strashko wrote: The irqchip_set_wake_parent should not fail if IRQ chip specifies IRQCHIP_SKIP_SET_WAKE. Otherwise, IRQ wakeup configuration can't be propagated properly through IRQ domains hierarchy. In case of TI OMAP

Re: [PATCH v2 1/8] introduce __sb_{acquire,release}_write() helpers

2015-08-13 Thread Jan Kara
On Thu 13-08-15 11:45:52, Jan Kara wrote: On Tue 11-08-15 19:03:58, Oleg Nesterov wrote: Preparation to hide the sb-s_writers internals from xfs and btrfs. Add 2 trivial define's they can use rather than play with -s_writers directly. No changes in btrfs/transaction.o and xfs/xfs_aops.o.

Re: [PATCH v2 1/5] KVM: add kvm_has_request wrapper

2015-08-13 Thread Christian Borntraeger
Am 13.08.2015 um 11:29 schrieb Paolo Bonzini: On 13/08/2015 11:11, Radim Krčmář wrote: for the new interface. maybe we can rename kvm_check_request in a separate patch somewhen. I wonder why haven't we copied the naming convention from bit operations (or if programming would be better if

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Lee Jones
On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 2:49 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: + +static void mbox_test_prepare_message(struct mbox_client *client, void *message) +{ + struct mbox_test_device

Re: [PATCH] ARM: Feroceon: use of_iomap() to map register base

2015-08-13 Thread Olof Johansson
On Sat, Aug 08, 2015 at 09:11:39PM +0900, Masahiro Yamada wrote: The sequence of of_address_to_resource() and ioremap() can be replaced with of_iomap(). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Olof Johansson o...@lixom.net Please submit this to Russell's patch

Re: [GIT PULL] Samsung mach fixes for 4.2

2015-08-13 Thread Olof Johansson
On Mon, Aug 10, 2015 at 11:04:25AM +0900, Kukjin Kim wrote: Hi arm-soc guys, Can you please pull this into arm-soc fixes for v4.2 directly? I don't have other samsung fixes in my tree at this moment. Thanks, Kukjin Krzysztof Kozlowski wrote: Dear Kukjin, Please find latest

Re: [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry

2015-08-13 Thread Olof Johansson
On Sat, Aug 08, 2015 at 09:13:44PM +0900, Masahiro Yamada wrote: This is unnecessary since commit 02b4e2756e01 (ARM: v7 setup function should invalidate L1 cache). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Applied, thanks. -Olof -- To unsubscribe from this list:

Re: [GIT PULL] at91: dt for 4.3 #2

2015-08-13 Thread Olof Johansson
On Fri, Aug 07, 2015 at 05:45:44PM +0200, Alexandre Belloni wrote: Arnd, Olof, Kevin, This is the second batch of DT changes for 4.3. It is mainly some preparation to support properly getting the slow clock from each driver so that the dtsis are ready when the driver change lands in each

Re: [GIT PULL] at91: defconfig for 4.3 #2

2015-08-13 Thread Olof Johansson
On Fri, Aug 07, 2015 at 06:27:54PM +0200, Alexandre Belloni wrote: Arnd, Olof, Kevin, A little defconfig update. That will probably be all for this cycle. Thanks, bye, The following changes since commit eff7f41572a645bf14a96a6f844be4f1c88cd9dd: ARM: at91: at91_dt_defconfig: enable

Re: [GIT PULL] RPi DT changes due for v4.3

2015-08-13 Thread Olof Johansson
Hi, On Tue, Aug 11, 2015 at 05:06:42PM +0100, Lee Jones wrote: ARM SoC Chaps, Please find a couple of simple RPi changes pertaining to Firmware. The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in

Re: [GIT PULL] at91: defconfig for 4.3 #2

2015-08-13 Thread Alexandre Belloni
On 13/08/2015 at 12:09:38 +0200, Olof Johansson wrote : On Fri, Aug 07, 2015 at 06:27:54PM +0200, Alexandre Belloni wrote: Arnd, Olof, Kevin, A little defconfig update. That will probably be all for this cycle. Thanks, bye, The following changes since commit

[PATCH 11/14] arm64: kvm: Rewrite fake pgd handling

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com The existing fake pgd handling code assumes that the stage-2 entry level can only be one level down that of the host, which may not be true always(e.g, with the introduction of 16k pagesize). e.g. With 16k page size and 48bit VA and 40bit IPA we

Re: [PATCH v5 5/5] KVM: eventfd: add irq bypass consumer management

2015-08-13 Thread Eric Auger
Hi Alex, On 08/12/2015 09:05 PM, Alex Williamson wrote: On Mon, 2015-08-10 at 15:31 +0200, Eric Auger wrote: This patch adds the registration/unregistration of an irq_bypass_consumer on irqfd assignment/deassignment. Signed-off-by: Eric Auger eric.au...@linaro.org Signed-off-by: Feng Wu

Re: [PATCH v2 1/5] KVM: add kvm_has_request wrapper

2015-08-13 Thread Paolo Bonzini
On 13/08/2015 11:11, Radim Krčmář wrote: for the new interface. maybe we can rename kvm_check_request in a separate patch somewhen. I wonder why haven't we copied the naming convention from bit operations (or if programming would be better if German was its language),

[PATCH 2/2] nohz_full: Offload task_tick to remote housekeeping cpu

2015-08-13 Thread Vatika Harlalka
From: Vatika Harlalka vatikaharla...@gmail.com To: mi...@redhat.com,pet...@infradead.org, t...@linutronix.de, rafael.j.wyso...@intel.com, fweis...@gmail.com,schwidef...@de.ibm.com,linux-kernel@vger.kernel.org, mi...@redhat.com,pet...@infradead.org, preet...@andrew.cmu.edu Cc:

Re: [PATCH v2 5/5] KVM: refactor asynchronous vcpu ioctl dispatch

2015-08-13 Thread Paolo Bonzini
On 12/08/2015 22:03, Christian Borntraeger wrote: #if defined(CONFIG_S390) || defined(CONFIG_PPC) || defined(CONFIG_MIPS) - if (ioctl == KVM_S390_INTERRUPT || ioctl == KVM_S390_IRQ || ioctl == KVM_INTERRUPT) - return kvm_arch_vcpu_ioctl(filp, ioctl, arg); + case

Re: [PATCH v2 6/6] irqchip: crossbar: fix irq masking at suspend

2015-08-13 Thread Sudeep Holla
On 12/08/15 18:46, Grygorii Strashko wrote: All ARM GIC IRQs have to masked during suspend if they are not wakeup source. Now this is not happen, since switching to use IRQ domain hierarchy, because suspend_device_irq() only checks flags in the last IRQ chip in hierarchy for

Re: [Linaro-acpi] [PATCH 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro

2015-08-13 Thread Hanjun Guo
On 08/13/2015 06:35 AM, Timur Tabi wrote: On Thu, Aug 6, 2015 at 3:59 PM, Al Stone al.st...@linaro.org wrote: + while (ms-num_types != 0) { + if (ms-major_version == major + ms-minor_version == minor + ms-madt_version ==

Re: [PATCH v2 5/6] ARM: OMAP: wakeupgen: fix arm gic irq type configuration

2015-08-13 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [150812 10:49]: It's observed that ARM GIC IRQ triggering type is not configured properly when IRQ is routed through IRQ domain hierarchy and system started using DT. As result, system will start using default ARM GIC configuration, ignore DT IRQ

Re: [PATCH] mm: make page pfmemalloc check more robust

2015-08-13 Thread Mel Gorman
On Thu, Aug 13, 2015 at 10:58:54AM +0200, mho...@kernel.org wrote: From: Michal Hocko mho...@suse.com The patch c48a11c7ad26 (netvm: propagate page-pfmemalloc to skb) added the checks for page-pfmemalloc to __skb_fill_page_desc(): if (page-pfmemalloc !page-mapping)

[PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-13 Thread Suravee Suthikulpanit
This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF code. Then, it adds support for setting up PCI device DMA coherency from ACPI _CCA object that should normally be specified in the DSDT node of its PCI host bridge.. Signed-off-by:

Re: [PATCH V3 0/5] clk: support clocks which requires parent clock on during operation

2015-08-13 Thread Dong Aisheng
On Tue, Aug 04, 2015 at 05:45:57PM +0800, Dong Aisheng wrote: On Tue, Jul 28, 2015 at 10:38:25PM +0800, Dong Aisheng wrote: On Tue, Jul 28, 2015 at 09:19:40PM +0800, Dong Aisheng wrote: This patch series adds support in clock framework for clocks which operations requires its parent

[PATCH] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Jonas Rabenstein
With commit 2907ed4377d9 (cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support), the last specific Exynos-cpufreq driver depending on ARM_EXYNOS_CPUFREQ was removed. As there is no Exynos-specific cpufreq driver depending on the code in drivers/cpufreq/exynos-cpufreq.c (selected by

Re: [PATCH v2 2/6] genirq: fix irqchip_set_wake_parent if IRQCHIP_SKIP_SET_WAKE

2015-08-13 Thread Grygorii Strashko
On 08/13/2015 01:01 PM, Marc Zyngier wrote: On 12/08/15 18:45, Grygorii Strashko wrote: The irqchip_set_wake_parent should not fail if IRQ chip specifies IRQCHIP_SKIP_SET_WAKE. Otherwise, IRQ wakeup configuration can't be propagated properly through IRQ domains hierarchy. In case of TI OMAP

[PATCH 1/2] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-13 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com current code seems to be wrong with cfs_rq's avg loads when changing a task's cgroup(=cfs_rq) to another. i tested with echo pid cgroup and found that e.g. cfs_rq-avg.load_avg became larger and larger whenever i changed a cgroup to another again and

[tip:ras/core] x86/mce: Add a wrapper around mce_log() for injection

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: a79da38494ec23f1a7d6ee734e07e9575fd18b58 Gitweb: http://git.kernel.org/tip/a79da38494ec23f1a7d6ee734e07e9575fd18b58 Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:44 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:53

[tip:ras/core] x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: 9a7783d02197f299f71b4fa2364a345c05f92b83 Gitweb: http://git.kernel.org/tip/9a7783d02197f299f71b4fa2364a345c05f92b83 Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:43 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:53

[tip:ras/core] RAS: Add a menuconfig option with descriptive text

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: 9b45ef443acde55526485db37440cd3e8f03d544 Gitweb: http://git.kernel.org/tip/9b45ef443acde55526485db37440cd3e8f03d544 Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:42 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:53

[tip:ras/core] x86/mce: Reenable CMCI banks when swiching back to interrupt mode

2015-08-13 Thread tip-bot for Xie XiuQi
Commit-ID: 1b48465500611a2dc5e75800c61ac352e22d41c3 Gitweb: http://git.kernel.org/tip/1b48465500611a2dc5e75800c61ac352e22d41c3 Author: Xie XiuQi xiexi...@huawei.com AuthorDate: Wed, 12 Aug 2015 18:29:41 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:52

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-13 Thread Will Deacon
On Wed, Aug 12, 2015 at 06:59:38PM +0100, Paul E. McKenney wrote: On Wed, Aug 12, 2015 at 08:43:46AM -0700, Paul E. McKenney wrote: On Wed, Aug 12, 2015 at 02:44:15PM +0100, Will Deacon wrote: The generic relaxed atomics are now queued in -tip, so it would be really good to see this

[tip:ras/core] x86/mce: Clear Local MCE opt-in before kexec

2015-08-13 Thread tip-bot for Ashok Raj
Commit-ID: 8838eb6c0bf3b6a6494a163947ab3d1700ab45d2 Gitweb: http://git.kernel.org/tip/8838eb6c0bf3b6a6494a163947ab3d1700ab45d2 Author: Ashok Raj ashok@intel.com AuthorDate: Wed, 12 Aug 2015 18:29:40 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:52

Re: [PATCH] pinctrl: UniPhier: PH1-Pro5: add I2C ch6 pin-mux setting

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 5:38 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: The initial version of this driver missed to add I2C ch6 pin-muxing. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send

Re: [PATCH 2/2] acpi, apei: use appropriate pgprot_t to map GHES memory

2015-08-13 Thread Will Deacon
On Thu, Aug 13, 2015 at 10:24:32AM +0100, Matt Fleming wrote: On Thu, 13 Aug, at 10:19:17AM, Ingo Molnar wrote: * Matt Fleming m...@codeblueprint.co.uk wrote: From: Jonathan (Zhixiong) Zhang zjzh...@codeaurora.org With ACPI APEI firmware first handling, generic hardware error

[PATCH v2] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Jonas Rabenstein
Commit cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support deleted option ARM_EXYNOS_CPUFREQ but missed to delete a rule in drivers/cpufreq/Makefile which depends on that option. Remove unselectable rule for arm-exynos-cpufreq.o from drivers/cpufreq/Makefile. Signed-off-by: Jonas

Re: [PATCH 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-08-13 Thread Emil Velikov
On 13 August 2015 at 01:56, Eric Anholt e...@anholt.net wrote: This is the start of a full VC4 driver. Right now this just supports configuring the display using a pre-existing video mode (because changing the pixel clock isn't available yet, and doesn't work when it is). However, this is

Re: [PATCH 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro

2015-08-13 Thread Hanjun Guo
On 08/07/2015 04:59 AM, Al Stone wrote: The existing BAD_MADT_ENTRY macro only checks that the size of the data structure for an MADT subtable matches the length entry in the subtable. This is, unfortunately, not reliable. Nor, as it turns out, does it have anything to do with what the length

[PATCH 0/2] perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

2015-08-13 Thread Adrian Hunter
Hi Support to enable unprivileged users to see context switches of their own processes has recently been added to the kernel. These patches enhance Intel PT support to take advantage of that. The patches apply on top of the other Intel PT perf tools patches. Adrian Hunter (2): perf

[PATCH 2/2] perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

2015-08-13 Thread Adrian Hunter
Add support for selecting and processing PERF_RECORD_SWITCH events for use by Intel PT. If they are available, they will be used in preference to sched_switch events. This enables an unprivileged user to trace multi-threaded or multi-process workloads with any level of perf_event_paranoid.

Re: ARM: gemini: clocksource update for 4.3 v2

2015-08-13 Thread Olof Johansson
On Wed, Aug 12, 2015 at 02:41:50PM +0200, Linus Walleij wrote: On Tue, Aug 11, 2015 at 10:09 PM, Hans Ulli Kroll ulli.kr...@googlemail.com wrote: these is version 2 of the clocksource updates for 4.3 Reviewed-by: Linus Walleij linus.wall...@linaro.org For all three patches. Thanks for

Re: ARM: gemini: clocksource update for 4.3 v2

2015-08-13 Thread Olof Johansson
On Tue, Aug 11, 2015 at 10:09:02PM +0200, Hans Ulli Kroll wrote: Hi, these is version 2 of the clocksource updates for 4.3 These patches are rebased on your arm-soc/for-next tree. latest commit e4c4ce53a925146167a58cfd2e862952cdc316e1 arm-soc: document merges They is also a patch

Re: [PATCH v2 2/8] fix the broken lockdep logic in __sb_start_write()

2015-08-13 Thread Jan Kara
On Tue 11-08-15 19:04:01, Oleg Nesterov wrote: 1. wait_event(frozen level) without rwsem_acquire_read() is just wrong from lockdep perspective. If we are going to deadlock because the caller is buggy, lockdep detect this problem. 2. __sb_start_write() can race with thaw_super() +

Re: [rtc-linux] [PATCH] rtc: s5m: fix to update ctrl register

2015-08-13 Thread Krzysztof Kozlowski
W dniu 13.08.2015 o 17:49, Joonyoung Shim pisze: According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. Hi, I cannot find this information in S2MPS14 datasheet. On which page is it? If not, ALARM interrupt

Re: [PATCH] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Viresh Kumar
On 13-08-15, 12:32, Jonas Rabenstein wrote: With commit 2907ed4377d9 (cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support), the last specific Exynos-cpufreq driver depending on ARM_EXYNOS_CPUFREQ was removed. As there is no Exynos-specific cpufreq driver depending on the code in

Re: [PATCH] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Viresh Kumar
On 13-08-15, 19:53, Krzysztof Kozlowski wrote: 2015-08-13 19:32 GMT+09:00 Jonas Rabenstein jonas.rabenst...@studium.uni-erlangen.de: With commit 2907ed4377d9 (cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support), the last specific Exynos-cpufreq driver depending on

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-13 Thread Stas Sergeev
13.08.2015 01:00, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 2:50 PM, Stas Sergeev s...@list.ru wrote: 13.08.2015 00:37, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 1:55 PM, Stas Sergeev s...@list.ru wrote: 12.08.2015 23:47, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 1:45 PM,

[PATCH 00/14] arm64: 16K translation granule support

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com This series enables the 16K page size support on Linux for arm64. This series adds support for 48bit VA(4 level), 47bit VA(3 level) and 36bit VA(2 level) with 16K. 16K was a late addition to the architecture and is not implemented by all CPUs. Added

[PATCH 13/14] arm64: Add 16K page size support

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com This patch turns on the 16K page support in the kernel. We support 48bit VA (4 level page tables) and 47bit VA (3 level page tables). Cc: Mark Rutland mark.rutl...@arm.com Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon

[PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com We use section maps with 4K page size to create the swapper/idmaps. So far we have used !64K or 4K checks to handle the case where we use the section maps. This patch adds a symbol to make it clear those cases. Cc: Ard Biesheuvel

[PATCH 14/14] arm64: 36 bit VA

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com 36bit VA lets us use 2 level page tables while limiting the available address space to 64GB. Cc: Mark Rutland mark.rutl...@arm.com Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Suzuki K. Poulose

[PATCH 09/14] arm64: Cleanup VTCR_EL2 computation

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com No functional changes. Group the common bits for VCTR_EL2 initialisation for better readability. The granule size and the entry level are controlled by the page size. Cc: Christoffer Dall christoffer.d...@linaro.org Cc: Marc Zyngier

Re: [PATCH v2 1/6] genirq: fix irq_chip_retrigger_hierarchy

2015-08-13 Thread Marc Zyngier
[adding Jiang to the cc list] On 12/08/15 18:45, Grygorii Strashko wrote: Now irq_chip_retrigger_hierarchy() returns -ENOSYS if it was not able to find at least one .irq_retrigger() callback implemented in IRQ domain hierarchy. As result, IRQ re-triggering is not working now on ARM (TI OMAP)

[PATCH 1/2] nohz_full: Move tick related code to tick.c

2015-08-13 Thread Vatika Harlalka
Offloading task_tick off nohz_full cpus introduces tick related code in the scheduler code. It is therefore better to create a new file tick.c and move the existing tick related code there. Signed-off-by: Vatika Harlalka vatikaharla...@gmail.com --- kernel/sched/Makefile | 2 +-

[RFC] sched: make update_cpu_load_active care more than one tick

2015-08-13 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com i found do_timer accounts other than one tick, so i made update_cpu_load_active care that. is it intended because of its overhead? Signed-off-by: Byungchul Park byungchul.p...@lge.com --- kernel/sched/fair.c |7 +-- 1 file changed, 5

Re: [Regression v4.2] Re: [PATCH 7/9] drm/radeon: add VCE 1.0 support v4

2015-08-13 Thread Christian König
On 13.08.2015 08:36, Lucas Stach wrote: Am Donnerstag, den 13.08.2015, 15:18 +0900 schrieb Michel Dänzer: On 13.08.2015 15:03, Lucas Stach wrote: Hi Christian, this commit is causing a boot regression with v4.2-rcX on my Richland APU (CHIP_ARUBA) based laptop. I didn't have time yet to track

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Yuyang Du
On Thu, Aug 13, 2015 at 05:21:27PM +0900, Byungchul Park wrote: yuyang said that switched_to don't need to consider task's load because it can have meaningless value. but i think considering task's load is better than leaving it unattended at all. and we can also use switched_to if we

Re: [PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

2015-08-13 Thread Naoya Horiguchi
On Thu, Aug 13, 2015 at 05:18:56PM +0800, Wanpeng Li wrote: On 8/13/15 4:53 PM, Naoya Horiguchi wrote: ... I think that unpoison is used only in testing so this race never affects our end-users/customers, so going back to this migratetype change stuff looks unworthy to me. Migratetype

Re: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.

2015-08-13 Thread Krzysztof Kozlowski
W dniu 13.08.2015 o 18:06, Alexis Ballier pisze: SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier aball...@gentoo.org --- Changes in

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-13 Thread Stas Sergeev
13.08.2015 11:39, Ingo Molnar пишет: * Andy Lutomirski l...@amacapital.net wrote: OK. I'll try to test the patch tomorrow, but I think the sigreturn()'s capability detection is still needed to easily replace the iret trampoline in userspace (without generating a signal and testing by hands).

Re: [PATCH v2 6/6] irqchip: crossbar: fix irq masking at suspend

2015-08-13 Thread Grygorii Strashko
On 08/13/2015 12:30 PM, Sudeep Holla wrote: On 12/08/15 18:46, Grygorii Strashko wrote: All ARM GIC IRQs have to masked during suspend if they are not wakeup source. Now this is not happen, since switching to use IRQ domain hierarchy, because suspend_device_irq() only checks flags in the

Re: [PATCH v2 2/6] genirq: fix irqchip_set_wake_parent if IRQCHIP_SKIP_SET_WAKE

2015-08-13 Thread Sudeep Holla
On 13/08/15 10:51, Grygorii Strashko wrote: On 08/13/2015 11:54 AM, Sudeep Holla wrote: On 12/08/15 18:45, Grygorii Strashko wrote: [...] diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 6de638b..bdb1b9d 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -1024,6 +1024,10

[tip:ras/core] x86/mce: Provide a lockless memory pool to save error records

2015-08-13 Thread tip-bot for Chen, Gong
Commit-ID: 648ed94038c030245a06e4be59744fd5cdc18c40 Gitweb: http://git.kernel.org/tip/648ed94038c030245a06e4be59744fd5cdc18c40 Author: Chen, Gong gong.c...@linux.intel.com AuthorDate: Wed, 12 Aug 2015 18:29:34 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015

[tip:ras/core] x86/mce: Don't use percpu workqueues

2015-08-13 Thread tip-bot for Chen, Gong
Commit-ID: 061120aed7081b9a4393fbe07b558192f40ad911 Gitweb: http://git.kernel.org/tip/061120aed7081b9a4393fbe07b558192f40ad911 Author: Chen, Gong gong.c...@linux.intel.com AuthorDate: Wed, 12 Aug 2015 18:29:35 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015

[tip:ras/core] x86/mce: Reuse one of the u16 padding fields in ' struct mce'

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: 20d51a426fe9a0d0a63cc3a7488f621c8bac37e1 Gitweb: http://git.kernel.org/tip/20d51a426fe9a0d0a63cc3a7488f621c8bac37e1 Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:33 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:50

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Byungchul Park
On Thu, Aug 13, 2015 at 10:15:28AM +0800, Yuyang Du wrote: On Thu, Aug 13, 2015 at 05:21:27PM +0900, Byungchul Park wrote: yuyang said that switched_to don't need to consider task's load because it can have meaningless value. but i think considering task's load is better than leaving it

Re: [PATCH 0/2] x86/KASAN updates for 4.3

2015-08-13 Thread Andrey Ryabinin
2015-08-13 12:01 GMT+03:00 Will Deacon will.dea...@arm.com: Hi Ingo, On Thu, Aug 13, 2015 at 09:16:41AM +0100, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: * Andrey Ryabinin ryabinin@gmail.com wrote: These 2 patches taken from v5 'KASAN for arm64' series. The only

Re: [PATCH v2 9/8] don't fool lockdep in freeze_super() and thaw_super() paths

2015-08-13 Thread Jan Kara
On Wed 12-08-15 15:11:38, Oleg Nesterov wrote: On 08/11, Oleg Nesterov wrote: The only essential change is that I dropped the lockdep improvements as we discussed. This means that 8/8 was changed a bit, and I decided to add the new documentation patch, see 3/8. Update: The recent

[GIT PULL] xen: bug fixes for 4.2-rc6

2015-08-13 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.2-rc6-tag xen: bug fixes for 4.2-rc6 - - Revert a fix from 4.2-rc5 that was causing lots of WARNING spam. - - Fix a memory leak

Re: [PATCH] pinctrl: cherryview: Serialize all register access

2015-08-13 Thread Linus Walleij
On Mon, Aug 3, 2015 at 11:46 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: There is a hardware issue in Intel Braswell/Cherryview where concurrent GPIO register access might results reads of 0x and writes might get dropped. Prevent this from happening by taking the

Re: [PATCH 0/2] x86/KASAN updates for 4.3

2015-08-13 Thread Will Deacon
On Thu, Aug 13, 2015 at 12:02:26PM +0100, Andrey Ryabinin wrote: 2015-08-13 12:01 GMT+03:00 Will Deacon will.dea...@arm.com: Yes please, works for me! If we're targetting 4.3, then please can you base on 4.2-rc4, as that's what our current arm64 queue is using? Does this mean that we are

Re: [PATCH, RFC 2/2] dax: use range_lock instead of i_mmap_lock

2015-08-13 Thread Jan Kara
On Wed 12-08-15 07:48:22, Dave Chinner wrote: On Tue, Aug 11, 2015 at 04:51:22PM +, Wilcox, Matthew R wrote: The race that you're not seeing is page fault vs page fault. Two threads each attempt to store a byte to different locations on the same page. With a read-mutex to exclude

[PATCH 12/14] arm64: Check for selected granule support

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Ensure that the selected page size is supported by the CPU(s). Cc: Mark Rutland mark.rutl...@arm.com Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Suzuki K. Poulose suzuki.poul...@arm.com ---

[PATCH 10/14] arm: kvm: Move fake PGD handling to arch specific files

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Rearrange the code for fake pgd handling, which is applicable to only ARM64. The intention is to keep the common code cleaner, unaware of the underlying hacks. Cc: kvm...@lists.cs.columbia.edu Cc: christoffer.d...@linaro.org Cc: marc.zyng...@arm.com

[PATCH 08/14] arm64: kvm: Fix {V}TCR_EL2_TG0 mask

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com {V}TCR_EL2_TG0 is a 2bit wide field, where: 00 - 4K 01 - 64K 10 - 16K But we use only 1 bit, which has worked well so far since we never cared about 16K. Fix it for 16K support. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon

[PATCH 07/14] arm64: Kconfig: Fix help text about AArch32 support with 64K pages

2015-08-13 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Update the help text for ARM64_64K_PAGES to reflect the reality about AArch32 support. Cc: Mark Rutland mark.rutl...@arm.com Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Suzuki K. Poulose

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Lee Jones
On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 4:30 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015

Re: [PATCH v2] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Krzysztof Kozlowski
2015-08-13 20:33 GMT+09:00 Viresh Kumar viresh.ku...@linaro.org: On 13-08-15, 13:28, Jonas Rabenstein wrote: Commit cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support deleted option ARM_EXYNOS_CPUFREQ but missed to delete a rule in drivers/cpufreq/Makefile which depends on that

Re: [PATCH 2/5] net: rfkill: add rfkill_find_type function

2015-08-13 Thread Johannes Berg
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: +static const char *rfkill_types[NUM_RFKILL_TYPES] = { + [RFKILL_TYPE_WLAN] = wlan, + [RFKILL_TYPE_BLUETOOTH] = bluetooth, + [RFKILL_TYPE_UWB] = ultrawideband, + [RFKILL_TYPE_WIMAX] = wimax, +

Re: [PATCH v2 1/8] introduce __sb_{acquire,release}_write() helpers

2015-08-13 Thread Jan Kara
On Tue 11-08-15 19:03:58, Oleg Nesterov wrote: Preparation to hide the sb-s_writers internals from xfs and btrfs. Add 2 trivial define's they can use rather than play with -s_writers directly. No changes in btrfs/transaction.o and xfs/xfs_aops.o. Signed-off-by: Oleg Nesterov o...@redhat.com

Re: [PATCH v2 3/6] genirq: introduce irq_chip_set_type_parent() helper

2015-08-13 Thread Grygorii Strashko
On 08/13/2015 11:58 AM, Sudeep Holla wrote: On 12/08/15 18:45, Grygorii Strashko wrote: It's expected to use this helper when the current domain doesn't implement .irq_set_type(), but expect the parent to do so. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com ---

Re: [PATCH v2 2/6] genirq: fix irqchip_set_wake_parent if IRQCHIP_SKIP_SET_WAKE

2015-08-13 Thread Marc Zyngier
On 12/08/15 18:45, Grygorii Strashko wrote: The irqchip_set_wake_parent should not fail if IRQ chip specifies IRQCHIP_SKIP_SET_WAKE. Otherwise, IRQ wakeup configuration can't be propagated properly through IRQ domains hierarchy. In case of TI OMAP DRA7 the issue reproduced with following

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Jassi Brar
On Thu, Aug 13, 2015 at 2:49 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: + +static void mbox_test_prepare_message(struct mbox_client *client, void *message) +{ + struct mbox_test_device *tdev = dev_get_drvdata(client-dev); + +

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-13 Thread Yuyang Du
On Thu, Aug 13, 2015 at 04:19:04PM +0900, Byungchul Park wrote: #ifdef CONFIG_SMP /* synchronize task with its prev cfs_rq */ - if (!queued) - __update_load_avg(cfs_rq-avg.last_update_time, cpu_of(rq_of(cfs_rq)), - se-avg, se-on_rq *

[PATCH 1/1] ipv4: off-by-one in continuation handling in /proc/net/route

2015-08-13 Thread Andy Whitcroft
When generating /proc/net/route we emit a header followed by a line for each route. When a short read is performed we will restart this process based on the open file descriptor. When calculating the start point we fail to take into account that the 0th entry is the header. This leads us to

Re: [PATCH v2 3/8] document rwsem_release() in sb_wait_write()

2015-08-13 Thread Jan Kara
On Tue 11-08-15 19:04:04, Oleg Nesterov wrote: Not only we need to avoid the warning from lockdep_sys_exit(), the caller of freeze_super() can never release this lock. Another thread can do this, so there is another reason for rwsem_release(). Plus the comment should explain why we have to

Re: [Xen-devel] [PATCHv3 01/10] mm: memory hotplug with an existing resource

2015-08-13 Thread David Vrabel
On 30/07/15 18:03, David Vrabel wrote: Add add_memory_resource() to add memory using an existing System RAM resource. This is useful if the memory region is being located by finding a free resource slot with allocate_resource(). Xen guests will make use of this in their balloon driver to

Re: [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers

2015-08-13 Thread Jassi Brar
On Thu, Aug 13, 2015 at 3:53 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: On Thu, Aug 13, 2015 at 2:49 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Aug 2015, Jassi Brar wrote: + +static void mbox_test_prepare_message(struct mbox_client

Re: [rtc-linux] [PATCH] rtc: s5m: fix to update ctrl register

2015-08-13 Thread Krzysztof Kozlowski
W dniu 13.08.2015 o 19:02, Krzysztof Kozlowski pisze: W dniu 13.08.2015 o 17:49, Joonyoung Shim pisze: According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. Hi, I cannot find this information in S2MPS14

[tip:ras/core] x86/mce: Avoid potential deadlock due to printk() in MCE context

2015-08-13 Thread tip-bot for Chen, Gong
Commit-ID: f29a7aff4bd60ebc3da4982f80144a4158c4c74a Gitweb: http://git.kernel.org/tip/f29a7aff4bd60ebc3da4982f80144a4158c4c74a Author: Chen, Gong gong.c...@linux.intel.com AuthorDate: Wed, 12 Aug 2015 18:29:37 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015

[tip:ras/core] x86/mce: Kill drain_mcelog_buffer()

2015-08-13 Thread tip-bot for Borislav Petkov
Commit-ID: eef4dfa0cb83899c782935ac5345532f47073cea Gitweb: http://git.kernel.org/tip/eef4dfa0cb83899c782935ac5345532f47073cea Author: Borislav Petkov b...@suse.de AuthorDate: Wed, 12 Aug 2015 18:29:38 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:52

Re: [PATCH v2 8/8] change sb_writers to use percpu_rw_semaphore

2015-08-13 Thread Jan Kara
On Tue 11-08-15 19:04:19, Oleg Nesterov wrote: We can remove everything from struct sb_writers except frozen and add the array of percpu_rw_semaphore's instead. This patch doesn't remove sb_writers-wait_unfrozen yet, we keep it for get_super_thawed(). We will probably remove it later.

[tip:ras/core] x86/mce: Remove unused function declarations

2015-08-13 Thread tip-bot for Ashok Raj
Commit-ID: 4d1d5cdc345d15e09518a2410f7fcd069465ffac Gitweb: http://git.kernel.org/tip/4d1d5cdc345d15e09518a2410f7fcd069465ffac Author: Ashok Raj ashok@intel.com AuthorDate: Wed, 12 Aug 2015 18:29:39 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015 10:12:52

[tip:ras/core] x86/mce: Remove the MCE ring for Action Optional errors

2015-08-13 Thread tip-bot for Chen, Gong
Commit-ID: fd4cf79fcc4b5130ced8fd8c40378d3cec2e5fa8 Gitweb: http://git.kernel.org/tip/fd4cf79fcc4b5130ced8fd8c40378d3cec2e5fa8 Author: Chen, Gong gong.c...@linux.intel.com AuthorDate: Wed, 12 Aug 2015 18:29:36 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 13 Aug 2015

<    6   7   8   9   10   11   12   13   14   15   >