Re: [PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
On Monday 08 August 2016 11:56 AM, kbuild test robot wrote: Hi Keerthy, [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.8-rc1 next-20160805] [cannot apply to ljones-mfd/for-mfd-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve t

Re: [PATCH 09/11] powerpc/mpic: use of_property_read_bool

2016-08-07 Thread Michael Ellerman
Julia Lawall writes: > Use of_property_read_bool to check for the existence of a property. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression e1,e2; > statement S2,S1; > @@ > - if (of_get_property(e1,e2,NULL)) > + if (

[PATCH v3 kernel 4/7] virtio-balloon: speed up inflate/deflate process

2016-08-07 Thread Liang Li
The implementation of the current virtio-balloon is not very efficient, the time spends on different stages of inflating the balloon to 7GB of a 8GB idle guest: a. allocating pages (6.5%) b. sending PFNs to host (68.3%) c. address translation (6.1%) d. madvise (19%) It takes about 4126ms for the

[PATCH v3 kernel 6/7] virtio-balloon: define feature bit and head for misc virt queue

2016-08-07 Thread Liang Li
Define a new feature bit which supports a new virtual queue. This new virtual qeuque is for information exchange between hypervisor and guest. The VMM hypervisor can make use of this virtual queue to request the guest do some operations, e.g. drop page cache, synchronize file system, etc. And the V

[PATCH v3 kernel 5/7] mm: add the related functions to get unused page

2016-08-07 Thread Liang Li
Save the unused page info into page bitmap. The virtio balloon driver call this new API to get the unused page bitmap and send the bitmap to hypervisor(QEMU) for speeding up live migration. During sending the bitmap, some the pages may be modified and are no free anymore, this inaccuracy can be cor

[PATCH v3 kernel 7/7] virtio-balloon: tell host vm's unused page info

2016-08-07 Thread Liang Li
Support the request for vm's unused page information, response with a page bitmap. QEMU can make use of this bitmap and the dirty page logging mechanism to skip the transportation of these unused pages, this is very helpful to speed up the live migration process. Signed-off-by: Liang Li Cc: Micha

[PATCH v3 kernel 3/7] mm: add a function to get the max pfn

2016-08-07 Thread Liang Li
Expose the function to get the max pfn, so it can be used in the virtio-balloon device driver. Simply include the 'linux/bootmem.h' is not enough, if the device driver is built to a module, directly refer the max_pfn lead to build failed. Signed-off-by: Liang Li Cc: Andrew Morton Cc: Mel Gorman

[PATCH v3 kernel 2/7] virtio-balloon: define new feature bit and page bitmap head

2016-08-07 Thread Liang Li
Add a new feature which supports sending the page information with a bitmap. The current implementation uses PFNs array, which is not very efficient. Using bitmap can improve the performance of inflating/deflating significantly The page bitmap header will used to tell the host some information abo

[PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-08-07 Thread Liang Li
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission

[PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list

2016-08-07 Thread Liang Li
Will allow faster notifications using a bitmap down the road. balloon_pfn_to_page() can be removed because it's useless. Signed-off-by: Liang Li Signed-off-by: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck Cc: Amit Shah Cc: Dave Hansen --- drivers/virtio/virtio_balloon.c | 22 +

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-07 Thread Leo Yan
Hi Amit, On Mon, Aug 08, 2016 at 11:23:31AM +0530, Amit Kucheria wrote: > On Mon, Aug 8, 2016 at 9:07 AM, Leo Yan wrote: > > In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by > > default, as result stub clock driver has not been registered and > > CPUFreq driver cannot work. > > I

RE: [PATCH 0857/1285] Replace numeric parameter like 0444 with macro

2016-08-07 Thread Ni, BaoleX
Dear Darren, Thank you very much! I'll be glad to take your advice. Baole -Original Message- From: Darren Hart [mailto:dvh...@infradead.org] Sent: Saturday, August 06, 2016 6:57 AM To: Henrique de Moraes Holschuh Cc: Ni, BaoleX; ibm-acpi-de...@lists.sourceforge.net; platform-driver-..

Re: [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-07 Thread Stephan Mueller
Am Montag, 8. August 2016, 02:03:36 CEST schrieb Pan, Miaoqing: Hi Miaoqing, > The entropy was evaluated by crypto expert, the analysis report show the > ADC with at least 10bits and up to 22 bits of min-entropy for a 32 bits > value, we conservatively assume the min-entropy is 10 bits out of 32

Partnership Cooperation

2016-08-07 Thread Sheikh Maktoum Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-07 Thread Darrick J. Wong
On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: > On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > > > [1] > > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 > > > > > > I ad

Re: [PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread kbuild test robot
Hi Keerthy, [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.8-rc1 next-20160805] [cannot apply to ljones-mfd/for-mfd-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ke

[PATCH v4 7/7] doc: bindings: act8945a-charger: Update properties

2016-08-07 Thread Wenyou Yang
Due the driver improvements, update the properties, - Remove "active-semi,check-battery-temperature" property. - Add the properties, "active-semi,irq_gpio" and "active-semi,lbo-gpios". Signed-off-by: Wenyou Yang --- Changes in v4: - Update the doc/binding for using "interrupts" property.

[PATCH v4 6/7] power: act8945a_charger: Add max current property

2016-08-07 Thread Wenyou Yang
Add the power supply's current max property, POWER_SUPPLY_PROP_CURRENT_MAX. Signed-off-by: Wenyou Yang --- Changes in v4: - Fix wrong gpio assignment for chglev_pin. Changes in v3: None Changes in v2: None drivers/power/act8945a_charger.c | 79 +++- 1 file

[PATCH v4 5/7] power: act8945a_charger: Add capacity level property

2016-08-07 Thread Wenyou Yang
Add the power supply capacity level property, it corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. It also utilizes the precision voltage detector function module to catch the low battery voltage. Signed-off-by: Wenyou Yang --- Changes in v4: - Change devname of devm_request_irq() from "lbo-detect

[PATCH v4 4/7] power: act8945a_charger: Fix the power supply type

2016-08-07 Thread Wenyou Yang
The power supply type property is varying as the external power supply changes. It is not a constant. Signed-off-by: Wenyou Yang --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/power/act8945a_charger.c | 48 1 file changed, 39 in

[PATCH v4 3/7] power: act8945a_charger: Add status change update support

2016-08-07 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery temp

[PATCH v4 2/7] power: act8945a_charger: Improve

2016-08-07 Thread Wenyou Yang
When get the property, first check the charger state machine, then check the status bit to decide what value is assigned to the corresponding property. Retain the SUSCHG bit of REG 0x71 when configure the timers to avoid losting the charger suspending info after boot. Signed-off-by: Wenyou Yang

[PATCH v4 1/7] power: act8945a_charger: Remove "battery_temperature"

2016-08-07 Thread Wenyou Yang
Remove "battery_temperature" member, it is redundant, it is the hardware's responsibility to handle TH pin properly. It is unnecessary to use the dt property to check if there is a battery temperature monitor or not. Signed-off-by: Wenyou Yang --- Changes in v4: None Changes in v3: None Changes

[PATCH v4 0/7] power: act8945a_charger: Improvements

2016-08-07 Thread Wenyou Yang
This patch series is to improve the implementation of act8945a-charger driver, such as improve the way to check the status, fix the power supply type property, add the status change update, and add more properties: capacity level property and max current property. Changes in v4: - Use "interrupts

Re: [PATCH v3 3/3] serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 soc

2016-08-07 Thread Kefeng Wang
+ kernel malilist Hi Andriy and all, any comments, thanks. On 2016/7/15 19:01, Kefeng Wang wrote: > Use built-in device properties to set device parameters for the > existing device probed by acpi. > > Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful > that it is not 16550 compati

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-07 Thread Johannes Berg
On Sun, 2016-08-07 at 13:42 +, Altshul, Maxim wrote: > Hi Johaness, > I have prepared a patch for the issue and it is waiting for me to > send it, but I feel that maybe I have not explained the previous > issue well enough or I did not understand your request fully. > I would like to clarify ab

RE: [PATCH v3 7/7] doc: bindings: act8945a-charger: Update properties

2016-08-07 Thread Wenyou.Yang
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 2016年7月30日 5:40 > To: Wenyou Yang > Cc: Sebastian Reichel ; Dmitry Eremin-Solenikov > ; David Woodhouse ; Pawel > Moll ; Mark Brown ; Ian Campbell > ; Kumar Gala ; linux- > ker...@vger.kernel.org; devicet...

[PATCH RESEND v2 4/8] uio: Add new UIO_MEM_DEVICE type for mem regions

2016-08-07 Thread Anup Patel
On ARM64, the MMU supports special memory attributes for device memory/registers. Due to this we have pgprot_device() provided by asm/pgtable.h of arch/arm64. On architectures that do not have special MMU attribute for device memory/registers, the asm-generic/pgtable.h maps pgprot_device() to pgpr

[PATCH RESEND v2 3/8] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2016-08-07 Thread Anup Patel
From: Ankit Jindal Currently, three types of mem regions are supported: UIO_MEM_PHYS, UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps UIO driver export physcial memory to user space as non-cacheable user memory. Typcially memory-mapped registers of a device are exported to use

[PATCH RESEND v2 6/8] uio: UIO_IRQ_NONE is a valid option for uioinfo->irq

2016-08-07 Thread Anup Patel
From: Jan Viktorin We can simplify handling of platform_get_irq into one place as it is acceptable to see UIO_IRQ_NONE instead of a valid IRQ number. Some devices don't have or don't need any interrupt to be handled. The same change has been already done for uio_pdrv_genirq. Signed-off-by: Jan V

[PATCH RESEND v2 8/8] uio: Use new memtypes in uio_dmem_genirq

2016-08-07 Thread Anup Patel
This patch extends uio_dmem_genirq driver to use recently added memtypes as follows: 1. Use UIO_MEM_DEVICE memtype for MEM resources 2. Use UIO_MEM_PHYS_CACHE memtype for dynamic regions when UIO DT node is marked as DMA coherent. Signed-off-by: Anup Patel --- drivers/uio/uio_dmem_genirq.c | 9 +

[PATCH RESEND v2 7/8] uio: bind uio_dmem_genirq via OF

2016-08-07 Thread Anup Patel
From: Jan Viktorin The uio_dmem_genirq works in a similar ways as uio_pdrv_genirq now. It accepts the of_id module parameter to specify UIO compatible string as module parameter. There are few other module parameters to specify number bits in DMA mask and sizes dynamic regions. Following are th

[PATCH RESEND v2 2/8] uio: code style cleanup

2016-08-07 Thread Anup Patel
From: Ankit Jindal This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index fb

[PATCH RESEND v2 5/8] Documentation: Update documentation for UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE

2016-08-07 Thread Anup Patel
From: Ankit Jindal This patch updates UIO documentation for new mem region types UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- Documentation/DocBook/uio-howto.tmpl | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Docu

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-07 Thread Amit Kucheria
On Mon, Aug 8, 2016 at 9:07 AM, Leo Yan wrote: > In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by > default, as result stub clock driver has not been registered and > CPUFreq driver cannot work. I have a related patch that has been pending for a while: https://lkml.org/lkml/2016/6

[PATCH RESEND v2 1/8] uio: fix dmem_region_start computation

2016-08-07 Thread Anup Patel
From: Jan Viktorin The variable i contains a total number of resources (including IORESOURCE_IRQ). However, we want the dmem_region_start to point after the last resource of type IORESOURCE_MEM. The original behaviour leads (very likely) to skipping several UIO mapping regions and makes them usel

[PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-07 Thread Anup Patel
The goal of this patchset is to improve UIO framework and UIO dmem driver to allow cache-coherent DMA accesses from user-space. This patchset is based on two previous patchsets: 1) [PATCH v5 0/6] UIO driver for APM X-Gene QMTM (Refer, http://www.spinics.net/lists/devicetree/msg58244.html) 2) [PATC

[PATCH v6 3/4] gpio: lp873x: Add support for General Purpose Outputs

2016-08-07 Thread Keerthy
Add driver for lp873x PMIC family GPOs. Two GPOs are supported and can be configured in Open-drain output or Push-pull output. Acked-by: Linus Walleij Signed-off-by: Keerthy --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-lp873x.c | 185 ++

[PATCH v6 0/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

[PATCH v6 1/4] Documentation: mfd: LP873X: Add information for the mfd driver

2016-08-07 Thread Keerthy
The lp873x series of PMICs have a bunch of regulators and a couple of GPO(General Purpose Outputs). Add information for the MFD and regulator drivers. Acked-by: Rob Herring Signed-off-by: Keerthy --- Changes in v6: * Added more formating for properties. Changes in v4: * Added the GPIO pro

[PATCH v6 4/4] regulator: lp873x: Change the MFD config option as per latest naming

2016-08-07 Thread Keerthy
Change the MFD config option as per latest naming Signed-off-by: Keerthy --- drivers/regulator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 6c88e31..97dc4cc 100644 --- a/drivers/regulator/Kconfig +++ b/dri

[PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

Re: [PATCH v5 5/6] dmaengine: pl330: Make sure microcode is privileged

2016-08-07 Thread Vinod Koul
On Wed, Jul 27, 2016 at 04:42:07PM -0700, Mitchel Humpherys wrote: > The PL330 performs privileged instruction fetches. This can result in > SMMU permission faults on SMMUs that implement the ARMv8 VMSA, which Lot of acronyms with no explanation whatsoever > specifies that mappings that are writ

Re: [PATCH] fix platform_no_drv_owner.cocci warnings

2016-08-07 Thread Vinod Koul
On Wed, Jul 27, 2016 at 04:41:16PM +0200, Julia Lawall wrote: > No need to set .owner here. The core will do it. And which tree was this generated against :-) Upstream doesn't have _dpdma.c > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Julia Lawall >

Re: [PATCH v2 6/6] dmaengine: omap-dma: Support for LinkedList transfer of slave_sg

2016-08-07 Thread Vinod Koul
On Wed, Jul 20, 2016 at 11:50:32AM +0300, Peter Ujfalusi wrote: > sDMA in OMAP3630 or newer SoC have support for LinkedList transfer. When > LinkedList or Descriptor load feature is present we can create the > descriptors for each and program sDMA to walk through the list of > descriptors instead o

Re: [PATCH v5 2/3] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
On Friday 05 August 2016 02:31 PM, Lee Jones wrote: On Fri, 05 Aug 2016, Keerthy wrote: On Friday 05 August 2016 01:33 PM, Lee Jones wrote: On Wed, 29 Jun 2016, Keerthy wrote: The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It con

Re: [PATCH] treewide: fix a bunch of typos (part 2)

2016-08-07 Thread Masahiro Yamada
Hi Randy, Thanks for taking a close look! 2016-08-08 13:50 GMT+09:00 Randy Dunlap : > --- a/net/sctp/transport.c > +++ b/net/sctp/transport.c > @@ -630,9 +630,7 @@ void sctp_transport_reset(struct sctp_transport *t) > t->srtt = 0; > t->rttvar = 0; > > - /* Reset these addi

Re: [PATCH] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-08-07 Thread Greg KH
On Mon, Aug 08, 2016 at 12:29:08PM +0800, Peng Fan wrote: > Hi, > > Kindly ping.. since more than two weeks from patch sent out. It's the merge window, we can't take new patches during then. Relax, it will be handled when I catch up...

Re: [PATCH] treewide: fix a bunch of typos (part 2)

2016-08-07 Thread Randy Dunlap
On 08/07/16 06:56, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada ipc/: all OK kernel/ : all OK lib/: all OK scripts/ : all OK security/ : all OK tools/ : all OK block/ comments (otherwise all OK): --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c @@ -468,7 +468,7 @@ int sg_

Re: [PATCH] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-08-07 Thread Peng Fan
Hi, Kindly ping.. since more than two weeks from patch sent out. Thanks, Peng. On Thu, Jul 21, 2016 at 04:04:21PM +0800, Peng Fan wrote: >When dma_common_free_remap, the input parameter 'size' may not >be page aligned. And, met kernel warning when doing iommu dma >for usb on i.MX8 platform: >" >W

Re: linux-next: Tree for Aug 8

2016-08-07 Thread Stephen Rothwell
Hi Andrew, On Mon, 8 Aug 2016 13:51:22 +1000 Andrew Donnellan wrote: > > On 08/08/16 13:17, Stephen Rothwell wrote: > > Please do not add material destined for v4.9 to your linux-next included > > branches until after v4.8-rc1 has been released. > > Which has now happened :) Yes, I will remo

warning: (DRM_KMS_FB_HELPER && ..) selects FB_DEFERRED_IO which has unmet direct dependencies (HAS_IOMEM && ..)

2016-08-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 339b19e3c4ff728a5dcdbd388a5fbe83c1aabc37 drm/ast: make fbdev support really optional date: 3 weeks ago config: x86_64-randconfig-s5-08081114 (attached as .c

Re: [PATCH] treewide: fix a bunch of typos (Documentation/)

2016-08-07 Thread Randy Dunlap
On 08/07/16 06:56, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada for the Documentation/* files: All of the changes look correct, but a couple of them could use some more attention: --- a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt +++ b/Documentation/devicetree/

Re: [PATCH RESEND] net: can: Introduce MEN 16Z192-00 CAN controller driver

2016-08-07 Thread Benjamin Poirier
On 2016/07/26 11:16, Andreas Werner wrote: [...] > + > + /* Lock for CTL_BTR register access. > + * This register combines bittiming bits > + * and the operation mode bits. > + * It is also used for bit r/m/w access > + * to all registers. > + */ > + spinlock_t lock

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-07 Thread Theodore Ts'o
On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > > [1] > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 > > > > I added the patch, rebuilt and rebooted. It will take some time > > before I

Re: linux-next: Tree for Aug 8

2016-08-07 Thread Andrew Donnellan
On 08/08/16 13:17, Stephen Rothwell wrote: Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Which has now happened :) -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnel...@au1.ibm.com IBM Australia Limit

[PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-07 Thread Leo Yan
In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by default, as result stub clock driver has not been registered and CPUFreq driver cannot work. This patch is to enable stub clock driver in config for ARCH_HISI. Reported-by: Dietmar Eggemann Signed-off-by: Leo Yan --- drivers/clk/

linux-next: Tree for Aug 8

2016-08-07 Thread Stephen Rothwell
Hi all, Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Changes since 20160805: Linus' tree gained a build failure for which I disabled a new driver. The sound-asoc tree gained a build failure so I used the version from n

[PATCH] mm: fix the incorrect hugepages count

2016-08-07 Thread zhongjiang
From: zhong jiang when memory hotplug enable, free hugepages will be freed if movable node offline. therefore, /proc/sys/vm/nr_hugepages will be incorrect. The patch fix it by reduce the max_huge_pages when the node offline. Signed-off-by: zhong jiang --- mm/hugetlb.c | 1 + 1 file changed,

Re: [PATCH] ARM: dts: add rk3288-firefly-reload

2016-08-07 Thread Shawn Lin
在 2016/8/7 22:44, Heiko Stuebner 写道: Hi Shawn, Am Sonntag, 7. August 2016, 11:40:21 schrieb Shawn Lin: On 2016/7/19 3:46, Heiko Stübner wrote: Am Montag, 18. Juli 2016, 23:32:32 schrieb Randy Li: The Firefly RK3288 Reload is a combination Firefly rk3288 core board with the Reload baseboard. A

Re: [PATCH v3 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-07 Thread Dave Young
On 08/03/16 at 08:59am, Zhou Wenjian wrote: > v2->v3: add description of nr_cpus. > v1->v2: change nr_cpus to maxcpus > > nr_cpus can help to save memory. So we should remind user of it. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 2 ++ > 1 file changed, 2 insertions

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-07 Thread Aaron Lu
On Fri, Aug 05, 2016 at 07:53:38PM +0800, Xin Long wrote: > >> It doesn't make much sense to me. the codes I added cannot be > >> triggered without enable any pr policies. and I also did the tests in > > > > It seems these pr policies has to be turned on by user space, i.e. > > netperf in this case

Re: [PATCH v4 0/6] power: add power sequence library

2016-08-07 Thread Peter Chen
On Sat, Aug 06, 2016 at 02:00:08PM +0200, Oscar wrote: > El 2016-08-02 05:30, Peter Chen escribió: > >Hi all, > > > >This is a follow-up for my last power sequence framework patch set > >[1]. > >According to Rob Herring and Ulf Hansson's comments[2], I use a > >generic > >power sequence library for

RE: [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-07 Thread Pan, Miaoqing
The entropy was evaluated by crypto expert, the analysis report show the ADC with at least 10bits and up to 22 bits of min-entropy for a 32 bits value, we conservatively assume the min-entropy is 10 bits out of 32 bits, so that's why set entropy quality to 320/1024 = 10/32. Also we have expl

(.init.text+0x122): multiple definition of `plat_irq_setup'

2016-08-07 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 7480e0aabd5f9e6c3e3b72ed206e89284e90f11f sh: add device tree support and generic board using device tree date

linux-next: build failure after merge of Linus' tree

2016-08-07 Thread Stephen Rothwell
Hi all, With Linus' tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/infiniband/sw/built-in.o:(.opd+0x1698): multiple definition of `copy_data' drivers/infiniband/hw/built-in.o:(.opd+0xe5f8): first defined here drivers/infiniband/sw/built-in.o:(.opd+0x1320): multip

Linux 4.8-rc1

2016-08-07 Thread Linus Torvalds
It's been two weeks, and the merge window for 4.8 is thus closed. Due to travel last week, I actually still have a few pull requests pending in my inbox that I just wanted to take another look at before merging, but the large bulk of the merge window material has been merged, and I wanted to make

drivers/pinctrl/intel/pinctrl-merrifield.c:518:10: error: implicit declaration of function 'readl'

2016-08-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 4e80c8f505741cbdef3e10862ea36057e8d85e7c pinctrl: intel: Add Intel Merrifield pin controller support date: 6 weeks ago config: x86_64-randconfig-x012-201632

Re: [PATCH] USB: serial: fix memleak on error path in usb-serial

2016-08-07 Thread Alan Stern
On Mon, 8 Aug 2016, Alexey Klimov wrote: > udriver struct allocated by kzalloc() will not be freed > if usb_register() and next calls fail. This patch fixes this > by adding one more step with kfree(udriver) in error path. > > Cc: Alan Stern > Signed-off-by: Alexey Klimov > --- > drivers/usb/s

[PATCH] USB: serial: fix memleak on error path in usb-serial

2016-08-07 Thread Alexey Klimov
udriver struct allocated by kzalloc() will not be freed if usb_register() and next calls fail. This patch fixes this by adding one more step with kfree(udriver) in error path. Cc: Alan Stern Signed-off-by: Alexey Klimov --- drivers/usb/serial/usb-serial.c | 4 +++- 1 file changed, 3 insertions(

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

2016-08-07 Thread Kuninori Morimoto
Hi > After merging the sound-asoc tree, today's linux-next build (arm > multi_v7_defconfig build) failed like this: > > sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of': > sound/soc/generic/simple-card.c:350:8: error: implicit declaration of > function 'asoc_simple_ca

Charity Project !!!

2016-08-07 Thread Friedrich And Annand Mayrhofer
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer.

RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

2016-08-07 Thread Zheng, Lv
> From: Alexander Kuleshov [mailto:kuleshovm...@gmail.com] > Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of > ACPI_INFO output > > as the ACPI_INFO already prints `\n` in the end itself. [Lv Zheng] Looks good. Acked-by: Lv Zheng However this patch should go through ACPICA upstrea

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

2016-08-07 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig build) failed like this: sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of': sound/soc/generic/simple-card.c:350:8: error: implicit declaration of function 'asoc_simple_card_parse

Re: [RFC PATCH v7 1/7] Restartable sequences system call

2016-08-07 Thread Boqun Feng
On Sun, Aug 07, 2016 at 03:36:24PM +, Mathieu Desnoyers wrote: > - On Aug 3, 2016, at 11:45 AM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Wed, Aug 03, 2016 at 03:19:40PM +0200, Peter Zijlstra wrote: > >> On Thu, Jul 21, 2016 at 05:14:16PM -0400, Mathieu Desnoyers wrote: > >> > diff -

[PATCH 4/6] hwmon: (lm95241) Drop FSF address

2016-08-07 Thread Guenter Roeck
The FSF address may change, and providing it does not add any value. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index c2da2b161996..507b32b67974 100644 --- a/drivers/hwmon/lm952

[PATCH 6/6] hwmon: (lm95241) Use more accurate limits

2016-08-07 Thread Guenter Roeck
The lower temperature limit is -128 degrees C. The supported upper limits are 127.875 or 255.875 degrees C. Also, don't fail if a value outside the supported range is provided when setting a temperature limit. Instead, clamp the provided value to the available value range. Signed-off-by: Guenter R

[PATCH 3/6] hwmon: (lm95241) Order include files alphabetically

2016-08-07 Thread Guenter Roeck
Simplify detecting duplicate include files and finding the right place for adding new ones. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index e4e7bf169b07..c

[PATCH 2/6] hwmon: (lm95241) Add support for fault attributes

2016-08-07 Thread Guenter Roeck
The chip reports if remote diodes are present, which can be used for the fault attrributes. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index a8

[PATCH 1/6] hwmon: (lm95241) Fix overflow problems, write conversion rate to chip

2016-08-07 Thread Guenter Roeck
Writing the update_interval attribute could result in an overflow if a number close to the maximum unsigned long was written. At the same time, even though the chip supports setting the conversion rate, the selected conversion rate was not actually written to the chip. Fix the second problem by se

[PATCH 5/6] hwmon: (lm95241) Use BIT macro where appropriate

2016-08-07 Thread Guenter Roeck
Drop some of the SHIFT defines since shift is implied with BIT(). Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 45 + 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index 5

Re: [PATCH v2] x86/power/64: Support unaligned addresses for temporary mapping

2016-08-07 Thread Rafael J. Wysocki
On Saturday, August 06, 2016 09:53:50 PM Yinghai Lu wrote: > On Sat, Aug 6, 2016 at 6:03 PM, Rafael J. Wysocki wrote: > > On Wednesday, August 03, 2016 11:28:48 PM Rafael J. Wysocki wrote: > > > > On a second thought, it seems to be better to follow your suggestion to > > simply > > provide a spe

[PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade Pro.V)

2016-08-07 Thread Philippe PITTOLI
Hello, I added a controller ID to the xbox driver for the Real Aracade Pro V controller from Hori. It's my first patch, and I followed the guidances from the kernelnewbies.org website, I hope it'll be ok. Thanks, --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) diff --g

Re: [PATCH 0/7] de-stage SW_SYNC validation frawework

2016-08-07 Thread Pavel Machek
On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote: > On Mon, Jul 18, 2016 at 04:12:45PM -0300, Gustavo Padovan wrote: > > Hi, > > > > Do you think there is time to get this in for 4.8? > > No, it was too late on my end, due to travel and vacation, sorry. I'll > queue it up for 4.9-rc1. Could

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-08-07 Thread Pavel Machek
Hi! > > With these boards, you will not see anything on the screen that is > > attached to a Type-C connector until the OS has booted to the point > > where it has negotiated the power contract and entered a mode. > > > > If the system has BIOS/FW/EC capable of negotiating the power contract > >

Re: [PATCH v4] watchdog: ziirave_wdt: Add support to upload the firmware.

2016-08-07 Thread Guenter Roeck
On 08/01/2016 04:39 AM, Enric Balletbo i Serra wrote: This patch adds and entry to the sysfs to start firmware upload process on the specified device with the requested firmware. The uploading of the firmware needs only to happen once per firmware upgrade, as the firmware is stored in persistent

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Joe Perches
On Sun, 2016-08-07 at 10:44 -0700, Andi Kleen wrote: > > > > It is so bloated that gcc needs to be asked to not screw up with stack > > > > size. > > > What happens when you drop all the noinlines for this? I assume > > > this would alread make it faster. And now that we have bigger > > > stacks we

[GIT PULL] Final block changes for 4.8-rc1

2016-08-07 Thread Jens Axboe
Hi Linus, As mentioned in the pull the other day, a few more fixes for this round, all related to the bio op changes in this series. Two fixes, and then a cleanup, renaming bio->bi_rw to bio->bi_opf. I wanted to do that change right after or right before -rc1, so that risk of conflict was reduced

Re: [PATCH] scripts: Translate profile2linkerlist.

2016-08-07 Thread Michal Marek
Dne 7.8.2016 v 20:33 Jorge Natz napsal(a): > -while (<>) { > - my $line = $_; > - > - $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/; > - > - print "*(.text.$1)\n" [...] > + LINE=$( echo $LINE | sed -e s"/[0-9.][0-9.]*//" -e s"/[0-9.][0-9.]*$//" > | xargs) > + case $LINE in *unknown*|*to

Re: [PATCH v2 3/4] perf/core: introduce PMU_EV_CAP_READ_ACTIVE_PKG

2016-08-07 Thread David Carrillo-Cisneros
Hi Nilay, >> static int perf_event_read(struct perf_event *event, bool group) >> { >> - int ret = 0; >> + int ret = 0, cpu_to_read; >> >> - /* >> -* If event is enabled and currently active on a CPU, update the >> -* value in the event structure: >> -*/

Re: [PATCH] mfd: syscon: Make use of of_iomap

2016-08-07 Thread Arnd Bergmann
On Sunday, August 7, 2016 10:08:19 AM CEST Andrey Smirnov wrote: > Use of_iomap instead of explicitly calling of_address_to_resource() and > ioremap(). > > Signed-off-by: Andrey Smirnov > Acked-by: Arnd Bergmann

[PATCH v2] mtd: spi-nor: Add s25fs256s1 spi-nor flash support

2016-08-07 Thread Jagan Teki
Add Spansion s25fs256s1 spi-nor flash to the list of spi_nor_ids. In spansion S25FS-S family the physical sectors are grouped as normal and parameter sectors. Parameter sectors are 4kB in size with 8 set located at the bottom or top address of a device. Normal sectors are similar to other flash fa

Re: [PATCH v2 3/4] perf/core: introduce PMU_EV_CAP_READ_ACTIVE_PKG

2016-08-07 Thread Nilay Vaish
On 08/06/16 22:12, David Carrillo-Cisneros wrote: diff --git a/kernel/events/core.c b/kernel/events/core.c index 34049cc..77f1bd3 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -,6 +,26 @@ struct perf_read_data { int ret; }; +static int find_cpu_to_read(struct p

[PATCH] dmaengine: pxa_dma: fix hotchain corner case

2016-08-07 Thread Robert Jarzmik
In the case where a descriptor is chained on a running channel, and as explained in the comment in the code 10 lines above, the success of the chaining is ensured either if : - the DMA is still running - or if the chained transfer is completed Unfortunately the transfer completness test was done

[PATCH] dmaengine: pxa_dma: fix debug message

2016-08-07 Thread Robert Jarzmik
In a very tight timeframe, the debug message in the transfer completion handler can be misleading, as the completion test report can change just after the message, and the code flow cannot be deduced from the debug message. This is just a cleanup to make debugging easier. Signed-off-by: Robert Ja

[PATCH] mtd: spi-nor: Add s25fs256s1 spi-nor flash support

2016-08-07 Thread Jagan Teki
Add Atmel s25fs256s1 spi-nor flash to the list of spi_nor_ids. In spansion S25FS-S family the physical sectors are grouped as normal and parameter sectors. Parameter sectors are 4kB in size with 8 set located at the bottom or top address of a device. Normal sectors are similar to other flash famil

[PATCH] scripts: Translate profile2linkerlist.

2016-08-07 Thread Jorge Natz
profile2linkerlist.pl is a script that takes the sorted output of the readprofile command and turns it into a list of C functions in a format for linker lists. Make the script more portable across POSIX systems. This script does not use any shell-specific features, only POSIX ones. A POSIX she

Charity Project !!!

2016-08-07 Thread Friedrich And Annand Mayrhofer
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer.

Re: [PATCH v2 1/3] ntb: Add asynchronous devices support to NTB-bus interface

2016-08-07 Thread Serge Semin
Hello Allen. Thanks for your careful review. Going through this mailing thread I hope we'll come up with solutions, which improve the driver code as well as extend the Linux kernel support of new devices like IDT PCIe-swtiches. Before getting to the inline commentaries I need to give some intro

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Andi Kleen
> > > It is so bloated that gcc needs to be asked to not screw up with stack > > > size. > > What happens when you drop all the noinlines for this? I assume > > this would alread make it faster. And now that we have bigger > > stacks we can likely tolerate it. > > %pV recurses through these code p

  1   2   >