[PATCH v11 0/8] Goodix touchscreen enhancements

2015-11-19 Thread Irina Tirdea
This patchset depends on Dmitry's patch that fixes the GPIO ACPI API[1], so devm_gpiod_get_optional can be properly used in the code. [1] https://lkml.org/lkml/2015/11/11/465 Changes in v11: - renamed irq-gpio and reset-gpio to irq-gpios and reset-gpios - added Rob's Acked-by for the binding

[PATCH v11 5/8] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-11-19 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Marc Gonzalez
On 19/11/2015 12:14, Thomas Gleixner wrote: > So yes, the alignment of the clocksource struct is not longer > relevant. The case where we access clocksource->max_cycles is when > CONFIG_DEBUG_TIMEKEEPING is enabled, which imposes worse performance > problems to timekeeping than the extra

[PATCH v11 8/8] Input: goodix - add runtime power management support

2015-11-19 Thread Irina Tirdea
Add support for runtime power management so that the device is turned off when not used (when the userspace holds no open handles of the input device). The device uses autosuspend with a default delay of 2 seconds, so the device will suspend if no handles to it are open for 2 seconds. The runtime

[PATCH v11 3/8] Input: goodix - write configuration data to device

2015-11-19 Thread Irina Tirdea
Goodix devices can be configured by writing custom data to the device at init. The configuration data is read with request_firmware from "goodix__cfg.bin", where is the product id read from the device (e.g.: goodix_911_cfg.bin for Goodix GT911, goodix_9271_cfg.bin for GT9271). The configuration

[PATCH v11 2/8] Input: goodix - reset device at init

2015-11-19 Thread Irina Tirdea
After power on, it is recommended that the driver resets the device. The reset procedure timing is described in the datasheet and is used at device init (before writing device configuration) and for power management. It is a sequence of setting the interrupt and reset pins high/low at specific

Re: [kbuild-all] [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-19 Thread Tetsuo Handa
Fengguang Wu wrote: > Hi David, > > On Wed, Nov 18, 2015 at 05:00:07PM -0800, David Rientjes wrote: > > On Thu, 19 Nov 2015, kbuild test robot wrote: > > > > > Hi David, > > > > > > [auto build test ERROR on: next-20151118] > > > [also build test ERROR on: v4.4-rc1] > > > > > > > You need to

Re: [PATCH] ARM: cache-uniphier: use common API to find the next level cache

2015-11-19 Thread Masahiro Yamada
It looks like no comment (no interest?) on this patch. If nobody is opposed to this patch, I will put it into Russell's patch tracker. 2015-11-11 20:47 GMT+09:00 Masahiro Yamada : > The function uniphier_cache_get_next_level_node() does the same thing > as of_find_next_cache_node(). Drop the

Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo

2015-11-19 Thread Will Deacon
On Wed, Nov 18, 2015 at 04:55:10PM -0500, Nicolas Pitre wrote: > On Wed, 18 Nov 2015, Will Deacon wrote: > > On Wed, Nov 18, 2015 at 10:15:05AM -0800, Yang Shi wrote: > > > +loops_per_jiffy / (50UL/HZ), > > > +loops_per_jiffy / (5000UL/HZ) % 100); > >

Re: [PATCH 4/3] perf tools: Add callchain order support for libdw DWARF unwinder

2015-11-19 Thread Wangnan (F)
On 2015/11/19 20:10, Wangnan (F) wrote: On 2015/11/19 19:22, Jiri Olsa wrote: On Tue, Nov 17, 2015 at 04:05:36PM +0100, Jiri Olsa wrote: [SNIP] In addition, just for your information, I find libdw can unwind call chain I described yesterday in [1]. Please forget it. The problem is

Re: [PATCH] mmc: sh_mmcif: rework dma channel handling

2015-11-19 Thread Arnd Bergmann
On Thursday 19 November 2015 13:00:48 Ulf Hansson wrote: > Thanks, applied for next! > > FYI: There were some check patch warnings, I decided to fix them > myself before applying. > Ok, thanks! Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

RE: [PATCH] bnx2x:Fix error handling and return statement in the function bnx2x_vf_init

2015-11-19 Thread Ariel Elior
> -Original Message- > From: Nicholas Krause [mailto:xerofo...@gmail.com] > Sent: Thursday, November 19, 2015 5:31 AM > To: Ariel Elior > Cc: netdev ; linux-kernel > > Subject: [PATCH] bnx2x:Fix error handling and return statement in the function > bnx2x_vf_init > > This fixes error

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-19 Thread Łukasz Stelmach
It was <2015-11-18 śro 06:25>, when Ismail Kizir wrote: > Hello, > > I've developed a new encryption algorithm, which dynamically changes > the key according to plaintext and practically impossible to break. [...] > I will be glad to see my algorithm included in Linux distributions. > Please feel

Re: [PATCH 4/3] perf tools: Add callchain order support for libdw DWARF unwinder

2015-11-19 Thread Wangnan (F)
On 2015/11/19 19:22, Jiri Olsa wrote: On Tue, Nov 17, 2015 at 04:05:36PM +0100, Jiri Olsa wrote: SNIP Tested on x86_64. The change is in generic code only, so it should not affect other archs. Still it would be nice to have some confirmation.. Wang Nan? ;-) It'd be nice to have this for

Re: [PATCH 0/3] Fix and cleanup for 32-bit PV sysexit

2015-11-19 Thread Borislav Petkov
On Wed, Nov 18, 2015 at 03:06:16PM -0500, Boris Ostrovsky wrote: > The first patch fixes Xen PV regression introduced by 32-bit rewrite. Unlike > the > earlier version it uses ALTERNATIVE instruction and avoids using xen_sysexit > (and sysret32 in compat mode) pv ops, as suggested by Andy. (I

[PATCH] scsi: hisi_sas: remove dependency on of_irq_count

2015-11-19 Thread John Garry
Originally the driver would use of_irq_count to calculate how much memory is required for storing the interrupt names, since the number of interrupt sources for the controller is variable. Since of_irq_count cannot be used by the driver, use fixed names. Signed-off-by: John Garry Signed-off-by:

Re: [PATCH V3 2/6] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-11-19 Thread Marc Zyngier
On Wed, 21 Oct 2015 11:47:25 -0700 Suravee Suthikulpanit wrote: Hi Suravee, Sorry it took so long to get to this series. Comments below. > This patch introduces pci_host_bridge_acpi_msi_domain(), which returns > the MSI domain of the specified PCI host bridge with DOMAIN_BUS_PCI_MSI > bus

Re: [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-11-19 Thread Borislav Petkov
On Wed, Nov 18, 2015 at 12:21:56PM -0800, Andy Lutomirski wrote: > Could we make this a little less subtle: > > ALTERNATIVE "testl %eax, %eax; lz .Lsyscall_32_done", "jmp > .Lsyscasll_32_done", X86_FEATURE_XENPV > > Borislav, what do you think? I don't mind either. I would've said your version

Re: [PATCH] KVM: x86: don't expose syscall/sysret to intel 32-bit guest

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 13:01, Wanpeng Li wrote: > > This is not correct. As far as I know, the SYSCALL bit is always > > present in CPUID, even if the machine is running in 32-bit mode; CPUID > > documentation (SDM Volume 2) explicitly documents bit 11 as "Bit 11: > > SYSCALL/SYSRET available in 64-bit

[RFC] blk-mq and I/O scheduling

2015-11-19 Thread Andreas Herrmann
Hi, I've looked into blk-mq and possible support for I/O scheduling. The reason for this is to minimize performance degradation with rotational devices when scsi_mod.use_blk_mq=1 is switched on. I think that the degradation is well reflected with fio measurements. With an increasing number of

Re: [PATCH] KVM: x86: don't expose syscall/sysret to intel 32-bit guest

2015-11-19 Thread Wanpeng Li
2015-11-19 19:05 GMT+08:00 Paolo Bonzini : > > > On 19/11/2015 11:45, Wanpeng li wrote: >> Intel cpu doesn't support syscall/sysret in non 64-bit mode which >> is different from AMD. Expose syscall/sysret to intel 32-bit guest >> just makes no sense and leads to #UD which will confuse the users.

Re: [PATCH] mmc: sh_mmcif: rework dma channel handling

2015-11-19 Thread Ulf Hansson
On 16 November 2015 at 17:08, Arnd Bergmann wrote: > When compiling the sh_mmcif driver for ARM64, we currently > get a harmless build warning: > > ../drivers/mmc/host/sh_mmcif.c: In function 'sh_mmcif_request_dma_one': > ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer

RE: [PATCH v10 2/8] Input: goodix - reset device at init

2015-11-19 Thread Tirdea, Irina
> -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 18 November, 2015 23:24 > To: Tirdea, Irina > Cc: Dmitry Torokhov; Bastien Nocera; Aleksei Mamlin; Karsten Merker; > linux-in...@vger.kernel.org; Mark Rutland; Purdila, Octavian; > linux-kernel@vger.kernel.org;

Re: [PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-19 Thread Thierry Reding
On Tue, Nov 17, 2015 at 11:55:53PM +0100, Enric Balletbo Serra wrote: > Hello Thierry, > > 2015-11-17 13:55 GMT+01:00 Thierry Reding : > > On Mon, Nov 16, 2015 at 05:28:24PM +0100, Enric Balletbo Serra wrote: > >> Hello Thierry, > >> > >> Many thanks for your comments. > >> > >> 2015-11-16 12:50

Re: [PATCH] mmc: pwrseq: constify mmc_pwrseq_ops structures

2015-11-19 Thread Ulf Hansson
On 14 November 2015 at 18:05, Julia Lawall wrote: > The mmc_pwrseq_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, applied for next! Kind regards Uffe > > --- > drivers/mmc/core/pwrseq.h|2

Re: perf BPF/elfdep intermitent build problems

2015-11-19 Thread Wangnan (F)
On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m make: Entering directory '/home/git/linux/tools/perf' BUILD: Doing 'make -j4'

[PATCH 3/3] null_blk: do not del gendisk with lightnvm

2015-11-19 Thread Matias Bjørling
The gendisk structure has not been initialized when using lightnvm. Make sure to not delete it upon exit. Also make sure that we use the appropriate disk_name at unregistration. Signed-off-by: Matias Bjørling --- drivers/block/null_blk.c | 8 +--- 1 file changed, 5 insertions(+), 3

[PATCH 2/3] null_blk: use device addressing mode

2015-11-19 Thread Matias Bjørling
The linear addressing mode was removed in 7386af2. Make null_blk instead expose the ppa format geometry and support the generic addressing mode. Signed-off-by: Matias Bjørling --- drivers/block/null_blk.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff

[PATCH 1/3] null_blk: use ppa_cache pool

2015-11-19 Thread Matias Bjørling
Instead of using a page pool, we can save memory by only allocating room for 64 entries for the ppa command. Introduce a ppa_cache to allocate only the required memory for the ppa list. Signed-off-by: Matias Bjørling --- drivers/block/null_blk.c | 26 -- 1 file changed,

[PATCH 0/3] null_blk patches for 4.4-rc2

2015-11-19 Thread Matias Bjørling
Hi Jens, Please take a look at these three patches for 4.4-rc2. The first patch uses a slab allocator for ppa list to only allocate the necessary memory. As the linear addressing mode was removed, the second patch changes the driver to use the ppa format adressing mode and at last, the third

Re: Asterisk deadlocks since Kernel 4.1

2015-11-19 Thread Stefan Priebe - Profihost AG
Am 19.11.2015 um 12:41 schrieb Hannes Frederic Sowa: > On Thu, Nov 19, 2015, at 10:56, Stefan Priebe - Profihost AG wrote: >> OK it had a livelock again. It just took more time. >> >> So here is the data: > > Thanks, I couldn't reproduce it so far with simple threaded resolver > loop on your

Re: Asterisk deadlocks since Kernel 4.1

2015-11-19 Thread Hannes Frederic Sowa
On Thu, Nov 19, 2015, at 10:56, Stefan Priebe - Profihost AG wrote: > OK it had a livelock again. It just took more time. > > So here is the data: Thanks, I couldn't reproduce it so far with simple threaded resolver loop on your kernel. :/ Your data is useless if you don't also provide the file

Re: [PATCH 2/9] mm: introduce fault_env

2015-11-19 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 01:25:29AM +0200, Kirill A. Shutemov wrote: > The idea borrowed from Peter's patch from patchset on speculative page > faults[1]: > > Instead of passing around the endless list of function arguments, > replace the lot with a single structure so we can change context >

Re: [PATCH] mmc: omap_hsmmc: No need to check DMA channel validity at module remove

2015-11-19 Thread Ulf Hansson
On 3 November 2015 at 12:37, Peter Ujfalusi wrote: > The driver will not probe without valid DMA channels so no need to check > if they are valid when the module is removed. > > Signed-off-by: Peter Ujfalusi > CC: Ulf Hansson Thanks, applied for next! Kind regards Uffe > --- >

Re: [kbuild-all] [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-19 Thread Fengguang Wu
Hi David, On Wed, Nov 18, 2015 at 05:00:07PM -0800, David Rientjes wrote: > On Thu, 19 Nov 2015, kbuild test robot wrote: > > > Hi David, > > > > [auto build test ERROR on: next-20151118] > > [also build test ERROR on: v4.4-rc1] > > > > You need to teach your bot what patches I'm proposing

Re: [PATCH 05/19] mmc: core/host: enable support for the standard "wakeup-source" property

2015-11-19 Thread Ulf Hansson
On 21 October 2015 at 12:10, Sudeep Holla wrote: > Though the mmc core driver should/will continue to support the legacy > "enable-sdio-wakeup" property to enable SDIO as the wakeup source, we > need to add support for the new standard property "wakeup-source". > > This patch adds support for

Re: [PATCH V2] mmc: change to use kmalloc

2015-11-19 Thread Ulf Hansson
On 12 November 2015 at 12:27, yalin wang wrote: > Use kmalloc instead of kzalloc, zero the memory is not needed. > > Signed-off-by: yalin wang Thanks, applied for next! I took liberty to update the change log and the commit message header to make it more descriptive. Kind regards Uffe > ---

Re: [PATCH] mmc: core: set regulator not found message as debug

2015-11-19 Thread Ulf Hansson
On 9 November 2015 at 15:03, Ludovic Desroches wrote: > Turn the informative message about no vmmc/vqmmc regulator found in > debug one. There is no need to indicate that something optional is > missing. Moreover, it can bring confusion, people who doesn't know > it is optional may consider these

Re: [PATCH v2] mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS

2015-11-19 Thread Ulf Hansson
On 10 November 2015 at 20:12, Adrien Schildknecht wrote: > Fault-injection capability for MMC IO uses debugfs entries to configure > the attributes. > FAULT_INJECTION_DEBUG_FS must be enabled to use FAIL_MMC_REQUEST. > > Replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS. > Also remove 'select

Re: [PATCH v4] mmc: sdhci at91: add PM support

2015-11-19 Thread Ulf Hansson
On 11 November 2015 at 19:11, Ludovic Desroches wrote: > Add runtime PM support and use runtime_force_suspend|resume() for system > PM. > > Signed-off-by: Ludovic Desroches Thanks, applied for next! Kind regards Uffe > --- > > Changes: > - from v3: add error handling of runtime PM > - from

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-19 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 06:43:14PM +0800, Wangnan (F) wrote: > Also, why not fixing rsp in kernel if that instruction is a 'callq'? > For avoiding instruction decoding? Why would the kernel do that? It doesn't need this. Have userspace do it when trying to interpret the data. If

Re: [PATCH] include: asm-generic: page.h: Remove useless get_user_page and free_user_page

2015-11-19 Thread Arnd Bergmann
On Thursday 19 November 2015 03:40:25 Chen Gang wrote: > diff --git a/include/asm-generic/page.h b/include/asm-generic/page.h > index 37d1fe2..67cfb7d 100644 > --- a/include/asm-generic/page.h > +++ b/include/asm-generic/page.h > @@ -24,9 +24,6 @@ > > #ifndef __ASSEMBLY__ > > -#define

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-19 Thread Arnd Bergmann
On Thursday 19 November 2015 12:34:22 Peter Ujfalusi wrote: > > I think we can go with a single API, but I don't really like that: > dma_request_channel(dev, name, *mask, fn, fn_param); > > This would cover all current uses being legacy, DT/ACPI, compat, etc: > dma_request_channel(NULL, NULL, ,

[RFC PATCH 0/2] x86/fpu: Remove xstate_fault()

2015-11-19 Thread Borislav Petkov
From: Borislav Petkov Hi, so that xstate_fault() thing did cause trouble in the past, see 06c8173eb92b ("x86/fpu/xsaves: Fix improper uses of __ex_table") So lemme kill it. I had an earlier version of that patch, here's an updated one and split into two for better digestion. The guest

[RFC PATCH 1/2] x86/fpu: Add an XSTATE_OP macro

2015-11-19 Thread Borislav Petkov
From: Borislav Petkov Add an XSTATE_OP macro which contains the XSAVE* fault handling and replace all non-alternatives users of xstate_fault() with it. This fixes also the buglet in copy_xregs_to_user() and copy_user_to_xregs() where the inline asm didn't have @xstate as memory reference and

[RFC PATCH 2/2] x86/fpu: Get rid of xstate_fault()

2015-11-19 Thread Borislav Petkov
From: Borislav Petkov Add macros for the alternative XSAVE*/XRSTOR* operations which contain the fault handling and use them. Kill xstate_fault(). Also, copy_xregs_to_kernel() didn't have the extended state as memory reference in the asm. Signed-off-by: Borislav Petkov ---

Re: [Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-19 Thread Benjamin Tissoires
On Nov 19 2015 or thereabouts, Jiri Kosina wrote: > On Thu, 12 Nov 2015, Simon Wood wrote: > > > Patch-V2 tweaked as per Benjamin's requests. > > Looking at the patches, I am happy with them, but still would like to have > Benjamin's Ack/Reviewed-by before merging them. > > Benjamin ... ?

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-19 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 11:23:00AM +0100, Ingo Molnar wrote: > PEBS is an asynchronous hardware tracing mechanism, when batched PEBS is used > it > might not even result in any interruption of execution. The 'pt_regs' does > not > necessarily correspond to an interrupted, restartable context -

Re: [PATCH 6/6] Documentation/x86: Update EFI memory region description

2015-11-19 Thread Matt Fleming
On Wed, 18 Nov, at 09:18:59AM, Ingo Molnar wrote: > > Ah yes - but then the text is misleading, what does 'in the virtual range of > 64Gb' > mean? A virtual memory range is a specific range of addresses - like in the > table > you extended. > > A better phrasing would be something like: > >

[PATCH 4/3] perf tools: Add callchain order support for libdw DWARF unwinder

2015-11-19 Thread Jiri Olsa
On Tue, Nov 17, 2015 at 04:05:36PM +0100, Jiri Olsa wrote: SNIP > Tested on x86_64. The change is in generic code only, > so it should not affect other archs. Still it would be > nice to have some confirmation.. Wang Nan? ;-) > > It'd be nice to have this for libdw unwind as well, > but it

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 11:55:46AM +0100, Marc Gonzalez wrote: > If you just object to the ifdef, then perhaps 'reg' can be included > unconditionally. > > diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h > index 278dd279a7a8..50725fd23ab0 100644 > ---

Re: [PATCH 2/2] mmc: sdhci-esdhc-imx: correct the tuning-step setting

2015-11-19 Thread Ulf Hansson
On 10 November 2015 at 10:43, Haibo Chen wrote: > Here we use '|=' to set the tuning-step, but before that, we should > clear the tuning-step, otherwise we could got the wrong setting. > > Signed-off-by: Haibo Chen > --- > drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-- > 1 file changed, 5

Re: [Patch-V2 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-19 Thread Benjamin Tissoires
On Nov 12 2015 or thereabouts, Simon Wood wrote: > This patch adds basic support for the Logitech G920 wheel when in HID > mode. This wheel 'speaks' the HID++ protocol, and therefor is driven > with hid-logitech-hidpp. > > At this stage the driver only shows that it can communicate with the >

Re: [PATCH 1/2] mmc: sdhci-esdhc-imx: move the setting of watermark level out of probe

2015-11-19 Thread Ulf Hansson
On 10 November 2015 at 10:43, Haibo Chen wrote: > Currently, we config the watermark_level register only in probe. > This will cause the mmc write operation timeout issue after system > resume back in LPSR mode. Because in LPSR mode, after system resume > back, the watermark_level register(0x44)

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-19 Thread Baolin Wang
On 19 November 2015 at 18:28, Peter Hurley wrote: > On 11/18/2015 09:35 PM, Baolin Wang wrote: >> On 18 November 2015 at 23:32, Peter Hurley wrote: >>> Hi Baolin, >>> >>> On 11/16/2015 02:05 AM, Baolin Wang wrote: It dose not work when we want to use the usb-to-serial port based on one

Re: [lkp] [x86, perf] 7aba70e47c: BUG: unable to handle kernel paging request at 696d2f62

2015-11-19 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 08:38:58AM +0800, Huang, Ying wrote: > Hi, Peter, > > Peter Zijlstra writes: > > > On Wed, Nov 18, 2015 at 02:33:00PM +0800, kernel test robot wrote: > >> FYI, we noticed the below changes on > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Thomas Gleixner
On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > On Thu, Nov 19, 2015 at 11:42:48AM +0100, Thomas Gleixner wrote: > > On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > > > The basic cause of this problem is the cacheline_aligned annotation > > > which effectively prevents wrapping

Re: [PATCH RESEND] USB: serial: cp210x: Add tx_empty()

2015-11-19 Thread Johan Hovold
On Wed, Nov 11, 2015 at 03:47:21PM -0600, Konstantin Shkolnyy wrote: Please make the commit message self-contained even if it means repeating what callback you're implementing here. > Without this function, when the port is closed the data in the chip's > transmit FIFO are lost. If the actual

Re: [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 09:40, Gerd Hoffmann wrote: >> > But this code should be >> > minor to be maintained in libvirt. > As far I know libvirt only needs to discover those devices. If they > look like sr/iov devices in sysfs this might work without any changes to > libvirt. I don't think they will

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 11:42:48AM +0100, Thomas Gleixner wrote: > On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > > The basic cause of this problem is the cacheline_aligned annotation > > which effectively prevents wrapping struct clocksource to provide > > implementation specific

RE: [tpmdd-devel] [PATCH 2/2] keys, trusted: seal with a policy

2015-11-19 Thread Fuchs, Andreas
> > From: Jarkko Sakkinen [jarkko.sakki...@linux.intel.com] > Sent: Tuesday, November 17, 2015 17:27 > > Support for sealing with a authorization policy. > > Two new options for trusted keys: > > * 'policydigest=': provide an auth policy digest for

Re: [PATCH 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-19 Thread Sylwester Nawrocki
On 19/11/15 10:16, Tomasz Figa wrote: > 2015-11-19 13:51 GMT+09:00 Krzysztof Kozlowski : >> > On 19.11.2015 13:18, Tomasz Figa wrote: >>> >> However, I don't think we can disable compilation of particular >>> >> 64-bit SoCs, so maybe there isn't much sense in splitting their >>> >> clock drivers

Re: [PATCH] KVM: x86: don't expose syscall/sysret to intel 32-bit guest

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 11:45, Wanpeng li wrote: > Intel cpu doesn't support syscall/sysret in non 64-bit mode which > is different from AMD. Expose syscall/sysret to intel 32-bit guest > just makes no sense and leads to #UD which will confuse the users. > > This patch disable expose syscall/sysret to

Re: [PATCH] misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes

2015-11-19 Thread Michael Hennerich
On 11/18/2015 05:16 PM, Dan Bogdan Nechita wrote: Currently writing the attributes with "echo" will result in comparing: "enabled\n" with "enabled\0" and attribute is always set to false. Use the sysfs_streq() instead because it treats both NUL and new-line-then-NUL as equivalent string

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Marc Gonzalez
On 19/11/2015 11:36, Russell King - ARM Linux wrote: > On Thu, Nov 19, 2015 at 11:33:47AM +0100, Thomas Gleixner wrote: >> Russell, >> >> On Wed, 18 Nov 2015, Russell King - ARM Linux wrote: >> >>> On Wed, Nov 18, 2015 at 02:43:34PM +0100, Marc Gonzalez wrote: Since 'struct clocksource' is

[PATCH] scripts: fix the sys path for gdb scripts

2015-11-19 Thread yalin wang
The sys.path should be scripts/gdb, so that we can import linux lib correctly. Signed-off-by: yalin wang --- scripts/gdb/vmlinux-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py index ce82bf5..5a45d1a 100644 ---

Re: [PATCH v8 1/4] dt-binding:Documents of the mbigen bindings

2015-11-19 Thread majun (F)
在 2015/11/19 1:50, Marc Zyngier 写道: > On 06/11/15 08:28, MaJun wrote: >> From: Ma Jun >> >> Add the mbigen msi interrupt controller bindings document. >> >> This patch based on Mark Rutland's patch >> https://lkml.org/lkml/2015/7/23/558 >> >> Signed-off-by: Ma Jun >> --- >>

Re: [PATCH v8 4/4] irqchip:implement the mbigen irq chip operation functions

2015-11-19 Thread majun (F)
Hi Marc: 在 2015/11/19 17:41, Marc Zyngier 写道: > On Fri, 6 Nov 2015 16:28:42 +0800 > MaJun wrote: > >> From: Ma Jun >> [...] >> struct mbigen_irq_data { >> void __iomem*base; >> +unsigned intpin_offset; >> unsigned intreg_vec; >> +unsigned

[PATCH 2/3] rtc: sunxi: constify the data_year_param structure

2015-11-19 Thread LABBE Corentin
The data_year_param struct is never modified, so lets constify it. This permit to remove cast since of_device_id is const also. Signed-off-by: LABBE Corentin --- drivers/rtc/rtc-sunxi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-sunxi.c

[PATCH 3/3] rtc: sunxi: use of_device_get_match_data

2015-11-19 Thread LABBE Corentin
The usage of of_device_get_match_data reduce the code size a bit. Signed-off-by: LABBE Corentin --- drivers/rtc/rtc-sunxi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-sunxi.c b/drivers/rtc/rtc-sunxi.c index 0c08a5b..abada60 100644 ---

[PATCH 1/3] rtc: sunxi: fix signedness issues

2015-11-19 Thread LABBE Corentin
The variable year must be set as unsigned since it is used with sunxi_rtc_data_year{.min|.max} and as parameter of is_leap_year() which wait for unsigned int. Only tm_year is not unsigned, but it is long. This patch fix also the format of printing of min/max. (must use %u since they are unsigned)

Re: [PATCH] mempolicy: convert the shared_policy lock to a rwlock

2015-11-19 Thread Vlastimil Babka
On 11/18/2015 09:05 PM, Nathan Zimmer wrote: On 11/18/2015 07:50 AM, Vlastimil Babka wrote: At first glance it seems that RCU would be a good fit here and achieve even better lookup scalability, have you considered it? Originally that was my plan but when I saw how good the results were

Re: [PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-19 Thread Dominik Dingel
On Thu, 19 Nov 2015 09:25:24 +0100 Christian Borntraeger wrote: > On 11/19/2015 09:18 AM, Martin Schwidefsky wrote: > > On Thu, 19 Nov 2015 00:49:58 +0100 > > Dominik Dingel wrote: > > > >> The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return > >> VM_FAULT_SIGBUS. So we improve the

[PATCH v2 1/3] dt-bindings: add document of mediatek efuse driver

2015-11-19 Thread Andrew-CT Chen
Add Mediatek MT8173 EFUSE Devicetree binding file Signed-off-by: Andrew-CT Chen --- .../devicetree/bindings/nvmem/mtk-efuse.txt| 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt diff --git

[PATCH v2 3/3] dts: arm64: Add EFUSE device node

2015-11-19 Thread Andrew-CT Chen
Add Mediatek MT8173 EFUSE device node Signed-off-by: Andrew-CT Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 4dd5f93..d67e23b 100644 ---

[PATCH v2 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-11-19 Thread Andrew-CT Chen
Add Mediatek EFUSE driver to access hardware data like thermal sensor calibration or HDMI impedance. Signed-off-by: Andrew-CT Chen --- drivers/nvmem/Kconfig | 11 ++ drivers/nvmem/Makefile| 2 ++ drivers/nvmem/mtk-efuse.c | 89 +++ 3

[PATCH v2 0/3] Mediatek EFUSE Support

2015-11-19 Thread Andrew-CT Chen
This patch adds EFUSE support driver which is used by other drivers like thermal sensor and HDMI impedance. There are some efuses these fuses store things like calibration data, speed bins.. etc. Drivers like thermal sensor, HDMI impedance would read out this data for configuring the driver.

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Thomas Gleixner
On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > The basic cause of this problem is the cacheline_aligned annotation > which effectively prevents wrapping struct clocksource to provide > implementation specific data. > > Maybe your idea is that struct clocksource should be bloated with

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-19 Thread Wangnan (F)
On 2015/11/19 18:23, Ingo Molnar wrote: * Wangnan (F) wrote: On 2015/11/19 14:37, Ingo Molnar wrote: * Wangnan (F) wrote: perf cmdline is # ./pref record -g -F 9 --call-graph dwarf ./test_dwarf_unwind Use default events, precise_ip == 2 so uses PEBS. Testetd 'cycles', 'cycles:p'

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 11:36:53AM +0100, Thomas Gleixner wrote: > On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > > Maybe the cacheline_aligned is inappropriate then, because it means > > any wrapping of struct clocksource has exactly the same problem. > > We could do that, but that

Re: Kernel panic - not syncing: Fatal exception in interrupt - mainline: 4.4-rc1

2015-11-19 Thread poma
Hi Fi please read comment https://bugzilla.redhat.com/show_bug.cgi?id=1282706#c2 -- 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/majordomo-info.html Please read the FAQ

Re: linux-next: build failure after merge of the sound-asoc tree

2015-11-19 Thread Mark Brown
On Thu, Nov 19, 2015 at 08:32:09AM +0530, Vinod Koul wrote: > On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote: > > a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine > > driver") > Okay both went it same time, I will send a patch for this > Somehow Feng's

Re: [PATCH 6/6] PM / devfreq: Set the min_freq and max_freq of devfreq device

2015-11-19 Thread Chanwoo Choi
On 2015년 11월 19일 19:10, MyungJoo Ham wrote: >> After probing the devfreq device driver, the value of both min_freq and >> max_freq are zero(0). So, this patch initializes the 'min_freq' and >> 'max_freq' >> field of devfreq device by using the freq_table array. >> >> Signed-off-by: Chanwoo Choi

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Thomas Gleixner
On Thu, 19 Nov 2015, Russell King - ARM Linux wrote: > On Thu, Nov 19, 2015 at 10:27:33AM +0100, Marc Gonzalez wrote: > > On 18/11/2015 18:21, Russell King - ARM Linux wrote: > > > On Wed, Nov 18, 2015 at 02:43:34PM +0100, Marc Gonzalez wrote: > > > > > >> Since 'struct clocksource' is

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 11:33:47AM +0100, Thomas Gleixner wrote: > Russell, > > On Wed, 18 Nov 2015, Russell King - ARM Linux wrote: > > > On Wed, Nov 18, 2015 at 02:43:34PM +0100, Marc Gonzalez wrote: > > > Since 'struct clocksource' is cacheline_aligned, gcc must insert > > > a lot of

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-19 Thread Peter Ujfalusi
On 11/18/2015 05:46 PM, Andy Shevchenko wrote: > On Wed, Nov 18, 2015 at 4:21 PM, Peter Ujfalusi wrote: >> Hi Vinod, >> >> bringing this old thread back to life as I just started to work on this. > > What I remember we need to convert drivers to use new API meanwhile it > is good to keep old one

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-19 Thread Peter Ujfalusi
On 11/18/2015 05:07 PM, Arnd Bergmann wrote: > On Wednesday 18 November 2015 16:41:35 Peter Ujfalusi wrote: >> On 11/18/2015 04:29 PM, Arnd Bergmann wrote: >>> On Wednesday 18 November 2015 16:21:26 Peter Ujfalusi wrote: 2. non slave channel requests, where only the functionality matters,

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Thomas Gleixner
Russell, On Wed, 18 Nov 2015, Russell King - ARM Linux wrote: > On Wed, Nov 18, 2015 at 02:43:34PM +0100, Marc Gonzalez wrote: > > Since 'struct clocksource' is cacheline_aligned, gcc must insert > > a lot of padding between reg and clksrc in 'struct clocksource_mmio' > > (for example,

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 10:27:33AM +0100, Marc Gonzalez wrote: > On 18/11/2015 18:21, Russell King - ARM Linux wrote: > > On Wed, Nov 18, 2015 at 02:43:34PM +0100, Marc Gonzalez wrote: > > > >> Since 'struct clocksource' is cacheline_aligned, gcc must insert > >> a lot of padding between reg

[GIT PULL] HID fixes for 4.4

2015-11-19 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive - two functional fixes for wacom HID driver from Ping Cheng and Jiri Kosina Thanks Jiri Kosina (1): HID: wacom:

[GIT PULL] livepatching fix for 4.4

2015-11-19 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive livepatching fix for module handling in case kASLR has been enabled, from Zhou Chengming. Thanks. Zhou

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-19 Thread Peter Hurley
On 11/18/2015 09:35 PM, Baolin Wang wrote: > On 18 November 2015 at 23:32, Peter Hurley wrote: >> Hi Baolin, >> >> On 11/16/2015 02:05 AM, Baolin Wang wrote: >>> It dose not work when we want to use the usb-to-serial port based >>> on one usb gadget as a console. Thus this patch adds the console

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-19 Thread Ingo Molnar
* Wangnan (F) wrote: > > > On 2015/11/19 14:37, Ingo Molnar wrote: > >* Wangnan (F) wrote: > > > >>>perf cmdline is > >>> > >>># ./pref record -g -F 9 --call-graph dwarf ./test_dwarf_unwind > >>> > >>>Use default events, precise_ip == 2 so uses PEBS. > >>> > >>Testetd 'cycles', 'cycles:p'

[PATCH 1/2] clk: rockchip: dmc: support rk3399 dmc clock driver

2015-11-19 Thread Lin Huang
support rk3399 dmc clock driver. Note, ddr set rate function will use dcf controller which run in ATF, it need to fishish it when rk3399 arm trust firmware ready. Signed-off-by: Lin Huang --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3399-dmc.c | 196

[PATCH 2/2] devfreq: rockchip: support rk3399 dmc devfreq

2015-11-19 Thread Lin Huang
rk3399 do ddr frequency scaling use devfreq framework, use simple_ondemand policy, and use rk3399 dfi controller to get ddr busy time. Signed-off-by: Lin Huang --- drivers/devfreq/Kconfig | 1 + drivers/devfreq/Makefile | 1 + drivers/devfreq/rockchip/Kconfig

[PATCH 0/2] Bring up rk3399 ddr frequency scaling

2015-11-19 Thread Lin Huang
these patchset bring up rk3399 ddr frequency scaling flow, use devfreq framework and simple_ondemand policy. Ddr set rate function will implement in dcf controller which run in the ATF, and rk3399 ATF not ready now, so we need finish it when rk3399 ATF ready. Lin Huang (2): clk: rockchip: dmc:

BUG: Unable to handle kernel paging request for data at address __percpu_counter_add

2015-11-19 Thread Raghavendra K T
Hi, While I was creating thousands of docker container on a power8 baremetal (config: 4.3.0 kernel 1TB RAM, 20core (=160 cpu) system. After creating around 5600 container I have hit below problem. [This is looking similar to https://bugzilla.kernel.org/show_bug.cgi?id=101011, but kernel had

Re: [PATCH v1 7/7] test_hexdump: print statistics at the end

2015-11-19 Thread Rasmus Villemoes
On Wed, Nov 11 2015, Andy Shevchenko wrote: > Like others test are doing print the gathered statistics after test module is > finished. Return from the module based on the result. > Homogeneity between test modules is good. Acked-by: Rasmus Villemoes -- To unsubscribe from this list: send the

Re: [PATCH v1 6/7] test_hexdump: test all possible group sizes for overflow

2015-11-19 Thread Rasmus Villemoes
On Wed, Nov 11 2015, Andy Shevchenko wrote: > Currently only one combination is tested for overflow, i.e. rowsize = 16, > groupsize = 1, len = 1. Do various test to go all possible branches. > > Signed-off-by: Andy Shevchenko > --- > lib/test_hexdump.c | 23 ++- > 1 file

[tip:x86/urgent] x86/cpu: Fix SMAP check in PVOPS environments

2015-11-19 Thread tip-bot for Andrew Cooper
Commit-ID: 581b7f158fe0383b492acd1ce3fb4e99d4e57808 Gitweb: http://git.kernel.org/tip/581b7f158fe0383b492acd1ce3fb4e99d4e57808 Author: Andrew Cooper AuthorDate: Wed, 3 Jun 2015 10:31:14 +0100 Committer: Thomas Gleixner CommitDate: Thu, 19 Nov 2015 11:07:49 +0100 x86/cpu: Fix SMAP

<    3   4   5   6   7   8   9   10   11   12   >