Re: [LEDE-DEV] DHCP via bridge in case of IPv4

2016-08-15 Thread Alexey Brodkin
Hello, On Mon, 2016-07-11 at 06:15 +, Alexey Brodkin wrote: > Hi Russel, > > On Sun, 2016-07-10 at 00:19 -0700, Russell Senior wrote: > >  > > > > > > > "Alexey" == Alexey Brodkin writes: > > Alexey> Hi Aaron, > > Alexey> On Sat, 2016-07-09 at 07:47 -0400, Aaron

Re: [RFC][PATCHSET v2] allowing exports in *.S

2016-08-15 Thread Michal Marek
Dne 16.8.2016 v 07:48 Michal Marek napsal(a): > Dne 2.8.2016 v 16:01 Michal Marek napsal(a): >> On 2016-02-03 22:19, Al Viro wrote: >>> Shortlog: >>> Al Viro (13): >>> [kbuild] handle exports in lib-y objects reliably >>> EXPORT_SYMBOL() for asm >>> x86: move exports to actual

Re: [PATCH v6 05/11] mm, compaction: add the ultimate direct compaction priority

2016-08-15 Thread Joonsoo Kim
On Wed, Aug 10, 2016 at 11:12:20AM +0200, Vlastimil Babka wrote: > During reclaim/compaction loop, it's desirable to get a final answer from > unsuccessful compaction so we can either fail the allocation or invoke the OOM > killer. However, heuristics such as deferred compaction or pageblock skip

Re: [Query] increased latency observed in cpu hotplug path

2016-08-15 Thread Khan, Imran
On 8/5/2016 12:49 PM, Khan, Imran wrote: > On 8/1/2016 2:58 PM, Khan, Imran wrote: >> On 7/30/2016 7:54 AM, Akinobu Mita wrote: >>> 2016-07-28 22:18 GMT+09:00 Khan, Imran : Hi, Recently we have observed some increased latency in CPU hotplug event in

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-15 Thread Borislav Petkov
On Mon, Aug 15, 2016 at 01:47:31PM -0500, Alex Thorlton wrote: > The only thing we're adding here is the physical mappings, to match > what is availble in the primary kernel. I can see what it does - I just am questioning the reasoning for as we did all that effort so that kexec can have stable

Re: [PATCH 1/2] ARM: dts: imx7d: move CPU operating points to imx7d.dtsi

2016-08-15 Thread Shawn Guo
On Thu, Aug 11, 2016 at 05:11:06PM -0700, Stefan Agner wrote: > Only i.MX 7Dual SoC supports CPU frequencies of up to 1GHz. The i.MX > 7Solo can run with up to 800MHz and does so without making use of DVFS > usually. While the device tree clearly specified a too fast operating > point for i.MX

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-15 Thread Shaun Tancheff
On Mon, Aug 15, 2016 at 11:00 PM, Damien Le Moal wrote: > > Shaun, > >> On Aug 14, 2016, at 09:09, Shaun Tancheff wrote: > […] >>> No, surely not. >>> But one of the _big_ advantages for the RB tree is blkdev_discard(). >>> Without the RB

Re: [RFC][PATCHSET v2] allowing exports in *.S

2016-08-15 Thread Michal Marek
Dne 2.8.2016 v 16:01 Michal Marek napsal(a): > On 2016-02-03 22:19, Al Viro wrote: >> Shortlog: >> Al Viro (13): >> [kbuild] handle exports in lib-y objects reliably >> EXPORT_SYMBOL() for asm >> x86: move exports to actual definitions >> alpha: move exports to actual

Re: [PATCH] KEYS: fix big_key dependency

2016-08-15 Thread Stephan Mueller
Am Dienstag, 16. August 2016, 00:45:39 CEST schrieb Kirill Marinushkin: Hi Kirill, > + select CRYPTO_ANSI_CPRNG This change enables the RNG which will not pass FIPS testing any more. Hence, this selection could cause an issue in FIPS mode (i.e. booting the kernel with fips=1). May I

Re: [PATCH v6 0/5] /dev/random - a new approach

2016-08-15 Thread Stephan Mueller
Am Montag, 15. August 2016, 13:42:54 CEST schrieb H. Peter Anvin: Hi H, > On 08/11/16 05:24, Stephan Mueller wrote: > > * prevent fast noise sources from dominating slow noise sources > > > > in case of /dev/random > > Can someone please explain if and why this is actually desirable, and if

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-15 Thread Borislav Petkov
On Mon, Aug 15, 2016 at 02:52:22PM -0700, H. Peter Anvin wrote: > So to answer the implicit question: we have found UEFI stacks in the > field which fail without the physical mappings present, and we have > found stacks which fail without a nontrivial SetAddressMapping. You mean

Re: [PATCH] perf/core: Fix the mask in perf_output_sample_regs

2016-08-15 Thread Madhavan Srinivasan
On Thursday 11 August 2016 05:57 PM, Peter Zijlstra wrote: Sorry, found it in my inbox while clearing out backlog.. On Sun, Jul 03, 2016 at 11:31:58PM +0530, Madhavan Srinivasan wrote: When decoding the perf_regs mask in perf_output_sample_regs(), we loop through the mask using

[PATCH v2 8/8] power: ds2760_battery: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "monitor_wqueue" is used to monitor the battery status. It has been identity converted. It queues multiple work items viz >monitor_work,

[PATCH v2 5/8] power: ab8500_charger: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "charger_wq" is used for the IRQs and checking HW state of the charger. It has been identity converted. It has multiple work items viz

[PATCH v2 7/8] power: ab8500_fg: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "fg_wq" is used for running the FG algorithm periodically. It has been identity converted. It has multiple work items viz fg_periodic_work,

[PATCH v2 6/8] power: ipaq_micro_battery: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "wq" is used for handling battery related tasks. It has a single work item viz >update and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The WQ_MEM_RECLAIM flag has been set to

[PATCH v2 4/8] power: intel_mid_battery: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "monitor_wqueue" is used to monitor the PMIC battery status. It queues a single work item (pbi->monitor_battery) and hence doesn't require ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. Since PMIC battery status needs

[PATCH v2 3/8] power: pm2301_charger: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "charger_wq" is used for running all the charger related tasks. This involves charger detection, checking for HW failure and HW status. This

[PATCH v2 2/8] power: ab8500_btemp: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "btemp_wq" is used for measuring the temperature periodically. It queues a single workitem (btemp_periodic_work) and hence doesn't require ordering. Thus, the deprecated create_singlethread_workqueue() instance has been replaced with alloc_workqueue(). The WQ_MEM_RECLAIM flag has

[PATCH v2 1/8] power: abx500_chargalg: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "chargalg_wq" is used for running the charging algorithm. It has multiple workitems viz >chargalg_periodic_work, >chargalg_wd_work, >chargalg_work

[PATCH v2 0/8] power: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueues in drivers/power by making the appropriate conversions. Bhaktipriya Shridhar (8): power: abx500_chargalg: Remove deprecated create_singlethread_workqueue power: ab8500_btemp: Remove deprecated

Re: [PATCH v1 3/3] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-15 Thread kbuild test robot
Hi Finley, [auto build test ERROR on battery/master] [also build test ERROR on v4.8-rc2 next-20160815] [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/Finlye-Xiao/PM-AVS-add-Rockchip-cpu-avs

[PATCH] Bluetooth: btusb: Add support for 0cf3:e009

2016-08-15 Thread Kai-Heng Feng
Device 0cf3:e009 is one of the QCA ROME family. T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=04 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=e009 Rev=00.01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon)

Re: ASoC: sun4i-codec: playback stall and I/O error with DAPM paths all disabled

2016-08-15 Thread wens Tsai
On Mon, Aug 15, 2016 at 7:42 PM, Mark Brown wrote: > On Mon, Aug 15, 2016 at 05:43:55PM +0800, wens Tsai wrote: > >> What is unexpected is any attempt to play anything under this state makes >> the playback software (in my case mpg321) stall, and later report an I/O >> error.

Re: [lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-15 Thread Ye Xiaolong
On 08/16, Peter Chen wrote: >On Mon, Aug 15, 2016 at 10:49:55PM +0800, Ye Xiaolong wrote: >> On 08/15, Peter Chen wrote: >> > >> >> >> >> >> >>FYI, we noticed the following commit: >> >> >> >>https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next >> >>commit >>

Re: [PATCH v2 2/3] ses: use scsi_is_sas_rphy instead of is_sas_attached

2016-08-15 Thread kbuild test robot
Hi Johannes, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.8-rc2 next-20160815] [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/Johannes-Thumshirn/Fix-panic-when-a-SES

Re: [PATCH] exynos-drm: Fix display manager failing to start without IOMMU problem

2016-08-15 Thread Inki Dae
Hi Shuah, 2016년 08월 13일 02:52에 Shuah Khan 이(가) 쓴 글: > On 08/12/2016 11:28 AM, Shuah Khan wrote: >> On 08/10/2016 05:05 PM, Shuah Khan wrote: >>> On 08/10/2016 04:59 PM, Inki Dae wrote: Hi Shuah, 2016년 08월 11일 02:30에 Shuah Khan 이(가) 쓴 글: > Fix exynos_drm_gem_create_ioctl()

[PATCH v2] arc: Add "model" properly in device tree description of all boards

2016-08-15 Thread Alexey Brodkin
As it was discussed quite some time ago (see https://lkml.org/lkml/2015/11/5/862) it's a good practice to add "model" property in .dts. Moreover as per ePAPR "model" property is required and should look like "manufacturer,model" so we do here. Signed-off-by: Alexey Brodkin

Re: [PATCH] powerpc/powernv: Initialise nest mmu

2016-08-15 Thread Balbir Singh
On 16/08/16 10:37, Alistair Popple wrote: > Balbir, > > > >>> + /* Update partition table control register on all Nest MMUs */ >>> + opal_nmmu_set_ptcr(-1UL, __pa(partition_tb) | (PATB_SIZE_SHIFT - 12)); >>> + >> >> Just wondering if >> >> 1. Instead of using -1 for all cpus, we should

Re: [PATCH V5 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-08-15 Thread Archit Taneja
Hi, On 08/09/2016 10:11 PM, Peter Senna Tschudin wrote: Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware

Re: [RFC] can we use vmalloc to alloc thread stack if compaction failed

2016-08-15 Thread Joonsoo Kim
On Wed, Aug 10, 2016 at 04:59:39AM -0700, Andy Lutomirski wrote: > On Sun, Jul 31, 2016 at 10:30 PM, Joonsoo Kim wrote: > > On Fri, Jul 29, 2016 at 12:47:38PM -0700, Andy Lutomirski wrote: > >> -- Forwarded message -- > >> From: "Joonsoo Kim"

Re: [PATCH 2/6] x86/boot: Move compressed kernel to end of decompression buffer

2016-08-15 Thread Matt Mullins
[added Simon Glass to CC in case there's some input from u-boot] On Thu, Apr 28, 2016 at 05:09:04PM -0700, Kees Cook wrote: > From: Yinghai Lu > > This patch adds BP_init_size (which is the INIT_SIZE as passed in from > the boot_params) into asm-offsets.c to make it visible

Re: [PATCH 4.7 00/41] 4.7.1-stable review

2016-08-15 Thread Shuah Khan
On 08/14/2016 02:38 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.7.1 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-15 Thread Damien Le Moal
Shaun, > On Aug 14, 2016, at 09:09, Shaun Tancheff wrote: […] >>> >> No, surely not. >> But one of the _big_ advantages for the RB tree is blkdev_discard(). >> Without the RB tree any mkfs program will issue a 'discard' for every >> sector. We will be able to

Re: [PATCH 4.6 00/56] 4.6.7-stable review

2016-08-15 Thread Shuah Khan
On 08/14/2016 02:37 PM, Greg Kroah-Hartman wrote: > * > NOTE > This is the LAST 4.6.y kernel that will be released. After this > release, it is end-of-life. You should be moving on to 4.7.y at this > point in time. You

Re: [PATCH 4.4 00/49] 4.4.18-stable review

2016-08-15 Thread Shuah Khan
On 08/14/2016 02:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.18 release. > There are 49 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3.14 00/29] 3.14.76-stable review

2016-08-15 Thread Shuah Khan
On 08/14/2016 02:07 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.76 release. > There are 29 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

linux-next: Tree for Aug 16

2016-08-15 Thread Stephen Rothwell
Hi all, Changes since 20160815: Non-merge commits (relative to Linus' tree): 2149 2086 files changed, 87009 insertions(+), 30762 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm

[PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered

2016-08-15 Thread Pratyush Anand
We have observed on few x86 machines with rtc-cmos device that hpet_rtc_interrupt() is called just after irq registration and before cmos_do_probe() could call hpet_rtc_timer_init(). So, neither hpet_default_delta nor hpet_t1_cmp is initialized by the time interrupt is raised in the given

[PATCH V3 1/2] rtc/hpet: Factorize hpet_rtc_timer_init()

2016-08-15 Thread Pratyush Anand
We need the ability to support initialization of hpet_default_delta and hpet_t1_cmp counters before irq can be enabled. This patch splits hpet_rtc_timer_init() into two functions: hpet_rtc_timer_counter_init() and hpet_rtc_timer_enable, so that the above functionality can be achieved. Next patch

[PATCH 6/7] dax: define a unified inode/address_space for device-dax mappings

2016-08-15 Thread Dan Williams
In support of enabling resize / truncate of device-dax instances, define a pseudo-fs to provide a unified inode/address space for vm operations. Cc: Al Viro Signed-off-by: Dan Williams --- drivers/dax/dax.c | 150

[PATCH 5/7] dax: convert to the cdev api

2016-08-15 Thread Dan Williams
A goal of the device-DAX interface is to be able to support many exclusive allocations (partitions) of performance / feature differentiated memory. This count may exceed the default minors limit of 256. As a result of switching to an embedded cdev the inode-to-dax_dev conversion is simplified,

[PATCH 4/7] dax: embed a struct device in dax_dev

2016-08-15 Thread Dan Williams
The kref in dax_dev can be made redundant if the final put_device() on the device associated with the dax_dev frees the dax_dev. This can be accomplished by embedding a struct device in struct dax_dev, open coding device_create() and specifying a custom release method. Signed-off-by: Dan

[RFC PATCH] mmc: dw_mmc: avoid race condition of cpu and IDMAC

2016-08-15 Thread Shawn Lin
We could see an obvious race condition by test that the former write operation by IDMAC aiming to clear OWN bit reach right after the later configuration of the same desc, which makes the IDMAC be in SUSPEND state as the OWN bit was cleared by the asynchronous write operation of IDMAC. The bug can

[PATCH 7/7] dax: unmap/truncate on device shutdown

2016-08-15 Thread Dan Williams
Invalidate all mappings of a device-dax instance when the device is unregistered. Signed-off-by: Dan Williams --- drivers/dax/dax.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dax/dax.c b/drivers/dax/dax.c index e8b9319aeadb..0a7899d5c65c 100644 ---

[PATCH 1/7] dax: cleanup needlessly global symbol warnings

2016-08-15 Thread Dan Williams
drivers/dax/dax.c:75:6: warning: symbol 'dax_region_put' was not declared. drivers/dax/dax.c:95:19: warning: symbol 'alloc_dax_region' was not declared. drivers/dax/dax.c:173:5: warning: symbol 'devm_create_dax_dev' was not declared. drivers/dax/pmem.c:27:17: warning: symbol 'to_dax_pmem' was not

[PATCH 3/7] dax: rename fops from dax_dev_ to dax_

2016-08-15 Thread Dan Williams
Shorten the prefix of the file operations to distinguish them from operations on the struct device associated with the dax_dev. Signed-off-by: Dan Williams --- drivers/dax/dax.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 0/7] dax: unified host inode for device-dax mappings

2016-08-15 Thread Dan Williams
There are two scenarios where we need mappings of a /dev/dax device to share a single host inode, invalidating mappings at device shutdown, and coordinating resize of an actively mapped device. This series addresses the unmap-on-shutdown case and includes reworks, like the cdev api conversion, to

[PATCH 2/7] dax: reorder dax_fops function definitions

2016-08-15 Thread Dan Williams
In order to convert devm_create_dax_dev() to use cdev, it will need access to dax_fops. Move dax_fops and related function definitions before devm_create_dax_dev(). Signed-off-by: Dan Williams --- drivers/dax/dax.c | 337

[PATCH V3 0/2] rtc-cmos: Workaround unwanted interrupt generation

2016-08-15 Thread Pratyush Anand
We have observed on few machines with rtc-cmos devices that it generates an interrupt before the hpet_rtc_timer_init() call is finished. This leads to hpet_rtc_interrupt() being called before it is fully initialized. Therefore the while-loop of hpet_cnt_ahead() in hpet_rtc_timer_reinit() never

Re: [PATCH v2 3/3] usb: gadget: add f_uac1 variant based on new u_audio api

2016-08-15 Thread Peter Chen
On Sun, Aug 14, 2016 at 01:21:24AM +0300, Ruslan Bilovol wrote: > This patch adds new function f_uac1_newapi that > uses recently created u_audio api. This makes > f_uac1_newapi implementation much simpler by > reusing existing u_audio core utilities. > > This also drops previous f_uac1 approach

[PATCH] Input: tegra-kbc: fix inverted reset logic

2016-08-15 Thread Masahiro Yamada
Commit fe6b0dfaba68 ("Input: tegra-kbc - use reset framework") accidentally converted _deassert to _assert, so there is no code to wake up this hardware. Fixes: fe6b0dfaba68 ("Input: tegra-kbc - use reset framework") Signed-off-by: Masahiro Yamada ---

Re: [PATCH v2] mm/slab: Improve performance of gathering slabinfo stats

2016-08-15 Thread Joonsoo Kim
On Fri, Aug 05, 2016 at 09:21:56AM -0500, Christoph Lameter wrote: > On Fri, 5 Aug 2016, Joonsoo Kim wrote: > > > If above my comments are fixed, all counting would be done with > > holding a lock. So, atomic definition isn't needed for the SLAB. > > Ditto for slub. struct kmem_cache_node is

Re: [PATCH 1/2] KVM: nVMX: fix msr bitmaps to prevent L2 from accessing L0 x2APIC

2016-08-15 Thread Wanpeng Li
2016-08-09 2:16 GMT+08:00 Radim Krčmář : > msr bitmap can be used to avoid a VM exit (interception) on guest MSR > accesses. In some configurations of VMX controls, the guest can even > directly access host's x2APIC MSRs. See SDM 29.5 VIRTUALIZING MSR-BASED > APIC ACCESSES. >

[PATCH v2 4/6] mm/page_ext: rename offset to index

2016-08-15 Thread js1304
From: Joonsoo Kim Here, 'offset' means entry index in page_ext array. Following patch will use 'offset' for field offset in each entry so rename current 'offset' to prevent confusion. Signed-off-by: Joonsoo Kim --- mm/page_ext.c | 6 +++--- 1

Re: [PATCH 1/5] mm/debug_pagealloc: clean-up guard page handling code

2016-08-15 Thread Joonsoo Kim
On Fri, Aug 12, 2016 at 09:25:37PM +0900, Sergey Senozhatsky wrote: > On (08/11/16 11:41), Vlastimil Babka wrote: > > On 08/10/2016 10:14 AM, Sergey Senozhatsky wrote: > > > > @@ -1650,18 +1655,15 @@ static inline void expand(struct zone *zone, > > > > struct page *page, > > > >

[PATCH v2 1/6] mm/debug_pagealloc: clean-up guard page handling code

2016-08-15 Thread js1304
From: Joonsoo Kim We can make code clean by moving decision condition for set_page_guard() into set_page_guard() itself. It will help code readability. There is no functional change. Acked-by: Vlastimil Babka Signed-off-by: Joonsoo Kim

[PATCH v2 3/6] mm/page_owner: move page_owner specific function to page_owner.c

2016-08-15 Thread js1304
From: Joonsoo Kim There is no reason that page_owner specific function resides on vmstat.c. Reviewed-by: Sergey Senozhatsky Signed-off-by: Joonsoo Kim --- include/linux/page_owner.h | 2 ++ mm/page_owner.c

[PATCH v2 0/6] Reduce memory waste by page extension user

2016-08-15 Thread js1304
From: Joonsoo Kim v2: Fix rebase mistake (per Vlastimil) Rename some variable/function to prevent confusion (per Vlastimil) Fix header dependency (per Sergey) This patchset tries to reduce memory waste by page extension user. First case is architecture supported

[PATCH v2 5/6] mm/page_ext: support extra space allocation by page_ext user

2016-08-15 Thread js1304
From: Joonsoo Kim Until now, if some page_ext users want to use it's own field on page_ext, it should be defined in struct page_ext by hard-coding. It has a problem that wastes memory in following situation. struct page_ext { #ifdef CONFIG_A int a; #endif

[PATCH v2 6/6] mm/page_owner: don't define fields on struct page_ext by hard-coding

2016-08-15 Thread js1304
From: Joonsoo Kim There is a memory waste problem if we define field on struct page_ext by hard-coding. Entry size of struct page_ext includes the size of those fields even if it is disabled at runtime. Now, extra memory request at runtime is possible so page_owner don't

[PATCH v2 2/6] mm/debug_pagealloc: don't allocate page_ext if we don't use guard page

2016-08-15 Thread js1304
From: Joonsoo Kim What debug_pagealloc does is just mapping/unmapping page table. Basically, it doesn't need additional memory space to memorize something. But, with guard page feature, it requires additional memory to distinguish if the page is for guard or not. Guard

[PATCH v1 2/3] of: Add support for reading a s32 from a multi-value property.

2016-08-15 Thread Finlye Xiao
From: Finley Xiao This patch adds an of_property_read_s32_index() function to allow reading a single indexed s32 value from a property containing multiple s32 values. Signed-off-by: Finley Xiao --- drivers/of/base.c | 23

[PATCH v1 1/3] nvmem: rockchip-efuse: Change initcall to subsys

2016-08-15 Thread Finlye Xiao
From: Finley Xiao We will register a cpufreq notifier for adjusting opp's voltage, and it need to fetch cpu's leakage from efuse in the notifier_call. so the efuse driver should probe before cpufreq driver. Signed-off-by: Finley Xiao ---

[PATCH v1 0/3] PM / AVS: add Rockchip cpu avs

2016-08-15 Thread Finlye Xiao
From: Finley Xiao Under the same frequency, the operating voltage tends to decrease with increasing leakage. so it is necessary to adjust opp's voltage according to leakage for power. Finley Xiao (3): nvmem: rockchip-efuse: Change initcall to subsys of: Add

[PATCH v1 3/3] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-15 Thread Finlye Xiao
From: Finley Xiao This patch supports adjusting opp's voltage according to leakage Signed-off-by: Finley Xiao --- .../devicetree/bindings/power/rockchip-cpu-avs.txt | 37 +++ drivers/power/avs/Kconfig | 8 +

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-15 Thread Wanpeng Li
2016-08-09 2:16 GMT+08:00 Radim Krčmář : > If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the > write with vmcs02 as the current VMCS. > This will incorrectly apply modifications intended for vmcs01 to vmcs02 > and L2 can use it to gain access to L0's

Re: [PART2 PATCH v5 06/12] iommu/amd: Adding GALOG interrupt handler

2016-08-15 Thread Suravee Suthikulpanit
Hi Joerg, On 8/9/16 21:43, Joerg Roedel wrote: On Mon, Jul 25, 2016 at 04:32:05AM -0500, Suthikulpanit, Suravee wrote: From: Suravee Suthikulpanit This patch adds AMD IOMMU guest virtual APIC log (GALOG) handler. When IOMMU hardware receives an interrupt

mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'

2016-08-15 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3684b03d8e9a889eda94ee74421959a9d55e5e19 commit: c1a0e9bc885d46e519fd87d35af6a7937abfb986 MIPS: Allow compact branch policy to be changed date: 10 months

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

2016-08-15 Thread Aaron Lu
Any update on this, Long? Regards, Aaron On 08/08/2016 10:10 AM, Aaron Lu wrote: > 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

Re: [PATCH v2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-08-15 Thread Guodong Xu
Ping. :) Would you give me some review opinions on this? In this revision, I chose to limit LED blinking to tx/rx traffic packets only. For other types of over-the-air packets, like scanning, it's not covered. Thank you. -Guodong On 31 July 2016 at 12:24, Guodong Xu

Re: [PATCH 1/4] net: hix5hd2_gmac: add tx scatter-gather feature

2016-08-15 Thread Dongpo Li
On 2016/8/16 0:18, Rob Herring wrote: > On Mon, Aug 15, 2016 at 1:50 AM, Dongpo Li wrote: >> Hi Rob, >> Many thanks for your review. >> >> On 2016/8/13 2:43, Rob Herring wrote: >>> On Thu, Aug 11, 2016 at 05:01:52PM +0800, Dongpo Li wrote: From: Li Dongpo

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Yilong Ren
On Tue, Aug 16, 2016 at 10:30:14AM +0800, Fengguang Wu wrote: > >how about adding a function "exact_enable_module()" to assure use "m" ? > > > >diff --git a/lib/kconfig.sh b/lib/kconfig.sh > >index 595dbfd..1502ce9 100644 > >--- a/lib/kconfig.sh > >+++ b/lib/kconfig.sh > >@@ -102,6 +102,7 @@

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Fengguang Wu
how about adding a function "exact_enable_module()" to assure use "m" ? diff --git a/lib/kconfig.sh b/lib/kconfig.sh index 595dbfd..1502ce9 100644 --- a/lib/kconfig.sh +++ b/lib/kconfig.sh @@ -102,6 +102,7 @@ enable_testcase_config() do [[ $CONFIG =~ ^CONFIG_[A-Z0-9_]+=y$

RE: [PATCH v2 1/2] ACPI/tables: Correct the wrong count increasing

2016-08-15 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Baoquan > He > Subject: [PATCH v2 1/2] ACPI/tables: Correct the wrong count increasing > > The current code always increases the count in the 1st element of > array proc[]. > > Signed-off-by:

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Masami Hiramatsu
On Mon, 15 Aug 2016 23:44:05 +0200 Arend Van Spriel wrote: > > > On 15-8-2016 13:52, Rafał Miłecki wrote: > > On 15 August 2016 at 12:57, Kalle Valo wrote: > >> Rafał Miłecki writes: > >> > Signed-off-by: Masami

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Yilong Ren
On Tue, Aug 16, 2016 at 09:58:43AM +0800, Fengguang Wu wrote: > On Tue, Aug 16, 2016 at 09:47:52AM +0800, Yilong Ren wrote: > >On Tue, Aug 16, 2016 at 09:41:02AM +0800, Fengguang Wu wrote: > >>On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: > >>>On Mon, Aug 15, 2016 at 6:26 PM,

RE: [PATCH V8 2/8] ACPI: Add new IORT functions to support MSI domain handling

2016-08-15 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Lorenzo > Pieralisi > Subject: Re: [PATCH V8 2/8] ACPI: Add new IORT functions to support MSI > domain handling > > On Thu, Aug 11, 2016 at 12:06:32PM +0200, Tomasz Nowicki wrote: > > [...] >

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-15 Thread Rik van Riel
On Tue, 2016-08-16 at 09:31 +0800, Wanpeng Li wrote: > 2016-08-15 23:00 GMT+08:00 Rik van Riel : > > On Mon, 2016-08-15 at 16:53 +0800, Wanpeng Li wrote: > > > 2016-08-12 23:58 GMT+08:00 Rik van Riel : > > > [...] > > > > Wanpeng, does the patch below work for

Re: [PATCH v6] x86/hpet: Reduce HPET counter read contention

2016-08-15 Thread Waiman Long
On 08/12/2016 10:30 PM, kbuild test robot wrote: Hi Waiman, [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.8-rc1 next-20160812] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3] sched/deadline: Fix the intention to re-evalute tick dependency for offline cpu

2016-08-15 Thread Wanpeng Li
Ping Juri, Frederic, could I get your Acked? 2016-08-12 17:24 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > The dl task will be replenished after dl task timer fire and start a > new period. It will be enqueued and to re-evaluate its dependency on >

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Fengguang Wu
On Tue, Aug 16, 2016 at 09:47:52AM +0800, Yilong Ren wrote: On Tue, Aug 16, 2016 at 09:41:02AM +0800, Fengguang Wu wrote: On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: >On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: >>On Mon, Aug 15, 2016 at

Re: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node

2016-08-15 Thread Guenter Roeck
On 08/15/2016 01:40 PM, Kevin Hilman wrote: Kevin Hilman writes: On Wed, Aug 3, 2016 at 5:27 PM, Kevin Hilman wrote: Hi Guenter, Kevin Hilman writes: Guenter Roeck writes: On 07/10/2016 02:11 AM,

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-15 Thread Linus Torvalds
On Mon, Aug 15, 2016 at 5:19 PM, Dave Chinner wrote: > >> None of this code is all that new, which is annoying. This must have >> gone on forever, > > Yes, it has been. Just worse than I've notice before, probably > because of all the stuff put under the tree lock in the past

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Dan Williams
On Mon, Aug 15, 2016 at 6:41 PM, Fengguang Wu wrote: > On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: >> >> On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu >> wrote: >>> >>> On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote:

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Yilong Ren
On Tue, Aug 16, 2016 at 09:41:02AM +0800, Fengguang Wu wrote: > On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: > >On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: > >>On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote: > >>> > >>>On Mon, Aug

Re: [lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-15 Thread Peter Chen
On Mon, Aug 15, 2016 at 10:49:55PM +0800, Ye Xiaolong wrote: > On 08/15, Peter Chen wrote: > > > >> > >> > >>FYI, we noticed the following commit: > >> > >>https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next > >>commit > >>ad05399d68b6ae1649cdcfc82ce3ffea1a7c5104 ("usb:

Re: [PATCH] extcon: Introduce EXTCON_PROP_USB_SUPERSPEED property

2016-08-15 Thread Guenter Roeck
On Mon, Aug 15, 2016 at 5:55 PM, Chanwoo Choi wrote: > Hi Guenter, > > Looks good to me. > I'll add the reference[1] information on patch description and applied it. > [1] https://en.wikipedia.org/wiki/USB#Overview > Thanks! Guenter > Thanks, > Chanwoo Choi > > On 2016년

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Yilong Ren
On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: > On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: > > On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote: > >> > >> On Mon, Aug 15, 2016 at 3:03 AM, kbuild test robot > >>

Re: [PATCH] USB: core: of: Check device_node before parsing in usb_of_get_child_node()

2016-08-15 Thread Peter Chen
On Mon, Aug 15, 2016 at 11:31:10AM -0700, Vaibhav Hiremath wrote: > In case of HUB devices connected to USB ports, we may not have DT > node representing it inside USB, and when devices connected to hub > gets enumerated, call to usb_of_get_child_node() leads to NULL pointer > dereference. > > In

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-08-15 Thread Alexey Kardashevskiy
On 12/08/16 04:52, Alexander Duyck wrote: > On Wed, Aug 10, 2016 at 4:54 PM, Benjamin Herrenschmidt > wrote: >> On Wed, 2016-08-10 at 08:47 -0700, Alexander Duyck wrote: >>> >>> The problem is if we don't do this it becomes possible for a guest to >>> essentially cripple

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Fengguang Wu
On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote: On Mon, Aug 15, 2016 at 3:03 AM, kbuild test robot wrote: tree:

[PATCH v3 RFC 2/2] nvme: improve performance for virtual NVMe devices

2016-08-15 Thread Helen Koike
From: Rob Nelson This change provides a mechanism to reduce the number of MMIO doorbell writes for the NVMe driver. When running in a virtualized environment like QEMU, the cost of an MMIO is quite hefy here. The main idea for the patch is provide the device two memory

[PATCH v3 RFC 1/2] PCI: Add Google device ID

2016-08-15 Thread Helen Koike
Add device ID for the local SSDs (NVMe) in Google Clound Engine Signed-off-by: Helen Koike --- Changes since v2: - This is a new patch in the serie include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h

[PATCH v3 RFC 0/2] Virtual NVMe device optimization

2016-08-15 Thread Helen Koike
Please, check commit "nvme: improve performance for virtual NVMe devices" for more details Commit "PCI: Add Google device ID" only adds a new id in pci_ids.h Patches are based in the linux-block/for-next branch and available here: https://github.com/helen-fornazier/opw-staging/commits/nvme/dev

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Fengguang Wu
On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote: On Mon, Aug 15, 2016 at 3:03 AM, kbuild test robot wrote: tree:

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

2016-08-15 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: WARNING: sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.o(.text+0x7e7): Section mismatch in reference from the function snd_byt_rt5640_mc_probe() to the variable

Re: [PATCH 2/2] pinctrl: sunxi: Add A64 R_PIO controller support

2016-08-15 Thread Chen-Yu Tsai
On Tue, Aug 16, 2016 at 8:06 AM, Icenowy Zheng wrote: > > > 15.08.2016, 21:56, "Chen-Yu Tsai" : >> Hi, >> >> On Mon, Aug 1, 2016 at 10:59 PM, Icenowy Zheng wrote: >>> The A64 has a R_PIO pin controller, similar to the one found on the H3 >>>

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-15 Thread Wanpeng Li
2016-08-15 23:00 GMT+08:00 Rik van Riel : > On Mon, 2016-08-15 at 16:53 +0800, Wanpeng Li wrote: >> 2016-08-12 23:58 GMT+08:00 Rik van Riel : >> [...] >> > Wanpeng, does the patch below work for you? >> >> It will break steal time for full dynticks guest, and

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-15 Thread Dan Williams
On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: > On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Williams wrote: >> >> On Mon, Aug 15, 2016 at 3:03 AM, kbuild test robot >> wrote: >>> >>> tree: >>>

  1   2   3   4   5   6   7   8   9   10   >