[PATCH V6 16/18] x86: Respect PAT bit when copying pte values between large and normal pages

2014-11-03 Thread Juergen Gross
The PAT bit in the ptes is not moved to the correct position when copying page protection attributes between entries of different sized pages. Translate the ptes according to their page size. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86

[PATCH V6 17/18] x86: Enable PAT to use cache mode translation tables

2014-11-03 Thread Juergen Gross
Update the translation tables from cache mode to pgprot values according to the PAT settings. This enables changing the cache attributes of a PAT index in just one place without having to change at the users side. With this change it is possible to use the same kernel with different PAT configurat

[PATCH V6 13/18] x86: Use new cache mode type in memtype related functions

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/cacheflush.h | 38 -- arch/x86/include/asm/pat.h| 2 +- arch/x

[PATCH V6 14/18] x86: Clean up pgtable_types.h

2014-11-03 Thread Juergen Gross
Remove no longer used defines from pgtable_types.h as they are not used any longer. Switch __PAGE_KERNEL_NOCACHE to use cache mode type instead of pte bits. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/pgtable_types.h | 21

Re: [RFC 0/2] drivers: spi/i2c: account completions as iowait

2014-11-03 Thread One Thousand Gnomes
On Sun, 2 Nov 2014 14:58:07 +0100 Wolfram Sang wrote: > So, I recently learned that there is wait_for_completion_io_* because one I2C > driver uses it instead of wait_for_completion_*. I want consistency, so > technically the io-versions seem to be the correct ones to me, because, well, > we are

Re: [PATCH v8 00/10] sched: consolidation of CPU capacity and usage

2014-11-03 Thread Wanpeng Li
On 14/11/3 下午6:55, Vincent Guittot wrote: On 3 November 2014 03:12, Wanpeng Li wrote: Hi Vincent, On 14/10/31 下午4:47, Vincent Guittot wrote: This patchset consolidates several changes in the capacity and the usage tracking of the CPU. It provides a frequency invariant metric of the usage of C

[PATCH V6 12/18] x86: Use new cache mode type in mm/ioremap.c

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/io.h | 2 +- arch/x86/include/asm/pat.h | 2 +- arch/x86/mm/ioremap.c | 65 ++

[PATCH V6 02/18] x86: Use new cache mode type in include/asm/fb.h

2014-11-03 Thread Juergen Gross
Instead of directly using cache mode bits in the pte switch to usage of the new cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/fb.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch

[PATCH V6 01/18] x86: Make page cache mode a real type

2014-11-03 Thread Juergen Gross
At the moment there are a lot of places that handle setting or getting the page cache mode by treating the pgprot bits equal to the cache mode. This is only true because there are a lot of assumptions about the setup of the PAT MSR. Otherwise the cache type needs to get translated into pgprot bits

[PATCH V6 03/18] x86: Use new cache mode type in drivers/video/fbdev/gbefb.c

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- drivers/video/fbdev/gbefb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/

Re: [PATCH 1/3] mfd: stmpe: add pull up/down register offsets for STMPE

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Linus Walleij wrote: > On Wed, Oct 29, 2014 at 8:31 PM, Dmitry Torokhov > wrote: > > On Wednesday, October 29, 2014 10:55:14 AM Linus Walleij wrote: > >> On Mon, Oct 20, 2014 at 8:46 AM, Lee Jones wrote: > >> > On Sat, 18 Oct 2014, Linus Walleij wrote: > >> >> This adds the

[tip:x86/uv] x86: UV BAU: Increase maximum CPUs per socket/hub

2014-11-03 Thread tip-bot for James Custer
Commit-ID: 3ab0c49fd6b1e80438d0a649584d292880112262 Gitweb: http://git.kernel.org/tip/3ab0c49fd6b1e80438d0a649584d292880112262 Author: James Custer AuthorDate: Sun, 2 Nov 2014 12:16:38 -0600 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 13:49:24 +0100 x86: UV BAU: Increase max

[tip:x86/uv] x86: UV BAU: Avoid NULL pointer reference in ptc_seq_show

2014-11-03 Thread tip-bot for James Custer
Commit-ID: fa2a79ce6aef5de35a4d50487da35deb6b634944 Gitweb: http://git.kernel.org/tip/fa2a79ce6aef5de35a4d50487da35deb6b634944 Author: James Custer AuthorDate: Sun, 2 Nov 2014 12:16:39 -0600 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 13:49:24 +0100 x86: UV BAU: Avoid NULL p

Re: [PATCH 2/2] regulator: of: Add support for parsing microvolts for suspend state

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 01:45:15PM +0100, Javier Martinez Canillas wrote: > Yes, I usually add my {Review,Acked,Tested}-by tags at the end of the > commit message and remove the complete patch but since it was a 4-lines > patch I didn't think it was that bad. It's the patch, the diffstat, the sig

[tip:x86/vdso] x86,vdso: Use LSL unconditionally for vgetcpu

2014-11-03 Thread tip-bot for Andy Lutomirski
Commit-ID: e76b027e6408f5570dc940b731ec9ae870c6188a Gitweb: http://git.kernel.org/tip/e76b027e6408f5570dc940b731ec9ae870c6188a Author: Andy Lutomirski AuthorDate: Thu, 30 Oct 2014 14:58:01 -0700 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 13:41:53 +0100 x86,vdso: Use LSL unc

Re: [PATCH] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-11-03 Thread Mark Brown
On Fri, Oct 24, 2014 at 09:25:59PM +0200, Peter Rosin wrote: > The CMR divider register is shared by playback and capture. The SSC driver > therefore tries to enforce rules so that the needed register content do > not conflict during simultaneous playback/capture. However, the > implementation also

Re: 32 bit user space compatibility

2014-11-03 Thread Yann Droneaud
Hi, Le mardi 28 octobre 2014 à 22:34 +, One Thousand Gnomes a écrit : > On Sun, 26 Oct 2014 12:25:08 + > "Skidanov, Alexey" wrote: > > > Running 32 bit user space needs some work to be done with ioctls. I > > understand that there are two options to implement: > > 1. Use only fi

Re: [PATCH 2/2] regulator: of: Add support for parsing microvolts for suspend state

2014-11-03 Thread Javier Martinez Canillas
On 11/03/2014 01:29 PM, Mark Brown wrote: > > If you're reviewing something please don't quote the entire patch, the > same rule applies as always - just include relevant context - and > especially don't include your one line of content at the very end of the > patch. Otherwise people have to pag

[tip:x86/mm] x86: mm: Re-use the early_ioremap fixed area

2014-11-03 Thread tip-bot for Minfei Huang
Commit-ID: 63e7b6d90c1ebdb73d82eedb945b62ceedc3f963 Gitweb: http://git.kernel.org/tip/63e7b6d90c1ebdb73d82eedb945b62ceedc3f963 Author: Minfei Huang AuthorDate: Wed, 29 Oct 2014 19:38:37 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 13:40:44 +0100 x86: mm: Re-use the earl

[PATCH] megaraid_sas : Fix bug in handling return value of pci_enable_msix_range()

2014-11-03 Thread Jiang Liu
Function pci_enable_msix_range() may return negative values for error conditions. So it's a bug by checking (pci_enable_msix_range() != 0) for success and causes failure to megaraid driver when MSI is disabled. [ 16.487267] megaraid_sas :02:00.0: Controller type: iMR [ 16.487275] genirq: Fl

RE: [PATCH net-next v2 2/3] r8152: clear theflagofSCHEDULE_TASKLETin tasklet

2014-11-03 Thread Hayes Wang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] > test_and_clear_bit (dense) or clear_bit would be more idiomatic. Excuse me. If I use clear_bit without test_bit or test_and_clear_bit, they alwayes call the spin lock. However, for my original flow, the spin lock is only called when the clear

Re: [PATCH v4 02/58] serial: at91: Use dmaengine_slave_config API

2014-11-03 Thread Maxime Ripard
Hi Nicolas, On Mon, Nov 03, 2014 at 12:12:44PM +0100, Nicolas Ferre wrote: > On 28/10/2014 22:25, Maxime Ripard : > > We are removing the dmaengine_device_control API, that shouldn't even have > > been > > exposed in the first place. Change the callers to use the proper API. > > > > Signed-off-b

Re: [PATCH 1/2] regulator: Document binding for regulator suspend voltage

2014-11-03 Thread Mark Brown
On Fri, Oct 31, 2014 at 08:52:57PM -0700, Doug Anderson wrote: > This patch builds upon (291d761 regulator: Document binding for > regulator suspend state for PM state) to allow setting the uV in > addition to the state at suspend time. Applied both, thanks. signature.asc Description: Digital si

Re: [PATCH 2/2] regulator: of: Add support for parsing microvolts for suspend state

2014-11-03 Thread Mark Brown
On Sat, Nov 01, 2014 at 09:49:42AM +0100, Javier Martinez Canillas wrote: > On 11/01/2014 04:52 AM, Doug Anderson wrote: > > + > > of_node_put(suspend_np); > > suspend_state = NULL; > > suspend_np = NULL; > Looks good to me. > Reviewed-by: Javier Martinez Cani

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-11-03 Thread Lee Jones
On Wed, 29 Oct 2014, Dmitry Eremin-Solenikov wrote: > 2014-10-24 20:19 GMT+03:00 Dmitry Eremin-Solenikov : > > Some boards with TC6393XB chip require full state restore during system > > resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 > > tosa is one of them). Failing to do

Re: [PATCH] ASoC: simple-card: add "invert" property for detect GPIOs

2014-11-03 Thread Mark Brown
On Sat, Nov 01, 2014 at 11:22:18AM +0800, Jianqun wrote: > Since hardware may invert detect GPIO of headphone or mic, add one > property to support software invert. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/3] mfd: stmpe: add pull up/down register offsets for STMPE

2014-11-03 Thread Lee Jones
On Fri, 24 Oct 2014, Dmitry Torokhov wrote: > On Mon, Oct 20, 2014 at 07:46:05AM +0100, Lee Jones wrote: > > On Sat, 18 Oct 2014, Linus Walleij wrote: > > > > > This adds the register offsets for pull up/down for the STMPE > > > 1601, 1801 and 24xx expanders. This is used to bias GPIO lines > > >

Re: [PATCH v6 21/29] nios2: Time keeping

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Ley Foon Tan wrote: > Add time keeping code for nios2. > > Signed-off-by: Ley Foon Tan Reviewed-by: Thomas Gleixner -- 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:

Re: [PATCH] xen/blkfront: improve protection against issuing unsupported REQ_FUA

2014-11-03 Thread Laszlo Ersek
On 10/27/14 14:44, Vitaly Kuznetsov wrote: > Guard against issuing unsupported REQ_FUA and REQ_FLUSH was introduced > in d11e61583 and was factored out into blkif_request_flush_valid() in > 0f1ca65ee. However: > 1) This check in incomplete. In case we negotiated to feature_flush = > REQ_FLUSH >

Re: [PATCH 0/4] Touchscreen performance related fixes

2014-11-03 Thread Sebastian Andrzej Siewior
On 10/27/2014 08:02 PM, Griffis, Brad wrote: > On 10/27/2014 12:34 PM, Sebastian Andrzej Siewior wrote: >> Do we really need #3 (and then #4)? Given the complexity we have already, is >> there any benefit by decreasing this value? > > I specifically requested we add ti,charge-delay to the device

[PATCH] hamradio: 6pack: remove unnecessary check

2014-11-03 Thread Sudip Mukherjee
this is check for dev is unnecessary, as we are already checking dev after allocating it via alloc_netdev, and jumping to label: out if it is NULL. Signed-off-by: Sudip Mukherjee --- drivers/net/hamradio/6pack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ha

Re: [PATCH v2] ASoC: rockchip: i2s: add text after tristate for SND_SOC_ROCKCHIP_I2S

2014-11-03 Thread Mark Brown
On Sat, Nov 01, 2014 at 10:58:18AM +0800, Jianqun wrote: > For SND_SOC_ROCKCHIP_I2S, adding some text after the > tristate to make this directly user selectable. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v4 10/10] x86: Support compiling out userspace IO (iopl and ioperm)

2014-11-03 Thread One Thousand Gnomes
On Sun, 2 Nov 2014 09:33:01 -0800 Josh Triplett wrote: > On the vast majority of modern systems, no processes will use the > userspsace IO syscalls, iopl and ioperm. Add a new config option, > CONFIG_X86_IOPORT, to support configuring them out of the kernel > entirely. Most current systems do n

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: >> Hi, >> >> Here is a sereis of patches for enabling "event cache" feature >> to perf probe. Brendan gives me this cool idea, thanks! :) >> >> In this series, I added followin

Re: [PATCH v2] Add ltc3562 voltage regulator driver

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 09:10:08AM +0100, Mike Looijmans wrote: > On 10/30/2014 05:51 PM, Mark Brown wrote: > >>+ np_child = of_get_child_by_name(np_regulators, > >>+ ltc3562_regulators[i].name); > >>+ if (np_child == NULL) { > >Use the core support for look

Re: [PATCH v2 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-11-03 Thread Matt Fleming
On Mon, 2014-11-03 at 08:15 -0200, Henrique de Moraes Holschuh wrote: > On Mon, 03 Nov 2014, Kweh Hock Leong wrote: > > Note for people who use request_firmware_nowait(): > > You are required to do your own synchronization after you call > > request_firmware_abort() in order to continue unloading t

Re: [PATCH 6/8] regulator: max77686: Add external GPIO control

2014-11-03 Thread Krzysztof Kozlowski
On pią, 2014-10-31 at 10:32 +, Mark Brown wrote: > On Fri, Oct 31, 2014 at 08:51:38AM +0100, Krzysztof Kozlowski wrote: > > > However new DT style parsing (regulator_of_get_init_data()) does the > > basic parsing stuff and this removes a lot of code from driver. The > > driver no longer parses

Re: [PATCH] regulator: adding disable options for regulator-always-on and regulator-boots-on

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 10:26:43AM +0900, Hugh Kang wrote: > From: "hugh.kang" > > If a regulator is set by always-on option, the regulator will be set forever. > For example, suppose LDO1 is set to always-on at RevA.dts with including of > a.dtsi. After that > RevB.dts may wants to include the

Re: kdbus: add code to gather metadata

2014-11-03 Thread Simon McVittie
On 01/11/14 16:19, Andy Lutomirski wrote: > You can't justify logging fundamentally unverifiable things like the > command line by saying that you want to know if someone tries to play > (impossible-to-reliably-detect) games to obscure their command line. I think kdbus might be mixing up two ortho

Re: [PATCH man-pages 3/3] open.2: describe O_BENEATH flag

2014-11-03 Thread Paolo Bonzini
On 03/11/2014 12:48, David Drysdale wrote: > +.I pathname > +is beneath the current working directory (for > +.BR open (2)) > +or the > +.I dirfd > +(for > +.BR openat (2)). > +If the > +.I pathname > +is absolute or contains a path component of "..", the > +.BR open () > +fails with the error > +.

Re: [PATCH V3 00/14] genirq endian fixes; bcm7120/brcmstb IRQ updates

2014-11-03 Thread Arnd Bergmann
On Saturday 01 November 2014 18:03:47 Kevin Cernekee wrote: > V2->V3: > > - Move updated irq_reg_{readl,writel} functions back into >so they can be called by irqchip drivers > > - Add gc->reg_{readl,writel} function pointers so that irqchip >drivers like arch/sh/boards/mach-se/{7343,77

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

2014-11-03 Thread David Drysdale
Add a new O_BENEATH flag for openat(2) which restricts the provided path, rejecting (with -EACCES) 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. Signed-off-by: David Drysdale

Re: [PATCH] serial: samsung: Remove checks for CONFIG_SAMSUNG_CLOCK

2014-11-03 Thread Paul Bolle
y/serial/samsung.o > > doesn't build. Perhaps some "range" should be added to config > SERIAL_SAMSUNG_UARTS. And I also wonder whether SERIAL_SAMSUNG_UARTS > should be a dependency (somehow) of config SERIAL_SAMSUNG. I have not > looked into those questions. I n

Re: [PATCH 2/2] blk-mq: allow direct dispatch to a driver specific workqueue

2014-11-03 Thread Ming Lei
On Mon, Nov 3, 2014 at 6:10 PM, Christoph Hellwig wrote: > On Mon, Nov 03, 2014 at 04:40:47PM +0800, Ming Lei wrote: >> The above two aren't enough because the big problem is that >> drivers need a per-request work structure instead of 'hctx->run_work', >> otherwise there are at most NR_CPUS concu

Re: [PATCH 1/1] iommu/amd: Use delayed mmu release notifier

2014-11-03 Thread Oded Gabbay
Hi Joerg, Could you please review this patch ? Thanks, Oded On 10/25/2014 10:16 PM, Oded Gabbay wrote: Hi, Could anyone please review this patch ? Thanks, Oded On 18/10/14 00:43, Oded Gabbay wrote: This patch makes use of the new delayed mmu release notifier feature in mm c

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

2014-11-03 Thread David Drysdale
Add simple tests of openat(2) variations, including examples that check the new O_BENEATH flag. Signed-off-by: David Drysdale --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/openat/.gitignore | 4 + tools/testing/selftests/openat/Makefile | 28 ++ tools/te

[PATCH man-pages 3/3] open.2: describe O_BENEATH flag

2014-11-03 Thread David Drysdale
Signed-off-by: David Drysdale --- man2/open.2 | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/man2/open.2 b/man2/open.2 index abc3c35b8b3a..495c7f1e81a4 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -716,6 +716,31 @@ XFS support was added .\" c

[PATCH 0/3] fs: add O_BENEATH flag to openat(2)

2014-11-03 Thread David Drysdale
This change adds a new O_BENEATH flag for openat(2) which restricts the provided path, rejecting (with -EACCES) paths that are not beneath the provided dfd. This change was previously included as part of a larger patchset (https://lkml.org/lkml/2014/7/25/426) for Capsicum support; however, it is p

Re: [PATCH 1/1] kconfig: warn if an unknown symbol is selected

2014-11-03 Thread Paul Bolle
Hi Yann, On Tue, 2014-09-30 at 20:09 +0200, Paul Bolle wrote: > A select of an unknown symbol is basically treated as a nop and is > silently skipped. This is annoying if the selected symbol contains a > typo. It can also hide the fact that a treewide symbol cleanup was only > done partially. > >

[GIT PULL] CMA and DMA-mapping update for v3.18-rc4

2014-11-03 Thread Marek Szyprowski
Hi Linus, I would like to ask You for pulling patches for cma and dma-mapping subsystems for v3.18-rc4. The following changes since commit cac7f2429872d3733dc3f9915857b1691da2eb2f: Linux 3.18-rc2 (2014-10-26 16:48:41 -0700) are available in the git repository at: git://git.linaro.org/peopl

Re: [PATCH v7 3/8] arm64: introduce is_device_dma_coherent

2014-11-03 Thread Stefano Stabellini
On Mon, 3 Nov 2014, Will Deacon wrote: > On Mon, Nov 03, 2014 at 10:46:03AM +, Stefano Stabellini wrote: > > On Mon, 27 Oct 2014, Stefano Stabellini wrote: > > > Introduce a boolean flag and an accessor function to check whether a > > > device is dma_coherent. Set the flag from set_arch_dma_coh

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-11-03 Thread Kishon Vijay Abraham I
Hi Greg, On Tuesday 07 October 2014 04:32 PM, Oussama Ghorbel wrote: > The USB OTG port does not work since v3.16 on omap platform. > This is a regression introduced by the commit > eb82a3d846fa (phy: omap-usb2: Balance pm_runtime_enable() on probe failure > and remove). > This because the call t

Re: [PATCH v4 12/58] dmaengine: hdmac: Split device_control

2014-11-03 Thread Nicolas Ferre
On 28/10/2014 22:25, Maxime Ripard : > Split the device_control callback of the Atmel HDMAC driver to make use > of the newly introduced callbacks, that will eventually be used to retrieve > slave capabilities. > > Signed-off-by: Maxime Ripard It seems okay: Acked-by: Nicolas Ferre Thanks. >

Re: [PATCH v4 02/58] serial: at91: Use dmaengine_slave_config API

2014-11-03 Thread Nicolas Ferre
On 28/10/2014 22:25, Maxime Ripard : > We are removing the dmaengine_device_control API, that shouldn't even have > been > exposed in the first place. Change the callers to use the proper API. > > Signed-off-by: Maxime Ripard Acked-by: Nicolas Ferre Thanks, Maxime. Do I have to carry the patc

[PATCH v6 03/29] nios2: Kernel booting and initialization

2014-11-03 Thread Ley Foon Tan
This patch adds the kernel booting and the initial setup code. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/entry.h | 120 +++ arch/nios2/include/asm/setup.h | 38 +++ arch/nios2/kernel/head.S | 175 + arch/nios2/kernel/set

[PATCH v6 04/29] nios2: Exception handling

2014-11-03 Thread Ley Foon Tan
This patch contains the exception entry code (kernel/entry.S) and misaligned exception. Signed-off-by: Ley Foon Tan --- arch/nios2/kernel/entry.S | 555 + arch/nios2/kernel/misaligned.c | 256 +++ 2 files changed, 811 insertions(+) cr

[tip:x86/apic] x86, irq: Split out alloc_ioapic_save_registers()

2014-11-03 Thread tip-bot for Yinghai Lu
Commit-ID: 8cda974ab278dd8d4a9024085535f71175ddf38d Gitweb: http://git.kernel.org/tip/8cda974ab278dd8d4a9024085535f71175ddf38d Author: Yinghai Lu AuthorDate: Mon, 27 Oct 2014 13:21:39 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 x86, irq: Split out alloc_

[PATCH v6 12/29] nios2: TLB handling

2014-11-03 Thread Ley Foon Tan
This patch adds the TLB maintenance functions. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/tlb.h | 34 + arch/nios2/include/asm/tlbflush.h | 46 +++ arch/nios2/mm/tlb.c | 275 ++ 3 files changed, 355 insertions(+) creat

[PATCH v6 14/29] nios2: DMA mapping API

2014-11-03 Thread Ley Foon Tan
This patch adds support for the DMA mapping API. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/dma-mapping.h | 140 ++ arch/nios2/mm/dma-mapping.c | 186 +++ 2 files changed, 326 insertions(+) create mode 100644 arch/nios

[PATCH v6 06/29] nios2: Memory management

2014-11-03 Thread Ley Foon Tan
This patch contains the initialisation of the memory blocks, MMU attributes and the memory map. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/mmu.h | 16 +++ arch/nios2/include/asm/page.h| 111 +++ arch/nios2/include/asm/uaccess.h | 231 +

[PATCH v6 08/29] nios2: MMU Fault handling

2014-11-03 Thread Ley Foon Tan
This patch adds support for the handling of the MMU faults (exception entry code introduced by a previous patch, kernel/entry.S). Signed-off-by: Ley Foon Tan --- arch/nios2/mm/extable.c | 25 + arch/nios2/mm/fault.c | 251 2 files changed,

[PATCH v6 10/29] nios2: Process management

2014-11-03 Thread Ley Foon Tan
This patch adds support for thread creation and context switching. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/mmu_context.h | 66 + arch/nios2/include/asm/processor.h | 103 ++ arch/nios2/include/asm/switch_to.h | 31 + arch/nios2/include/asm/thread_info

Re: [PATCH v2 1/5] video: move mediabus format definition to a more standard place

2014-11-03 Thread Boris Brezillon
Hi Laurent, On Wed, 01 Oct 2014 00:00:50 +0300 Laurent Pinchart wrote: > Hi Boris, > > On Tuesday 30 September 2014 11:44:23 Boris Brezillon wrote: > > On Tue, 30 Sep 2014 10:39:53 +0200 Thierry Reding wrote: > > > On Tue, Sep 30, 2014 at 09:37:57AM +0200, Boris Brezillon wrote: > > >> On Mon,

[tip:x86/apic] PCI: Remove PCI ioapic driver

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: e07cfbfaeec96c2e2f7ab81e8125891089e3065c Gitweb: http://git.kernel.org/tip/e07cfbfaeec96c2e2f7ab81e8125891089e3065c Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:38 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 PCI: Remove PCI ioapic driv

[tip:x86/apic] x86, irq, ACPI: Implement interfaces to support ACPI based IOAPIC hot-removal

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 5fcb864ef90df093d964171539c87ffa0ab49f0f Gitweb: http://git.kernel.org/tip/5fcb864ef90df093d964171539c87ffa0ab49f0f Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:46 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq, ACPI: Implement i

[PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

2014-11-03 Thread Mika Westerberg
Hi, This is second version of the patch series adding pinctrl/GPIO support for Intel Braswell and Cherrryview. The previous version can be found here: https://lkml.org/lkml/2014/10/27/118 I've dropped patches [2/4] and [3/4] as they are already applied to the pinctrl tree. Changes to the previo

Re: [PATCH 1/1] s390/net: Deletion of unnecessary checks before two function calls

2014-11-03 Thread Ursula Braun
I agree with your proposed debug_unregister() changes, but not with your kfree_fsm() change. Regards, Ursula Braun On Fri, 2014-10-31 at 18:40 +0100, SF Markus Elfring wrote: > The functions debug_unregister() and kfree_fsm() test whether their argument > is NULL and then return immediately. Thus

[tip:x86/apic] x86, irq: Refine mp_register_ioapic() to prepare for IOAPIC hotplug

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 36f3a2a6cec30b332035ccad32d749b2216a2168 Gitweb: http://git.kernel.org/tip/36f3a2a6cec30b332035ccad32d749b2216a2168 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:43 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq: Refine mp_registe

[tip:x86/apic] x86, irq, ACPI: Implement interface to support ACPI based IOAPIC hot-addition

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: ff6213974cd90e1ebf9a153c74e6b0da647092b2 Gitweb: http://git.kernel.org/tip/ff6213974cd90e1ebf9a153c74e6b0da647092b2 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:45 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq, ACPI: Implement i

[PATCH v2 1/2] gpio / ACPI: Add knowledge about pin controllers to acpi_get_gpiod()

2014-11-03 Thread Mika Westerberg
The GPIO resources (GpioIo/GpioInt) used in ACPI contain a GPIO number which is relative to the hardware GPIO controller. Typically this number can be translated directly to Linux GPIO number because the mapping is pretty much 1:1. However, when the GPIO driver is using pins exported by a pin cont

[tip:x86/apic] x86, irq, ACPI: Implement ACPI driver to support IOAPIC hotplug

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 3a2f18905b31bb2c1cdb1e108c95bfd8b62b0908 Gitweb: http://git.kernel.org/tip/3a2f18905b31bb2c1cdb1e108c95bfd8b62b0908 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:48 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq, ACPI: Implement A

[tip:x86/apic] ACPI: Add interfaces to parse IOAPIC ID for IOAPIC hotplug

2014-11-03 Thread tip-bot for Yinghai Lu
Commit-ID: 717ed6192d16cecf06b7412bf07c207ed92a9f52 Gitweb: http://git.kernel.org/tip/717ed6192d16cecf06b7412bf07c207ed92a9f52 Author: Yinghai Lu AuthorDate: Mon, 27 Oct 2014 13:21:37 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 ACPI: Add interfaces to pa

Re: [Xen-devel] [PATCH v7 7/8] xen/arm/arm64: introduce xen_arch_need_swiotlb

2014-11-03 Thread David Vrabel
On 03/11/14 10:45, Stefano Stabellini wrote: > On Mon, 27 Oct 2014, Stefano Stabellini wrote: >> Introduce an arch specific function to find out whether a particular dma >> mapping operation needs to bounce on the swiotlb buffer. >> >> On ARM and ARM64, if the page involved is a foreign page and th

[tip:x86/apic] x86, irq: Prefer assigned ID in APIC ID register for x86_64

2014-11-03 Thread tip-bot for Yinghai Lu
Commit-ID: b141cb5363583a887ab2d6f742bc849f615634ff Gitweb: http://git.kernel.org/tip/b141cb5363583a887ab2d6f742bc849f615634ff Author: Yinghai Lu AuthorDate: Mon, 27 Oct 2014 13:21:40 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 x86, irq: Prefer assigned

[tip:x86/apic] x86, irq: Introduce helper to check whether an IOAPIC has been registered

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: cf45268eceac09ff4af677f6e876b4d0397e1d3f Gitweb: http://git.kernel.org/tip/cf45268eceac09ff4af677f6e876b4d0397e1d3f Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:47 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq: Introduce helper

[tip:x86/apic] x86, irq, ACPI: Introduce a mutex to protect IOAPIC operations from hotplug

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: bca74a854c10cbbbf13690e92704e81f6afdb697 Gitweb: http://git.kernel.org/tip/bca74a854c10cbbbf13690e92704e81f6afdb697 Author: Jiang Liu AuthorDate: Sun, 2 Nov 2014 14:04:29 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq, ACPI: Introduce a

[PATCH v2 2/2] pinctrl: Add Intel Cherryview/Braswell pin controller support

2014-11-03 Thread Mika Westerberg
This driver supports the pin/GPIO controllers found in newer Intel SoCs like Cherryview and Braswell. The driver provides full GPIO support and minimal set of pin controlling funtionality. The driver is based on the original Cherryview GPIO driver authored by Ning Li and Alan Cox. Signed-off-by:

[tip:x86/apic] ACPI: Fix minor syntax issues in processor_core.c

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 5922b6f497ed2daf5c06654c3dbda7ca911bcfef Gitweb: http://git.kernel.org/tip/5922b6f497ed2daf5c06654c3dbda7ca911bcfef Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:36 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 ACPI: Fix minor syntax issu

Re: [PATCH v8 07/10] sched: replace capacity_factor by usage

2014-11-03 Thread Vincent Guittot
On 3 November 2014 08:01, Wanpeng Li wrote: > Hi Vincent, > On 14/10/31 下午4:47, Vincent Guittot wrote: >> >> The scheduler tries to compute how many tasks a group of CPUs can handle >> by >> assuming that a task's load is SCHED_LOAD_SCALE and a CPU's capacity is >> SCHED_CAPACITY_SCALE. group_capa

[tip:x86/apic] x86, irq: Keep balance of IOAPIC pin reference count

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 5dfaa804e3e25317b4e55cd67117ac5b33e01004 Gitweb: http://git.kernel.org/tip/5dfaa804e3e25317b4e55cd67117ac5b33e01004 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:42 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq: Keep balance of I

Re: [PATCH v7 3/8] arm64: introduce is_device_dma_coherent

2014-11-03 Thread Stefano Stabellini
On Mon, 27 Oct 2014, Stefano Stabellini wrote: > Introduce a boolean flag and an accessor function to check whether a > device is dma_coherent. Set the flag from set_arch_dma_coherent_ops. > > Signed-off-by: Stefano Stabellini > Signed-off-by: Catalin Marinas > CC: will.dea...@arm.com Will, Cat

[PATCH v6 16/29] nios2: ELF definitions

2014-11-03 Thread Ley Foon Tan
This patch adds definitions for the ELF format Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/elf.h | 101 ++ arch/nios2/include/uapi/asm/elf.h | 67 + 2 files changed, 168 insertions(+) create mode 100644 arch/nios2/incl

[PATCH v6 17/29] nios2: System calls handling

2014-11-03 Thread Ley Foon Tan
This patch adds support for system calls from userspaces. It uses the asm-generic/unistd.h definitions with architecture spcific syscall. The sys_call_table is just an array defined in a C file and it contains pointers to the syscall functions. Signed-off-by: Ley Foon Tan --- arch/nios2/include/

[tip:x86/apic] ACPI: Correct return value of acpi_dev_resource_address_space()

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: 36ef5fb509c1b19be0dec02caf4e5081c33328df Gitweb: http://git.kernel.org/tip/36ef5fb509c1b19be0dec02caf4e5081c33328df Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:35 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 ACPI: Correct return value

[tip:x86/apic] x86, irq: Remove __init marker for functions will be used by IOAPIC hotplug

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: a6756f064a1b11b5e2dfdbc2dc06b790bcb6 Gitweb: http://git.kernel.org/tip/a6756f064a1b11b5e2dfdbc2dc06b790bcb6 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:41 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:08 +0100 x86, irq: Remove __init mar

[tip:x86/apic] x86, PCI, ACPI: Kill private function resource_to_addr() in arch/x86/pci/acpi.c

2014-11-03 Thread tip-bot for Jiang Liu
Commit-ID: e22ce93870deae0e9a54e1539f0088538f187780 Gitweb: http://git.kernel.org/tip/e22ce93870deae0e9a54e1539f0088538f187780 Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 13:21:34 +0800 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 11:56:07 +0100 x86, PCI, ACPI: Kill privat

[PATCH v6 22/29] nios2: Cpuinfo handling

2014-11-03 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/cpuinfo.h | 57 +++ arch/nios2/kernel/cpuinfo.c | 201 +++ 2 files changed, 258 insertions(+) create mode 100644 arch/nios2/include/asm/cpuinfo.h create mode 100644 arch/nios2/kernel/cpuinfo

[PATCH v6 28/29] Documentation: Add documentation for Nios2 architecture

2014-11-03 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- Documentation/nios2/README | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/nios2/README diff --git a/Documentation/nios2/README b/Documentation/nios2/README new file mode 100644 index 000..054a67d --- /dev/null

Re: [PATCH v7 3/8] arm64: introduce is_device_dma_coherent

2014-11-03 Thread Will Deacon
On Mon, Nov 03, 2014 at 10:46:03AM +, Stefano Stabellini wrote: > On Mon, 27 Oct 2014, Stefano Stabellini wrote: > > Introduce a boolean flag and an accessor function to check whether a > > device is dma_coherent. Set the flag from set_arch_dma_coherent_ops. > > > > Signed-off-by: Stefano Stab

[PATCH v6 24/29] nios2: Nios2 registers

2014-11-03 Thread Ley Foon Tan
This file contains constants for the instruction macros, cpu registers, fields and bits. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/registers.h | 71 ++ 1 file changed, 71 insertions(+) create mode 100644 arch/nios2/include/asm/registers.h diff -

Re: [PATCH v7 4/8] arm: introduce is_device_dma_coherent

2014-11-03 Thread Stefano Stabellini
On Mon, 27 Oct 2014, Stefano Stabellini wrote: > Introduce a boolean flag and an accessor function to check whether a > device is dma_coherent. Set the flag from set_arch_dma_coherent_ops. > > Signed-off-by: Stefano Stabellini > Signed-off-by: Catalin Marinas > CC: li...@arm.linux.org.uk > CC: w

Re: [PATCH] amd64_edac: Build module on x86-32

2014-11-03 Thread Borislav Petkov
On Sun, Nov 02, 2014 at 03:08:39PM +0100, Tomasz Pala wrote: > Can't say - such error (noticed) happened to me only once, how many silent bit > rots I've missed is hard to say, as I haven't got data checksums before. > The previous modules were well tested in this motherboard, so I can't > blame th

[PATCH v6 27/29] MAINTAINERS: Add nios2 maintainer

2014-11-03 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3c64271..023ab87 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6544,6 +6544,13 @@ S: Maintained F: Documentation/scsi/NinjaSCSI.txt F: drivers/sc

[PATCH v6 26/29] nios2: ptrace support

2014-11-03 Thread Ley Foon Tan
Add ptrace support for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/ptrace.h | 33 +++ arch/nios2/include/uapi/asm/ptrace.h | 120 + arch/nios2/kernel/ptrace.c | 166 +++ 3 files changed, 319 insertions(

[PATCH v6 19/29] nios2: Library functions

2014-11-03 Thread Ley Foon Tan
Add optimised library functions for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/checksum.h | 78 +++ arch/nios2/include/asm/string.h | 24 + arch/nios2/lib/memcpy.c | 202 ++ arch/nios2/lib/memmove.c |

Re: [PATCH v8 00/10] sched: consolidation of CPU capacity and usage

2014-11-03 Thread Vincent Guittot
On 3 November 2014 03:12, Wanpeng Li wrote: > Hi Vincent, > On 14/10/31 下午4:47, Vincent Guittot wrote: >> >> This patchset consolidates several changes in the capacity and the usage >> tracking of the CPU. It provides a frequency invariant metric of the usage >> of >> CPUs and generally improves t

[PATCH v6 21/29] nios2: Time keeping

2014-11-03 Thread Ley Foon Tan
Add time keeping code for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/delay.h | 21 +++ arch/nios2/include/asm/timex.h | 24 arch/nios2/kernel/time.c | 310 + arch/nios2/lib/delay.c | 52 +++ 4 files changed, 407

[PATCH v6 29/29] nios2: Build infrastructure

2014-11-03 Thread Ley Foon Tan
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan --- arch/nios2/Kconfig | 201 +++ arch/nios2/Kconfig.debug | 17 +++ arch/nios2/Makefile | 73

[PATCH v6 25/29] nios2: Module support

2014-11-03 Thread Ley Foon Tan
This patch adds support for loadable modules. Signed-off-by: Ley Foon Tan --- arch/nios2/kernel/module.c | 138 + 1 file changed, 138 insertions(+) create mode 100644 arch/nios2/kernel/module.c diff --git a/arch/nios2/kernel/module.c b/arch/nios2/ker

Re: [PATCH v7 7/8] xen/arm/arm64: introduce xen_arch_need_swiotlb

2014-11-03 Thread Stefano Stabellini
On Mon, 27 Oct 2014, Stefano Stabellini wrote: > Introduce an arch specific function to find out whether a particular dma > mapping operation needs to bounce on the swiotlb buffer. > > On ARM and ARM64, if the page involved is a foreign page and the device > is not coherent, we need to bounce beca

<    4   5   6   7   8   9   10   11   >