Re: [PATCH v2] cgroup: net_cls: fix false-positive "suspicious RCU usage"

2015-07-25 Thread David Miller
From: Konstantin Khlebnikov Date: Wed, 22 Jul 2015 12:23:20 +0300 > In dev_queue_xmit() net_cls protected with rcu-bh. ... > Signed-off-by: Konstantin Khlebnikov Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

Re: [PATCH v2] thermal: consistently use int for temperatures

2015-07-25 Thread Pavel Machek
On Fri 2015-07-24 15:49:41, Guenter Roeck wrote: > On 07/24/2015 03:11 PM, Pavel Machek wrote: > >On Fri 2015-07-24 06:59:26, Guenter Roeck wrote: > >>On 07/23/2015 11:29 PM, Sascha Hauer wrote: > >>>On Thu, Jul 23, 2015 at 02:07:59PM +0200, Pavel Machek wrote: > On Tue 2015-07-21 09:21:32, Sas

Re: [PATCH v5 01/19] genirq: irqdomain: Allow irq domain aliasing

2015-07-25 Thread Hanjun Guo
On 07/23/2015 05:26 PM, Marc Zyngier wrote: It is not uncommon (at least with the ARM stuff) to have a piece of hardware that implements different flavours of "interrupts". A typical example of this is the GICv3 ITS, which implements standard PCI/MSI support, but also some form of "generic MSI".

[PATCH 1/3] ARM: dts: UniPhier: add pinctrl device nodes

2015-07-25 Thread Masahiro Yamada
Add the pinctrol device nodes for UniPhier PH1-LD4, PH1-Pro4, and PH1-sLD8. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 6 ++ arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | 6 ++ arch/arm/boot/dts/uniphier-ph1-sld8.dtsi | 6 ++ 3 files changed, 18 inser

[PATCH 3/3] MAINTAINERS: add entries for UniPhier device trees and drivers

2015-07-25 Thread Masahiro Yamada
This clarifies the location of the files maintained by me. Signed-off-by: Masahiro Yamada --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2eb6272..1c93835 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1579,7 +1579,10 @@ ARM/UNIPHIER ARCHIT

[PATCH 2/3] ARM: dts: UniPhier: add UART and USB pinmux nodes

2015-07-25 Thread Masahiro Yamada
The DT nodes in uniphier-pinctrl.dtsi provide the default pinctrl settings that would be suitable for most boards. You can still override them in your board DTS file if necessary. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 16 ++ arch/arm/boot/dts/uniphie

[PATCH 0/3] ARM: UniPhier: update DTS and MAINTAINERS

2015-07-25 Thread Masahiro Yamada
Hi Arnd and Olof, The pinctrl drivers for UniPhier SoCs were accepted by Linus Walleij into the linux-pinctrl subsystem. Here is a small series I'd like you to merge into the ARM-SOC subsystem to use my pinctrl drivers. Masahiro Yamada (3): ARM: dts: UniPhier: add pinctrl device nodes ARM:

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-25 Thread Finn Thain
On Sat, 25 Jul 2015, Michael Schmitz wrote: > Hi Christian, > > good to know this worked - for the record (Finn), this is the kernel > with Finn's patch applied. That was v5 of this patch series. I will send that out to the lists now. It has some minor changes that relate to powerpc. Thanks

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-25 Thread Finn Thain
On Sat, 25 Jul 2015, Michael Ellerman wrote: > On Sat, 2015-07-25 at 10:35 +1000, Finn Thain wrote: > > > > Thanks for helping with this, Christian. I'll add your name in > > "Tested-by" tags on the relevant patches. These are rudimentary tests > > but combined with my own testing on m68k, ppc

Re: [PATCH v2] clk: exynos4: Fix wrong clock for Exynos4x12 ADC

2015-07-25 Thread Sylwester Nawrocki
On 12/06/15 03:53, Krzysztof Kozlowski wrote: > The TSADC gate clock was used in Exynos4x12 DTSI for exynos-adc driver. > However TSADC is present only on Exynos4210 so on Trats2 board (with > Exynos4412 SoC) the exynos-adc driver could not be probed: >ERROR: could not get clock /adc@126C:a

[PATCH] parport: Revert "parport: fix memory leak"

2015-07-25 Thread Sudip Mukherjee
This reverts commit 23c405912b88 ("parport: fix memory leak") par_dev->state was already being removed in parport_unregister_device(). Reported-by: Ying Huang Signed-off-by: Sudip Mukherjee --- But I am surprised at two points: 1) Why the error came while loading the gs_fpgaboot module?

Re: [PATCH v4 2/3] x86/ldt: Make modify_ldt optional

2015-07-25 Thread Willy Tarreau
On Fri, Jul 24, 2015 at 11:44:52PM -0700, Andy Lutomirski wrote: > I'm all for it, but I think it should be hard-disablable in config, > too, for the -tiny people. I totally agree. > If we add a runtime disable, let's do a > separate patch, and you and Kees can fight over how general it should >

[RFC v5 24/26] m68k/mac: Use macros for RTC accesses not magic numbers

2015-07-25 Thread Finn Thain
Signed-off-by: Finn Thain --- This is intended to improve code style and not affect code behaviour. I've tested this on a Quadra 650. I don't know the meanings of the 4 undocumented write protect register bits 0x55, so I decided against defining 4 macros for those bits. --- arch/m68k/mac/misc

[RFC v5 08/26] char/nvram: Allow the set_checksum and initialize ioctls to be omitted

2015-07-25 Thread Finn Thain
The drivers/char/nvram module has previously only supported RTC "CMOS" NVRAM, for which it provides appropriate checksum ioctls. Make these ioctls optional so the module can be re-used with other kinds of NVRAM. The ops struct methods that implement the ioctls now return error codes so that a mult

[RFC v5 00/26] Re-use nvram module

2015-07-25 Thread Finn Thain
The generic NVRAM module, drivers/char/generic_nvram, implements a /dev/nvram misc device. It is used only by 32-bit PowerPC platforms and isn't generic enough to be more widely used. The RTC NVRAM module, drivers/char/nvram, also implements a /dev/nvram misc device. It is used by x86, ARM and m6

[RFC v5 21/26] char/generic_nvram: Remove as unused

2015-07-25 Thread Finn Thain
And thus eliminate some twisted CONFIG_GENERIC_NVRAM logic. Signed-off-by: Finn Thain --- drivers/char/Makefile|6 - drivers/char/generic_nvram.c | 175 --- 2 files changed, 1 insertion(+), 180 deletions(-) Index: linux/drivers/char/Makefile

[RFC v5 17/26] powerpc, fbdev: Use NV_CMODE and NV_VMODE only when CONFIG_PPC32 and CONFIG_PPC_PMAC and CONFIG_NVRAM

2015-07-25 Thread Finn Thain
This patch addresses inconsistencies in Mac framebuffer drivers and their use of Kconfig symbols relating to NVRAM, so PPC64 can use CONFIG_NVRAM. Macintosh framebuffer drivers use default settings for color mode and video mode that are found in NVRAM. On PCI Macs, MacOS stores display settings in

[RFC v5 18/26] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-07-25 Thread Finn Thain
Make use of arch_nvram_ops in device drivers so that the nvram_* function exports can be removed. Since they are no longer global symbols, rename the PPC32 nvram_* functions appropriately. Signed-off-by: Finn Thain --- Changed since v4: - Split off the CONFIG_PPC32, CONFIG_PPC_PMAC and CONFIG_

[RFC v5 25/26] m68k/mac: Fix PRAM accessors

2015-07-25 Thread Finn Thain
Signed-off-by: Finn Thain --- Tested on a PowerBook 520 and Quadra 650. Changes since v2: - Make use of the RTC_* macros from the previous patch and add a few more besides. --- arch/m68k/mac/misc.c | 39 +-- include/uapi/linux/pmu.h |2 ++ 2 files

[RFC v5 26/26] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2015-07-25 Thread Finn Thain
A multi-platform kernel binary needs to decide at run-time how to dispatch the arch_nvram_ops calls. Add platform-independent arch_nvram_ops, for use when multiple platform-specific NVRAM ops implementations are needed. Enable CONFIG_HAVE_ARCH_NVRAM_OPS for Macs. Signed-off-by: Finn Thain Tested

[RFC v5 19/26] nvram: Drop nvram_* symbol exports and prototypes

2015-07-25 Thread Finn Thain
Drivers now use the arch_nvram_ops calls so remove the function exports and prototypes. nvram_check_checksum() is unused so remove it. Signed-off-by: Finn Thain --- arch/m68k/atari/nvram.c |6 +++--- drivers/char/nvram.c| 27 +-- include/linux/nvram.h |8

[RFC v5 23/26] m68k/mac: Adopt naming and calling conventions for PRAM routines

2015-07-25 Thread Finn Thain
Adopt the existing *_read_byte and *_write_byte naming convention. Rename via_pram_readbyte and via_pram_writebyte to avoid confusion. Adjust calling conventions of mac_pram_* functions to match the arch_nvram_ops struct methods. Signed-off-by: Finn Thain --- Changes since v1: - Don't introduce

[RFC v5 22/26] powerpc: Adopt nvram module for PPC64

2015-07-25 Thread Finn Thain
Adopt nvram module to reduce code duplication. The IOC_NVRAM_GET_OFFSET ioctl as implemented on PPC64 validates the offset returned by pmac_get_partition(). Add this test to the nvram module. Note that the old PPC32 generic_nvram module lacked this test. So when CONFIG_PPC32 && CONFIG_PPC_PMAC, t

[RFC v5 20/26] powerpc: Remove CONFIG_GENERIC_NVRAM and adopt CONFIG_HAVE_ARCH_NVRAM_OPS

2015-07-25 Thread Finn Thain
Switch PPC32 kernels from the generic_nvram module to the nvram module. Also fix a theoretical bug where CHRP omits the chrp_nvram_init() call when CONFIG_NVRAM_MODULE=m. As before, when CONFIG_PPC && !CONFIG_PPC_PMAC, the IOC_NVRAM_GET_OFFSET ioctl is unimplemented. For the nvram module, unimple

[RFC v5 13/26] powerpc: Cleanup nvram includes

2015-07-25 Thread Finn Thain
The nvram_read_byte() and nvram_write_byte() definitions in asm/nvram.h duplicate those in linux/nvram.h. Get rid of the former to prepare for adoption of struct arch_nvram_ops (which is defined in linux/nvram.h for general use). Signed-off-by: Finn Thain --- Changes since v4: - Fix possible gi

[RFC v5 14/26] powerpc: Add missing ppc_md.nvram_size for CHRP and PowerMac

2015-07-25 Thread Finn Thain
Add the nvram_size() function to those PowerPC platforms that don't already have one: CHRP and PowerMac. This means that the ppc_md.nvram_size() function can be used to implement arch_nvram_ops.get_size() Since we are addressing inconsistencies here, also rename chrp_nvram_read and chrp_nvram_writ

[RFC v5 16/26] powerpc: Implement nvram sync ioctl

2015-07-25 Thread Finn Thain
Add the powerpc-specific sync() method to struct nvram_ops and implement the corresponding ioctl in the nvram module. This allows the nvram module to replace the generic_nvram module. Signed-off-by: Finn Thain --- On PPC32, the IOC_NVRAM_SYNC ioctl call always returns 0, even for those platform

[RFC v5 12/26] char/nvram: Add "devname:nvram" module alias

2015-07-25 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c |1 + 1 file changed, 1 insertion(+) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c 2015-07-25 17:45:35.0 +1000 +++ linux/drivers/char/nv

[RFC v5 11/26] m68k/atari: Implement arch_nvram_ops methods and enable CONFIG_HAVE_ARCH_NVRAM_OPS

2015-07-25 Thread Finn Thain
Atari RTC NVRAM has a checksum so implement the remaining arch_nvram_ops methods for the set_checksum and initialize ioctls. Enable CONFIG_HAVE_ARCH_NVRAM_OPS. Signed-off-by: Finn Thain --- This re-enables the nvram module for Atari. Changes since v3: - Use bool (and select) instead of def_boo

[RFC v5 15/26] powerpc: Implement arch_nvram_ops.get_size() and remove old nvram_* exports

2015-07-25 Thread Finn Thain
Implement arch_nvram_ops for PPC32 and make use of it in the generic_nvram misc device module so that the nvram_* function exports can be removed. Signed-off-by: Finn Thain --- arch/powerpc/include/asm/nvram.h |3 --- arch/powerpc/kernel/setup_32.c | 10 +++--- drivers/char/generic_

[RFC v5 02/26] char/nvram: Use bitwise OR to obtain Atari video mode data

2015-07-25 Thread Finn Thain
Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven Tested-by: Christian T. Steigies --- drivers/char/nvram.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/char/nvram.c === --- linux.orig/driver

[RFC v5 10/26] char/nvram: Use generic fixed_size_llseek()

2015-07-25 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c 2015-07-25 17:45:34.0

[RFC v5 07/26] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-07-25 Thread Finn Thain
Make use of arch_nvram_ops in the thinkpad_acpi driver so that the nvram_* function exports can be removed. This patch series was tested on a ThinkPad T43. Signed-off-by: Finn Thain Acked-by: Henrique de Moraes Holschuh Reviewed-by: Darren Hart --- drivers/platform/x86/thinkpad_acpi.c | 20

[RFC v5 09/26] char/nvram: Implement NVRAM read/write methods

2015-07-25 Thread Finn Thain
Refactor the RTC "CMOS" NVRAM functions so that they can be used as arch_nvram_ops methods. Checksumming logic is moved from the misc device operations to the nvram read/write operations. This makes the misc device implementation more generic. This also preserves the locking semantics such that "r

Re: [PATCH v5 02/19] PCI: MSI: Register irq domain with specific token

2015-07-25 Thread Hanjun Guo
On 07/23/2015 05:26 PM, Marc Zyngier wrote: When creating a PCI/MSI domain, tag it with DOMAIN_BUS_PCI_MSI so that it can be looked-up using irq_find_matching_host(). Signed-off-by: Marc Zyngier --- drivers/pci/msi.c | 8 +++- include/linux/irqdomain.h | 1 + 2 files changed, 8

[RFC v5 06/26] char/nvram: Adopt arch_nvram_ops

2015-07-25 Thread Finn Thain
Different platforms and architectures offer different NVRAM sizes and access methods. E.g. PPC32 has byte-at-a-time read/write functions whereas PPC64 has byte-range read/write functions. Adopt the nvram_ops struct so the nvram module can call such functions as are defined by the various platforms

[RFC v5 05/26] char/nvram: Re-order functions to remove forward declarations and #ifdefs

2015-07-25 Thread Finn Thain
Also give functions more sensible names: nvram_misc_* for misc device ops, nvram_proc_* for proc file ops and nvram_module_* for init and exit functions. This makes them distict from nvram_ops members. Signed-off-by: Finn Thain --- drivers/char/nvram.c | 194 ++-

[RFC v5 04/26] m68k/atari: Replace nvram_{read,write}_byte with arch_nvram_ops

2015-07-25 Thread Finn Thain
By implementing an arch_nvram_ops struct, any platform can re-use the drivers/char/nvram module without needing any arch-specific code in that module. Atari does so here. Atari has one user of nvram_check_checksum() whereas the other platforms (i.e. x86 and ARM platforms) have none at all. Replace

[RFC v5 03/26] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-25 Thread Finn Thain
Move the m68k-specific code elsewhere to make the driver generic. Signed-off-by: Finn Thain Tested-by: Christian T. Steigies --- Changes since v3: - Move the vmode fix to a separate patch as requested by Geert. --- arch/m68k/atari/Makefile |2 arch/m68k/atari/nvram.c | 255 +++

[RFC v5 01/26] scsi/atari_scsi: Dont select CONFIG_NVRAM

2015-07-25 Thread Finn Thain
On powerpc, setting CONFIG_NVRAM=n builds a kernel with no NVRAM support. Setting CONFIG_NVRAM=m enables the /dev/nvram misc device module without enabling NVRAM support in drivers. Setting CONFIG_NVRAM=y enables the misc device (built-in) and also enables NVRAM support in drivers. m68k shares the

Re: [PATCH v5 03/19] device core: Introduce per-device MSI domain pointer

2015-07-25 Thread Hanjun Guo
On 07/23/2015 05:26 PM, Marc Zyngier wrote: As MSI-type features are creeping into non-PCI devices, it is starting to make sense to give our struct device some form of support for this, by allowing a pointer to an MSI irq domain to be set/retrieved. Signed-off-by: Marc Zyngier --- include/lin

Re: [PATCH v5 04/19] PCI/MSI: Add hooks to populate the msi_domain field

2015-07-25 Thread Hanjun Guo
On 07/23/2015 05:26 PM, Marc Zyngier wrote: In order to be able to populate the device msi_domain field, add the necessary hooks to propagate the host bridge msi_domain across secondary busses to devices. So far, nobody populates the initial msi_domain. Signed-off-by: Marc Zyngier --- driver

Re: [PATCH v5 07/19] PCI/MSI: Let pci_msi_get_domain use struct device's msi_domain

2015-07-25 Thread Hanjun Guo
On 07/23/2015 05:26 PM, Marc Zyngier wrote: Now that we can easily find which MSI domain a PCI device is using, use dev_get_msi_domain as a way to retrieve the information. The original code is still used as a fallback. Signed-off-by: Marc Zyngier --- drivers/pci/msi.c | 14 --

Re: [PATCH v3 1/3] x86/ldt: Make modify_ldt synchronous

2015-07-25 Thread Borislav Petkov
On Fri, Jul 24, 2015 at 09:52:01PM -0700, Andy Lutomirski wrote: > I see your wide terminal and raise you a complete rewrite of that > function. Sigh, why did I assume the old code was the right way to do > it? That's a mostly wrong assumption, as experience proves. > Hah¸ we both missed it. Th

Re: [PATCH 1/3] x86/entry/64: Refactor IRQ stacks and make then NMI-safe

2015-07-25 Thread Borislav Petkov
On Fri, Jul 24, 2015 at 09:59:16PM -0700, Andy Lutomirski wrote: > And people will give me five new heads if I ignore Linus and do RET > even with IF=1, saving 300 cycles? As long as you don't make it too complex and corner-casy, I'll give you hats for those heads. -- Regards/Gruss, Boris.

Re: linux 4.2-rc1 broken Nokia N900

2015-07-25 Thread Pali Rohár
On Wednesday 22 July 2015 04:03:07 Sebastian Reichel wrote: > Hi, > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > This code has my head spinning. > > > > I found that the errors do not occur when the d

Re: [PATCH v4 1/3] x86/ldt: Make modify_ldt synchronous

2015-07-25 Thread Borislav Petkov
On Fri, Jul 24, 2015 at 10:36:44PM -0700, Andy Lutomirski wrote: > modify_ldt has questionable locking and does not synchronize > threads. Improve it: redesign the locking and synchronize all > threads' LDTs using an IPI on all modifications. > > This will dramatically slow down modify_ldt in mul

Re: [PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

2015-07-25 Thread Minfei Huang
Hi, Vivek. Since Dave acked this patch, Could you help to merge it? Thanks Minfei On 06/15/15 at 05:28pm, Dave Young wrote: > On 06/06/15 at 02:14pm, Minfei Huang wrote: > > From: Minfei Huang > > > > Transforming PFN(Page Frame Number) to struct page is never failure, so > > we can simplify t

Re: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-25 Thread Scott Shu
On Fri, 2015-07-24 at 07:50 +0200, Sascha Hauer wrote: > On Fri, Jul 24, 2015 at 10:02:03AM +0800, Scott Shu wrote: > > On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > > > Hi Scott, > > > > > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > > > This adds a CPU power domain

Re: [PATCH] e1000e: Move e1000e_disable_aspm_locked() inside CONFIG_PM

2015-07-25 Thread Michael Ellerman
On Thu, 2015-07-23 at 07:07 -0700, Jeff Kirsher wrote: > On Wed, 2015-07-22 at 11:41 +1000, Michael Ellerman wrote: > > On Wed, 2015-07-15 at 03:30 -0700, Jeff Kirsher wrote: > > > On Tue, 2015-07-14 at 13:54 +1000, Michael Ellerman wrote: > > > > e1000e_disable_aspm_locked() is only used in __e100

Re: [PATCH v4 2/3] x86/ldt: Make modify_ldt optional

2015-07-25 Thread Borislav Petkov
On Fri, Jul 24, 2015 at 10:36:45PM -0700, Andy Lutomirski wrote: > The modify_ldt syscall exposes a large attack surface and is > unnecessary for modern userspace. Make it optional. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/Kconfig | 17 + > arch/x86/

AW: Aufmerksamkeit!

2015-07-25 Thread John Keenan Burgess
Haben Sie ein Darlehen / finanzielle Unterstützung brauchen? Wir bieten Finanzierung zu einem sehr niedrigen Zinssatz von 3%. Alle interessierten Bewerber sind uns per E-Mail für weitere Informationen kontaktieren. Verwaltung (c) 2015 -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] pinctrl: nomadik: split stn8815 UART0 pin groups

2015-07-25 Thread Linus Walleij
Split the UART pin groups so we can activate RX/TX, CTS/RTS and the modem pins (DCD, DSR, RI, DTR) as three different groups with function u0. Signed-off-by: Linus Walleij --- drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-)

Re: [PATCH] target: fix crash in cmd tracing when cmd didn't match a LUN

2015-07-25 Thread Nicholas A. Bellinger
On Sat, 2015-07-25 at 08:48 +0200, Christoph Hellwig wrote: > On Fri, Jul 24, 2015 at 01:32:14PM -0700, Nicholas A. Bellinger wrote: > > We've already been through this discussion a couple of years back when > > target_submit_cmd() first came into existence. > > > > The reason iscsi/iser-target co

Re: [PATCH v3 26/46] usb: gadget: pch_ud: add ep capabilities support

2015-07-25 Thread Robert Baldyga
Hi, On 07/20/2015 05:08 PM, Krzysztof Opasiak wrote: On 07/15/2015 08:32 AM, Robert Baldyga wrote: Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pch_udc.c | 14 -- 1 file changed, 12 insertions(+), 2 deletio

Re: [PATCH 1/1] serial: 8250_pci: add RS485 for F81504/508/512

2015-07-25 Thread Jakub Kiciński
On Fri, 24 Jul 2015 13:55:39 +0800, Peter Hung wrote: > Add RS485 control for Fintek F81504/508/512 > > F81504/508/512 can control their RTS with H/W mode. > PCI configuration space for each port is 0x40 + idx * 8 + 7. > > When it set with 0x01, it's configured with RS232 mode. > RTS is controlle

[PATCH 0/5] staging: lustre: cl_page.c: Fix one file coding sytle issue.

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Fix one file coding sytle issues. Include 3 warnings and 2 errors of coding sytle of cl_page.c. drivers/staging/lustre/lustre/obdclass/cl_page.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) -- 1.9.0 -- To unsubscribe from this list: send the

[PATCH 2/5] staging: lustre: Add one space after ',' in parameters list.

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Add one space after ',' in function call parameters list. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lus

[PATCH 1/5] staging: lustre: Add blank line after variable definition.

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Add blank line after local variable definition to make it clear for reading. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustr

[PATCH 3/5] staging: lustre: Remove unnecessary braces {}

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Remove unnecessary braces {} in single line statement code block. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/l

[PATCH 4/5] staging: lustre: Replace spaces at the start of a line

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Replace the spaces at the start of a line within tab. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lust

[PATCH 5/5] staging: lustre: Adjust code indent for macro.

2015-07-25 Thread Incarnation P. Lee
From: "Pan Li" Adjust code indent for macro, within tabs at the start and space in front of '\' for indent. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-25 Thread He Kuang
Hi, Alexei On 2015/7/24 12:16, He Kuang wrote: Hi, Alexei On 2015/7/24 11:20, Alexei Starovoitov wrote: On 7/23/15 1:49 PM, Alexei Starovoitov wrote: On 7/23/15 4:54 AM, He Kuang wrote: trimmed cc-list, since it's not related to kernel. Thank you for your guidence, and by referencing your

Re: [PATCH] jent: use safe format string parameters

2015-07-25 Thread Stephan Mueller
Am Freitag, 24. Juli 2015, 15:41:27 schrieb Kees Cook: Hi Kees, >Since the API for jent_panic() does not include format string parameters, >adjust the call to panic() to use a literal string to avoid any future >callers from leaking format strings into the panic message. > >Signed-off-by: Kees Co

[PATCH v3] hwmon: (nct7802) Add autopoint attributes

2015-07-25 Thread Constantine Shulyupin
Introduced REG_PWM, pwm[1..3]_auto_point[1..5]_temp, pwm[1..3]_auto_point[1..5]_pwm, nct7802_auto_point_attrs, nct7802_auto_point_group, updated nct7802_regmap_is_volatile --- Changed in v3: - removed nct7802_auto_point_is_visible - removed usage of sysfs_update_group - introduced REG_PWM - remov

Re: [PATCH 0/4] Add support for Hyperlinks and Markup on kernel-doc

2015-07-25 Thread Stephan Mueller
Am Donnerstag, 23. Juli 2015, 15:16:23 schrieb Danilo Cesar Lemes de Paula: Hi Danilo, >This series add supports for hyperlink cross-references on Docbooks and >an optional markup syntax for in-source Documentation. Can you please give an example what you mean with the latter? Thanks for updati

[PATCH] staging: octeon: add missing blank line after declarations

2015-07-25 Thread Kevin Darbyshire-Bryant
Fixes checkpatch.pl WARNING: Missing a blank line after delarations Signed-off-by: Kevin Darbyshire-Bryant --- drivers/staging/octeon/ethernet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index f9dba23..0718b35 10064

Nokia N900 - audio TPA6130A2 problems

2015-07-25 Thread Pali Rohár
Hello, sometimes after rebooting Nokia N900 initializing alsa audio fails. Here output from dmesg log when it happen: [6.925140] tpa6130a2 2-0060: Write failed [6.929534] tpa6130a2 2-0060: Failed to initialize chip [6.935272] tpa6130a2: probe of 2-0060 failed with error -121 [7.62

[ANNOUNCE] 4.1.3-rt3

2015-07-25 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.1.3-rt3 patch set. Changes since v4.1.3-rt2: - fix compile of locktorture. Patch by Wolfgang M. Reimer. - fix compile pid_namespace without lockdep on ARM. Patch by Grygorii Strashko - The annoying "cpufreq_stat_notifier_trans: No policy found" is

Free Gift

2015-07-25 Thread Maria-Elisabeth Schaeffler
I intend to give to you a portion of my Wealth as a free-will financial donation to you. Respond now to partake. Regards Maria-Elisabeth Schaeffler Email:charityinquiri...@qq.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [parport] BUG: unable to handle kernel paging request at 5f6f6969

2015-07-25 Thread Sudip Mukherjee
On Sat, Jul 25, 2015 at 05:47:42PM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > commit 23c405912b881e3ca516554efde852c2ad550b31 > Author:

Re: [PATCH] kthread: Export kthread functions

2015-07-25 Thread Richard Weinberger
On Sat, Jul 25, 2015 at 12:45 AM, David Kershner wrote: > The s-Par visornic driver, currently in staging, processes a queue > being serviced by the an s-Par service partition. We can get a message > that something has happened with the Service Partition, when that > happens, we must not access th

Re: [PATCH v2] cpufreq: Avoid attempts to create duplicate symbolic links

2015-07-25 Thread Viresh Kumar
On 25-07-15, 00:17, Rafael J. Wysocki wrote: > To avoid that warning, use the observation that cpufreq doesn't > need to care about CPUs that have never been online. I have concerns over the very philosophy behind the patch and so wanted to discuss more on that. It will be really confusing to hav

[PATCH 4/3] x86/ldt: allow to disable modify_ldt at runtime

2015-07-25 Thread Willy Tarreau
On Sat, Jul 25, 2015 at 09:50:52AM +0200, Willy Tarreau wrote: > On Fri, Jul 24, 2015 at 11:44:52PM -0700, Andy Lutomirski wrote: > > I'm all for it, but I think it should be hard-disablable in config, > > too, for the -tiny people. > > I totally agree. > > > If we add a runtime disable, let's do

Re: Nokia N900 - audio TPA6130A2 problems

2015-07-25 Thread Lars-Peter Clausen
On 07/25/2015 12:28 PM, Pali Rohár wrote: Hello, sometimes after rebooting Nokia N900 initializing alsa audio fails. Here output from dmesg log when it happen: [6.925140] tpa6130a2 2-0060: Write failed [6.929534] tpa6130a2 2-0060: Failed to initialize chip [6.935272] tpa6130a2: prob

RE: [PATCH v2] power: max17042_battery: add HEALTH and TEMP_* properties support

2015-07-25 Thread Pallala, Ramakrishna
Hi Krzysztof Kozlowski, >On Tue, Jun 23, 2015 at 09:58:41AM +0900, Krzysztof Kozlowski wrote: >> 2015-06-08 10:22 GMT+09:00 Krzysztof Kozlowski : >> > 2015-05-24 12:41 GMT+09:00 Ramakrishna Pallala >> > : >> >> This patch adds the support for following battery properties to > >> max17042 fuel ga

Re: [PATCH v2 06/13] irqchip: kill off set_irq_flags usage

2015-07-25 Thread Gregory CLEMENT
Hi Rob, On 12/07/2015 16:26, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID -> !IRQ_NOREQUEST >

Re: [PATCH RESEND] staging: rtl8188eu: don't duplicate ieee80211 WLAN_EID_* constants

2015-07-25 Thread Jakub Sitnicki
On Fri, Jul 24, 2015 at 10:39 PM CEST, Greg Kroah-Hartman wrote: > On Fri, Jul 24, 2015 at 05:12:38PM +0200, Jakub Sitnicki wrote: >> linux/ieee80211.h already defines constants for information element IDs. >> Include it where needed, resolve discrepancies in naming, and remove the >> duplicated

[PATCH] scripts/checkkconfigsymbols.py: support default statements

2015-07-25 Thread Valentin Rothberg
Until now, checkkonfigsymbols.py did not check default statements for references on missing Kconfig symbols (i.e., undefined Kconfig options). Hence, add support to parse and check the Kconfig default statement. Signed-off-by: Valentin Rothberg --- scripts/checkkconfigsymbols.py | 10 --

Re: [PATCH RESEND] staging: rtl8188eu: don't duplicate ieee80211 WLAN_EID_* constants

2015-07-25 Thread Dan Carpenter
On Sat, Jul 25, 2015 at 04:05:52PM +0200, Jakub Sitnicki wrote: > On Fri, Jul 24, 2015 at 10:39 PM CEST, Greg Kroah-Hartman > wrote: > > On Fri, Jul 24, 2015 at 05:12:38PM +0200, Jakub Sitnicki wrote: > >> linux/ieee80211.h already defines constants for information element IDs. > >> Include it wh

Re: [RFC PATCH 00/16] Signature verification of hibernate snapshot

2015-07-25 Thread joeyli
Hi Jiri, On Fri, Jul 24, 2015 at 07:08:18PM +0200, Jiri Kosina wrote: > On Thu, 16 Jul 2015, Lee, Chun-Yi wrote: > > > This patchset is the implementation of signature verification of hibernate > > snapshot image. The origin idea is from Jiri Kosina: Let EFI bootloader > > generate key-pair in UE

[PATCH] drivers/md/md.c: use kzalloc() when bitmap is disabled

2015-07-25 Thread Benjamin Randazzo
In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a mdu_bitmap_file_t called "file". 5769 file = kmalloc(sizeof(*file), GFP_NOIO); 5770 if (!file) 5771 return -ENOMEM; This structure is copied to user space at the end of the function. 5786 i

Re: [PATCH 1/3] nmi: create generic NMI backtrace implementation

2015-07-25 Thread Russell King - ARM Linux
On Thu, Jul 16, 2015 at 10:51:25AM +0100, Daniel Thompson wrote: > On 16/07/15 10:37, Russell King - ARM Linux wrote: > >That can be implemented in the arch raise() method if needed - most > >architectures shouldn't need it as if they are properly raising a NMI > >which is, by definition, deliverab

Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA

2015-07-25 Thread Gregory CLEMENT
Hi Boris, [...] > > In this version I dropped the DT changes, but you'll find them in my > cesa-v7 branch [1]. In this branch you'll find everything you need to > test on all Marvell platforms (including the old ones). > I'll post a series updating all the DTs once this driver has been merged. N

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-07-25 Thread Russell King - ARM Linux
On Fri, Jul 17, 2015 at 02:21:05PM -0700, Stephen Boyd wrote: > On 06/10/2015 04:11 PM, Stephen Boyd wrote: > >On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: > >>diff --git a/arch/arm/mach-shmobile/common.h > >>b/arch/arm/mach-shmobile/common.h > >>index 476092b86c6e..f2c4bf437ea7 100644

Re: [PATCH v2 0/4] Add standby support for the recent mvebu SoCs

2015-07-25 Thread Gregory CLEMENT
Hi, On 30/06/2015 19:18, Gregory CLEMENT wrote: > Hi, > > Until now only few mvebu v7 based board supported suspend to ram. This > suspend to ram mode was unusual because it involved shutting down the > SoC and relied on a PIC to wake up the system. > > However, most of the recent mvebu SoCs can

Re: [PATCH 3/4] power: Add Qualcomm SMBB driver

2015-07-25 Thread Sebastian Reichel
Hi, On Thu, Jun 18, 2015 at 02:13:44PM -0700, Bjorn Andersson wrote: > Add the Qualcomm Switch-Mode Battery Charger and Boost driver, found in > pm8941. The driver's sourcecode looks fine to me. I'm not convinced by all those new DT properties, though. I think "watermark" should be replaced with

Re: [PATCH v4 2/3] x86/ldt: Make modify_ldt optional

2015-07-25 Thread Andy Lutomirski
On Sat, Jul 25, 2015 at 2:15 AM, Borislav Petkov wrote: > On Fri, Jul 24, 2015 at 10:36:45PM -0700, Andy Lutomirski wrote: >> The modify_ldt syscall exposes a large attack surface and is >> unnecessary for modern userspace. Make it optional. >> >> Signed-off-by: Andy Lutomirski >> --- >> arch/x

Re: [PATCH 4/3] x86/ldt: allow to disable modify_ldt at runtime

2015-07-25 Thread Andy Lutomirski
On Sat, Jul 25, 2015 at 6:03 AM, Willy Tarreau wrote: > On Sat, Jul 25, 2015 at 09:50:52AM +0200, Willy Tarreau wrote: >> On Fri, Jul 24, 2015 at 11:44:52PM -0700, Andy Lutomirski wrote: >> > I'm all for it, but I think it should be hard-disablable in config, >> > too, for the -tiny people. >> >>

Re: [PATCH v2 3/3] i2c: i801: add support of Host Notify

2015-07-25 Thread Jean Delvare
Hi Benjamin, On Tue, 21 Jul 2015 17:24:55 -0400, Benjamin Tissoires wrote: > So please disregard this series, I will send a v4 hopefully soonish. >From v2 directly to v4? Did I miss something? -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-ker

From: Leslie Mcbride

2015-07-25 Thread Leslie Mcbride
Greetings http://7icdeportes.com/newspaper.php?sign=8c7t5e0efsf macck...@aol.com Leslie Mcbride Sent from my iPhone -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

Re: [PATCH v2 3/3] i2c: i801: add support of Host Notify

2015-07-25 Thread Benjamin Tissoires
On Sat, Jul 25, 2015 at 12:11 PM, Jean Delvare wrote: > Hi Benjamin, > > On Tue, 21 Jul 2015 17:24:55 -0400, Benjamin Tissoires wrote: >> So please disregard this series, I will send a v4 hopefully soonish. > > From v2 directly to v4? Did I miss something? I had to send a v3 to amend 1/3. Given t

[PATCH 1/2] staging: lustre: fixed comments without */ on a separate line

2015-07-25 Thread Mario Bambagini
this set of patches fixes several code style problems: -patch 1: comments without */ on a separate line -patch 2: lines with more than 80 chars This patch fixes 4 comments without */ on a new line Signed-off-by: Mario Bambagini --- drivers/staging/lustre/lustre/llite/llite_capa.c | 12 -

[PATCH 2/2] staging: lustre: fixed 80-char rule

2015-07-25 Thread Mario Bambagini
This patch fixes 2 lines longer than 80 chars The first one is a function whose argument has been moved to next line. The second one is a comment split on two lines The script checkpatch does not complain anymore Signed-off-by: Mario Bambagini --- drivers/staging/lustre/lustre/llite/llite_capa

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-25 Thread Vladimir Davydov
On Wed, Jul 22, 2015 at 07:23:53PM +0300, Vladimir Davydov wrote: > On Tue, Jul 21, 2015 at 04:34:02PM -0700, Andrew Morton wrote: > > On Sun, 19 Jul 2015 15:31:09 +0300 Vladimir Davydov > > wrote: > > > Documentation/vm/pagemap.txt | 22 ++- > > > > I think we'll need quite a lot mor

Re: [lkp] [sched/preempt] 103637a5b94: 12.4% fsmark.app_overhead, -1.4% fsmark.files_per_sec

2015-07-25 Thread Konstantin Khlebnikov
I guess that's because of cond_resched_lock() usage in nfs_scan_commit_list(). My patch fixes cond_resched_lock() which never worked since v3.13. On Sat, Jul 25, 2015 at 9:09 AM, kernel test robot wrote: > FYI, we noticed the below changes on > > git://internal_merge_and_test_tree > revert-10363

Re: [PATCH 4/3] x86/ldt: allow to disable modify_ldt at runtime

2015-07-25 Thread Willy Tarreau
On Sat, Jul 25, 2015 at 09:08:39AM -0700, Andy Lutomirski wrote: > There's one thing that I think is incomplete here. Currently, espfix > triggers if SS points to the LDT. It's possible for SS to point to > the LDT even with modify_ldt disabled, and there's a decent amount of > attack surface the

Re: [PATCH v4 2/3] x86/ldt: Make modify_ldt optional

2015-07-25 Thread Willy Tarreau
On Sat, Jul 25, 2015 at 09:03:54AM -0700, Andy Lutomirski wrote: > On Sat, Jul 25, 2015 at 2:15 AM, Borislav Petkov wrote: > > Is that "default y" going to turn into a "default n" after a grace > > period? > > Let's see how Willy's default-off sysctl plays out. In the long run, > maybe we'll hav

[PATCH] mtd: gpio-addr-flash: add missing iounmap in probe/remove

2015-07-25 Thread Alexey Khoroshilov
There is no iounmap(state->map.virt) in gpio_flash_remove() and in gpio_flash_probe() error handling code. By the way the patch adds checks for error code of ioremap() and mtd_device_parse_register(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilo

Re: [PATCH] Smack: replace capable() with ns_capable()

2015-07-25 Thread Casey Schaufler
On 7/24/2015 4:40 AM, Lukasz Pawelczyk wrote: > On pią, 2015-07-24 at 20:26 +0900, Sungbae Yoo wrote: >> If current task has capabilities, Smack operations (eg. Changing own >> smack >> label) should be available even inside of namespace. >> >> Signed-off-by: Sungbae Yoo For the reasons Lukasz o

  1   2   >