Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Jean-Francois Moine
On Tue, 22 Dec 2015 17:38:00 + Liviu Dudau wrote: > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > Hello, > > > > This is v2 of the patchset trying to make drm_of_component_probe() cope > > with finding > > both local crtc ports and remote encoder

[PATCH] [PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed thereby making functions like - kportal_memhog_alloc(), kportal_memhog_free() and type - struct libcfs_device_userstate unused. Signed-off-by: Niranjan Dighe ---

Re: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks.

2015-12-23 Thread Hanjun Guo
On 12/22/2015 10:48 PM, Gabriele Paoloni wrote: Hi Tomasz -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Tomasz Nowicki Sent: 22 December 2015 10:20 To: Gabriele Paoloni; bhelg...@google.com; a...@arndb.de;

[PATCH] block-LDM: One function call less in ldm_validate_tocblocks() after error detection

2015-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 22 Dec 2015 22:32:07 +0100 This issue was detected by using the Coccinelle software. Let us return directly if a memory allocation failed. Signed-off-by: Markus Elfring --- block/partitions/ldm.c |

RE: [PATCH 3/6] ASoC: da7219: Update REFERENCES reg default, in-line with HW

2015-12-23 Thread Opensource [Adam Thomson]
On December 23, 2015 00:10, Mark Brown wrote: > On Tue, Dec 22, 2015 at 06:27:53PM +, Adam Thomson wrote: > > In current AB silicon, BIAS_EN field is enabled by default in the > > REFERENCES register, so the regmap default value should reflect > > this. > > This is the sort of thing where a

RE: [f2fs-dev] [PATCH 4/4] f2fs: call f2fs_balance_fs only when node was changed

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 23, 2015 9:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 4/4]

[PATCH 1/2] f2fs: report error of do_checkpoint

2015-12-23 Thread Chao Yu
do_checkpoint and write_checkpoint can fail due to reasons like triggering in a readonly fs or encountering IO error of storage device. So it's better to report such error info to user, let user be aware of failure of doing checkpoint. Signed-off-by: Chao Yu ---

RE: [f2fs-dev] [PATCH 2/2] f2fs: speed up shrinking extent tree entries

2015-12-23 Thread Chao Yu
> -Original Message- > From: He YunLei [mailto:heyun...@huawei.com] > Sent: Tuesday, December 22, 2015 8:35 PM > To: Chao Yu > Cc: 'Jaegeuk Kim'; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/2]

[PATCH 2/2] f2fs: don't convert inline inode when inline_data option is disable

2015-12-23 Thread Chao Yu
If inline_data option is disable, when truncating an inline inode with size which is not exceed maxinum inline size, we should not convert inline inode to regular one to avoid the overhead of synchronizing conversion. Signed-off-by: Chao Yu --- fs/f2fs/inline.c | 3 ---

[PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed thereby making functions like - kportal_memhog_alloc(), kportal_memhog_free() and type - struct libcfs_device_userstate unused. Signed-off-by: Niranjan Dighe ---

[PATCH 2/2] ixgbe: Use core to device locality interface

2015-12-23 Thread Daniel J Blueman
Rather than assuming cores starting from 0 are local to the ethernet device, use the introduced interface to find near cores. Not only does this improve performance due to spreading interrupts via near NUMA nodes, it prevents assigning cores on distant NUMA nodes, which aren't reachable by device

Re: [PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Daniel Stone
Hi, On 22 December 2015 at 17:41, Liviu Dudau wrote: > The HDLCD controller is a display controller that supports resolutions > up to 4096x4096 pixels. It is present on various development boards > produced by ARM Ltd and emulated by the latest Fast Models from the >

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:39:06AM +0100, Jean-Francois Moine wrote: > On Tue, 22 Dec 2015 17:38:00 + > Liviu Dudau wrote: > > > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > > Hello, > > > > > > This is v2 of the patchset trying to make

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Jan Beulich
>>> Borislav Petkov 12/22/15 7:14 PM >>> >On Tue, Dec 22, 2015 at 10:20:36AM -0700, Jan Beulich wrote: >> As said - 4.3.4 (I only now realize that this could also have been a >> kernel version). > >Just fetched stable from

Re: [PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:03:00AM +, Daniel Stone wrote: > Hi, > > On 22 December 2015 at 17:41, Liviu Dudau wrote: > > The HDLCD controller is a display controller that supports resolutions > > up to 4096x4096 pixels. It is present on various development boards > >

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Borislav Petkov
On Wed, Dec 23, 2015 at 03:06:08AM -0700, Jan Beulich wrote: > Sigh - this was in reply to your gcc version question. Right after having sent > the most recent reply I realized that there's no Linux 4.3.4 yet, so there > really > was no ambiguity from the beginning. Therefore I have a hard time >

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Jan Beulich
>>> Borislav Petkov 12/23/15 11:10 AM >>> >On Wed, Dec 23, 2015 at 03:06:08AM -0700, Jan Beulich wrote: >> Sigh - this was in reply to your gcc version question. Right after having >> sent >> the most recent reply I realized that there's no Linux 4.3.4 yet, so there >> really >>

[PATCH] regulator: mt6397: convert to arch_initcall

2015-12-23 Thread Henry Chen
Due to some device may need reulator operation in earlier boot time like gpu module which power domain need regulator power on first. Move regulator of mt6397 initialization earlier in boot so that real devices can use regulator without probe deferring. Signed-off-by: Henry Chen

[PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread Daniel J Blueman
Some devices (eg ixgbe) make assumptions about device to core locality when specifying interrupts locality hints and allocate starting from core 0. Moreover, interrupts may not be routable to distant NUMA nodes due to the 8-bit APIC ID space limitations. Provide a mechanism drivers can use to

Re: [PATCH 00/24] crypto: atmel-aes: global rework of the driver

2015-12-23 Thread Herbert Xu
On Thu, Dec 17, 2015 at 05:48:31PM +0100, Cyrille Pitchen wrote: > Hi all, > > this series of patches is a global rework of the Atmel driver. Some > patches improve the performances whereas others fix some bugs like > the counter overflow in CTR mode. > > It also updates some part of the code to

Re: [PATCH] crypto: 842 - remove WARN inside printk

2015-12-23 Thread Herbert Xu
On Mon, Dec 21, 2015 at 12:52:10PM -0500, Dan Streetman wrote: > Remove the WARN() from the beN_to_cpu macro, which is used as a param to a > pr_debug() call. With a certain kernel config, this printk-in-printk > results in the no_printk() macro trying to recursively call the > no_printk() macro,

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Alexandre Belloni
On 21/12/2015 at 10:24:08 +0100, Ludovic Desroches wrote : > +++ b/Documentation/devicetree/bindings/iio/adc/at91_adc8xx.txt > @@ -0,0 +1,27 @@ > +* AT91 SAMA5D2 Analog to Digital Converter (ADC) > + > +Required properties: > + - compatible: Should be "atmel,sama5d2-adc". > + - reg: Should

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Ludovic Desroches
On Tue, Dec 22, 2015 at 06:34:00PM +, Jonathan Cameron wrote: > On 21/12/15 09:24, Ludovic Desroches wrote: > > This driver supports the new version of the Atmel ADC device introduced > > with the SAMA5D2 SoC family. > > > > Signed-off-by: Ludovic Desroches > A

Re: [PATCH 13/19] ARM: dts: tegra: replace legacy *,wakeup property with wakeup-source

2015-12-23 Thread Sudeep Holla
On Wed, Oct 21, 2015 at 11:10 AM, Sudeep Holla wrote: > Though the keyboard and other driver will continue to support the legacy > "gpio-key,wakeup", "nvidia,wakeup-source" boolean property to enable the > wakeup source, "wakeup-source" is the new standard binding. > > This

[RFC] spi: dw: support setting tmode dynamically

2015-12-23 Thread Jisheng Zhang
Hi all, Currently the spi-dw tmode is fixed to SPI_TMOD_TR if cs_control is NULL, but we need to set it as SPI_TMOD_EPROMREAD to read nor flash, my solution is to add and export one functions to set the tmode, then the nor flash driver call it before reading and set back to SPI_TMOD_TR after

[PATCH 3/3] clockevents/exynos_mct: Implement ->set_state_oneshot_stopped()

2015-12-23 Thread Viresh Kumar
set_state_oneshot_stopped() is called by the clkevt core, when the next event is required at an expiry time of 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both LOWRES/HIGHRES modes. This patch makes the clockevent device to stop on such an event, to avoid spurious interrupts, as

[PATCH 2/3] clockevents/arm_global_timer: Implement ->set_state_oneshot_stopped()

2015-12-23 Thread Viresh Kumar
set_state_oneshot_stopped() is called by the clkevt core, when the next event is required at an expiry time of 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both LOWRES/HIGHRES modes. This patch makes the clockevent device to stop on such an event, to avoid spurious interrupts, as

[PATCH 1/3] clockevents/arm_arch_timer: Implement ->set_state_oneshot_stopped()

2015-12-23 Thread Viresh Kumar
set_state_oneshot_stopped() is called by the clkevt core, when the next event is required at an expiry time of 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both LOWRES/HIGHRES modes. This patch makes the clockevent device to stop on such an event, to avoid spurious interrupts, as

[PATCH 0/3] clockevents/arm: Implement ->set_state_oneshot_stopped()

2015-12-23 Thread Viresh Kumar
Hi Daniel/Thomas, ONESHOT-STOPPED state was merged into mainline sometime back and doesn't have any users until now. This series implements the set_state_oneshot_stopped() callback for few ARM clkevt drivers. Which other clkevt drivers will you advice to update, if any? Tested on ARM Exynos

[PATCH v2 00/11] KVM: x86: track guest page access

2015-12-23 Thread Xiao Guangrong
Changelog in v2: - fix a issue that the track memory of memslot is freed if we only move the memslot or change the flags of memslot - do not track the gfn which is not mapped in memslots - introduce the nolock APIs at the begin of the patchset - use 'unsigned short' as the track counter to

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2015-12-23 Thread Santosh Shukla
On 23 December 2015 at 03:26, Arnd Bergmann wrote: > On Tuesday 22 December 2015, Santosh Shukla wrote: >> } >> >> So I care for /dev/ioport types interface who could do more than byte >> data copy to/from user-space. I tested this patch with little >> modification and could able

[PATCH v2 06/11] KVM: MMU: let page fault handler be aware tracked page

2015-12-23 Thread Xiao Guangrong
The page fault caused by write access on the write tracked page can not be fixed, it always need to be emulated. page_fault_handle_page_track() is the fast path we introduce here to skip holding mmu-lock and shadow page table walking However, if the page table is not present, it is worth making

[PATCH v2 07/11] KVM: page track: add notifier support

2015-12-23 Thread Xiao Guangrong
Notifier list is introduced so that any node wants to receive the track event can register to the list Two APIs are introduced here: - kvm_page_track_register_notifier(): register the notifier to receive track event - kvm_page_track_unregister_notifier(): stop receiving track event by

[PATCH v2 10/11] KVM: MMU: clear write-flooding on the fast path of tracked page

2015-12-23 Thread Xiao Guangrong
If the page fault is caused by write access on write tracked page, the real shadow page walking is skipped, we lost the chance to clear write flooding for the page structure current vcpu is using Fix it by locklessly waking shadow page table to clear write flooding on the shadow page structure

[PATCH v2 04/11] KVM: page track: add the framework of guest page tracking

2015-12-23 Thread Xiao Guangrong
The array, gfn_track[mode][gfn], is introduced in memory slot for every guest page, this is the tracking count for the gust page on different modes. If the page is tracked then the count is increased, the page is not tracked after the count reaches zero We use 'unsigned short' as the tracking

[PATCH v2 08/11] KVM: MMU: use page track for non-leaf shadow pages

2015-12-23 Thread Xiao Guangrong
non-leaf shadow pages are always write protected, it can be the user of page track Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/mmu.c

[PATCH v2 11/11] KVM: MMU: apply page track notifier

2015-12-23 Thread Xiao Guangrong
Register the notifier to receive write track event so that we can update our shadow page table It makes kvm_mmu_pte_write() be the callback of the notifier, no function is changed Signed-off-by: Xiao Guangrong --- arch/x86/include/asm/kvm_host.h | 5 +++--

[PATCH v2 05/11] KVM: page track: introduce kvm_page_track_{add,remove}_page

2015-12-23 Thread Xiao Guangrong
These two functions are the user APIs: - kvm_page_track_add_page(): add the page to the tracking pool after that later specified access on that page will be tracked - kvm_page_track_remove_page(): remove the page from the tracking pool, the specified access on the page is not tracked after

[PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-23 Thread Xiao Guangrong
Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 26 -- 1

[PATCH v2 02/11] KVM: MMU: introduce kvm_mmu_gfn_{allow,disallow}_lpage

2015-12-23 Thread Xiao Guangrong
Abstract the common operations from account_shadowed() and unaccount_shadowed(), then introduce kvm_mmu_gfn_disallow_lpage() and kvm_mmu_gfn_allow_lpage() These two functions will be used by page tracking in the later patch Signed-off-by: Xiao Guangrong ---

Re: [PATCH] regulator: s2m,s5m: constify regulator_ops structures

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 08:20:43AM +0100, Julia Lawall wrote: > On Wed, 23 Dec 2015, Mark Brown wrote: > > On Sat, Dec 19, 2015 at 03:58:00PM +0100, Julia Lawall wrote: > > > The regulator_ops structures are never modified, so declare them as const. > > > Done with the help of Coccinelle. > >

[PATCH v2 01/11] KVM: MMU: rename has_wrprotected_page to mmu_gfn_lpage_is_disallowed

2015-12-23 Thread Xiao Guangrong
kvm_lpage_info->write_count is used to detect if the large page mapping for the gfn on the specified level is allowed, rename it to disallow_lpage to reflect its purpose, also we rename has_wrprotected_page() to mmu_gfn_lpage_is_disallowed() to make the code more clearer Later we will extend this

[PATCH v2 03/11] KVM: MMU: introduce kvm_mmu_slot_gfn_write_protect

2015-12-23 Thread Xiao Guangrong
Split rmap_write_protect() and introduce the function to abstract the write protection based on the slot This function will be used in the later patch Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 16 +++- arch/x86/kvm/mmu.h | 2 ++ 2 files

Re: [PATCH 3/6] ASoC: da7219: Update REFERENCES reg default, in-line with HW

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 09:47:23AM +, Opensource [Adam Thomson] wrote: > On December 23, 2015 00:10, Mark Brown wrote: > > This is the sort of thing where a register patch would normally be used > > - if you put in a register patch for the older silicon then the driver > > can correct for the

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 11:58:36AM +0100, Paul Kocialkowski wrote: > Some devices don't hook the DVS pin to a GPIO but to ground or VCC. > In those cases, it is not a problem to have no DVS GPIO. I would expect the driver at least needs to know how the pins or strapped, or otherwise have

Re: [RFC LINUX PATCH] dt: xilinx: xadc: provision to control clock frequency

2015-12-23 Thread Sören Brinkmann
On Wed, 2015-12-23 at 03:58PM +0530, Ranjit Waghmode wrote: > This patch adds parameter to the xilinx-xadc node for controlling > clock frequency. > > Following are the possible options for user to control the frequency: > * 00 : 1/2 of clock frequency > * 01 : 1/4 of clock frequency

Re: [PATCH] IMA: policy can be updated zero times

2015-12-23 Thread Petko Manolov
On 15-12-22 16:50:01, Sasha Levin wrote: > On 12/22/2015 04:40 PM, Petko Manolov wrote: > >> Thanks, Sasha. By the time ima_update_policy() is called > >> >ima_release_policy() has already output the policy update status > >> >message. I guess an empty policy could be considered a valid policy.

Re: [PATCH] PM / Domains: Release mutex when powering on master domain

2015-12-23 Thread Ulf Hansson
On 22 December 2015 at 14:13, Daniel Kurtz wrote: > Commit ba2bbfbf6307 (PM / Domains: Remove intermediate states from the > power off sequence) removed the mutex_unlock()/_lock() around powering on > a genpd's master domain in __genpd_poweron(). > > Since all genpd's share

Re: [PATCH 1/2] usb: gadget: f_midi: refactor state machine

2015-12-23 Thread Felipe Ferreri Tonello
Hi Clemens, On 22/12/15 17:10, Clemens Ladisch wrote: > Felipe F. Tonello wrote: >> This refactor includes the following: >> * Cleaner state machine code; > > It does not correctly handle system real time messages inserted between > the status and data bytes of other messages. True, thanks for

Suspend To RAM failure in >= 4.1 - bissected to "drm/i915: Track GEN6 page table usage"

2015-12-23 Thread Sylvain Munaut
Hi, When trying to upgrade my kernel yesterday to the latest 4.3.3 I noticed that the suspend to ram was not working. Basically it goes to sleep but never wakes up. It seems to power up but no screen, not available through ssh either and afaict nothing runs afterwards. I first tried a couple

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:41 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:36AM +0100, Paul Kocialkowski wrote: > > Some devices don't hook the DVS pin to a GPIO but to ground or VCC. > > In those cases, it is not a problem to have no DVS GPIO. > > I would expect the driver

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > + gpio = lp->pdata->enable_gpio; > + if (!gpio_is_valid(gpio)) > + return 0; > + > + /* Always set enable GPIO high. */ > + ret = devm_gpio_request_one(lp->dev, gpio, GPIOF_OUT_INIT_HIGH, "LP872X >

[PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-23 Thread Vikas Bansal
From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is set for all TRBs in a TD so that the DMA happens to

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 12:50:20PM +0100, Paul Kocialkowski wrote: > Le mercredi 23 décembre 2015 à 11:41 +, Mark Brown a écrit : > > I would expect the driver at least needs to know how the pins or > > strapped, or otherwise have configuration for ignoring the input on the > > pins. This

Re: [PATCH] regulator: mt6397: convert to arch_initcall

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 06:16:08PM +0800, Henry Chen wrote: Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. > Due to some device may need reulator operation in earlier

[PATCH] vfio/iommu_type1: make use of info.flags

2015-12-23 Thread Pierre Morel
The flags entry is there to tell the user that some optional information is available. Since we report the iova_pgsizes signal it to the user by setting the flags to VFIO_IOMMU_INFO_PGSIZES. Signed-off-by: Pierre Morel --- drivers/vfio/vfio_iommu_type1.c | 2 +- 1

Applied "regulator: lp872x: Get rid of duplicate reference to DVS GPIO" to the regulator tree

2015-12-23 Thread Mark Brown
The patch regulator: lp872x: Get rid of duplicate reference to DVS GPIO has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: lp872x: Add missing of_match in regulators descriptions" to the regulator tree

2015-12-23 Thread Mark Brown
The patch regulator: lp872x: Add missing of_match in regulators descriptions has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [RFC] spi: dw: support setting tmode dynamically

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 07:23:38PM +0800, Jisheng Zhang wrote: > Currently the spi-dw tmode is fixed to SPI_TMOD_TR if cs_control is NULL, but > we > need to set it as SPI_TMOD_EPROMREAD to read nor flash, my solution is to add > and > export one functions to set the tmode, then the nor flash

Re: [PATCH v9 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-12-23 Thread Krzysztof Kozlowski
W dniu 18.12.2015 o 18:16, Pavel Fedin pisze: > Hello! > >> 4. This branch is not pushed to linux-next. I will sort it out if my >> previous pull requests get in. I will be out of office for Christmas so >> depending on the timing of {arm-soc,Christmas,Kukjin} this may or may >> not go into v4.5

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-23 Thread Davidlohr Bueso
On Wed, 23 Dec 2015, Boqun Feng wrote: There is one thing we should be aware of, that is the bug: http://lkml.kernel.org/r/5669d5f2.5050...@caviumnetworks.com which though has been fixed by: http://lkml.kernel.org/r/20151217160549.gh6...@twins.programming.kicks-ass.net Right, and fwiw the

Re: [PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-23 Thread Mathias Nyman
On 23.12.2015 13:58, Vikas Bansal wrote: From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is set for all

Re: [PATCH v4] crypto: KEYS: convert public key and digsig asym to the akcipher api

2015-12-23 Thread Herbert Xu
On Wed, Dec 23, 2015 at 06:33:53AM -0800, Tadeusz Struk wrote: > > Changes in v4: > - Flatten both patches into one to avoid bisect compilation problems. Why is this necessary? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH v4] crypto: KEYS: convert public key and digsig asym to the akcipher api

2015-12-23 Thread Tadeusz Struk
On 12/23/2015 06:51 AM, Herbert Xu wrote: >> > Changes in v4: >> > - Flatten both patches into one to avoid bisect compilation problems. > Why is this necessary? Because the first patch modifies the struct public_key and removes the MPIs from it, which the code modified in the second patch still

[PATCH 0/2] [GIT PULL] ftrace/recordmcount: Fix hardlink issue with ccache

2015-12-23 Thread Steven Rostedt
Linus, [ Well, as you know, my test box was not suffering from a harddrive failure, but a bug in the block layer. After wasting several days to figure that out, I got my test box up and running again, and was able to complete my testing. ] Russell King was reporting lots of warnings when

Re: [PATCH V16 00/11] x86: Intel Cache Allocation Technology Support

2015-12-23 Thread Tejun Heo
Hello, Fenghua, Ingo. So, I'm seeing this patchset in -next and it looks like it came through -tip. What's going on? Thanks. -- tejun -- 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

Re: [PATCH 7/8] perf script: Add python support for stat events

2015-12-23 Thread Jiri Olsa
On Wed, Dec 23, 2015 at 10:42:47PM +0900, Namhyung Kim wrote: SNIP > > +static void > > +process_stat(struct perf_evsel *counter, int cpu, int thread, u64 time, > > +struct perf_counts_values *count) > > +{ > > + PyObject *handler, *t; > > + static char handler_name[256]; > > + int

Re: [PATCH v8] watchdog: ts4800: add driver for TS-4800 watchdog

2015-12-23 Thread Wim Van Sebroeck
Hi Damien, > On Tue, Dec 08, 2015 at 11:37:28AM -0500, Damien Riegel wrote: > > This watchdog is instantiated in a FPGA that is memory mapped. It is > > made of only one register, called the feed register. Writing to this > > register will re-arm the watchdog for a given time (and enable it if it

Re: [PATCH V7 00/24] Coresight integration with perf

2015-12-23 Thread Mathieu Poirier
On 19 December 2015 at 10:42, Rabin Vincent wrote: > On Fri, Dec 18, 2015 at 01:58:56PM -0700, Mathieu Poirier wrote: >> This patchset aims to integrate configuration and control of >> the Coresight tracers with the perf sub-system. >> >> The goal is to use PMUs to represent tracers

[PATCH] dmaengine: xgene-dma: Fix double IRQ issue by setting IRQ_DISABLE_UNLAZY flag

2015-12-23 Thread Rameshswar Prasad Sahu
From: Rameshwar Prasad Sahu For interrupt controller that doesn't support irq_disable and hardware with level interrupt, an extra interrupt can be pending. This patch fixes the issue by setting IRQ_DISABLE_UNLAZY flag for the interrupt line. Reference:

Re: [PATCHSET 00/10] perf tools: Support dynamic sort keys for tracepoints (v4)

2015-12-23 Thread Namhyung Kim
Hi Jiri, On Wed, Dec 23, 2015 at 09:46:23AM +0100, Jiri Olsa wrote: > On Wed, Dec 23, 2015 at 02:06:57AM +0900, Namhyung Kim wrote: > > Hello, > > > > This is an attempt to improve perf to deal with tracepoint events > > better. The perf tools can handle tracepoint events but perf report > > on

[PATCH v4] crypto: KEYS: convert public key and digsig asym to the akcipher api

2015-12-23 Thread Tadeusz Struk
This patch converts the module verification and digital signature code to the new akcipher API. RSA implementation has been removed from crypto/asymmetric_keys and the new API is used for cryptographic primitives. There is no need for MPI above the akcipher API anymore. Modules can be verified

Re: [PATCH] futex: Prevent pi_state from double freeing in case of error

2015-12-23 Thread Bhuvanesh
Hi, > - Why was this patch created in the first place? > >The changelog is completely useless. It does not tell what the >observed issue was or whether this was merily the result of reading >the code and assuming that this is a double free. But it was >certainly not due to a

[PATCH] ARM: dts: uniphier: fix a typo in comment block

2015-12-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld6b.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/uniphier-ph1-ld6b.dtsi b/arch/arm/boot/dts/uniphier-ph1-ld6b.dtsi index c6499ee..5321152 100644 ---

Re: [PATCH v8] watchdog: ts4800: add driver for TS-4800 watchdog

2015-12-23 Thread Damien Riegel
On Tue, Dec 08, 2015 at 11:37:28AM -0500, Damien Riegel wrote: > This watchdog is instantiated in a FPGA that is memory mapped. It is > made of only one register, called the feed register. Writing to this > register will re-arm the watchdog for a given time (and enable it if it > was disable). It

Re: [PATCH 8/8] perf script: Add stat-cpi.py script

2015-12-23 Thread Jiri Olsa
On Wed, Dec 23, 2015 at 10:44:20PM +0900, Namhyung Kim wrote: SNIP > > $ perf stat -e cycles,instructions -a -I 1000 record sleep 3 | perf > > script -s ./scripts/python/stat-cpi.py > >1.000202: cpu -1, thread -1 -> cpi 1.035091 (940778881/908885530) > >2.000392: cpu

Re: [PATCH v8] watchdog: ts4800: add driver for TS-4800 watchdog

2015-12-23 Thread Guenter Roeck
On 12/23/2015 07:43 AM, Damien Riegel wrote: On Tue, Dec 08, 2015 at 11:37:28AM -0500, Damien Riegel wrote: This watchdog is instantiated in a FPGA that is memory mapped. It is made of only one register, called the feed register. Writing to this register will re-arm the watchdog for a given

Re: [PATCH] IB/usnic: delete unneeded IS_ERR test

2015-12-23 Thread Doug Ledford
On 12/22/2015 10:29 AM, Dave Goodell wrote: > [copying Nelson too] > > On Sat, Dec 19, 2015 at 09:48:59PM +0100, Julia Lawall wrote: >> kzalloc doesn't return ERR_PTR, so there is no need to test for it. >> >> The semantic match that finds this problem is as follows: >>

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-23 Thread Mathieu Poirier
On 19 December 2015 at 10:13, Rabin Vincent wrote: > On Fri, Dec 18, 2015 at 01:59:00PM -0700, Mathieu Poirier wrote: >> @@ -415,9 +418,13 @@ struct list_head *coresight_build_path(struct >> coresight_device *csdev) >> */ >> void coresight_release_path(struct list_head *path) >>

[PATCH] mmc: host: arasan: sdhci-of-arasan: Remove no-hispd and no-cmd23 quirks for sdhci-arasan4.9a

2015-12-23 Thread Rameshswar Prasad Sahu
From: Rameshwar Prasad Sahu The Arason SD host controller supports set block count command (cmd23) and high speed mode. This patch re-enable both of these features that was disabled. For device that doesn't support high speed, it should configure its capability register

Re: [PATCH 5/8] perf script: Add stat default handlers

2015-12-23 Thread Namhyung Kim
On Tue, Dec 22, 2015 at 04:43:31PM +0100, Jiri Olsa wrote: > Implement struct scripting_ops::(process_stat|process_stat_interval) > handlers - calling scripting handlers from stat events handlers. > > Tested-by: Kan Liang > Link:

Re: [PATCH 7/8] perf script: Add python support for stat events

2015-12-23 Thread Namhyung Kim
On Tue, Dec 22, 2015 at 04:43:33PM +0100, Jiri Olsa wrote: > Add support to get stat events data in perf python scripts. > > The python script shall implement following > new interface to process stat data: > > def stat___[](cpu, thread, time, val, ena, run): > > - is called for every

Re: [PATCH v6 04/20] arm64: change some CONFIG_COMPAT over to use CONFIG_AARCH32_EL0 instead

2015-12-23 Thread Yury Norov
On Wed, Dec 16, 2015 at 12:42:30AM +0300, Yury Norov wrote: > --- a/arch/arm64/include/asm/unistd.h > +++ b/arch/arm64/include/asm/unistd.h > @@ -13,9 +13,8 @@ > * You should have received a copy of the GNU General Public License > * along with this program. If not, see

Re: [PATCH v2] PCI/AER: include header file

2015-12-23 Thread Jens Axboe
On 12/23/2015 08:35 AM, Sudip Mukherjee wrote: We are having build failure with sparc allmodconfig with the error: drivers/nvme/host/pci.c:15:0: include/linux/aer.h: In function 'pci_enable_pcie_error_reporting': include/linux/aer.h:49:10: error: 'EINVAL' undeclared (first use in this

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Tejun Heo
Hello, Serge. On Tue, Dec 22, 2015 at 10:23:22PM -0600, serge.hal...@ubuntu.com wrote: > @@ -164,18 +286,39 @@ void pr_cont_kernfs_name(struct kernfs_node *kn) > void pr_cont_kernfs_path(struct kernfs_node *kn) > { > unsigned long flags; > - char *p; > + char *p = NULL; > +

Re: [PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-23 Thread Tejun Heo
Hello, On Tue, Dec 22, 2015 at 10:23:24PM -0600, serge.hal...@ubuntu.com wrote: ... > +char *cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) > +{ > + int ret; > + > + ret = cgroup_path_ns(cgrp, buf, buflen, current->nsproxy->cgroup_ns); > + if (ret < 0 || ret >=

Re: [PATCH 5/8] kernfs: define kernfs_node_dentry

2015-12-23 Thread Tejun Heo
On Tue, Dec 22, 2015 at 10:23:26PM -0600, serge.hal...@ubuntu.com wrote: > From: Aditya Kali > > Add a new kernfs api is added to lookup the dentry for a particular > kernfs path. > > Signed-off-by: Aditya Kali > Signed-off-by: Serge E. Hallyn

[Bugfix v2 3/5] x86/irq: Fix a race window in x86_vector_free_irqs()

2015-12-23 Thread Jiang Liu
There's a race condition between x86_vector_free_irqs() { free_apic_chip_data(irq_data->chip_data); x //irq_data->chip_data has been freed, but the pointer //hasn't been reset yet irq_domain_reset_irq_data(irq_data); } and

[Bugfix v2 4/5] x86/irq: Fix a race condition between vector assigning and cleanup

2015-12-23 Thread Jiang Liu
Joe Lawrence reported an use after release issue related to x86 IRQ management code. Please refer to following link for more information: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1026840.html Thomas pointed out that it's caused by a race condition

[Bugfix v2 1/5] x86/irq: Do not reuse struct apic_chip_data.old_domain as temporary buffer

2015-12-23 Thread Jiang Liu
Function __assign_irq_vector() makes use of apic_chip_data.old_domain as a temporary buffer, which causes trouble to rollback logic in case of failure. So use a dedicated temporary buffer for __assign_irq_vector(). Signed-off-by: Jiang Liu ---

[Bugfix v2 2/5] x86/irq: Enhance __assign_irq_vector() to rollback in case of failure

2015-12-23 Thread Jiang Liu
Enhance __assign_irq_vector() to rollback in case of failure so the caller doesn't need to explicitly rollback. Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/vector.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git

Re: [PATCH v2 0/9] ARM: dts: Add compatible property to "partitions" node

2015-12-23 Thread Geert Uytterhoeven
Hi Olof, Gregory, On Wed, Dec 23, 2015 at 12:04 PM, Gregory CLEMENT wrote: > On mar., déc. 22 2015, Olof Johansson wrote: >> On Mon, Dec 21, 2015 at 11:33:44AM +0100, Geert Uytterhoeven wrote: >>> As of commit e488ca9f8d4f62c2 ("doc: dt: mtd:

[PATCH v4 0/3] Add AMBA bus probing support to ACPI

2015-12-23 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

Re: KVM: memory ballooning bug?

2015-12-23 Thread Rafael Aquini
On Wed, Dec 23, 2015 at 11:17:10PM +0900, Minchan Kim wrote: > On Wed, Dec 23, 2015 at 06:14:49AM -0500, Rafael Aquini wrote: > > On Wed, Dec 23, 2015 at 02:22:28PM +0900, Minchan Kim wrote: > > > During my compaction-related stuff, I encountered some problems with > > > ballooning. > > > > > >

[PATCH 2/2] ftrace/scripts: Have recordmcount copy the object file

2015-12-23 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Russell King found that he had weird side effects when compiling the kernel with hard linked ccache. The reason was that recordmcount modified the kernel in place via mmap, and when a file gets modified twice by recordmcount, it will complain

[PATCH v2] PCI/AER: include header file

2015-12-23 Thread Sudip Mukherjee
We are having build failure with sparc allmodconfig with the error: drivers/nvme/host/pci.c:15:0: include/linux/aer.h: In function 'pci_enable_pcie_error_reporting': include/linux/aer.h:49:10: error: 'EINVAL' undeclared (first use in this function) The file aer.h is using the error values but

Re: [PATCH 5/8] perf script: Add stat default handlers

2015-12-23 Thread Jiri Olsa
On Wed, Dec 23, 2015 at 10:40:38PM +0900, Namhyung Kim wrote: > On Tue, Dec 22, 2015 at 04:43:31PM +0100, Jiri Olsa wrote: > > Implement struct scripting_ops::(process_stat|process_stat_interval) > > handlers - calling scripting handlers from stat events handlers. > > > > Tested-by: Kan Liang

Re: [PATCH] tracing: use seq_buf_used() in seq_buf_to_user() instead of len

2015-12-23 Thread Steven Rostedt
On Mon, 16 Nov 2015 12:57:28 -0700 Jerry Snitselaar wrote: > commit 5ac48378414d ("tracing: Use trace_seq_used() and seq_buf_used() > instead of len") changed the tracing code to use trace_seq_used() and > seq_buf_used() instead of using the seq_buf len directly to avoid >

[PATCH v2] um: Fix pointer cast

2015-12-23 Thread Mickaël Salaün
Fix a pointer cast typo introduced in v4.4-rc5 especially visible for the i386 subarchitecture where it results in a kernel crash. Fixes: 8090bfd2bb9a ("um: Fix fpstate handling") Signed-off-by: Mickaël Salaün Cc: Jeff Dike Cc: Richard Weinberger

[PATCH 3/4] USB: host: use to_platform_device

2015-12-23 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/usb/host/ehci-platform.c | 6 ++ drivers/usb/host/ehci-st.c | 6 ++ drivers/usb/host/ohci-platform.c | 6 ++ drivers/usb/host/ohci-st.c | 6 ++ 4 files

  1   2   3   4   5   6   7   8   9   10   >