[PATCH v7 17/23] powerpc/8xx: rewrite flush_instruction_cache() in C

2016-02-09 Thread Christophe Leroy
On PPC8xx, flushing instruction cache is performed by writing in register SPRN_IC_CST. This registers suffers CPU6 ERRATA. The patch rewrites the fonction in C so that CPU6 ERRATA will be handled transparently Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no ch

[PATCH v7 11/23] powerpc32: Remove useless/wrong MMU:setio progress message

2016-02-09 Thread Christophe Leroy
Commit 771168494719 ("[POWERPC] Remove unused machine call outs") removed the call to setup_io_mappings(), so remove the associated progress line message Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v7: no change arch/powerpc/mm/init_

[PATCH v7 12/23] powerpc32: remove ioremap_base

2016-02-09 Thread Christophe Leroy
ioremap_base is not initialised and is nowhere used so remove it Signed-off-by: Christophe Leroy --- v2: no change v3: fix comment as well v4: no change v5: no change v6: no change v7: no change arch/powerpc/include/asm/nohash/32/pgtable.h | 2 +- arch/powerpc/mm/mmu_decl.h |

[PATCH v7 09/23] powerpc/8xx: CONFIG_PIN_TLB unneeded for CONFIG_PPC_EARLY_DEBUG_CPM

2016-02-09 Thread Christophe Leroy
IMMR is now mapped by page tables so it is not anymore necessary to PIN TLBs Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v7: no change arch/powerpc/Kconfig.debug | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Kconfig

[PATCH v7 04/23] powerpc/8xx: move setup_initial_memory_limit() into 8xx_mmu.c

2016-02-09 Thread Christophe Leroy
Now we have a 8xx specific .c file for that so put it in there as other powerpc variants do Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v7: no change arch/powerpc/mm/8xx_mmu.c | 17 + arch/powerpc/mm/init_32.c | 19 --

[PATCH 1/1] debugfs: fix inode i_nlink references for automount dentry

2016-02-09 Thread Roman Pen
Directory inodes should start off with i_nlink == 2 (one extra ref for "." entry). debugfs_create_automount() increases neither the i_nlink reference for current inode nor for parent inode. On attempt to remove the automount dentry, kernel complains: [ 86.288070] WARNING: CPU: 1 PID: 3616 at

[PATCH v7 08/23] powerpc/8xx: Map IMMR area with 512k page at a fixed address

2016-02-09 Thread Christophe Leroy
Once the linear memory space has been mapped with 8Mb pages, as seen in the related commit, we get 11 millions DTLB missed during the reference 600s period. 77% of the misses are on user addresses and 23% are on kernel addresses (1 fourth for linear address space and 3 fourth for virtual address sp

[PATCH v7 05/23] powerpc32: Fix pte_offset_kernel() to return NULL for bad pages

2016-02-09 Thread Christophe Leroy
The fixmap related functions try to map kernel pages that are already mapped through Large TLBs. pte_offset_kernel() has to return NULL for LTLBs, otherwise the caller will try to access level 2 table which doesn't exist Signed-off-by: Christophe Leroy --- v3: new v4: no change v5: no change v6:

[PATCH v7 06/23] powerpc32: refactor x_mapped_by_bats() and x_mapped_by_tlbcam() together

2016-02-09 Thread Christophe Leroy
x_mapped_by_bats() and x_mapped_by_tlbcam() serve the same kind of purpose, and are never defined at the same time. So rename them x_block_mapped() and define them in the relevant places Signed-off-by: Christophe Leroy --- v2: no change v3: Functions are mutually exclusive so renamed iaw Scott co

[PATCH v7 03/23] powerpc: Update documentation for noltlbs kernel parameter

2016-02-09 Thread Christophe Leroy
Now the noltlbs kernel parameter is also applicable to PPC8xx Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v7: no change Documentation/kernel-parameters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documenta

[PATCH v7 02/23] powerpc/8xx: Map linear kernel RAM with 8M pages

2016-02-09 Thread Christophe Leroy
On a live running system (VoIP gateway for Air Trafic Control), over a 10 minutes period (with 277s idle), we get 87 millions DTLB misses and approximatly 35 secondes are spent in DTLB handler. This represents 5.8% of the overall time and even 10.8% of the non-idle time. Among those 87 millions DTL

[PATCH v7 00/23] powerpc/8xx: Use large pages for RAM and IMMR and other improvments

2016-02-09 Thread Christophe Leroy
The main purpose of this patchset is to dramatically reduce the time spent in DTLB miss handler. This is achieved by: 1/ Mapping RAM with 8M pages 2/ Mapping IMMR with a fixed 512K page On a live running system (VoIP gateway for Air Trafic Control), over a 10 minutes period (with 277s idle), we ge

Re: [RFC PATCH v4 2/6] module: preserve Elf information for livepatch modules

2016-02-09 Thread Jiri Kosina
On Tue, 9 Feb 2016, Petr Mladek wrote: > > +#ifdef CONFIG_KALLSYMS > > + /* Make symtab and strtab available prior to module init call */ > > + mod->num_symtab = mod->core_num_syms; > > + mod->symtab = mod->core_symtab; > > + mod->strtab = mod->core_strtab; > > +#endif > > This should be

Re: [RFC PATCH 1/3] debugfs: fix automount inode i_nlink references

2016-02-09 Thread Roman Peniaev
On Mon, Feb 8, 2016 at 5:35 PM, Greg Kroah-Hartman wrote: > On Mon, Feb 08, 2016 at 11:28:52AM +0100, Roman Peniaev wrote: >> On Mon, Feb 8, 2016 at 7:38 AM, Greg Kroah-Hartman >> wrote: >> > On Thu, Dec 10, 2015 at 01:47:12PM +0100, Roman Pen wrote: >> >> Directory inodes should start off with i

Re: [PATCH v3 0/6] CPUs capacity information for heterogeneous systems

2016-02-09 Thread Juri Lelli
Hi Steve, On 08/02/16 15:59, Steve Muckle wrote: > Hi Juri, > > On 02/03/2016 03:59 AM, Juri Lelli wrote: > > v1: DT + sysfs [1] > > > > v2: Dynamic profiling at boot [2] > > > > Third version of this patchset proposes what seems to be the solution we > > agreed > > upon (see [2] for referen

[PATCH V3 3/5] PCI: xilinx: Modifying AXI PCIe Host Bridge driver to work on both Zynq and Microblaze

2016-02-09 Thread Bharat Kumar Gogada
Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both Zynq and Microblaze Architectures. With these modifications drivers/pci/host/pcie-xilinx.c, will work on both Zynq and Microblaze Architectures. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Changes

[PATCH V3 1/5] PCI: xilinx: Removing xilinx_pcie_parse_and_add_res function

2016-02-09 Thread Bharat Kumar Gogada
Removing xilinx_pcie_parse_and_add_res function replacing with of_pci_get_host_bridge_resources API. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Changes: Removing xilinx_pcie_parse_and_add_res function and replacing it with of_pci_get_host_bridge_resources kernel A

Re: [PATCH 2/3] arm64: dts: add the Alpine v2 EVP

2016-02-09 Thread Marc Zyngier
On 09/02/16 10:13, Tsahee Zidenberg wrote: > On 9 February 2016 at 11:30, Marc Zyngier wrote: >> >> On 09/02/16 09:14, Tsahee Zidenberg wrote: >>> >>> >>> On 9 February 2016 at 11:09, Marc Zyngier >> > wrote: >>> >>> On 09/02/16 09:01, Antoine Tenart wrote: >>>

[PATCH V3 4/5] PCI: xilinx: Updating Zynq PCI binding documentation with Microblaze node.

2016-02-09 Thread Bharat Kumar Gogada
Updated Zynq PCI binding documentation with Microblaze node. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri Acked-by: Rob Herring --- Changes: Adding Microblaze device tree node Documnetation. Made bus-range property optional for Microblaze. --- .../devicetree/bindings

[PATCH V3 5/5] Microblaze: Modifying microblaze PCI subsytem to support generic Xilinx AXI PCIe Host Bridge IP driver

2016-02-09 Thread Bharat Kumar Gogada
This patch does required modifications to microblaze PCI subsystem, to work with generic driver (drivers/pci/host/pcie-xilinx.c) on Microblaze and Zynq. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Changes: Removed pcibios_get_phb_of_node in pci-common.c, using gene

[PATCH V3 0/5] PCIe Xilinx generic driver for Microblaze and

2016-02-09 Thread Bharat Kumar Gogada
This patch series does modifications to pcie-xilinx.c, to support common driver on both Zynq and Microblaze architectures. Microblaze pci-common.c has been modified to support generic driver. Bharat Kumar Gogada (5): PCI: xilinx: Removing xilinx_pcie_parse_and_add_res function PCI: xilinx: Rem

Re: Freezing system after kernel 3.2

2016-02-09 Thread Karsten Malcher
Hello Ken, thank you for the answer! > On uncommon hardware, anything is possible. I don't actually know > if that hardware is "uncommon", only that I do not have it. Before i start to debug the kernel versions i tried to find other problem reportings for this mainboard. And i found them! http

Re: How to add additional blacklist entries?

2016-02-09 Thread David Howells
Mimi Zohar wrote: > > You can link from any key you have LINK permission on. Further, add_key() > > can add directly. > > Oh, for some reason I thought the system blacklist keyring was limited > to the new key type with just a description. I was able to add, but > also remove a key from the s

Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox

2016-02-09 Thread Julien Chauveau
Le 09/02/2016 04:08, Andreas Färber a écrit : Am 08.02.2016 um 03:17 schrieb Andreas Färber: Signed-off-by: Andreas Färber --- v2: New arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368

[PATCH V3 2/5] PCI: xilinx: Removing struct hw_pci structure.

2016-02-09 Thread Bharat Kumar Gogada
Removing struct hw_pci and adding generic PCI core API's. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Changes: Removing architecure dependecy structure struct hw_pci which is ARM 32-bit specific structure, and adding generic PCI core API's to register to PCI subsyt

Re: [PATCH v2 2/3] perf kvm: enable record|report feature on powerpc

2016-02-09 Thread Ravi Bangoria
Hi acme, On Tuesday 02 February 2016 02:36 PM, Ravi Bangoria wrote: HI acme, On Tuesday 02 February 2016 02:36 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jan 22, 2016 at 11:28:11AM +0530, Ravi Bangoria escreveu: +return event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; +} This hunk an

RE: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-09 Thread David Laight
From: George Spelvin [mailto:li...@horizon.com] > Sent: 08 February 2016 20:13 > David Laight wrote: > > I'd need convincing that unrolling the loop like that gives any significant > > gain. > > You have a dependency chain on the carry flag so have delays between the > > 'adcq' > > instructions (

Re: [PATCH v2 20/22] media: au0828 add enable, disable source handlers

2016-02-09 Thread Mauro Carvalho Chehab
Em Mon, 08 Feb 2016 15:42:15 -0700 Shuah Khan escreveu: > On 02/04/2016 03:26 AM, Mauro Carvalho Chehab wrote: > > Em Wed, 03 Feb 2016 21:03:52 -0700 > > Shuah Khan escreveu: > > > >> Add enable_source and disable_source handlers. > >> The enable source handler is called from > >> v4l2-core,

[PATCH RESEND 2/7] mfd: wm5102: Fix defaults array based on testing

2016-02-09 Thread Charles Keepax
My automated test is back and now can check defaults against the actual hardware. This patch updates the defaults array for the differences detected and removes a couple of completely unused registers. Signed-off-by: Charles Keepax --- drivers/mfd/wm5102-tables.c | 16 1 file ch

[PATCH RESEND 4/7] mfd: cs47l24: Fix defaults array based on testing

2016-02-09 Thread Charles Keepax
My automated test is back and now can check defaults against the actual hardware. This patch updates the defaults array for the differences detected and removes a couple of completely unused registers. Signed-off-by: Charles Keepax --- drivers/mfd/cs47l24-tables.c | 10 +- 1 file changed

[PATCH RESEND 1/7] mfd: wm5110: Fix defaults array based on testing

2016-02-09 Thread Charles Keepax
My automated test is back and now can check defaults against the actual hardware. This patch updates the defaults array for the differences detected and removes a couple of completely unused registers. Signed-off-by: Charles Keepax --- drivers/mfd/wm5110-tables.c | 82 ---

[PATCH RESEND 3/7] mfd: wm8998: Fix defaults array based on testing

2016-02-09 Thread Charles Keepax
My automated test is back and now can check defaults against the actual hardware. This patch updates the defaults array for the differences detected and removes a couple of completely unused registers. Signed-off-by: Charles Keepax --- drivers/mfd/wm8998-tables.c | 12 ++-- 1 file change

[PATCH RESEND 6/7] mfd: arizona: Update small typo in Arizona SPI Kconfig

2016-02-09 Thread Charles Keepax
The help text had a copy and paste error and refers to I2C in the SPI section. This patch corrects this typo. Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 9f012b7..d438a73

[PATCH RESEND 5/7] mfd: arizona: Remove duplicate select of MFD_CORE

2016-02-09 Thread Charles Keepax
MFD_ARIZONA_I2C and MFD_ARIZONA_SPI both select MFD_ARIZONA and all three of those select MFD_CORE, this makes the selects of MFD_CORE in MFD_ARIZONA_I2C and MFD_ARIZONA_SPI redundant, so we remove them. Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig | 2 -- 1 file changed, 2 deletions(-)

[PATCH 0/7] Minor Arizona MFD Cleanups

2016-02-09 Thread Charles Keepax
Hi, This series fixes up a bunch of register defaults in the Arizona devices and sorts a few Kconfig options. Thanks, Charles Charles Keepax (7): mfd: wm5110: Fix defaults array based on testing mfd: wm5102: Fix defaults array based on testing mfd: wm8998: Fix defaults array based on testi

Re: [PATCH] x86/kernel: use pr_() and dev_

2016-02-09 Thread Thomas Gleixner
On Tue, 9 Feb 2016, Ingo Molnar wrote: > > * Chen Yucong wrote: > > > arch/x86/kernel/* use a mixture of printk(KERN_ ) and pr_(). > > This patch converts the bulk of printk(KERN_ ) to pr_() and > > uses dev_dbg() instead of the dev_printk(KERN_DEBUG,). All pr_warning() > > calls have been repla

[PATCH RESEND 7/7] mfd: arizona: Allow building Arizona MFD as a module

2016-02-09 Thread Charles Keepax
There is nothing that prevents us building the Arizona MFD as a module, this patch enables this. Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig| 2 +- drivers/mfd/Makefile | 18 +- drivers/mfd/arizona-core.c | 4 3 files changed, 14 insertions(+), 10 d

Re: [PATCH v2 4/5] mm, kswapd: replace kswapd compaction with waking up kcompactd

2016-02-09 Thread Vlastimil Babka
On 02/08/2016 11:58 PM, Andrew Morton wrote: >> >> For testing, I used stress-highalloc configured to do order-9 allocations >> with >> GFP_NOWAIT|__GFP_HIGH|__GFP_COMP, so they relied just on kswapd/kcompactd >> reclaim/compaction (the interfering kernel builds in phases 1 and 2 work as >> usual)

Re: [PATCH net v3 2/4] net: add rx_nohandler stat counter

2016-02-09 Thread Jamal Hadi Salim
On 16-02-09 03:40 AM, David Miller wrote: From: Eric Dumazet Date: Mon, 08 Feb 2016 14:57:40 -0800 Whole point of TLV is that it allows us to add new fields at the end of the structures. ... Look at iproute2, you were the one adding in 2004 code to cope with various tcp_info sizes. So 12

[PATCH v2] RTC/PCF85063: fix reading/setting time/date

2016-02-09 Thread Juergen Borleis
The PCF85063 RTC needs special treatment while setting or reading the time/date: - when reading the 7 time/date registers they are blocked from updating by the 'one second' pulse internally. So reading all time/date registers should happen in one turn to ensure reading is an atomic operatio

[PATCH v2 1/3] RTC/PCF85063: simplify code to read the current time

2016-02-09 Thread Juergen Borleis
By using i2c_smbus_read_i2c_block_data() the code is now much simpler. While at it: when reading the RTC's seconds register, all time/date registers are frozen until the RTC's year register is read. So it is important to read all time/date registers in one turn to not lose a second event. Make it

[PATCH v2 3/3] RTC/PCF85063: fix time/date setting

2016-02-09 Thread Juergen Borleis
When setting a new time/date the RTC's clock must be stopped first, in order to write the time/date registers in an atomic manner. So, this change stops the clock first and then writes the time/date registers and the clock control register (to re-enable the clock) in one turn. Signed-off-by: Juerg

[PATCH v2 2/3] RTC/PCF85063: fix time/date reading

2016-02-09 Thread Juergen Borleis
Check if the RTC signals an invalid time/date (due to a battery power loss for example). In this case ignore the time/date until it is really set again. Signed-off-by: Juergen Borleis --- drivers/rtc/rtc-pcf85063.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/rtc/rtc-pcf850

Re: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree

2016-02-09 Thread Ingo Molnar
* Andrey Ryabinin wrote: > On 02/04/2016 12:44 AM, Andrew Morton wrote: > > > > Probably lockdep_init() and lockdep_initialized can be done away with now. > > > > Yup, it probably should be folded into your patch, or we could hold this off > for 4.6. > > > From: Andrey Ryabinin

Re: [PATCH v2] ARM: DRA7: hwmod: Fix OCP2SCP sysconfig

2016-02-09 Thread Kishon Vijay Abraham I
Hi, On Tuesday 09 February 2016 02:48 PM, Paul Walmsley wrote: > On Tue, 9 Feb 2016, Kishon Vijay Abraham I wrote: > >> OCP2SCP doesn't support smart idle wakeup according to >> Table 26-22. OCP2SCP_SYSCONFIG in AM572x TRM [1] and >> Table 26-22. OCP2SCP_SYSCONFIG in AM571x TRM [2]. >> Remove SID

Re: [PATCH 1/3] input: cygnus-update touchscreen dt node document

2016-02-09 Thread Arnd Bergmann
On Tuesday 09 February 2016 14:27:55 Raveendra Padasalagi wrote: > + > +One of the below 2 property is mandatory. > +- ts_syscon: handler of syscon node defining physical base address > + of the controller and length of memory mapped region. > + If this property is selected please make sure MFD_S

Re: Latent undefined behaviour in fs/ext4/mballoc.c (seen in v4.5-rc3)

2016-02-09 Thread Mark Rutland
On Mon, Feb 08, 2016 at 01:56:00PM -0700, Andreas Dilger wrote: > On Feb 8, 2016, at 7:45 AM, Mark Rutland wrote: > > > > Hi, > > > > While trying UBSAN on arm64, I hit a couple of splats at boot in the > > ext4 mballoc code [1] (duplicated below), on v4.5-rc3. In both cases a > > dynamically-co

[PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Robin Murphy
The existing msi-map code is fine for shifting the entire RID space upwards, but attempting finer-grained remapping reveals a bug. It turns out that we are mistakenly treating the msi-base part as an offset, not as a new base to remap onto, so things get squiffy when rid-base is nonzero. Fix this,

Re: [PATCH v2 1/2] usb: musb: Fix DMA for host mode

2016-02-09 Thread Sergei Shtylyov
On 2/9/2016 1:15 AM, Joshua Henderson wrote: From: Cristian Birsan Commit ac33cdb16681 ("usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part5") introduces a problem setting DMA host mode. This commit fixes the done condition that advances the musb schedule. Without this patch the th

[PATCH] rtc: mt6397: Add platform device ID table

2016-02-09 Thread Javier Martinez Canillas
The platform bus_type .match callback attempts to match the platform device name with an entry on the .id_table if provided and fallbacks to match with the driver's name if a table is not provided. Using a platform device ID to match is more explicit, allows the driver to support more than one dev

[PATCH] mfd: mt6397: Add platform device ID table

2016-02-09 Thread Javier Martinez Canillas
The platform bus_type .match callback attempts to match the platform device name with an entry on the .id_table if provided and fallbacks to match with the driver's name if a table is not provided. Using a platform device ID to match is more explicit, allows the driver to support more than one dev

Re: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree

2016-02-09 Thread Ingo Molnar
* Andrew Morton wrote: > > and it should happen in a well defined place, not be opportunistic (and > > relatively random) like this, making it dependent on config options and > > calling contexts. > > That's an unusable assertion, sorry. > > Initializing lockdep in the above manner guarantee

Re: [PATCH v2] x86/lib/copy_user_64.S: Handle 4-byte nocache copy

2016-02-09 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 11:27:41AM +0100, Ingo Molnar wrote: > So another pet peeve of mine is to not use numeric labels, please use > descriptively named labels instead. ... and prepend them with ".L" so that they become local labels. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Im

Re: [PATCH v2 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-09 Thread Sergei Shtylyov
Hello. On 2/9/2016 1:15 AM, Joshua Henderson wrote: From: Cristian Birsan Commit 754fe4a92c07 ("usb: musb: Remove ifdefs for TX DMA for musb_host.c") introduces a problem setting the desired channel mode for the Mentor DMA engine. There is a case where the pointer of the channel DMA mode is

[patch] [media] usb/cpia2_core: clean up a min_t() cast

2016-02-09 Thread Dan Carpenter
It makes sense to make the min_t() cast unsigned here since we don't really want negative sizes. Making it signed causes a static checker warning in Smatch. Smatch knows "fw->size - i" is positive but it doesn't know that fw->size is less than INT_MAX so in theory casting it to int might lead to

Re: [PATCH] ARM: ks8695: fix __initdata annotation

2016-02-09 Thread Arnd Bergmann
On Tuesday 09 February 2016 10:00:30 Uwe Kleine-König wrote: > > diff --git a/arch/arm/mach-ks8695/board-og.c > > b/arch/arm/mach-ks8695/board-og.c > > index 1f4f2f4f25bb..fa1a7c2ca2bb 100644 > > --- a/arch/arm/mach-ks8695/board-og.c > > +++ b/arch/arm/mach-ks8695/board-og.c > > @@ -80,7 +80,7 @@

[patch] dm: check for kmalloc failure in dm_init_request_based_blk_mq_queue()

2016-02-09 Thread Dan Carpenter
We can just return -ENOMEM if the kzalloc() fails. Fixes: 41b2facaf4ba ('dm: allocate blk_mq_tag_set rather than embed in mapped_device') Signed-off-by: Dan Carpenter diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 6b7e80e..1a5f879 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -273

Re: sound: spinlock lockup in snd_seq_oss_write

2016-02-09 Thread Takashi Iwai
On Thu, 04 Feb 2016 20:37:13 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program hangs machine: > https://gist.githubusercontent.com/dvyukov/1c9eeb67414a9e7c5e52/raw/127b660cd2efbce0e3d8a01862d38a2bc0a16bcb/gistfile1.txt > > > BUG: spinlock lockup suspected on CPU#2, a.out/7470 >

Re: [PATCH] ALSA: firewire-digi00x: Drop bogus const type qualifier on dot_scrt()

2016-02-09 Thread Takashi Iwai
On Sun, 07 Feb 2016 15:14:15 +0100, Geert Uytterhoeven wrote: > > sound/firewire/digi00x/amdtp-dot.c:67: warning: type qualifiers ignored on > function return type > > Drop the bogus "const" type qualifier on the return type of dot_scrt() > to fix this. > > Signed-off-by: Geert Uytterhoeven A

[PATCH] clk: fix __clk_init_parent() for single parent clocks

2016-02-09 Thread Masahiro Yamada
Before commit b3d192d5121f ("clk: simplify __clk_init_parent()"), __clk_init_parent() called .get_parent() only for multi-parent clocks. That commit changed the behavior to call .get_parent() if available even for single-parent clocks and root clocks. It turned out a problem because there are som

Re: [PATCH v4 01/17] Xen: ACPI: Hide UART used by Xen

2016-02-09 Thread Stefano Stabellini
On Mon, 8 Feb 2016, Rafael J. Wysocki wrote: > On Monday, February 08, 2016 10:57:01 AM Stefano Stabellini wrote: > > On Sat, 6 Feb 2016, Rafael J. Wysocki wrote: > > > On Fri, Feb 5, 2016 at 4:05 AM, Shannon Zhao > > > wrote: > > > > From: Shannon Zhao > > > > > > > > ACPI 6.0 introduces a new

Re: commit 5146e0b05963 is causing a kernel crash on SoCFPGA

2016-02-09 Thread Masahiro Yamada
2016-02-09 19:11 GMT+09:00 Dinh Nguyen : > Hi Masahiro, > > On 02/08/2016 10:00 PM, Masahiro Yamada wrote: >> Hi Dinh, >> >> Thanks for your report. >> >> >> 2016-02-09 11:35 GMT+09:00 Dinh Nguyen : >>> Hi Stephen, >>> >>> It appears that commit 5146e0b05966 "clk: simplify __clk_init_parent()" >>>

Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-09 Thread Marek Vasut
On Tuesday, February 09, 2016 at 09:13:53 AM, Antony Pavlov wrote: > This patch retrieves and configures the vbus control gpio via > the device tree. > > This patch is based on a ehci-s5p.c commit fd81d59c90d38661 > ("USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer"). > > Signed

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-02-09 Thread Ingo Molnar
* Will Deacon wrote: > On Wed, Feb 03, 2016 at 01:32:10PM +, Will Deacon wrote: > > On Wed, Feb 03, 2016 at 09:33:39AM +0100, Ingo Molnar wrote: > > > In fact I'd suggest to test this via a quick runtime hack like this in > > > rcupdate.h: > > > > > > extern int panic_timeout; > > > > >

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-09 Thread Julien Grall
On 08/02/16 18:30, Marc Zyngier wrote: Julien, Hi Marc, On 08/02/16 16:47, Julien Grall wrote: [...] +static void __init gic_of_setup_kvm_info(struct device_node *node) +{ + int ret; + struct resource r; + unsigned int irq; + + gic_v2_kvm_info.type = GIC_V2; + +

Re: [PATCH v2] x86/lib/copy_user_64.S: Handle 4-byte nocache copy

2016-02-09 Thread Ingo Molnar
* Borislav Petkov wrote: > On Tue, Feb 09, 2016 at 11:27:41AM +0100, Ingo Molnar wrote: > > So another pet peeve of mine is to not use numeric labels, please use > > descriptively named labels instead. > > ... and prepend them with ".L" so that they become local labels. Yes. A good example to

Re: [PATCH V4 1/6] regmap: irq: add apis to unmap the mapped irq

2016-02-09 Thread Mark Brown
On Tue, Feb 09, 2016 at 02:38:28PM +0530, Laxman Dewangan wrote: > On Tuesday 09 February 2016 10:46 AM, Laxman Dewangan wrote: > >Do we need to dispose all virtual irq in regmap_del_irq_chip() before > >actually removing domain? > >This means we need to store the created virq in regmap_irq_chip_

Re: [PATCH v4 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2016-02-09 Thread Daniel Kurtz
Hi Tiffany, On Thu, Feb 4, 2016 at 7:34 PM, Tiffany Lin wrote: > Add a DT binding documentation of Video Encoder for the > MT8173 SoC from Mediatek. > > Signed-off-by: Tiffany Lin > --- > .../devicetree/bindings/media/mediatek-vcodec.txt | 59 > > 1 file changed, 59 ins

[PATCH v2] auxdisplay: ht16k33: Driver for LED controller.

2016-02-09 Thread Robin van der Gracht
This is a driver for the Holtek HT16K33 LED controller with keyscan. Signed-off-by: Robin van der Gracht --- Changes in v2: - Fixed build error reported by kbuild test robot by including mm.h .../devicetree/bindings/display/ht16k33.txt| 42 ++ drivers/auxdisplay/Kconfig

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-09 Thread Marc Zyngier
On 09/02/16 11:23, Julien Grall wrote: > On 08/02/16 18:30, Marc Zyngier wrote: >> Julien, > > Hi Marc, > >> On 08/02/16 16:47, Julien Grall wrote: > > [...] > >>> +static void __init gic_of_setup_kvm_info(struct device_node *node) >>> +{ >>> + int ret; >>> + struct resource r; >>> + unsi

Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-09 Thread Mark Brown
On Tue, Feb 09, 2016 at 01:41:37PM +0800, Chen-Yu Tsai wrote: > On Tue, Feb 9, 2016 at 12:22 AM, Mark Brown wrote: > > The whole point with constraints is that they describe what is safe on a > > given board. This includes powering off unused regulators - it should > > be something that the syst

Re: [PATCH v3 3/3] portman2x4 - use new parport device model

2016-02-09 Thread Takashi Iwai
On Sun, 07 Feb 2016 15:49:34 +0100, Sudip Mukherjee wrote: > > On Saturday 06 February 2016 12:41 AM, Takashi Iwai wrote: > > On Fri, 05 Feb 2016 18:21:46 +0100, > > Sudip Mukherjee wrote: > >> > >> On Friday 05 February 2016 10:36 PM, Takashi Iwai wrote: > >>> On Fri, 05 Feb 2016 18:01:16 +0100,

Re: [PATCH V4 1/6] regmap: irq: add apis to unmap the mapped irq

2016-02-09 Thread Laxman Dewangan
On Tuesday 09 February 2016 04:57 PM, Mark Brown wrote: * PGP Signed by an unknown key On Tue, Feb 09, 2016 at 02:38:28PM +0530, Laxman Dewangan wrote: On Tuesday 09 February 2016 10:46 AM, Laxman Dewangan wrote: Do we need to dispose all virtual irq in regmap_del_irq_chip() before actually r

Re: [dm-devel] [patch] dm: check for kmalloc failure in dm_init_request_based_blk_mq_queue()

2016-02-09 Thread Johannes Thumshirn
On Tue, Feb 09, 2016 at 02:14:40PM +0300, Dan Carpenter wrote: > We can just return -ENOMEM if the kzalloc() fails. > > Fixes: 41b2facaf4ba ('dm: allocate blk_mq_tag_set rather than embed in > mapped_device') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/md/dm.c b/drivers/md/dm.c > in

Re: [PATCH] ARM: ks8695: fix __initdata annotation

2016-02-09 Thread Uwe Kleine-König
Hello Arnd, On Tue, Feb 09, 2016 at 12:14:15PM +0100, Arnd Bergmann wrote: > On Tuesday 09 February 2016 10:00:30 Uwe Kleine-König wrote: > > > diff --git a/arch/arm/mach-ks8695/board-og.c > > > b/arch/arm/mach-ks8695/board-og.c > > > index 1f4f2f4f25bb..fa1a7c2ca2bb 100644 > > > --- a/arch/arm/m

[PATCH] mmc: reduce nesting and join error strings into one line

2016-02-09 Thread Masahiro Yamada
No reason to use the double "if" nesting. This fix allows to move the nested block to the left and tidy up the error message without 80-col overflow. Signed-off-by: Masahiro Yamada --- drivers/mmc/core/mmc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/d

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-02-09 Thread Will Deacon
On Tue, Feb 09, 2016 at 12:23:58PM +0100, Ingo Molnar wrote: > * Will Deacon wrote: > > On Wed, Feb 03, 2016 at 01:32:10PM +, Will Deacon wrote: > > > On Wed, Feb 03, 2016 at 09:33:39AM +0100, Ingo Molnar wrote: > > > > In fact I'd suggest to test this via a quick runtime hack like this in >

Re: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915

2016-02-09 Thread Takashi Iwai
On Tue, 09 Feb 2016 07:34:48 +0100, Martin Kepplinger wrote: > > The following change: > > 788d441 ALSA: hda - Use component ops for i915 HDMI/DP audio jack handling > > breaks audio over HDMI on my snd_hda_intel laptop. It is the first bad > commit. > > This was merged for -rc1 and isn't fixed

Re: [PATCH 6/6] kconfig option for TRIM_UNUSED_EXPSYMS

2016-02-09 Thread Sam Ravnborg
> > so best via Sam's tree. That was some years ago ;-) Sam

[PATCH] ARM: DTS: am57xx-beagle-x15: Select SYS_CLK2 for audio clocks

2016-02-09 Thread Peter Ujfalusi
The tlv320aic3104 codec's master clock is coming from the SoC's CLKOUT2. Select the SYS_CLK2 (via divider) as parent clock for CLKOUT2 and select the same clock (SYS_CLK2) for McASP3 AHCLKX clock as well. SYS_CLK2 is sourced from an external oscillator running 22.5792MHz and it is coming in to the

Re: [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of generic-asm version

2016-02-09 Thread Maciej W. Rozycki
On Tue, 9 Feb 2016, Daniel Wagner wrote: > Also I looked at the cpp output and saw that there was no uapi/asm/auxvec.h > included instead it pulls arch/mips/include/generated/uapi/asm/auxvec.h Hmm, did you update your source in an old build tree and reuse it for a new build? The rule to make a

Re: [PATCH 2/3] arm64: dts: add the Alpine v2 EVP

2016-02-09 Thread Marc Zyngier
On 09/02/16 10:13, Tsahee Zidenberg wrote: > On 9 February 2016 at 11:30, Marc Zyngier wrote: >> >> On 09/02/16 09:14, Tsahee Zidenberg wrote: >>> >>> >>> On 9 February 2016 at 11:09, Marc Zyngier >> > wrote: >>> >>> On 09/02/16 09:01, Antoine Tenart wrote: >>>

Re: [PATCH v2] x86/setup: Merge {early_,}reserve_initrd() to one function

2016-02-09 Thread Alexander Kuleshov
Hello Ingo, On Tue, Feb 9, 2016 at 3:16 PM, Ingo Molnar wrote: > > So I don't think the code got easier to understand - in particular the > memblock_reserve()/free() pattern, depending on a flag value, is confusing. > > The duplication is there - but please factor it out into a helper structure >

[PATCH] perf python scripting: Append examples to err msg about audit-libs-python

2016-02-09 Thread Taeung Song
To print the syscall name, the audit-libs-python package should be required. If not installed, print the erron string e.g. # perf script syscall-counts Install the audit-libs-python package to get syscall names. But the package name is different in Ubuntu so append examples the erron stri

Re: [PATCH v2] x86/lib/copy_user_64.S: Handle 4-byte nocache copy

2016-02-09 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 12:27:32PM +0100, Ingo Molnar wrote: > Btw., IIRC GAS is being silly about .L, i.e. there's a difference between > these > two variants: > > .Lerror_entry_from_usermode_swapgs: > .L_error_entry_from_usermode_swapgs: > > the latter would be easier to read, but does not

Re: linux-next: Tree for Feb 9

2016-02-09 Thread Mark Rutland
Hi, On Tue, Feb 09, 2016 at 01:04:28PM +0530, Sudip Mukherjee wrote: > On Tue, Feb 09, 2016 at 04:41:04PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20160208: > > tilepro, tilegx, mips defconfig build fails with the error: > ../include/asm-generic/fixmap.h: In function '__s

Re: [PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-09 Thread Catalin Marinas
On Mon, Feb 08, 2016 at 04:24:03PM +, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 04:04:46PM +, Catalin Marinas wrote: > > On Wed, Feb 03, 2016 at 06:00:16PM +, Marc Zyngier wrote: > > > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > > > index 6f2f377..f9b6a5b 1006

[PATCH v8] SATA: OCTEON: support SATA on OCTEON platform

2016-02-09 Thread Zubair Lutfullah Kakakhel
From: Aleksey Makarov The OCTEON SATA controller is currently found on cn71XX devices. Cc: Arnd Bergmann Acked-by: Hans de Goede Acked-by: Rob Herring Signed-off-by: David Daney Signed-off-by: Vinita Gupta Signed-off-by: Aleksey Makarov Signed-off-by: Zubair Lutfullah Kakakhel --- Change

Re: [PATCH 2/2] add support for DWC UFS Host Controller

2016-02-09 Thread Akinobu Mita
Hi Joao, 2016-02-09 4:07 GMT+09:00 Joao Pinto : > diff --git a/drivers/scsi/ufs/ufshcd-dwc.c b/drivers/scsi/ufs/ufshcd-dwc.c > new file mode 100644 > index 000..b12b1a8 > --- /dev/null > +++ b/drivers/scsi/ufs/ufshcd-dwc.c > @@ -0,0 +1,768 @@ > +/* > + * UFS Host driver for Synopsys Designware

Re: [PATCH v3 2/4] x86/signal/64: Fix SS if needed when delivering a 64-bit signal

2016-02-09 Thread Borislav Petkov
On Mon, Jan 25, 2016 at 01:34:13PM -0800, Andy Lutomirski wrote: > Signals are always delivered to 64-bit tasks with CS set to a long > mode segment. In long mode, SS doesn't matter as long as it's a > present writable segment. > > If SS starts out invalid (this can happen if the signal was cause

Re: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Marc Zyngier
Hi Robin, On 09/02/16 11:04, Robin Murphy wrote: > The existing msi-map code is fine for shifting the entire RID space > upwards, but attempting finer-grained remapping reveals a bug. It turns > out that we are mistakenly treating the msi-base part as an offset, not > as a new base to remap onto,

Re: [PATCH v3 3/3] portman2x4 - use new parport device model

2016-02-09 Thread Sudip Mukherjee
On Tue, Feb 09, 2016 at 12:32:55PM +0100, Takashi Iwai wrote: > On Sun, 07 Feb 2016 15:49:34 +0100, > Sudip Mukherjee wrote: > > > > On Saturday 06 February 2016 12:41 AM, Takashi Iwai wrote: > > > On Fri, 05 Feb 2016 18:21:46 +0100, > > > Sudip Mukherjee wrote: > > >> > > >> On Friday 05 February

Re: [PATCH v2] x86/lib/copy_user_64.S: Handle 4-byte nocache copy

2016-02-09 Thread Ingo Molnar
* Borislav Petkov wrote: > On Tue, Feb 09, 2016 at 12:27:32PM +0100, Ingo Molnar wrote: > > Btw., IIRC GAS is being silly about .L, i.e. there's a difference between > > these > > two variants: > > > > .Lerror_entry_from_usermode_swapgs: > > .L_error_entry_from_usermode_swapgs: > > > > the

Re: [PATCH] tty: add Moxa Smartio MUE serial driver

2016-02-09 Thread Mathieu OTHACEHE
> I'm sorry, but it looks like 8250 based driver if I'm not mistaken. In > which case why not to use 8250_core.c / 8250_port.c and entire 8250/ > infrastructure? Well, the vendor is providing two drivers for his serial pci cards : mxser and mxupcie. The mxser driver has been cleaned up and integr

Re: [PATCH v2] x86/setup: Merge {early_,}reserve_initrd() to one function

2016-02-09 Thread Ingo Molnar
* Alexander Kuleshov wrote: > Hello Ingo, > > On Tue, Feb 9, 2016 at 3:16 PM, Ingo Molnar wrote: > > > > So I don't think the code got easier to understand - in particular the > > memblock_reserve()/free() pattern, depending on a flag value, is confusing. > > > > The duplication is there - but

[tip:perf/core] perf build tests: Move the feature related vars to the front of the make cmdline

2016-02-09 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3c7a152b0d1c81b9bac5ab922dc57168046668bf Gitweb: http://git.kernel.org/tip/3c7a152b0d1c81b9bac5ab922dc57168046668bf Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 3 Feb 2016 17:24:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 4 Feb 2016 11:27:51 -0300 perf

[tip:perf/core] perf config: Document variables for 'call-graph' section in man page

2016-02-09 Thread tip-bot for Taeung Song
Commit-ID: 56c94dc56f9e4c1c09fbe26ad65715caa2259438 Gitweb: http://git.kernel.org/tip/56c94dc56f9e4c1c09fbe26ad65715caa2259438 Author: Taeung Song AuthorDate: Thu, 4 Feb 2016 18:25:07 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 4 Feb 2016 11:37:32 -0300 perf config: Docu

[tip:perf/core] perf config: Document 'ui.show-headers' variable in man page

2016-02-09 Thread tip-bot for Taeung Song
Commit-ID: 67f43c009778ddaae812aae29731bb04c256165e Gitweb: http://git.kernel.org/tip/67f43c009778ddaae812aae29731bb04c256165e Author: Taeung Song AuthorDate: Thu, 4 Feb 2016 18:25:06 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 4 Feb 2016 11:36:13 -0300 perf config: Docu

[tip:perf/core] perf config: Document variables for 'report' section in man page

2016-02-09 Thread tip-bot for Taeung Song
Commit-ID: 806cb95bb6cb25105b37d971d9916105898cb6fe Gitweb: http://git.kernel.org/tip/806cb95bb6cb25105b37d971d9916105898cb6fe Author: Taeung Song AuthorDate: Thu, 4 Feb 2016 18:25:08 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 4 Feb 2016 11:44:25 -0300 perf config: Docu

[tip:perf/core] perf build tests: Elide "-f Makefile" from make invokation

2016-02-09 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5978531b296ab7e61abef43f2a1a2d9b92246de1 Gitweb: http://git.kernel.org/tip/5978531b296ab7e61abef43f2a1a2d9b92246de1 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 3 Feb 2016 17:16:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 4 Feb 2016 11:27:50 -0300 perf

<    1   2   3   4   5   6   7   8   9   10   >