[PATCH v2 1/2] PCI support added to ARC

2015-12-16 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v1 -> v2: - In arch/arc/Kconfig, the new menu entry (Bus Configuration) was moved to the slot between sourcing of drivers/Kconfig

[PATCH v2 2/2] add new platform driver for PCI RC

2015-12-16 Thread Joao Pinto
This patch adds a new driver that will be the reference platform driver for all PCI RC IP Protoyping Kits based on ARC SDP. This patch is composed by: -Changes to pcie-designware driver add a function that enables the feature of starting the LTSSM (Link Train Status State) used by the new driver

Re: [PATCH V2 1/3] ARM: multi_v7_defconfig: Enable beaglebone PMIC TPS65217

2015-12-16 Thread Afzal Mohammed
Hi, On Wed, Dec 16, 2015 at 08:04:24AM -0600, Nishanth Menon wrote: > On 12/16/2015 07:45 AM, Afzal Mohammed wrote: > > Changelog refers to old beagle bone's, does new ones have a different > > PMIC ?, i only have white bones ;) > Blacks seem to boot (see cover-letter) - could be because of

Re: [PATCH] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-16 Thread Suravee Suthikulpanit
Hi Mika, On 12/16/2015 03:42 AM, Mika Westerberg wrote: +Jarkko and Andy On Tue, Dec 15, 2015 at 04:38:58PM -0600, Suravee Suthikulpanit wrote: The current driver uses input clock source frequency to calculate values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not

Re: [PATCH V2 1/3] ARM: multi_v7_defconfig: Enable beaglebone PMIC TPS65217

2015-12-16 Thread Nishanth Menon
On 12/16/2015 07:45 AM, Afzal Mohammed wrote: [...] > Changelog refers to old beagle bone's, does new ones have a different > PMIC ?, i only have white bones ;) Blacks seem to boot (see cover-letter) - could be because of default configuration of tps65217. From my test log: 11:

Re: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI

2015-12-16 Thread Lorenzo Pieralisi
On Wed, Dec 16, 2015 at 06:21:37PM +0530, Jayachandran C. wrote: [...] > > That list is there to manage hotplug bridges, what makes you think > > it is not necessary ? Jiang (in CC) can certainly comment on that and > > how that list handling can be updated/simplified, if possible. > > Looking

Re: [PATCH v9 0/4] irqchip:support mbigen interrupt controller

2015-12-16 Thread majun
Hi Marc: Sorry for late response. I just came back from a business trip from American. I'll send a new version ASAP on tomorrow. Thanks! Ma Jun On 2015/12/16 6:22, Marc Zyngier wrote: > On 23/11/15 03:15, MaJun wrote: >> From: Ma Jun >> >> This patch set adds the driver of mbigen and

[PATCH] devicetree: sound: add binding for WM8974 codec

2015-12-16 Thread Mans Rullgard
This adds a binding for the Wolfson WM8974 mono audio codec. Signed-off-by: Mans Rullgard --- Sending this patch again, this time including Mark Brown. --- Documentation/devicetree/bindings/sound/wlf,wm8974.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

Re: [PATCH 5/5] ARM: config: Add the rk3036 configure for kylin board

2015-12-16 Thread Heiko Stübner
Hi Caesar, Am Mittwoch, 16. Dezember 2015, 16:27:21 schrieb Caesar Wang: > Add RK3036-specific configuration for Kylin board. > > Signed-off-by: Caesar Wang I don't think we generally do per-board defconfigs in the mainline kernel anymore. If you are missing specific functionality, please add

Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec

2015-12-16 Thread Måns Rullgård
Mark Brown writes: > On Wed, Dec 16, 2015 at 01:31:30PM +, Måns Rullgård wrote: > >> This is the 1/1 you were missing. > > I need the patch in a form I can apply. I assumed your email client had some way of displaying the message I replied to. Guess I was wrong. >> Am I the only one who

[PATCH] mfd: arizona: Request parent IRQ before we request child IRQs

2015-12-16 Thread Charles Keepax
Currently the driver requests the boot done and control interface IRQs before it has requested its own IRQ line. This can cause problems on edge triggered IRQ systems as if an edge occurs before the parent IRQ is enabled it will be missed. Whilst we are changing the error handling remove an unused

Re: [PATCH] vhost: move is_le setup to the backend

2015-12-16 Thread Greg Kurz
On Thu, 12 Nov 2015 15:28:19 +0100 Greg Kurz wrote: > On Thu, 12 Nov 2015 15:46:30 +0200 > "Michael S. Tsirkin" wrote: > > > On Fri, Oct 30, 2015 at 12:42:35PM +0100, Greg Kurz wrote: > > > The vq->is_le field is used to fix endianness when accessing the vring via > > > the cpu_to_vhost16()

Re: [PATCH 3/5] ARM: dts: rockchip: update the core dts for rk3036

2015-12-16 Thread Heiko Stübner
Hi Caesar, Am Mittwoch, 16. Dezember 2015, 16:27:19 schrieb Caesar Wang: > Update the core dts for rk3036 SoCs. > > 1) Add the display (lcdc, hdmi, vop...) device node. > 2) modify the i2s name to i2s0 and i2s1. >Although there is only one i2s IP inside the rk3036, >we need use all of

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-12-16 Thread Ulf Hansson
On 16 December 2015 at 12:44, Ivan T. Ivanov wrote: > >> On Dec 16, 2015, at 12:18 PM, Ulf Hansson wrote: >> >> [...] >> It seems like a reasonable assumption that the controller can't cope with a higher clock rate than 100 MHz as "input" clock. That would then mean that there are

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-16 Thread Peter Zijlstra
On Wed, Dec 16, 2015 at 01:56:17PM +0100, Jirka Hladky wrote: > Hi Rik, > > I have redone the bisecting and have new results: > > # first bad commit: [2a595721a1fa6b684c1c818f379bef834ac3d65e] > sched/numa: Convert sched_numa_balancing to a static_branch > > Could you please have a look what

Re: [PATCH] MAINTAINERS: Update for dcdbas driver

2015-12-16 Thread Pali Rohár
On Wednesday 16 December 2015 14:53:04 srinivas_g_go...@dell.com wrote: > > Update Srinivas Gowda as dcdbas driver Maintainer > > Signed-off-by: Srinivas Gowda > Acked-by: Doug Warzecha > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAINTAINERS

Re: [PATCH V2 1/3] ARM: multi_v7_defconfig: Enable beaglebone PMIC TPS65217

2015-12-16 Thread Afzal Mohammed
Hi, On Tue, Dec 15, 2015 at 08:49:07AM -0600, Nishanth Menon wrote: > On Tue, Dec 15, 2015 at 7:51 AM, Afzal Mohammed > wrote: > > On Mon, Dec 14, 2015 at 12:42:58PM -0600, Nishanth Menon wrote: > >> Enable PMIC for beaglebone similar to commit 7a5c6065669c ("ARM: > >> OMAP2+:

Re: [PATCH 1/1] Support for CMedia CM6533 HID audio jack controls.

2015-12-16 Thread Jiri Kosina
On Tue, 15 Dec 2015, Ben Chen wrote: > Signed-off-by: Ben Chen Please provide a changelog. At least a description of the device and overview of changes that are needed on top of generic HID should be provided. Thanks. > --- > drivers/hid/Kconfig | 6 ++ > drivers/hid/Makefile |

Re: [PATCH v2 6/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2015-12-16 Thread Hans Verkuil
On 12/16/15 14:17, tiffany lin wrote: > Hi Hans, > > > On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote: >> >> On 12/15/15 14:51, tiffany lin wrote: >>> We are not familiar with v4l2-compliance utility, we will check how to >>> use it. >> >> It's part of v4l-utils.git

Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec

2015-12-16 Thread Mark Brown
On Wed, Dec 16, 2015 at 01:31:30PM +, Måns Rullgård wrote: > This is the 1/1 you were missing. I need the patch in a form I can apply. > Am I the only one who is annoyed by scripts/get_maintainer.pl not > returning all the addresses it should in cases like this? Is there some > trick I'm

[PATCH] crypto: qat - use list_for_each_entry*

2015-12-16 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/crypto/qat/qat_common/adf_cfg.c | 35 +++ drivers/crypto/qat/qat_common/adf_ctl_drv.c | 13 +++ drivers/crypto/qat/qat_common/adf_dev_mgr.c | 54

Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec

2015-12-16 Thread Måns Rullgård
Mark, This is the 1/1 you were missing. Am I the only one who is annoyed by scripts/get_maintainer.pl not returning all the addresses it should in cases like this? Is there some trick I'm missing? Mans Rullgard writes: > This adds a binding for the Wolfson WM8974 mono audio codec. > >

[PATCH v6 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering cooling devices with dynamic power coefficient. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- drivers/cpufreq/mt8173-cpufreq.c | 11 +-- 1 file changed,

[PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node.

2015-12-16 Thread Dawei Chien
This device node is for calculating dynamic power in mW. Since mt8173 has two clusters, there are two dynamic power coefficient as well. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/17/251 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4

[PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Power Allocator governor is able to keep SOC temperature within a defined temperature range to avoid SOC

[PATCH v6 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread Dawei Chien
This adds thermal zone node to Mediatek MT8173 dtsi file. Signed-off-by: Dawei Chien --- This patch is base on patchset: https://lkml.org/lkml/2015/11/30/239 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git

Applied "regulator: qcom-smd: Add PM8916 support" to the regulator tree

2015-12-16 Thread Mark Brown
The patch regulator: qcom-smd: Add PM8916 support 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 next 24 hours) and sent

[PATCH] iio: add ad5761 DAC driver

2015-12-16 Thread Ricardo Ribalda Delgado
ad5761 is a 1-channel DAC with configurable output range. The driver uses the regulator interface for its voltage ref. It shares its register layout with ad5761r, ad5721 and ad5721r. Differences: ad5761* are 16 bit, ad5721* are 12 bits. ad57*1r have an internal reference. Signed-off-by: Ricardo

Applied "regulator: qcom-smd: Add support for PMA8084" to the regulator tree

2015-12-16 Thread Mark Brown
The patch regulator: qcom-smd: Add support for PMA8084 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 next 24 hours) and

Applied "soc: qcom: documentation: Update SMD/RPM Docs" to the regulator tree

2015-12-16 Thread Mark Brown
The patch soc: qcom: documentation: Update SMD/RPM Docs 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 next 24 hours) and

Applied "regmap: use IS_ALIGNED instead of % to improve the performance" to the regmap tree

2015-12-16 Thread Mark Brown
The patch regmap: use IS_ALIGNED instead of % to improve the performance has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [alsa-devel] [PATCH 2/2] ASoC: wm8974: add devicetree support

2015-12-16 Thread Charles Keepax
On Wed, Dec 16, 2015 at 01:02:55PM +, Mans Rullgard wrote: > This adds devicetree support to the wm8974 codec driver. > With a DT-based kernel, there is no board-specific setting > to select the driver so allow it to be manually chosen. > > Signed-off-by: Mans Rullgard > --- Acked-by:

Re: [PATCH 2/2] ASoC: wm8974: add devicetree support

2015-12-16 Thread Mark Brown
On Wed, Dec 16, 2015 at 01:02:55PM +, Mans Rullgard wrote: > This adds devicetree support to the wm8974 codec driver. > With a DT-based kernel, there is no board-specific setting > to select the driver so allow it to be manually chosen. I'm missing patch 1/1. signature.asc Description: PGP

[PATCH] staging: rtl8723au: hal: rtl8723a_hal_init: fixed 4 spelling errors.

2015-12-16 Thread Jiading Gai
Fixed four spelling errors. Signed-off-by: Jiading Gai --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c index

Re: [PATCH] spi: Add builtin_spi_driver() to avoid registration boilerplate

2015-12-16 Thread Mark Brown
On Sun, Dec 13, 2015 at 03:53:57PM -0500, Paul Gortmaker wrote: > Here we use that support and extend it to SPI driver registration, so where > a driver is clearly non-modular and builtin-only, we can register it in a > similar fashion. Existing code that is clearly non-modular can be updated >

[PATCH] dmaengine: edma: Add probe callback to edma_tptc_driver

2015-12-16 Thread Peter Ujfalusi
-tptc") --- Hi, The issue surfaced with next-20151216, next-20151214 was worked fine. Regards, Peter drivers/dma/edma.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 2e8acde6b134..50584015e046 100644 --- a/drivers/dma/edma.c +++ b/d

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-16 Thread Jiri Kosina
On Wed, 16 Dec 2015, Mika Westerberg wrote: > > [Apologies for the resend, didn't realize I hadn't changed my GMail settings > > to not use HTML.] > > > > I have recently purchased a Lenovo Yoga 900 and most everything is working > > with a slightly modified 4.4-rc5

Re: [PATCH v2 6/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2015-12-16 Thread tiffany lin
Hi Hans, On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote: > > On 12/15/15 14:51, tiffany lin wrote: > > Hi Hans, > > > > Thanks for your time. > > > > On Mon, 2015-12-14 at 13:50 +0100, Hans Verkuil wrote: > >> Hi Tiffany, > >> > >> My apologies for the long delay, but I finally have

Re: snprintf, overlapping destination and source

2015-12-16 Thread Rasmus Villemoes
On Mon, Dec 07 2015, Kees Cook wrote: > On Sat, Dec 5, 2015 at 12:38 PM, Rasmus Villemoes > wrote: >> I did a search for code doing >> >> s[n]printf(buf, "...", ..., buf, ...) >> >> and found a few instances. They all do it with the format string >> beginning with "%s" and buf being passed as

[PATCH 2/2] ASoC: wm8974: add devicetree support

2015-12-16 Thread Mans Rullgard
This adds devicetree support to the wm8974 codec driver. With a DT-based kernel, there is no board-specific setting to select the driver so allow it to be manually chosen. Signed-off-by: Mans Rullgard --- sound/soc/codecs/Kconfig | 3 ++- sound/soc/codecs/wm8974.c | 7 +++ 2 files changed,

[PATCH 1/2] devicetree: sound: add binding for WM8974 codec

2015-12-16 Thread Mans Rullgard
This adds a binding for the Wolfson WM8974 mono audio codec. Signed-off-by: Mans Rullgard --- The Linux driver for this device currently only supports I2C, but SPI could easily be added if necessary, and DT bindings are supposed to be generic. ---

Re: livepatch: reuse module loader code to write relocations

2015-12-16 Thread Miroslav Benes
On Wed, 16 Dec 2015, Jessica Yu wrote: > +++ Jessica Yu [09/12/15 14:10 -0500]: > > +++ Josh Poimboeuf [08/12/15 12:38 -0600]: > > > > > > There was a lot of discussion for v1, so I'm not sure, but I thought we > > > ended up deciding to get rid of the klp_reloc_sec struct? Instead I > > >

Re: int overflow in io_getevents

2015-12-16 Thread Jan Kara
On Mon 07-12-15 11:27:07, Dmitry Vyukov wrote: > Hello, > > While running syzkaller fuzzer on commit > 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8, I've hit the following UBSAN > warning. I think it can lead to an unexpected active wait loop, if > user-space expects such io_getevents to wait for a

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-16 Thread Jirka Hladky
Hi Rik, I have redone the bisecting and have new results: # first bad commit: [2a595721a1fa6b684c1c818f379bef834ac3d65e] sched/numa: Convert sched_numa_balancing to a static_branch Could you please have a look what went wrong? Thanks a lot! Jirka git bisect start '--' 'kernel/sched' # good:

Re: [PATCH V4 16/16] ARM64: tegra: select PM_GENERIC_DOMAINS

2015-12-16 Thread Ulf Hansson
On 16 December 2015 at 12:40, Jon Hunter wrote: > > On 16/12/15 09:47, Ulf Hansson wrote: >> On 16 December 2015 at 10:40, Jon Hunter wrote: >>> Hi Ulf, >>> >>> On 15/12/15 19:54, Ulf Hansson wrote: On 4 December 2015 at 15:57, Jon Hunter wrote: > Enable PM_GENERIC_DOMAINS for tegra

Re: [PATCH v4] arm64: Add support for PTE contiguous bit.

2015-12-16 Thread Steve Capper
On 11 December 2015 at 21:02, David Woods wrote: > The arm64 MMU supports a Contiguous bit which is a hint that the TTE > is one of a set of contiguous entries which can be cached in a single > TLB entry. Supporting this bit adds new intermediate huge page sizes. > > The set of huge page sizes

Re: [PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-16 Thread Robin Murphy
On 16/12/15 05:59, Yong Wu wrote: On Tue, 2015-12-15 at 12:37 +, Robin Murphy wrote: On 15/12/15 03:28, Yong Wu wrote: On Mon, 2015-12-14 at 15:16 +0100, Joerg Roedel wrote: On Tue, Dec 08, 2015 at 05:49:12PM +0800, Yong Wu wrote: +static int mtk_iommu_attach_device(struct iommu_domain

Re: [PATCH 08/10] x86, perf: Support sysfs files depending on SMT status

2015-12-16 Thread Stephane Eranian
Andi, On Tue, Dec 15, 2015 at 4:54 PM, Andi Kleen wrote: > > From: Andi Kleen > > Add a way to show different sysfs events attributes depending on > HyperThreading is on or off. This is difficult to determine > early at boot, so we just do it dynamically when the sysfs > attribute is read. >

Re: [PATCH 1/2] ASoC: atmel-pdmic: add the Pulse Density Modulation Interface Controller

2015-12-16 Thread Mark Brown
On Mon, Dec 14, 2015 at 04:15:39PM +0800, Songjun Wu wrote: > Add driver for the Pulse Density Modulation Interface > Controller. It comes with digitallly controlled gain, > a High-Pass and a SINCC filter. This looks basically OK but there's a *lot* of weird coding style issues in here. It's

Re: [PATCH 01/11] resource: Add System RAM resource type

2015-12-16 Thread Borislav Petkov
On Mon, Dec 14, 2015 at 04:37:16PM -0700, Toshi Kani wrote: > I/O resource type, IORESOURCE_MEM, is used for all types of > memory-mapped ranges, ex. System RAM, System ROM, Video RAM, > Persistent Memory, PCI Bus, PCI MMCONFIG, ACPI Tables, IOAPIC, > reserved, and so on. This requires

[PATCH 1/2] ARC: dw2 unwind: Reinstante unwinding out of modules

2015-12-16 Thread Vineet Gupta
The fix which removed linear searching of dwarf (because binary lookup data always exists) missed out on the fact that modules don't get the binary lookup tables info. This caused unwinding out of modules to stop working. So add binary lookup header setup (equivalent of eh_frame_hdr setup) to

[PATCH 2/2] ARC: dw2 unwind: Ignore CIE version !=1 gracefully instead of bailing

2015-12-16 Thread Vineet Gupta
ARC dwarf unwinder only supports CIE version == 1 The boot time dwarf sanitizer (part of binary lookup table constructor) would simply bail if it saw CIE version == 3, rendering unwinder with a NULL lookup table. It seems libgcc linked with kernel does have such entries. With fallback linear

[PATCH 0/2] ARC dwarf unwinder fixes

2015-12-16 Thread Vineet Gupta
Wreckage of removal of slowpath linear search Vineet Gupta (2): ARC: dw2 unwind: Reinstante unwinding out of modules ARC: dw2 unwind: Ignore CIE version !=1 gracefully instead of bailing arch/arc/include/asm/unwind.h | 4 arch/arc/kernel/setup.c | 1 - arch/arc/kernel/unwind.c

Re: [PATCH 4/4] mm: memcontrol: clean up alloc, online, offline, free functions

2015-12-16 Thread Vladimir Davydov
On Tue, Dec 15, 2015 at 02:38:58PM -0500, Johannes Weiner wrote: > On Mon, Dec 14, 2015 at 08:14:55PM +0300, Vladimir Davydov wrote: > > On Fri, Dec 11, 2015 at 02:54:13PM -0500, Johannes Weiner wrote: > > ... > > > -static int > > > -mem_cgroup_css_online(struct cgroup_subsys_state *css) > > >

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread dawei chien
On Wed, 2015-12-16 at 19:22 +0800, Daniel Kurtz wrote: > On Wed, Dec 16, 2015 at 6:09 PM, dawei chien wrote: > > On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: > >> On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien > >> wrote: > >> > > >> > This adds thermal zone node to Mediatek MT8173

[PATCH] autofs: show pipe inode in mount options

2015-12-16 Thread Stanislav Kinsburskiy
This is required for CRIU to migrate a mount point, when write end in user space is closed. To be able to migrate such mount, read end of the pipe have to be searched within autofs master process, and pipe inode will be used as a key. Signed-off-by: Stanislav Kinsburskiy --- fs/autofs4/inode.c

Re: [RFC PATCH v2 3/6] module: s390: keep mod_arch_specific for livepatch modules

2015-12-16 Thread Miroslav Benes
On Mon, 30 Nov 2015, Jessica Yu wrote: > Livepatch needs to utilize the symbol information contained in the > mod_arch_specific struct in order to be able to call the s390 > apply_relocate_add() function to apply relocations. Remove the redundant > vfree() in module_finalize() since

Re: [PATCH 6/9] rmap: support file THP

2015-12-16 Thread Kirill A. Shutemov
On Tue, Dec 01, 2015 at 12:56:13PM -0800, Dave Hansen wrote: > On 11/18/2015 03:25 PM, Kirill A. Shutemov wrote: > > -void page_add_file_rmap(struct page *page) > > +void page_add_file_rmap(struct page *page, bool compound) > > I take it we have to pass 'compound' in explicitly because >

Re: [PATCH v4 2/5] mtd: nand: Qualcomm NAND controller driver

2015-12-16 Thread Archit Taneja
Hi Boris, On 12/16/2015 02:45 PM, Boris Brezillon wrote: Hi Archit, Again, sorry for the late review. It's probably not exhaustive but points a few things that should be fixed. Thanks for the thorough review! Some comments below. On Wed, 19 Aug 2015 10:19:03 +0530 Archit Taneja wrote:

Re: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-16 Thread Denis Kirjanov
On 12/16/15, Michael Ellerman wrote: > On Wed, 2015-12-16 at 17:08 +1100, Daniel Axtens wrote: >> Hi, >> >> A couple of things. >> >> Firstly, your two email addresses don't match: >> >> Zhang Zhuoyu writes: > >> > From: Zhang Zhuoyu >> >> These lines do seem odd! Are they causing a problem? >>

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-12-16 Thread Ivan T. Ivanov
> On Dec 16, 2015, at 12:18 PM, Ulf Hansson wrote: > > [...] > >>> It seems like a reasonable assumption that the controller can't cope >>> with a higher clock rate than 100 MHz as "input" clock. That would >>> then mean that there are different versions of the controller, as it >>> seems like

[PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
If CONFIG_PM_SLEEP is not defined then the functions are defined as NULL. And as a result we are getting build failure with alpha allmodconfig with the error: drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': include/linux/stddef.h:7:14: error: called object is not a function or

Re: [PATCH V4 16/16] ARM64: tegra: select PM_GENERIC_DOMAINS

2015-12-16 Thread Jon Hunter
On 16/12/15 09:47, Ulf Hansson wrote: > On 16 December 2015 at 10:40, Jon Hunter wrote: >> Hi Ulf, >> >> On 15/12/15 19:54, Ulf Hansson wrote: >>> On 4 December 2015 at 15:57, Jon Hunter wrote: Enable PM_GENERIC_DOMAINS for tegra 64-bit devices. To ensure that devices dependent upon a

Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures

2015-12-16 Thread Mark Rutland
On Wed, Dec 16, 2015 at 11:29:15AM +, Will Deacon wrote: > On Wed, Dec 16, 2015 at 10:39:50AM +, Suzuki K. Poulose wrote: > > On 15/12/15 11:55, Will Deacon wrote: > > >On Wed, Dec 09, 2015 at 09:57:15AM +, Suzuki K. Poulose wrote: > > > > >> /* > > >> * Initial data for bringing

Re: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-16 Thread Michael Ellerman
On Wed, 2015-12-16 at 17:08 +1100, Daniel Axtens wrote: > Hi, > > A couple of things. > > Firstly, your two email addresses don't match: > > Zhang Zhuoyu writes: > > From: Zhang Zhuoyu > > These lines do seem odd! Are they causing a problem? > > I'd be more comfortable removing them if I

Re: [PATCH v5 12/14] perf data: Support converting data from bpf_perf_event_output()

2015-12-16 Thread Jiri Olsa
On Mon, Dec 14, 2015 at 10:39:21AM +, Wang Nan wrote: SNIP > + } > + > + ret = bt_ctf_event_set_payload(event, "raw_data", seq_field); > + if (ret) > + pr_err("failed to set payload for raw_data\n"); > + > +put_seq_field: > + bt_ctf_field_put(seq_field); >

Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures

2015-12-16 Thread Will Deacon
On Wed, Dec 16, 2015 at 10:39:50AM +, Suzuki K. Poulose wrote: > On 15/12/15 11:55, Will Deacon wrote: > >On Wed, Dec 09, 2015 at 09:57:15AM +, Suzuki K. Poulose wrote: > > >> /* > >> * Initial data for bringing up a secondary CPU. > >>+ * @stack - sp for the secondary CPU > >>+ *

Re: [PATCH] udf: rework name conversions to fix multi-bytes characters support

2015-12-16 Thread Jan Kara
On Fri 11-12-15 05:44:32, Andrew Gabbasov wrote: > Current implementation has several issues in unicode.c, mostly related > to handling multi-bytes characters in file names: Thanks for looking into these problems! Did you find them by code inspection or do you actually have some problematic fs

Re: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-12-16 Thread Borislav Petkov
On Wed, Dec 16, 2015 at 11:09:50AM +, Kweh, Hock Leong wrote: > So, my conclusion is that this module is not able to be tested on QEMU > environment. That's not the point. The module should better handle writing to the device file gracefully and not explode. Regardless of whether it is

Re: [PATCH v5 10/14] perf tools: Enable indices setting syntax for BPF maps

2015-12-16 Thread Jiri Olsa
On Mon, Dec 14, 2015 at 10:39:19AM +, Wang Nan wrote: SNIP > # cat /sys/kernel/debug/tracing/trace | grep usleep >usleep-405 [004] d... 2745423.547822: : 101 >usleep-655 [006] d... 2745434.122814: : 102 >usleep-904 [006] d... 2745439.916264: : 103 >

Re: [PATCH 2/3] ata: sata_dwc_460ex: add phy support

2015-12-16 Thread Måns Rullgård
Sergei Shtylyov writes: > Hello. > > On 12/16/2015 2:25 AM, Mans Rullgard wrote: > >> This adds support for powering on an optional PHY when activating the >> device. >> >> Signed-off-by: Mans Rullgard > [...] >> diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c >> index

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-12-16 Thread Daniel Kurtz
On Mon, Nov 30, 2015 at 7:42 PM, Sascha Hauer wrote: > This adds the device tree binding documentation for the mediatek thermal > controller found on Mediatek MT8173 and other SoCs. > > Signed-off-by: Sascha Hauer > Reviewed-by: Daniel Kurtz > Acked-by: Rob Herring > --- >

Re: [PATCH v9 0/4] irqchip:support mbigen interrupt controller

2015-12-16 Thread Marc Zyngier
On 23/11/15 03:15, MaJun wrote: > From: Ma Jun > > This patch set adds the driver of mbigen and binding document for Hisilicon > Mbigen chips. [...] Any update on this? If this is to be 4.5 material, I'd like to see the various comments addressed shortly so that I can queue it. Thanks,

Re: [PATCH v5 2/3] arm64: dts: mt8173: Add thermal zone node.

2015-12-16 Thread Daniel Kurtz
On Wed, Dec 16, 2015 at 6:09 PM, dawei chien wrote: > On Wed, 2015-12-16 at 16:34 +0800, Daniel Kurtz wrote: >> On Wed, Dec 16, 2015 at 11:59 AM, Dawei Chien >> wrote: >> > >> > This adds thermal zone node to Mediatek MT8173 dtsi file. >> > >> > Signed-off-by: Dawei Chien >> > --- >> > This

Re: [BUG] checkpatch: unescaped left brace in regex is deprecated

2015-12-16 Thread Geyslan G. Bem
2015-12-15 21:13 GMT-03:00 Joe Perches : > On Tue, 2015-12-15 at 20:58 -0300, Geyslan G. Bem wrote: >> 2015-12-10 8:24 GMT-03:00 Geyslan G. Bem : >> > Suggested-by: Peter Senna Tschudin >> > Reported-by: Geyslan G. Bem >> > >> >> Joe, do you applied this patch? If not, would I send it? > > You

Re: [PATCH v4 1/3] dt-binding: power: Add otg regulator binding

2015-12-16 Thread Mark Brown
On Wed, Dec 16, 2015 at 12:13:50AM +0100, Sebastian Reichel wrote: > On Tue, Dec 15, 2015 at 11:52:10AM -0800, Tim Bird wrote: > > Add a binding for the regulator which controls the OTG chargepath switch. > > The OTG switch gets its power from pm8941_5vs1, and that should be > > expressed as a

Re: [PATCH 1/2] arm64: Improve error reporting on set_pte_at() checks

2015-12-16 Thread James Morse
Hi Andrew, On 16/12/15 03:01, Andrew Pinski wrote: > On Tue, Dec 9, 2015 at 17:26:56, Catalin Marinas > wrote: >> >> Currently the BUG_ON() checks do not give enough information about the PTEs >> being set. This patch changes BUG_ON to WARN_ONCE and dumps the values of >> the old and new PTEs.

Re: [PATCH 2/3] ata: sata_dwc_460ex: add phy support

2015-12-16 Thread Sergei Shtylyov
Hello. On 12/16/2015 2:25 AM, Mans Rullgard wrote: This adds support for powering on an optional PHY when activating the device. Signed-off-by: Mans Rullgard [...] diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 9985749..d07aae1 100644 ---

Re: [PATCH] arm64: reenable interrupt when handling ptrace breakpoint

2015-12-16 Thread Will Deacon
On Tue, Dec 15, 2015 at 04:18:08PM -0800, Yang Shi wrote: > The kernel just send out a SIGTRAP signal when handling ptrace breakpoint in > debug exception, so it sounds safe to have interrupt enabled if it is not > disabled by the parent process. Is this actually fixing an issue you're seeing, or

RE: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-12-16 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, November 04, 2015 4:00 AM > > On Mon, Nov 02, 2015 at 06:47:29AM +, Kweh, Hock Leong wrote: > > By looking at your dmesg log, the above print out message seem that > > someone has called the

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-16 Thread Johannes Weiner
On Wed, Dec 16, 2015 at 12:18:30PM +0900, Kamezawa Hiroyuki wrote: > Hmm, my requests are > - set the same capabilities as mlock() to set swap.limit=0 Setting swap.max is already privileged operation. > - swap-full notification via vmpressure or something mechanism. Why? > - OOM-Killer's

Re: [PATCH v9 2/3] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-12-16 Thread Harvey Hunt
Hi Boris, That's fine - I hope to get a new version ready soon. Thanks, Harvey On 14/12/15 16:25, Boris Brezillon wrote: Hi Harvey, I'm currently reworking the NAND subsystem to simplify NAND controller drivers (see this series [1]), and some of my patches have made it into Brian's tree.

[PATCH 3/3] mtd/ifc: Segregate IFC fcm and runtime registers

2015-12-16 Thread Raghav Dogra
IFC has two set of registers viz FCM (Flash control machine) aka global and run time registers. These set are defined in two memory map PAGES. Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB Signed-off-by: Jaiprakash Singh Signed-off-by: Raghav Dogra ---

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

2015-12-16 Thread Miroslav Benes
On Mon, 30 Nov 2015, Jessica Yu wrote: > @@ -3530,6 +3614,16 @@ static int load_module(struct load_info *info, const > char __user *uargs, > if (err < 0) > goto bug_cleanup; > > + /* > + * Save sechdrs, indices, and other data from info > + * in order to patch

[PATCH 1/3] driver/memory: Removal of deprecated NO_IRQ

2015-12-16 Thread Raghav Dogra
Replacing the NO_IRQ macro with 0. If there is no interrupt, returned value will be 0 regardless of what NO_IRQ is defined. Signed-off-by: Raghav Dogra --- drivers/memory/fsl_ifc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/fsl_ifc.c

Re: [PATCH 1/5] clk: rockchip: rk3036: include downstream muxes into fractional dividers

2015-12-16 Thread kbuild test robot
Hi Caesar, [auto build test ERROR on rockchip/for-next] [also build test ERROR on next-20151216] [cannot apply to clk/clk-next v4.4-rc5] url: https://github.com/0day-ci/linux/commits/Caesar-Wang/Kylin-board-is-based-on-RK3036-SOCs-add-the-initiation/20151216-163233 base: https

Re: [PATCH RFC] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-16 Thread Vitaly Kuznetsov
Xishi Qiu writes: > On 2015/12/16 17:17, Vitaly Kuznetsov wrote: > >> Xishi Qiu writes: >> >>> On 2015/12/16 2:05, Vitaly Kuznetsov wrote: >>> Currently, all newly added memory blocks remain in 'offline' state unless someone onlines them, some linux distributions carry special udev

[PATCH] Partial revert of "powerpc: Individual System V IPC system calls"

2015-12-16 Thread Michael Ellerman
This partially reverts commit a34236155afb1cc41945e58388ac988431bcb0b8. While reviewing the glibc patch to exploit the individual IPC calls, Arnd & Andreas noticed that we were still requiring userspace to pass IPC_64 in order to get the new style IPC API. With a bit of cleanup in the kernel we

[PATCHv2] pci: Update VPD size with correct length

2015-12-16 Thread Hannes Reinecke
PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller than that. To figure out the actual size one has to read the VPD area until the 'end marker' is reached. Trying to read VPD data beyond that marker results in 'interesting' effects, from simple read errors to crashing

Re: [PATCH v2 12/14] mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver

2015-12-16 Thread Ulf Hansson
[...] > +static int pic32_sdhci_probe(struct platform_device *pdev) > +{ > + struct device *dev = >dev; > + struct sdhci_host *host; > + struct resource *iomem; > + struct pic32_sdhci_pdata *sdhci_pdata; > + struct pic32_sdhci_platform_data *plat_data; > +

Re: [PATCH v6] sun4i-codec: Add FM, Line and Mic inputs

2015-12-16 Thread Maxime Ripard
Hi, On Tue, Dec 15, 2015 at 02:52:08AM +0100, Danny Milosavljevic wrote: > Hi Maxime, > > On Sun, 13 Dec 2015 21:58:39 +0100 > Maxime Ripard wrote: > > > This is not the branch you should be basing your patch on. This is an > > ASoC patch, base it on the ASoC tree. > > Okay, will do. To the

Re: module: preserve Elf information for livepatch modules

2015-12-16 Thread Miroslav Benes
On Thu, 10 Dec 2015, Josh Poimboeuf wrote: > On Wed, Dec 09, 2015 at 03:05:23PM -0500, Jessica Yu wrote: > > +++ Josh Poimboeuf [08/12/15 12:32 -0600]: > > >On Mon, Nov 30, 2015 at 11:21:15PM -0500, Jessica Yu wrote: > > >>For livepatch modules, copy Elf section, symbol, and string information >

[PATCH 2/3] driver/memory: Update dependency of IFC for Layerscape

2015-12-16 Thread Raghav Dogra
IFC NAND is not working on ARM layescape platform due to undefined macro FSL_SOC. This patch fixes the dependency to enable NAND. Signed-off-by: Raghav Dogra --- drivers/memory/Kconfig | 2 +- drivers/memory/fsl_ifc.c | 4 +++- drivers/mtd/nand/Kconfig | 2 +- 3 files changed, 5

Re: [PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx transfer

2015-12-16 Thread Wolfram Sang
On Tue, Dec 15, 2015 at 11:15:05PM +, Mans Rullgard wrote: > The BYTECNT register holds the transfer size minus one. Setting it to > the correct value removes the need for a dummy read/write at the end of > each transfer. As zero-length transfers are not supported, do not > advertise

Re: [PATCH v2 2/2] i2c: xlr: add interrupt support for Sigma Designs chips

2015-12-16 Thread Wolfram Sang
On Tue, Dec 15, 2015 at 11:15:06PM +, Mans Rullgard wrote: > The Sigma Designs variant of this controller has the ability to generate > interrupts. This is controlled using two additional registers, oddly > enough overlapping with the defined but unused HDSTATIM. > > This patch adds support

Re: [PATCH] pci: Update VPD size with correct length

2015-12-16 Thread kbuild test robot
Hi Hannes, [auto build test ERROR on pci/next] [also build test ERROR on v4.4-rc5 next-20151216] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-size-with-correct-length/20151216-183013 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next

Re: [PATCH RFC] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-16 Thread Xishi Qiu
On 2015/12/16 17:17, Vitaly Kuznetsov wrote: > Xishi Qiu writes: > >> On 2015/12/16 2:05, Vitaly Kuznetsov wrote: >> >>> Currently, all newly added memory blocks remain in 'offline' state unless >>> someone onlines them, some linux distributions carry special udev rules >>> like: >>> >>>

RE: [PATCH 1/3] Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy

2015-12-16 Thread Dexuan Cui
> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > ... > >> @@ -109,7 +109,7 @@ static unsigned int hvt_op_poll(struct file *file, > >> poll_table *wait) > >>poll_wait(file, >outmsg_q, wait); > >> > >>if (hvt->mode == HVUTIL_TRANSPORT_DESTROY) > >> - return -EBADF; > >> +

Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures

2015-12-16 Thread Suzuki K. Poulose
On 15/12/15 11:55, Will Deacon wrote: On Wed, Dec 09, 2015 at 09:57:15AM +, Suzuki K. Poulose wrote: /* * Initial data for bringing up a secondary CPU. + * @stack - sp for the secondary CPU + * @status - Result passed back from the secondary CPU to + * indicate failure.

Re: [PATCH v4] spi: dts: sun4i: Add support for wait time between word transmissions

2015-12-16 Thread Maxime Ripard
Hi, On Mon, Dec 14, 2015 at 09:11:14AM +0100, Marcus Weseloh wrote: > Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows > SPI slave devices to set a wait time between the transmission of words. > Modifies the spi_device struct and slave device probing to read and store >

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