[PATCH v2 RESEND] block: discard bdi_unregister() in favour of bdi_destroy()

2015-05-18 Thread NeilBrown
bdi_unregister() now contains very little functionality. It contains a "WARN_ON" if bdi->dev is NULL. This warning is of no real consequence as bdi->dev isn't needed by anything else in the function, and it triggers if blk_cleanup_queue() -> bdi_destroy() is called before bdi_unregister,

Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

2015-05-18 Thread Kukjin Kim
On 05/18/15 10:47, Krzysztof Kozlowski wrote: > From: Krzysztof Kozlowski > > Enable support for Thermal Monitoring Unit present on Exynos SoCs. This > allows detection of overheat and handling this gracefully. > > Signed-off-by: Krzysztof Kozlowski Krzysztof, you want to use gmail account on

Re: [PATCH 11/11] i2c-core: Fix typo in comment

2015-05-18 Thread Sudip Mukherjee
On Tue, May 19, 2015 at 10:31:36AM +0530, Shailendra Verma wrote: > Hello Sudip, > > Those were my older patches in different module and I had posted them > already. Hi, You do not need to mention the count of your older patches here. When you mentioned 11/11, it meant your current submission is

Re: [PATCH 1/2] f2fs: support RENAME_WHITEOUT

2015-05-18 Thread Jaegeuk Kim
Hi Chao, On Mon, May 18, 2015 at 01:54:22PM +0800, Chao Yu wrote: > As the description of rename in manual, RENAME_WHITEOUT is a special operation > that only makes sense for overlay/union type filesystem. > > When performing rename with RENAME_WHITEOUT, dst will be replace with src, and >

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-18 Thread Herbert Xu
On Mon, May 18, 2015 at 10:46:56PM -0700, Jaegeuk Kim wrote: > This patch adds a parameter, gfp_t, for __crypto_alloc_tfm. > Now EXT4 and F2FS use the crypto engine to encrypt a page when writing it to > the > disk. > That happens during ->writepage and it needs to allocate memory with >

Re: [PATCH v2] Staging: comedi: fix line longer than 80 chars in cb_pcidas64.c

2015-05-18 Thread Sudip Mukherjee
On Mon, May 18, 2015 at 08:51:29PM +0200, Amaury Denoyelle wrote: > > Sudip Mukherjee wrote: > > > > > On Sun, May 17, 2015 at 04:47:23PM +0200, Amaury Denoyelle wrote: > Thanks for your review. I was aware of the coding style for multi-line > comments, but I chose to follow the same convention

[PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-18 Thread Jaegeuk Kim
This patch adds a parameter, gfp_t, for __crypto_alloc_tfm. Now EXT4 and F2FS use the crypto engine to encrypt a page when writing it to the disk. That happens during ->writepage and it needs to allocate memory with GFP_NOFS. Otherwise, in the f2fs case, kernel reports such the following warning.

Re: [PATCH] staging: rtl8192u: Modify if, else if conditions to remove unnecessary equality checks. This change was detected with the help of coccinelle tool.

2015-05-18 Thread Paul Gortmaker
[[PATCH] staging: rtl8192u: Modify if, else if conditions to remove unnecessary equality checks. This change was detected with the help of coccinelle tool.] On 18/05/2015 (Mon 16:00) Dhere, Chaitanya (C.) wrote: > Signed-off-by: Chaitanya Dhere > Reply-To: > > --- >

[PATCH] f2fs crypto: add rwsem to avoid data races

2015-05-18 Thread Jaegeuk Kim
Previoulsy, fi->i_crypt_info was not covered by any lock, resulting in memory leak. This patch adds a rwsem to avoid leaking objects on i_crypt_info. Signed-off-by: Jaegeuk Kim --- fs/f2fs/crypto_key.c | 29 ++--- fs/f2fs/f2fs.h | 1 + fs/f2fs/super.c | 1 +

Re: [PATCH v7 08/13] ARM: unify MMU/!MMU addruart calls

2015-05-18 Thread Shawn Guo
On Mon, May 18, 2015 at 05:36:43PM +0200, Thomas Gleixner wrote: > > > On Sun, 17 May 2015, Thomas Gleixner wrote: > > > On Sat, 16 May 2015, Russell King - ARM Linux wrote: > > > > > On Sat, May 16, 2015 at 11:44:20AM +0200, Stefan Agner wrote: > > > > Remove the needless differences between

Re: Userspace Block Device

2015-05-18 Thread Rob Landley
On Mon, May 18, 2015 at 2:01 PM, Bill Speirs wrote: > My goal is to provide Amazon S3 or Google Cloud Storage as a block > device. I would like to leverage the libraries that exist for both > systems by servicing requests via a user space program. > > I found 2 LKML threads that talk about a

Re: [PATCH 1/3 v3] Staging: rtl8192u: Simplify error check code at prism2_wep_init

2015-05-18 Thread Sudip Mukherjee
On Tue, May 19, 2015 at 01:32:22AM +0200, Pedro Marzo Perez wrote: > Merge two pr_debug lines with literal strings splitted across several lines > into one single line, simplifying prism2_wep_init error check code. I would have split this patch into three. 1) introduce pr_fmt and remove

Re: Patch "block: destroy bdi before blockdev is unregistered." has been added to the 4.0-stable tree

2015-05-18 Thread Christoph Hellwig
On Sat, May 16, 2015 at 11:39:45AM +1000, NeilBrown wrote: > http://lkml.kernel.org/r/<20150508150924.33c3bca8@notabene.brown> > > Unfortunately it isn't with Linus yet, or even in -next. Jens hasn't replied. It would help if you'd resend it as it's own patch, right now it's hidden deep inside

Re: [PATCH 1/2] rtc: mxc: add a second clock

2015-05-18 Thread Shawn Guo
On Sat, May 16, 2015 at 12:35:29AM +0200, Philippe Reynes wrote: > The mxc RTC needs two clocks, one for the input > reference, and one for the IP. But this driver > was only using one clock (for the reference). > This patch add the second clock (for the IP). > > Signed-off-by: Philippe Reynes >

[RFC/RFT 1/2] power_supply: Fix NULL pointer dereference during bq27x00_battery probe

2015-05-18 Thread Krzysztof Kozlowski
Power supply is often registered during probe of a driver. The power_supply_register() returns pointer to newly allocated structure as return value. However before returning the power_supply_register() calls back the get_property() method provided by the driver through uevent. In that time the

[RFC/RFT 2/2] power_supply: Fix possible NULL pointer dereference on early uevent

2015-05-18 Thread Krzysztof Kozlowski
Don't call the power_supply_changed() from power_supply_register() when parent is still probing because it may lead to accessing parent too early. In bq27x00_battery this caused NULL pointer exception because uevent of power_supply_changed called back the the get_property() method provided by the

[RFC/RFT 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-18 Thread Krzysztof Kozlowski
Hi, This is an idea to fix issue in bq27x00 driver (and probably in others) reported by H. Nikolaus Schaller [0]. The fixes are marked RFC/RFT because: 1. I do not have bq27x00-like device. I confirmed this and tested on modified drivers (max77693, ACPI AC). These drivers are not impacted

Re: [PATCH] usb: make module xhci_hcd removable

2015-05-18 Thread Bjørn Mork
Greg KH writes: > On Mon, May 18, 2015 at 08:53:10PM +0300, Arthur Demchenkov wrote: >> Fixed regression. After commit 29e409f the module xhci_hcd became >> non-removable. That behaviour is not expected and there're no notes >> about it in commit message. The module should be removable as it >>

Re: [PATCH 1/2] ARM: dts: Armadeus Systems APF6 family support (i.MX6)

2015-05-18 Thread Shawn Guo
On Fri, May 15, 2015 at 03:44:27PM +0200, Sébastien Szymanski wrote: > Add support to the Armadeus Systems APF6 Solo / Dual / Quad SoM and > the Armadeus Systems APF6Dev carrier board. > > For more details see: > http://www.armadeus.com/english/products-processor_boards-apf6.html >

Re: [PATCH] mm: nommu: convert kenter/kleave/kdebug macros to use pr_devel()

2015-05-18 Thread Leon Romanovsky
On Tue, May 19, 2015 at 1:27 AM, Andrew Morton wrote: > On Mon, 18 May 2015 21:42:06 +0300 Leon Romanovsky wrote: > >> kenter/kleave/kdebug are wrapper macros to print functions flow and debug >> information. This set was written before pr_devel() was introduced, so >> it was controlled by "#if

Re: [PATCH v4 4/9] hvc: Convert to using interrupts instead of opal events

2015-05-18 Thread Alistair Popple
On Tue, 19 May 2015 14:33:39 Michael Ellerman wrote: > On Fri, 2015-05-15 at 14:06 +1000, Alistair Popple wrote: > > Convert the opal hvc driver to use the new irqchip to register for > > opal events. As older firmware versions may not have device tree > > bindings for the interrupt parent we just

Re: [PATCH 1/1] [930672e8693a] Task 10 of the Eudyptula Challenge

2015-05-18 Thread Douglas Figueiredo
thanks for yours hints. 930672e8693a is my ID on the challenge, I will take care about this things in the future. 2015-05-19 2:03 GMT-03:00 Sudip Mukherjee : > On Tue, May 19, 2015 at 01:50:10AM -0300, Douglas Figueiredo wrote: >> From: douglasbsf >> >> Fixed Coding Style Problem in

[v6 4/4] x86/irq: Show statistics information for posted-interrupts

2015-05-18 Thread Feng Wu
Show the statistics information for notification event and wakeup event for posted-interrupt in /proc/interrupts. Signed-off-by: Feng Wu --- arch/x86/kernel/irq.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index

[v6 1/4] genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU

2015-05-18 Thread Feng Wu
From: Jiang Liu With Posted-Interrupts support in Intel CPU and IOMMU, an external interrupt from assigned-devices could be directly delivered to a virtual CPU in a virtual machine. Instead of hacking KVM and Intel IOMMU drivers, we propose a platform independent interface to target an interrupt

[v6 2/4] x86/irq: Implement irq_set_vcpu_affinity for pci_msi_ir_controller

2015-05-18 Thread Feng Wu
Implement irq_set_vcpu_affinity for pci_msi_ir_controller. Signed-off-by: Feng Wu Reviewed-by: Jiang Liu --- arch/x86/kernel/apic/msi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c index 58fde66..d2d95e2 100644 ---

[v6 3/4] x86/irq: Define a global vector for VT-d Posted-Interrupts

2015-05-18 Thread Feng Wu
Currently, we use a global vector as the Posted-Interrupts Notification Event for all the vCPUs in the system. We need to introduce another global vector for VT-d Posted-Interrtups, which will be used to wakeup the sleep vCPU when an external interrupt from a direct-assigned device happens for

[v6 0/4] prerequisite changes for VT-d posted-interrupts

2015-05-18 Thread Feng Wu
VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in non-root mode. You can find the VT-d Posted-Interrtups Spec. in

Re: [PATCH 1/1] [930672e8693a] Task 10 of the Eudyptula Challenge

2015-05-18 Thread Sudip Mukherjee
On Tue, May 19, 2015 at 01:50:10AM -0300, Douglas Figueiredo wrote: > From: douglasbsf > > Fixed Coding Style Problem in drivers/staging/wlan-ng/prism2fw.c 1) mention which coding style problem you fixed in the commit message. 2) no need to mention the challenge in the subject, the subject can

[EDT][PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer

2015-05-18 Thread Maninder Singh
EP-AA9D1F29B02341529D96C06444D8471D Hi, Subject: [PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer Signed-off-by: Maninder Singh Reviewed-By: Vaneet Narang --- drivers/dma/pl330.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

RE: [PATCH] regmap: add virtual PMIC IPC bus support

2015-05-18 Thread Zha, Qipeng
Hi >Why is this being added to the regmap core rather than being implemented >in using the reg_write() and reg_read() callbacks in the core driver for >the PMIC? Thanks. I don't receive this message before in eamil. Current regmap only support register access using several bus: i2c, spi, ac97

Re: [PATCH] vf610: dt: Nomenclature fixup for PTC12 pin used in RMII mode.

2015-05-18 Thread Shawn Guo
On Wed, May 13, 2015 at 11:11:38PM -0400, Cory Tusar wrote: > This commit includes a minor nomenclature fixup for boards based on the > Freescale VF610 SoC and which make use of the alternate "RMII1_RXD1" > functionality for pin PTC12. This brings the macro name in-line with > both the datasheet

[PATCH 1/1] [930672e8693a] Task 10 of the Eudyptula Challenge

2015-05-18 Thread Douglas Figueiredo
From: douglasbsf Fixed Coding Style Problem in drivers/staging/wlan-ng/prism2fw.c Signed-off-by: douglasbsf --- drivers/staging/wlan-ng/prism2fw.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c

Re: [PATCH 1/1 linux-next] omap_vout: use swap() in omapvid_init()

2015-05-18 Thread Vaibhav Hiremath
On Tuesday 19 May 2015 12:01 AM, Fabian Frederick wrote: On 18 May 2015 at 20:20 Vaibhav Hiremath wrote: On Monday 18 May 2015 11:24 PM, Fabian Frederick wrote: Use kernel.h macro definition. Signed-off-by: Fabian Frederick --- drivers/media/platform/omap/omap_vout.c | 10

Re: [PATCH 11/11] i2c-core: Fix typo in comment

2015-05-18 Thread Sudip Mukherjee
On Mon, May 18, 2015 at 10:24:01PM +0530, Shailendra Verma wrote: > this patch is 11/11 , but I can not see your remaining 1/11 to 10/11 patches. have you posted them yet? regards sudip > Signed-off-by: Shailendra Verma > --- -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCHv2 0/3] Find mirrored memory, use for boot time allocations

2015-05-18 Thread Tony Luck
On Mon, May 18, 2015 at 8:01 PM, Xishi Qiu wrote: > In part2, does it means the memory allocated from kernel should use mirrored > memory? Yes. I want to use mirrored memory for all (or as many as possible) kernel allocations. > I have heard of this feature(address range mirroring) before, and

Re: [FYI] tux3: Core changes

2015-05-18 Thread Daniel Phillips
On 05/17/2015 07:20 PM, Rik van Riel wrote: > On 05/17/2015 09:26 AM, Boaz Harrosh wrote: >> On 05/14/2015 03:59 PM, Rik van Riel wrote: >>> The issue is that things like ptrace, AIO, infiniband >>> RDMA, and other direct memory access subsystems can take >>> a reference to page A, which Tux3

Re: linux-next: Tree for May 18 (mm/memory-failure.c)

2015-05-18 Thread Randy Dunlap
On 05/18/15 19:49, Naoya Horiguchi wrote: > On Mon, May 18, 2015 at 08:20:07AM -0700, Randy Dunlap wrote: >> On 05/18/15 01:52, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20150515: >>> >> >> on i386: >> >> mm/built-in.o: In function `action_result': >>

Transakce /

2015-05-18 Thread Mssg
Mam vzajemne mit prospech podnik pro nas oba. pokud mate zajem, muzete mi dostat na e-mailovou adresu a podrobnosti vysvtlil po telefonu. E-mail: jg.c...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v4 4/9] hvc: Convert to using interrupts instead of opal events

2015-05-18 Thread Michael Ellerman
On Fri, 2015-05-15 at 14:06 +1000, Alistair Popple wrote: > Convert the opal hvc driver to use the new irqchip to register for > opal events. As older firmware versions may not have device tree > bindings for the interrupt parent we just use a hardcoded hwirq based > on the event number. This is

[PATCH next] MAINTAINERS: Update CAPABILITIES pattern

2015-05-18 Thread Joe Perches
commit 1ddd3b4e07a4 ("LSM: Remove unused capability.c") removed the file, remove the file pattern. Signed-off-by: Joe Perches cc: Casey Schaufler --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 78ea7b6..109637a 100644 --- a/MAINTAINERS +++

Re: [PATCH v3 06/11] scatterlist: support "page-less" (__pfn_t only) entries

2015-05-18 Thread Vinod Koul
On Wed, May 13, 2015 at 06:35:55PM +, Williams, Dan J wrote: > [ adding willy (yes, need to fix my scripts), and dmaengine folks] > > Jens, Christoph, > > I've rebased this patch series block/for-next. With commit 84be456f883c > "remove " I think we can take the next step of > removing all

Re: [PATCHv5 20/28] mm: differentiate page_mapped() from page_mapcount() for compound pages

2015-05-18 Thread Kirill A. Shutemov
On Mon, May 18, 2015 at 05:35:16PM +0200, Vlastimil Babka wrote: > On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote: > >Let's define page_mapped() to be true for compound pages if any > >sub-pages of the compound page is mapped (with PMD or PTE). > > > >On other hand page_mapcount() return

Re: Modifying sg_dma_len(sg)?

2015-05-18 Thread Vinod Koul
On Fri, May 15, 2015 at 03:46:27PM +0200, Geert Uytterhoeven wrote: am ccing LKML, perhaps this needs wider discussion.. > Several drivers reuse mapped scatterlists, and modify sg_dma_len(sg) to > match the actual number of bytes they want to transfer. > > Hence during driver shutdown,

Re: [PATCH v3] livepatch: Prevent to apply the patch once coming module notifier fails

2015-05-18 Thread Minfei Huang
On 05/18/15 at 05:35pm, Petr Mladek wrote: > On Mon 2015-05-18 21:00:57, Minfei Huang wrote: > > On 05/18/15 at 02:08pm, Petr Mladek wrote: > > > On Wed 2015-05-13 09:14:15, Josh Poimboeuf wrote: ...[snip]... > > > > The patch isn't necessarily dead, since it might also include previously > > > >

Re: [PATCHv5 19/28] mm: store mapcount for compound page separately

2015-05-18 Thread Kirill A. Shutemov
On Mon, May 18, 2015 at 04:32:22PM +0200, Vlastimil Babka wrote: > On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote: > >We're going to allow mapping of individual 4k pages of THP compound and > >we need a cheap way to find out how many time the compound page is > >mapped with PMD --

Re: [PATCH v5] procfs: Always expose /proc//map_files/ and make it readable

2015-05-18 Thread Joe Perches
On Mon, 2015-05-18 at 20:10 -0700, Calvin Owens wrote: > Currently, /proc//map_files/ is restricted to CAP_SYS_ADMIN, and > is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is > very useful for enumerating the files mapped into a process when the > more verbose information in

Re: [PATCH] ppc64 ftrace: mark data_access callees "notrace" (pt.1)

2015-05-18 Thread Michael Ellerman
On Mon, 2015-05-18 at 14:29 +0200, Jiri Kosina wrote: > yOn Sat, 16 May 2015, Torsten Duwe wrote: > > > > > There's got to be a better solution than this. > > > > > > Can you think of a better approach? > > > > Maybe a per thread variable to lock out a recursion into tracing? > > Thanks for your

[PATCH v5] procfs: Always expose /proc//map_files/ and make it readable

2015-05-18 Thread Calvin Owens
Currently, /proc//map_files/ is restricted to CAP_SYS_ADMIN, and is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is very useful for enumerating the files mapped into a process when the more verbose information in /proc//maps is not needed. It also allows access to file

Re: [RFC 4/7] ARM: dts: sun9i: Add PRCM device node for the A80 dtsi

2015-05-18 Thread Chen-Yu Tsai
On Sun, May 17, 2015 at 10:54 PM, Maxime Ripard wrote: > On Thu, May 14, 2015 at 02:10:08PM +0800, Chen-Yu Tsai wrote: >> The PRCM is a collection of clock controls, reset controls, and various >> power switches/gates. Some of these can be independently listed and >> supported, while a number of

Re: [PATCH] pci/hotplug: work-around for missing _RMV on HP ZBook G2

2015-05-18 Thread Jarod Wilson
On 5/18/2015 7:06 PM, Rafael J. Wysocki wrote: On Monday, May 18, 2015 04:45:28 PM Jarod Wilson wrote: ... On Thu, May 14, 2015 at 03:33:58PM -0400, Jarod Wilson wrote: The HP ZBook 15 and 17 Mobile Workstations, generation 2, up to and including at least BIOS revision 01.07, do not have an

Re: [PATCH 2/7] ARM: bcm2835: Add a Raspberry Pi-specific clock driver.

2015-05-18 Thread Baruch Siach
Hi Eric, On Mon, May 18, 2015 at 12:43:34PM -0700, Eric Anholt wrote: > +DEFINE_MUTEX(delayed_clock_init); Static? baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}ooO--U--Ooo{= -

Re: [PATCH v12 4/8] cgroup, block: implement task_get_css() and use it in bio_associate_current()

2015-05-18 Thread Aleksa Sarai
Hi Tejun, > Applied 1-4 but skipped bio_associate_current() changes from this > patch. I'll route that part through a different patchset. Do you want the updated versions of 6-8 of the patchset to be based on your tree's for-next? -- Aleksa Sarai (cyphar) www.cyphar.com -- To unsubscribe from

Re: [PATCHv2 0/3] Find mirrored memory, use for boot time allocations

2015-05-18 Thread Xishi Qiu
On 2015/5/9 0:44, Tony Luck wrote: > Some high end Intel Xeon systems report uncorrectable memory errors > as a recoverable machine check. Linux has included code for some time > to process these and just signal the affected processes (or even > recover completely if the error was in a read only

Re: linux-next: Tree for May 18 (mm/memory-failure.c)

2015-05-18 Thread Naoya Horiguchi
On Mon, May 18, 2015 at 08:20:07AM -0700, Randy Dunlap wrote: > On 05/18/15 01:52, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20150515: > > > > on i386: > > mm/built-in.o: In function `action_result': > memory-failure.c:(.text+0x344a5): undefined reference to >

Re: [linux-sunxi] [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management

2015-05-18 Thread Chen-Yu Tsai
On Sat, May 16, 2015 at 6:08 PM, Ian Campbell wrote: > On Thu, 2015-05-14 at 14:10 +0800, Chen-Yu Tsai wrote: >> This is my attempt to support SMP and CPU hot plugging on the Allwinner >> A80 SoC. The A80 is a big.Little processor with 2 clusters of 4x Cortex-A7 >> and 4x Cortex-A15 cores. > > I

Re: [PATCH 4/4] nohz: Set isolcpus when nohz_full is set

2015-05-18 Thread Mike Galbraith
On Mon, 2015-05-18 at 10:52 -0400, Rik van Riel wrote: > For real time KVM, it is desirable to run the VCPU threads on > isolated CPUs as real time tasks. > > Meanwhile, the emulator threads can run as normal tasks anywhere > on the system. > > This means the /machine cpuset, which all guests

Re: [PATCH net-next v4 2/2] net: Adding support for Cavium ThunderX network controller

2015-05-18 Thread Joe Perches
On Mon, 2015-05-18 at 18:59 -0700, Aleksey Makarov wrote: > From: Sunil Goutham trivial note, I didn't read the whole thing. > diff --git a/drivers/net/ethernet/cavium/thunder/nic.h > b/drivers/net/ethernet/cavium/thunder/nic.h [] > +/* Set Maximum frame size */ > +struct set_frs_msg { > +

Re: [PATCH] MODSIGN: Change default key details [ver #2]

2015-05-18 Thread Mimi Zohar
On Mon, 2015-05-18 at 12:13 +0100, David Woodhouse wrote: > On Mon, 2015-05-18 at 11:47 +0100, David Howells wrote: > > David Woodhouse wrote: > > You could make it so that the make process picks up .pem files and converts > > them to DER-encoded .x509 files. > > I don't actually care whether

Re: kvm: odd time values since "kvmclock: set scheduler clock stable"

2015-05-18 Thread Sasha Levin
On 05/18/2015 10:02 PM, Sasha Levin wrote: > On 05/18/2015 08:13 PM, Marcelo Tosatti wrote: >> GOn Mon, May 18, 2015 at 07:45:41PM -0400, Sasha Levin wrote: On 05/18/2015 06:39 PM, Marcelo Tosatti wrote: >> On Tue, May 12, 2015 at 07:17:24PM -0400, Sasha Levin wrote: Hi all,

Re: kvm: odd time values since "kvmclock: set scheduler clock stable"

2015-05-18 Thread Sasha Levin
On 05/18/2015 08:13 PM, Marcelo Tosatti wrote: > GOn Mon, May 18, 2015 at 07:45:41PM -0400, Sasha Levin wrote: >> > On 05/18/2015 06:39 PM, Marcelo Tosatti wrote: >>> > > On Tue, May 12, 2015 at 07:17:24PM -0400, Sasha Levin wrote: > >> Hi all, > >> > >> I'm seeing odd jump in time

Re: [PATCH v2] Documentation/arch: Add kernel feature descriptions and arch support status under Documentation/features/

2015-05-18 Thread Michael Ellerman
On Mon, 2015-05-18 at 10:54 +0200, Ingo Molnar wrote: > * Michael Ellerman wrote: > > > > > Yes it is. I have my own version I've cobbled together for > > > > powerpc, but this is much better. > > > > > > Please double check the PowerPC support matrix for correctness (if > > > you haven't

[PATCH net-next v4 1/2] pci: Add Cavium PCI vendor id

2015-05-18 Thread Aleksey Makarov
From: Sunil Goutham This vendor id will be used by network (vNIC), USB (xHCI), SATA (AHCI), GPIO, I2C, MMC and maybe other drivers for ThunderX SoC. Acked-by: Bjorn Helgaas Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2

[git pull] Please pull mpe/linux.git powerpc-4.1-4 tag

2015-05-18 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.1: The following changes since commit 030bbdbf4c833bc69f502eae58498bc5572db736: Linux 4.1-rc3 (2015-05-10 15:12:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git

[PATCH net-next v4 0/2] Adding support for Cavium ThunderX network controller

2015-05-18 Thread Aleksey Makarov
This patchset adds support for the Cavium ThunderX network controller. changes in v4: * the patch "pci: Add Cavium PCI vendor id" was attributed correctly * a note that Cavium id is used in many drivers was added * the license comments now match MODULE_LICENSE * a comment explaining usage of

RE: [v5 3/3] x86, irq: Define a global vector for VT-d Posted-Interrupts

2015-05-18 Thread Wu, Feng
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, May 18, 2015 10:18 PM > To: Wu, Feng > Cc: mi...@redhat.com; h...@zytor.com; linux-kernel@vger.kernel.org; > jiang@linux.intel.com > Subject: Re: [v5 3/3] x86, irq: Define a global vector for

[driver-core:driver-core-testing 4/10] drivers/base/dd.c:508:5: sparse: symbol '__device_attach' was not declared. Should it be static?

2015-05-18 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing head: 19e18c498dfe7d4812226efd91353a523cf28138 commit: 04bedc236d6b144e72310edff05fa7d502cec68a [4/10] driver-core: add asynchronous probing support for drivers reproduce: # apt-get install

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread yalin wang
2015-05-18 21:04 GMT+08:00 Anisse Astier : > On Mon, May 18, 2015 at 3:02 PM, Pavel Machek wrote: >> >> Ok. So there is class of errors where this helps, but you are not >> aware of any such errors in kernel, so you can't fix them... Right? > > Correct. > -- > To unsubscribe from this list: send

Re: [PATCH 3/4] modsign: Allow password to be specified for signing key

2015-05-18 Thread Mimi Zohar
On Fri, 2015-05-15 at 17:53 +0100, David Woodhouse wrote: > Signed-off-by: David Woodhouse > --- > Documentation/module-signing.txt | 2 ++ > Makefile | 1 + > init/Kconfig | 6 ++ > scripts/sign-file.c | 39

Re: [PATCH] Documentation: dt: mtd: replace "nor-jedec" binding with "jedec,spi-nor"

2015-05-18 Thread Brian Norris
Hi Geert, On Mon, May 18, 2015 at 08:51:46PM +0200, Geert Uytterhoeven wrote: > On Mon, May 18, 2015 at 8:34 PM, Brian Norris > wrote: > > On Mon, May 18, 2015 at 11:45:01AM +0100, Mark Rutland wrote: > >> On Fri, May 15, 2015 at 08:55:41PM +0100, Brian Norris wrote: > >> > It really helps if I

Re: [PATCH] phy: rcar-gen2: Add support for R-Car E2

2015-05-18 Thread Simon Horman
On Mon, May 18, 2015 at 11:44:50AM +0200, Geert Uytterhoeven wrote: > On Mon, May 18, 2015 at 11:33 AM, Yoshihiro Shimoda > wrote: > > This patch adds a compatible string to support for R-Car E2. > > > > Signed-off-by: Yoshihiro Shimoda > > Acked-by: Geert Uytterhoeven Acked-by: Simon Horman

Re: [PATCH 1/4] modsign: Abort modules_install when signing fails

2015-05-18 Thread Mimi Zohar
On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote: > Signed-off-by: David Woodhouse I assume the patch descriptions will be added before being upstreamed. > --- > scripts/Makefile.modinst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v12 5/8] cgroup: move enum cgroup_subsys_id definition

2015-05-18 Thread Aleksa Sarai
Hi Tejun, >> This is in preparation for implementing the pids cgroup subsystem. It is >> not a functional change and should not change any behavior. >> >> Signed-off-by: Aleksa Sarai > > I did a big reorg of cgroup.h and split of cgroup-defs.h from it and > this patch doesn't seem necessary

Re: [PATCH v12 7/8] cgroup: add a tset_get_css macro

2015-05-18 Thread Aleksa Sarai
Hi Tejun, >> +/** >> + * tset_get_css - obtain and get css for (tset, subsys_id) >> + * @tset: target taskset >> + * @subsys_id: target subsystem id >> + * >> + * Since all of the tasks in a taskset are guaranteed to have the same css, >> it's >> + * safe to grab the ref of just the first task's

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-05-18 Thread Dave Young
Hi, On 05/18/15 at 06:05pm, Li, ZhenHua wrote: > Hi Joerg, > > Testing from HP: passed. > Testing from He Baoquan(Redhat): passed > > The problem that dmar fault came again when running v10 with latest > kernel is fixed. > And I think there is no need to update the code to a new version now. >

[PATCH v3] serial: 8250_uniphier: add UniPhier serial driver

2015-05-18 Thread Masahiro Yamada
Add the driver for on-chip UART used on UniPhier SoCs. This hardware is similar to 8250 with a slightly different register mapping, so it should go into drivers/tty/serial/8250 directory. Signed-off-by: Masahiro Yamada --- Changes in v3: - Just add *_SHIFT macro for the special case Changes

Re: [PATCH 4/6] Watchdog: introdouce "pretimeout" into framework

2015-05-18 Thread Fu Wei
Hi Arnd, Guenter, yes, that is brilliant idea!! I will try to do so , that solve the compatibility problem , so I guess we can try this time :-) On 19 May 2015 at 04:14, Guenter Roeck wrote: > On Mon, May 18, 2015 at 10:03:52PM +0200, Arnd Bergmann wrote: >> On Monday 18 May 2015 10:23:30

[PATCH V4] arm64: dts: add APM Merlin Board device tree

2015-05-18 Thread Feng Kan
This patch adds the support for APM Merlin board. The Merlin board is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU, Ethernet, SATA and Serial. Signed-off-by: Feng Kan --- V4 Change: - Add ethernet V3 Change: - Add PCIe - Add merline to makefile in

Re: [PATCH v2 0/8] Asynchronous device/driver probing support

2015-05-18 Thread Greg Kroah-Hartman
On Mon, May 18, 2015 at 02:48:19PM -0700, Dmitry Torokhov wrote: > On Mon, Apr 06, 2015 at 07:45:30PM +0200, Greg Kroah-Hartman wrote: > > On Mon, Apr 06, 2015 at 09:22:51AM -0700, Dmitry Torokhov wrote: > > > On Tue, Mar 31, 2015 at 04:39:49PM -0400, Tejun Heo wrote: > > > > On Mon, Mar 30, 2015

[RFC v3 2/2] firmware: add firmware signature checking support

2015-05-18 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Systems that have module signing currently enabled may wish to extend vetting of firmware passed to the kernel as well. We can re-use most of the code for module signing for firmware signature verification and signing. This will also later enable re-use of this same

Re: Should we automatically generate a module signing key at all?

2015-05-18 Thread Andy Lutomirski
On 05/18/2015 09:20 AM, Linus Torvalds wrote: On Mon, May 18, 2015 at 9:04 AM, David Howells wrote: Should we instead provide a script: ./scripts/generate-key That generates a key if run and make it so that the build fails if you turn on module signing and there's no key. That

[RFC v3 1/2] firmware: generalize reading file contents as a helper

2015-05-18 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We'll want to reuse this same code later in order to read two separate types of file contents. Although we can simplify fw_read_file_contents() to do a direct return we leave a bit of boilerplate code to make the next changes easier to review. In this case we'll later

[RFC v3 0/2] firmware: add PKCS#7 firmware signature support

2015-05-18 Thread Luis R. Rodriguez
erged, you should use the fw-signing-v3-20150518 branch on this tree: https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux.git/ This is based on Linus' tree as base. Changes on this v3 since the last v2 series: * Updated to David's latest pkcs7 branch * Dropped patches based on the abo

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-18 Thread Ming Lei
On Tue, May 19, 2015 at 7:38 AM, santosh shilimkar wrote: > On 5/18/2015 4:25 PM, Ming Lei wrote: >> >> On Tue, May 19, 2015 at 7:13 AM, santosh shilimkar >> wrote: >>> >>> On 5/18/2015 11:07 AM, santosh shilimkar wrote: On 5/17/2015 6:26 PM, Ming Lei wrote: > > > Hi

Re: [PATCH v2 1/7] sched/deadline: fix try to pull pinned dl tasks in pull algorithm

2015-05-18 Thread Wanpeng Li
Ping Peterz for this patchset, :) On Wed, May 13, 2015 at 02:01:01PM +0800, Wanpeng Li wrote: >Function pick_next_earliest_dl_task is used to pick earliest and pushable >dl task from overloaded cpus in pull algorithm, however, it traverses >runqueue rbtree instead of pushable task rbtree which is

RE: [PATCH v2] radeon: Deinline indirect register accessor functions

2015-05-18 Thread Deucher, Alexander
> -Original Message- > From: Denys Vlasenko [mailto:vda.li...@googlemail.com] > Sent: Monday, May 18, 2015 6:50 PM > To: Koenig, Christian > Cc: Denys Vlasenko; Deucher, Alexander; Linux Kernel Mailing List > Subject: Re: [PATCH v2] radeon: Deinline indirect register accessor functions >

[PATCH V2] checkpatch: Make types found in a source file/patch local

2015-05-18 Thread Joe Perches
From: Alex Dowad checkpatch uses various cues in its input patches and files to discover the names of user-defined types and modifiers. It then uses that information when processing expressions to discover potential style issues. Unfortunately, in rare cases, this means that checkpatch may give

Re: [PATCH] regulator: max77686: fix gpio_enabled shift wrapping bug

2015-05-18 Thread Krzysztof Kozlowski
On 19.05.2015 02:01, Joe Perches wrote: > The code should handle more than 32 bits here because "id" > can be a value up to MAX77686_REGULATORS (currently 34). > > Convert the gpio_enabled type to DECLARE_BITMAP and use > test_bit/set_bit. > > Fixes: 3307e9025d29 ("regulator: max77686: Add GPIO

Re: kvm: odd time values since "kvmclock: set scheduler clock stable"

2015-05-18 Thread Marcelo Tosatti
GOn Mon, May 18, 2015 at 07:45:41PM -0400, Sasha Levin wrote: > On 05/18/2015 06:39 PM, Marcelo Tosatti wrote: > > On Tue, May 12, 2015 at 07:17:24PM -0400, Sasha Levin wrote: > >> Hi all, > >> > >> I'm seeing odd jump in time values during boot of a KVM guest: > >> > >> [...] > >> [0.00]

Re: [PATCH] PM / sleep: cancel the synchronous restriction of pm-trace

2015-05-18 Thread Rafael J. Wysocki
On Monday, May 18, 2015 02:33:36 PM Fu, Zhonghui wrote: > > Hi guys, > > Could you please come up with your comments about this patch? I sent one. Have you not received it? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list:

Re: [PATCH v1 03/12] crypto: qat - address recursive dependency when fw signing is enabled

2015-05-18 Thread Luis R. Rodriguez
"select FW_LOADER" all together, should > be fine. Well, that makes sense. I just dropped all "select FW_LOADER" entries on next-20150518, then I enabled everything with 'make allyesconfig' and then went into menuconfig to disable FW_LOADER. The build worked. Going to try a fe

mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-18 Thread Joe Perches
Hey David, Rusty, Quentin This commit: -- commit d945b697d0eea5a811ec299c5f1a25889bb0242b From: David Woodhouse Date: Tue, 16 Sep 2008 16:23:28 -0700 Subject: [PATCH] Automatic MODULE_ALIAS() for DMI match tables. This makes modpost handle MODULE_DEVICE_TABLE(dmi,

Re: [V4 PATCH 1/6] ACPI / scan: Parse _CCA and setup device coherency

2015-05-18 Thread Rafael J. Wysocki
On Monday, May 18, 2015 05:38:17 PM Suravee Suthikulanit wrote: > Hi Rafael, > > On 5/15/2015 6:53 PM, Rafael J. Wysocki wrote: > > On Friday, May 15, 2015 04:23:09 PM Suravee Suthikulpanit wrote: > >> [...] > >> diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c > >> index

[patch 6/6] x86, perf, cqm: Add storage for closid and cleanup struct intel_pqr_state

2015-05-18 Thread Thomas Gleixner
closid (CLass Of Service ID) is used for the Class based Cache Allocation Technology (CAT). Add explicit storage to the per cpu cache for it, so it can be used later with the CAT support (requires to move the per cpu data). While at it: - Rename the structure to intel_pqr_state which reflects

[patch 0/6] x86, perf, cqm: Cleanups and preparation for RDT/CAT

2015-05-18 Thread Thomas Gleixner
While reviewing the RDT/CAT patches I had to look into the perf CQM code. As usual when my review mood reaches the grumpiness level, I start to poke around in the code some more and find stuff which really sucks. Here is a step by step patch series, which cleans up and clarifies the code and

[patch 3/6] x86, perf, cqm: Remove pointless spinlock from state cache

2015-05-18 Thread Thomas Gleixner
struct intel_cqm_state is a strict per cpu cache of the rmid and the usage counter. It can never be modified from a remote cpu. The 3 functions which modify the content: start, stop and del (del maps to stop) are called from the perf core with interrupts disabled which is enough protection for

[patch 5/6] x86, perf, cqm: Remove useless wrapper function

2015-05-18 Thread Thomas Gleixner
intel_cqm_event_del is a 1:1 wrapper for intel_cqm_event_stop. Remove the useless gunk. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/perf_event_intel_cqm.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) Index: linux/arch/x86/kernel/cpu/perf_event_intel_cqm.c

[patch 1/6] x86, perf, cqm: Document PQR MSR abuse

2015-05-18 Thread Thomas Gleixner
The cqm code acts like it owns the PQR MSR completely. That's not true because only the lower 10 bits are used for CQM. The upper 32bits are used for CLass Of Service ID (closid). Document the abuse. Will be fixed in a later patch. Signed-off-by: Thomas Gleixner ---

Re: [PATCH 03/19] x86, mpx: use new tsk_get_xsave_addr()

2015-05-18 Thread Dave Hansen
On 05/18/2015 01:36 PM, Thomas Gleixner wrote: >> > #ifdef CONFIG_X86_INTEL_MPX >> > siginfo_t *mpx_generate_siginfo(struct pt_regs *regs, >> > - struct xsave_struct *xsave_buf); >> > -int mpx_handle_bd_fault(struct xsave_struct *xsave_buf); >> > +

[patch 4/6] x86, perf, cqm: Avoid pointless msr write

2015-05-18 Thread Thomas Gleixner
If the usage counter is non-zero there is no point to update the rmid in the PQR MSR. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/perf_event_intel_cqm.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Index: linux/arch/x86/kernel/cpu/perf_event_intel_cqm.c

[patch 2/6] x86, perf, cqm: Use proper data type

2015-05-18 Thread Thomas Gleixner
int is really not a proper data type for a MSR. Use u32 to make it clear that we are dealing with a 32bit unsigned hardware value. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/perf_event_intel_cqm.c |4 ++-- include/linux/perf_event.h |2 +- 2 files changed, 3

  1   2   3   4   5   6   7   8   9   10   >