RE: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-15 Thread Zheng, Lv
Hi, > From: Chen, Yu C > Sent: Tuesday, December 15, 2015 2:13 PM > > Hi, Andy > > > From: Andy Lutomirski [mailto:l...@amacapital.net] > > Sent: Tuesday, December 15, 2015 7:28 AM > > > > On Wed, Dec 2, 2015 at 6:43 PM, Lv Zheng wrote: > > > From: Chen Yu

Re: [PATCH] ARM: dts: imx: Fix the assigned-clock mismatch issue on imx6q/dl

2015-12-15 Thread Shawn Guo
On Mon, Dec 14, 2015 at 11:07:50AM +0800, Shawn Guo wrote: > On Wed, Dec 09, 2015 at 04:15:55PM +0800, Bai Ping wrote: > > The 'assigned-clock-parents' and 'assigned-clock-rates' list > > should corresponding to the 'assigned-clocks' property clock list. > > > > Signed-off-by: Bai Ping

Re: [PATCH v3 3/3] perf: bpf: Fix build breakage due to libbpf

2015-12-15 Thread Wangnan (F)
This patch contains a problem. On 2015/12/15 11:35, Wang Nan wrote: From: "Naveen N. Rao" perf build is currently (v4.4-rc5) broken on powerpc: bpf.c:28:4: error: #error __NR_bpf not defined. libbpf does not support your arch. # error __NR_bpf not defined.

Re: [PATCH 5/6] perf tools: Add dynamic sort key for tracepoint events

2015-12-15 Thread Jiri Olsa
On Tue, Dec 15, 2015 at 12:46:12AM +0900, Namhyung Kim wrote: SNIP > > $ perf report -s > comm,sched:sched_switch.next_pid,sched:sched_switch.next_comm --stdio > ... > # Overhead Commandnext_pid next_comm > # ... ..

Re: [PATCH v2] perf test: Fix false TEST_OK result for 'perf test hist'

2015-12-15 Thread Namhyung Kim
On Tue, Dec 15, 2015 at 08:09:26AM +, Wang Nan wrote: > Commit 71d6de64feddd4b45326fba2111b3006d9e0 ('perf test: Fix hist > testcases when kptr_restrict is on') solves a double free problem when > 'perf test hist' calling setup_fake_machine(). However, the result is > still incorrect. For

Re: [PATCH 1/3] Device tree binding documentation for gpio-switch

2015-12-15 Thread Markus Pargmann
Hi, On Monday 14 December 2015 09:45:48 Rob Herring wrote: > On Mon, Dec 14, 2015 at 8:28 AM, Linus Walleij > wrote: > > On Fri, Dec 11, 2015 at 3:06 PM, Rob Herring wrote: > >> On Fri, Dec 11, 2015 at 6:39 AM, Linus Walleij

Re: [PATCH] ASoC: Atmel: ClassD: unregister codec when error occurs

2015-12-15 Thread Nicolas Ferre
Le 11/12/2015 04:07, Songjun Wu a écrit : > Add code to unregister codec in probe function, > when the error occurs after the codec is registered. > > Signed-off-by: Songjun Wu Seems okay: Acked-by: Nicolas Ferre Thanks, > --- > >

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

2015-12-15 Thread Xiao Guangrong
On 12/15/2015 04:11 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: The page fault caused by write access on the write tracked page can not be fixed, it always need to be emulated. page_fault_handle_page_track() is the fast path we introduce here to skip holding mmu-lock

[PATCH v3 7/9] phy: ti-pipe3: use *syscon* framework API to set PCS value of the PHY

2015-12-15 Thread Kishon Vijay Abraham I
Deprecate using phy-omap-control driver to set PCS value of the PHY and start using *syscon* API to do the same. Signed-off-by: Kishon Vijay Abraham I Acked-by: Roger Quadros --- Documentation/devicetree/bindings/phy/ti-phy.txt |2 ++

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

2015-12-15 Thread Xiao Guangrong
On 12/15/2015 03:52 PM, Kai Huang wrote: static bool __mmu_gfn_lpage_is_disallowed(gfn_t gfn, int level, @@ -2140,12 +2150,18 @@ static struct kvm_mmu_page *kvm_mmu_get_page(struct kvm_vcpu *vcpu, hlist_add_head(>hash_link,

[PATCH 1/3] f2fs: backup raw_super in sbi

2015-12-15 Thread Chao Yu
From: Yunlei He f2fs use fields of f2fs_super_block struct directly in a grabbed buffer. Once the buffer happen to be destroyed (e.g. through dd), it may bring in unpredictable effect on f2fs. This patch fixes to allocate additional buffer to store datas of super block

Re: [PATCHv2 1/2] ARM: multi_v7_defconfig: Enable Rockchip generic power domain.

2015-12-15 Thread Heiko Stübner
Hi Enric, Am Dienstag, 15. Dezember 2015, 09:25:34 schrieb Enric Balletbo Serra: > Arght, I'm asleep, I need a coffee this now, there isn't patch 2/2, > this patch is 1/1. I do think you can limit the recipients to "a...@kernel.org", the mailing lists and me (and include

Re: [PATCH] drm: Use the driver's gem_object_free function from CMA helpers.

2015-12-15 Thread Daniel Vetter
On Mon, Dec 14, 2015 at 04:26:26PM -0800, Eric Anholt wrote: > VC4 wraps the CMA objects in its own structures, so it needs to do its > own teardown (waiting for GPU to finish, updating bo_stats tracking). > The other CMA drivers are using drm_gem_cma_free_object as their > gem_free_object, so

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

2015-12-15 Thread Kamezawa Hiroyuki
On 2015/12/15 17:30, Vladimir Davydov wrote: On Tue, Dec 15, 2015 at 12:12:40PM +0900, Kamezawa Hiroyuki wrote: On 2015/12/15 0:30, Michal Hocko wrote: On Thu 10-12-15 14:39:14, Vladimir Davydov wrote: In the legacy hierarchy we charge memsw, which is dubious, because: - memsw.limit must

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

2015-12-15 Thread Xiao Guangrong
On 12/15/2015 04:47 PM, Kai Huang wrote: A further thinking is can we move it to mmu_need_write_protect? Passing can_unsync as parameter to kvm_unsync_pages sounds a little bit odd. + if (s->unsync) continue; WARN_ON(s->role.level != PT_PAGE_TABLE_LEVEL);

Re: linux-next: manual merge of the akpm-current tree with the powerpc tree

2015-12-15 Thread Aneesh Kumar K.V
Stephen Rothwell writes: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got conflicts in: > > arch/powerpc/include/asm/nohash/64/pgtable.h > arch/powerpc/mm/pgtable_64.c > > between various commits from the powerpc tree and commits: > >

[PATCH v3 2/4] ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe PHY node

2015-12-15 Thread Kishon Vijay Abraham I
Add "syscon-phy-power" property and "syscon-pcs" property which can be used to perform the control module initializations and remove the deprecated "ctrl-module" property from PCIe PHY dt nodes. Phandle to "sysclk" clock node is also added to the PCIe PHY node since some of the syscon

[PATCH v3 0/4] ARM: dts: use syscon property instead of ctrl-module

2015-12-15 Thread Kishon Vijay Abraham I
This series is basically to deprecate using ctrl-module property and use corresponding syscon properties to program the control module registers. Changes from v2: No changes. Changes from v1: *) Squashed the patches that replaces "ctrl-module" with "syscon-phy-power" *) Added

[PATCH v3 3/4] ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2 PHY2

2015-12-15 Thread Kishon Vijay Abraham I
The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string "ti,dra7x-usb2-phy2" for the second instance of USB2 PHY. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi |3

Re: [PATCH v6 8/8] spi: imx: add support for all SPI word width for DMA

2015-12-15 Thread Robin Gong
On Tue, Dec 08, 2015 at 07:43:50AM +0100, Anton Bondarenko wrote: > DMA transfer for SPI was limited to up to 8 bits word size until now. > Sync in SPI burst size and DMA bus width is necessary to correctly > support 16 and 32 BPW. > > Signed-off-by: Anton Bondarenko

Re: [PATCH 1/6] nvmem: Add flag to export NVMEM to root only

2015-12-15 Thread Srinivas Kandagatla
Hi Andrew, Thanks for this patch. On 08/12/15 14:05, Andrew Lunn wrote: Legacy AT24, AT25 EEPROMs are exported in sys so that only root can read the contents. The EEPROMs may contain sensitive information. Add a flag so the provide can indicate that NVMEM should also restrict access to root

linux-next: Tree for Dec 15

2015-12-15 Thread Stephen Rothwell
Hi all, Changes since 20151214: The samsung-krzk tree gained a conflict against the renesas tree. The net-next tree gained a conflict against the net tree. The drm-msm tree gained a build failure for which I applied a merge fix patch. The akpm-current tree gained a conflict against the

Re: [PATCH] sched/fair: fix mul overflow on 32-bit systems

2015-12-15 Thread Yuyang Du
On Mon, Dec 14, 2015 at 12:54:53PM +0100, Peter Zijlstra wrote: > On Mon, Dec 14, 2015 at 06:42:24AM +0800, Yuyang Du wrote: > > > In most cases 'r' shouldn't exceed 1024 and util_sum not significantly > > > exceed 1024*47742, but in extreme cases like spawning lots of new tasks > > > it may

[PATCH 2/9] phy: brcmstb-sata: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): //

Re: [PATCH 4/6] eeprom: at25: Remove in kernel API for accessing the EEPROM

2015-12-15 Thread Srinivas Kandagatla
On 08/12/15 14:05, Andrew Lunn wrote: The setup() callback is not used by any in kernel code. Remove it. Any new code which requires access to the eeprom can use the NVMEM API. Signed-off-by: Andrew Lunn --- drivers/misc/eeprom/at25.c | 26 --

[PATCH 6/9] phy: miphy28lp: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@

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

2015-12-15 Thread Kai Huang
On 12/15/2015 03:52 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: non-leaf shadow pages are always write protected, it can be the user of page track Signed-off-by: Xiao Guangrong --- arch/x86/include/asm/kvm_page_track.h | 8 +

[PATCH 0/2] x86/mm: A _PAGE_NX fixlet and a kmap cleanup

2015-12-15 Thread Andy Lutomirski
The fixlet might help with some WX warnings. The kmap cleanup is just a cleanup. This is very lightly tested. Andy Lutomirski (2): x86_32/mm: Set NX in __supported_pte_mask before enabling paging x86/mm: Make kmap_prot into a #define arch/x86/include/asm/fixmap.h | 2 +-

Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode

2015-12-15 Thread Milan Broz
On 12/15/2015 03:56 AM, Baolin Wang wrote: >>> + /* >>> + * Here we need to check if it can be encrypted or decrypted with >>> + * bulk block, which means these encryption modes don't need IV or >>> + * just need one initial IV. For bulk mode, we can expand the >>> + *

Re: [PATCH 1/2] mm/compaction: fix invalid free_pfn and compact_cached_free_pfn

2015-12-15 Thread Vlastimil Babka
On 12/14/2015 04:26 PM, Joonsoo Kim wrote: 2015-12-14 19:07 GMT+09:00 Vlastimil Babka : On 12/14/2015 06:02 AM, Joonsoo Kim wrote: Acked-by: Vlastimil Babka Note that until now in compaction we've used basically an open-coded round_down(), and ALIGN() for

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

2015-12-15 Thread Vladimir Davydov
On Tue, Dec 15, 2015 at 12:12:40PM +0900, Kamezawa Hiroyuki wrote: > On 2015/12/15 0:30, Michal Hocko wrote: > >On Thu 10-12-15 14:39:14, Vladimir Davydov wrote: > >>In the legacy hierarchy we charge memsw, which is dubious, because: > >> > >> - memsw.limit must be >= memory.limit, so it is

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

2015-12-15 Thread Kai Huang
On 12/01/2015 02:26 AM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao Guangrong ---

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

2015-12-15 Thread Xiao Guangrong
On 12/15/2015 03:06 PM, Kai Huang wrote: Hi Guangrong, I am starting to review this series, and should have some comments or questions, you can determine whether they are valuable :) Thank you very much for your review and breaking the silent on this patchset. ;) +static void

[f2fs-dev] [PATCH] f2fs: fix to reset variable correctlly

2015-12-15 Thread Fan Li
f2fs_map_blocks will set m_flags and m_len to 0, so we don't need to reset m_flags ourselves, but have to reset m_len to correct value before use it again. Signed-off-by: Fan li --- fs/f2fs/file.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Jiri Olsa
On Tue, Dec 15, 2015 at 12:46:13AM +0900, Namhyung Kim wrote: > Each tracepoint event has format string for print to improve > readability. Try to parse the output and match the field name. If it > finds one, use that for the result. If not, fallbacks to the original > output. > > For example,

Re: [PATCH] net/mlx4_core: fix handling return value of mlx4_slave_convert_port

2015-12-15 Thread Or Gerlitz
On 12/14/2015 12:05 PM, Andrzej Hajda wrote: The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]:

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-15 Thread Andrea Gelmini
On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > $ gdb vmlinux > > (gdb) l *(xfs_iflush_cluster+0x9d7) It's not working. Shame on me, I forgot to set "Compile the kernel with debug info". I'm recompiling, to try it again. Maybe, in the meanwhile, you can do something with my

[PATCH v3 6/9] phy: ti-pipe3: use *syscon* framework API to power on/off the PHY

2015-12-15 Thread Kishon Vijay Abraham I
Deprecate using phy-omap-control driver to power on/off the PHY and use *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/ti-phy.txt | 10 ++- drivers/phy/phy-ti-pipe3.c | 90

[PATCH v3 5/9] phy: ti-pipe3: use ti_pipe3_power_off to power off the PHY during probe

2015-12-15 Thread Kishon Vijay Abraham I
No functional change. Previously omap_control_phy_power() was used to power off the PHY during probe. But once PIPE3 driver is adapted to use syscon, omap_control_phy_power() cannot be used. Hence used ti_pipe3_power_off to power off the PHY. Signed-off-by: Kishon Vijay Abraham I

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

2015-12-15 Thread Xiao Guangrong
On 12/15/2015 04:43 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao

Re: [PATCH] arm64: add HAVE_LATENCYTOP_SUPPORT config

2015-12-15 Thread Will Deacon
On Mon, Dec 14, 2015 at 02:02:18PM -0800, Shi, Yang wrote: > I tried to enable latencytop for arm64 and came across this discussion, so > any plan about when this will get merged into mainline? 4.5 merge window? It's queued in linux-next, so I imagine its heading for 4.5. Will -- To unsubscribe

RE: ARM64/KVM: Bad page state in process iperf

2015-12-15 Thread Bhushan Bharat
Hi Mark, > -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Tuesday, December 15, 2015 3:05 PM > To: Bhushan Bharat-R65777 ; > kvm...@lists.cs.columbia.edu; k...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org;

Re: [PATCH v7 1/4] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-15 Thread Marc Zyngier
On 14/12/15 21:29, Rafael J. Wysocki wrote: > On Monday, December 14, 2015 03:13:48 PM Marc Zyngier wrote: >> On 10/12/15 16:55, Suravee Suthikulpanit wrote: >>> This patch introduces pci_msi_register_fwnode_provider() for irqchip >>> to register a callback, to provide a way to determine

Re: [PATCH] android: fix warning when releasing active sync point

2015-12-15 Thread Maarten Lankhorst
Op 15-12-15 om 02:29 schreef Dmitry Torokhov: > Userspace can close the sync device while there are still active fence > points, in which case kernel produces the following warning: > > [ 43.853176] [ cut here ] > [ 43.857834] WARNING: CPU: 0 PID: 892 at >

Re: [PATCH 2/6] nvmem: Add backwards compatibility support for older EEPROM drivers.

2015-12-15 Thread Srinivas Kandagatla
On 11/12/15 13:03, Wolfram Sang wrote: On Tue, Dec 08, 2015 at 03:05:07PM +0100, Andrew Lunn wrote: Older drivers made an 'eeprom' file available in the /sys device directory. Have the NVMEM core provide this to retain backwards compatibility. Signed-off-by: Andrew Lunn ---

[PATCH 8/9] phy: cygnus: pcie: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): //

RE: ARM64/KVM: Bad page state in process iperf

2015-12-15 Thread Bhushan Bharat
> -Original Message- > From: Christoffer Dall [mailto:christoffer.d...@linaro.org] > Sent: Tuesday, December 15, 2015 2:59 PM > To: Bhushan Bharat-R65777 > Cc: kvm...@lists.cs.columbia.edu; k...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org;

Re: [PATCH 2/6] nvmem: Add backwards compatibility support for older EEPROM drivers.

2015-12-15 Thread Srinivas Kandagatla
Below are few comments. On 08/12/15 14:05, Andrew Lunn wrote: Older drivers made an 'eeprom' file available in the /sys device directory. Have the NVMEM core provide this to retain backwards compatibility. Signed-off-by: Andrew Lunn --- drivers/nvmem/Kconfig | 7

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-15 Thread Geert Uytterhoeven
Hi David, On Tue, Dec 15, 2015 at 7:00 AM, David Gibson wrote: >> If the only property needed is the partition table offset, it can be encoded >> in the unit-address, and the "reg" property: >> >> partitions { >> >> partition-table@ { >>

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

2015-12-15 Thread Kai Huang
On 12/15/2015 03:15 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: These two functions are the user APIs: - kvm_page_track_add_page(): add the page to the tracking pool after that later specified access on that page will be tracked - kvm_page_track_remove_page():

Re: [PATCHv2 1/2] ARM: multi_v7_defconfig: Enable Rockchip generic power domain.

2015-12-15 Thread Enric Balletbo Serra
Arght, I'm asleep, I need a coffee this now, there isn't patch 2/2, this patch is 1/1. Sorry for the noise. Enric 2015-12-15 9:20 GMT+01:00 Enric Balletbo i Serra : > In order to meet high performance an low power requirement for Rockchip > enable the power domain support.

Re: [PATCH v4 3/5] PCI: qcom: Add Qualcomm PCIe controller driver

2015-12-15 Thread Stanimir Varbanov
On 12/03/2015 03:35 PM, Stanimir Varbanov wrote: > From: Stanimir Varbanov > > The PCIe driver reuse the Designware common code for host > and MSI initialization, and also program the Qualcomm > application specific registers. > > Signed-off-by: Stanimir Varbanov

Re: [PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-15 Thread Vlastimil Babka
On 12/15/2015 02:06 AM, Aaron Lu wrote: On 12/14/2015 11:25 PM, Joonsoo Kim wrote: 2015-12-14 19:29 GMT+09:00 Vlastimil Babka : Unless I'm mistaken, these results also include my RFC series (Aaron can you clarify?). These patches should better be tested standalone on top of

Re: [PATCH v2] perf test: Reset err after using it hold errcode in hist testcases

2015-12-15 Thread Namhyung Kim
On Tue, Dec 15, 2015 at 08:20:50AM +, Wang Nan wrote: > All hists test cases forget to reset err after using it to hold an > error code. If error occure in setup_fake_machine() it incorrectly > return TEST_OK. > > This patch fixes it. > > Signed-off-by: Wang Nan >

[PATCH v3 1/9] phy: ti-pipe3: introduce local struct device* in probe

2015-12-15 Thread Kishon Vijay Abraham I
No functional change. Introduce local struct device pointer in probe and replace using >dev/phy->dev with the local device pointer. This is in preparation to split ti_pipe3_probe and add separate functions for getting mem resource, getting sysctrl and getting clocks. Signed-off-by: Kishon Vijay

Re: [PATCH v3 00/13] ARM: at91: PMC driver rework

2015-12-15 Thread Alexandre Belloni
Stephen, Do you mind us taking that through the at91 and arm-soc trees? On 10/12/2015 at 18:06:52 +0100, Boris Brezillon wrote : > On Fri, 4 Dec 2015 18:03:35 +0100 > Alexandre Belloni wrote: > > > Hi, > > > > This patch set is a cleanup that properly

Re: [PATCH 2/6] ARM: DTS: da850: Use the new DT bindings for the eDMA3

2015-12-15 Thread Sekhar Nori
Hi Peter, On Friday 04 December 2015 07:23 PM, Peter Ujfalusi wrote: > Switch to use the ti,edma3-tpcc and ti,edma3-tptc binding for the eDMA3. > With the new bindings boards can customize and tweak the DMA channel > priority to match their needs. With the new binding the memcpy is safe > to be

Re: [PATCH] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-15 Thread Michal Hocko
On Sat 12-12-15 22:18:55, Vladimir Davydov wrote: > On Sat, Dec 12, 2015 at 11:45:40AM -0500, Johannes Weiner wrote: > > On Sat, Dec 12, 2015 at 04:34:02PM +0300, Vladimir Davydov wrote: > > > Memory cgroup reclaim can be interrupted with mem_cgroup_iter_break() > > > once enough pages have been

Re: [PATCH 6/6] eeprom: 93xx46: extend driver to plug into the NVMEM framework

2015-12-15 Thread Srinivas Kandagatla
On 08/12/15 14:05, Andrew Lunn wrote: Add a regmap for accessing the EEPROM, and then use that with the NVMEM framework. Use it backward compatibility register function, so that the 'eeprom' file in sys is provided by the framework. Signed-off-by: Andrew Lunn ---

[PATCH 4/9] phy: berlin-sata: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): //

Re: PELT initial task load and wake_up_new_task()

2015-12-15 Thread Yuyang Du
On Mon, Dec 14, 2015 at 04:41:14PM -0800, Steve Muckle wrote: > Hi Yuyang, > > On 12/13/2015 11:13 AM, Yuyang Du wrote: > > Hi Steve, > > > > On Fri, Dec 11, 2015 at 06:01:45PM -0800, Steve Muckle wrote: > >> In init_entity_runnable_average() the last_update_time is initialized to > >> zero. The

[PATCH 5/9] phy: rockchip-usb: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): //

[RESEND GIT PULL 0/9] phy: for 4.4 -rc

2015-12-15 Thread Kishon Vijay Abraham I
Hi Greg, Looks like this have not been merged yet. Can you merge it in this -rc cycle. Let me know if I have to change something. Bulk of the changes are with respect to adding of_node_put in the PHY drivers, a fix in PHY core and a patch to fix randconfig error. Thanks Kishon The following

[patch] mic_virtio: fix a timeout loop

2015-12-15 Thread Dan Carpenter
After the loop we test "if (!retry)" to see if we timedout. The problem is "retry--" is a post-op so retry will be -1 at the end of the loop. I have fixed this by changing it to a pre-op instead. Signed-off-by: Dan Carpenter diff --git

Re: [PATCH] arm64: Add missing linux/bug.h include in asm/pgtable.h

2015-12-15 Thread James Morse
On 14/12/15 17:07, Catalin Marinas wrote: > If they take the mmdebug.h patch, it's even better. Please let us know > how that goes. Andrew Morton's Robot wrote: > The patch titled > Subject: include/linux/mmdebug.h: should include linux/bug.h > has been added to the -mm tree. Its filename

Re: [PATCH] sched/fair: update scale invariance of pelt

2015-12-15 Thread Vincent Guittot
Hi Morten, Thanks for the review and sorry for the late reply On 8 December 2015 at 18:04, Morten Rasmussen wrote: > On Tue, Nov 24, 2015 at 02:49:30PM +0100, Vincent Guittot wrote: >> The current implementation of load tracking invariance scales the load >> tracking

Re: ARM64/KVM: Bad page state in process iperf

2015-12-15 Thread Marc Zyngier
On 15/12/15 09:53, Bhushan Bharat wrote: > Hi Mark, > >> -Original Message- >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >> Sent: Tuesday, December 15, 2015 3:05 PM >> To: Bhushan Bharat-R65777 ; >> kvm...@lists.cs.columbia.edu; k...@vger.kernel.org;

Re: [for-4.4-rc6 PATCH] scatterlist: fix sg_phys() masking

2015-12-15 Thread Joerg Roedel
On Mon, Dec 14, 2015 at 03:17:39PM -0800, Dan Williams wrote: > commit db0fa0cb0157 "scatterlist: use sg_phys()" did replacements of the > form: > > phys_addr_t phys = page_to_phys(sg_page(s)); > phys_addr_t phys = sg_phys(s) & PAGE_MASK; > > However, this breaks platforms where

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 15, 2015 at 10:03:29AM +0100, Jiri Olsa escreveu: > On Tue, Dec 15, 2015 at 12:46:13AM +0900, Namhyung Kim wrote: > > Each tracepoint event has format string for print to improve > > readability. Try to parse the output and match the field name. If it > > finds one, use that for the

Re: [PATCH v5 1/3] [media] media-device: check before unregister if mdev was registered

2015-12-15 Thread Mauro Carvalho Chehab
Em Fri, 11 Dec 2015 16:36:27 -0700 Shuah Khan escreveu: > On 12/11/2015 03:57 PM, Javier Martinez Canillas wrote: > > Most media functions that unregister, check if the corresponding register > > function succeed before. So these functions can safely be called even if a

Re: [PATCH v2] extcon: add Maxim MAX3355 driver

2015-12-15 Thread Sergei Shtylyov
Hello. On 12/15/2015 2:28 PM, Geert Uytterhoeven wrote: "So what" and "I'd like to keep my spacing as is" aren't valid reasons. Fix it, then I'll look at the rest again. I'll consider doing that if you care to explain what's the problem with my spacing. TIA. You are mixing 2 and 1

Re: [PATCH v2] extcon: add Maxim MAX3355 driver

2015-12-15 Thread Geert Uytterhoeven
Hi Sergei, On Tue, Dec 15, 2015 at 12:54 PM, Sergei Shtylyov wrote: > On 12/15/2015 2:28 PM, Geert Uytterhoeven wrote: You are mixing 2 and 1 spaces between words, don't do that. >>> >>> Care to just explain why? >> >> It makes the text difficult to

Re: [PATCH] lightnvm: add check after mempool allocation

2015-12-15 Thread Matias Bjørling
On 12/15/2015 01:06 PM, Javier Gonzalez wrote: Add missing check after mempool allocation. Signed-off-by: Javier Gonzalez --- drivers/lightnvm/rrpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index

Re: [RFCv6 PATCH 09/10] sched: deadline: use deadline bandwidth in scale_rt_capacity

2015-12-15 Thread Peter Zijlstra
On Tue, Dec 15, 2015 at 09:50:14AM +0100, Luca Abeni wrote: > On 12/15/2015 05:59 AM, Vincent Guittot wrote: > >The 2nd definition is used to compute the remaining capacity for the > >CFS scheduler. This one doesn't need to be updated at each wake/sleep > >of a deadline task but should reflect

Re: [PATCH 6/6] eeprom: 93xx46: extend driver to plug into the NVMEM framework

2015-12-15 Thread Srinivas Kandagatla
On 15/12/15 11:05, Anatolij Gustschin wrote: On Tue, 15 Dec 2015 10:26:47 + Srinivas Kandagatla wrote: ... Anatolij, Do you see any issues if we totally move this driver to nvmem framework? Which involves relocating and renameing the old eeprom file to

Re: [PATCH] sched/fair: update scale invariance of pelt

2015-12-15 Thread Vincent Guittot
On 14 December 2015 at 01:26, Yuyang Du wrote: > Hi Vincent, > > I don't quite catch what this is doing, maybe I need more time > to ramp up to the gory detail difficult like this. > > Do you scale or not scale? You seem removed the scaling, but added it > after "Remainder of

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-15 Thread Juri Lelli
On 14/12/15 18:02, Steve Muckle wrote: > Hi Juri, > > Thanks for the review. > > On 12/11/2015 03:04 AM, Juri Lelli wrote: > >> +config CPU_FREQ_GOV_SCHED > >> + bool "'sched' cpufreq governor" > >> + depends on CPU_FREQ > > > > We depend on IRQ_WORK as well, which in turn I think depends on

Re: [PATCH 6/6] eeprom: 93xx46: extend driver to plug into the NVMEM framework

2015-12-15 Thread Wolfram Sang
> I expect it does matter. > > This driver does not implement the in kernel API for accessing the > EEPROM. That means all users are in user space. And if this file > moves, it seems very likely these user space users break. I agree. signature.asc Description: Digital signature

Re: [PATCH 6/6] eeprom: 93xx46: extend driver to plug into the NVMEM framework

2015-12-15 Thread Srinivas Kandagatla
On 15/12/15 10:37, Andrew Lunn wrote: On Tue, Dec 15, 2015 at 10:26:47AM +, Srinivas Kandagatla wrote: + adding Anatolij On 15/12/15 10:17, Andrew Lunn wrote: Is there a reason for this driver to be using the old style? I can understand the issues with at24/at25 but does this driver

Re: [PATCH v3 0/9] phy: use syscon framework APIs to set ctrl mod reg

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 14:45:59 Kishon Vijay Abraham I wrote: > This series is basically to deprecate using phy-omap-control and use > syscon APIs to program the control module registers. > > Changes from v2: > No changes. > > Changes from v1: > *) cleanup ti_pipe3_probe in multiple steps >

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

2015-12-15 Thread Vladimir Davydov
On Tue, Dec 15, 2015 at 12:22:41PM +0900, Kamezawa Hiroyuki wrote: > On 2015/12/15 4:42, Vladimir Davydov wrote: > >On Mon, Dec 14, 2015 at 04:30:37PM +0100, Michal Hocko wrote: > >>On Thu 10-12-15 14:39:14, Vladimir Davydov wrote: > >>>In the legacy hierarchy we charge memsw, which is dubious,

Re: [PATCH 2/2] [media] media-device: split media initialization and registration

2015-12-15 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2015 20:14:04 +0300 Sakari Ailus escreveu: > Hi Javier, > > Thanks for the set! A few comments below. > > Javier Martinez Canillas wrote: > > The media device node is registered and so made visible to user-space > > before entities are registered

Re: [PATCH v3 0/9] phy: use syscon framework APIs to set ctrl mod reg

2015-12-15 Thread Kishon Vijay Abraham I
Hi Arnd, On Tuesday 15 December 2015 04:26 PM, Arnd Bergmann wrote: > On Tuesday 15 December 2015 14:45:59 Kishon Vijay Abraham I wrote: >> This series is basically to deprecate using phy-omap-control and use >> syscon APIs to program the control module registers. >> >> Changes from v2: >> No

[PATCH] cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()

2015-12-15 Thread Sudeep Holla
From: Dan Carpenter The "domain" variable needs to be signed for the error handling to work. Fixes: 8def31034d03 ('cpufreq: arm_big_little: add SCPI interface driver') Signed-off-by: Dan Carpenter Acked-by: Viresh Kumar

Re: [PATCH] char: constify tty_port_operations structs

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 01:50:19 Aya Mahfouz wrote: > Constifies tty_port_operations structure in > the char driver since it is not modified > after its initialization. > > Detected and found using Coccinelle. > > Suggested-by: Julia Lawall > Signed-off-by: Aya Mahfouz

Re: [PATCH v3 0/3] perf build: PowerPC: Fix build breakage due to libbpf

2015-12-15 Thread Naveen N. Rao
On 2015/12/15 03:35AM, Wang Nan wrote: > Hi Naveen, > >Now I know your problem is in native building and the reason is > missing proper $(ARCH). I think other than that there's another problem > in libbpf's building: if your problem is unable to compile libbpf, > feature checker should find

Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode

2015-12-15 Thread Baolin Wang
On 15 December 2015 at 16:20, Milan Broz wrote: > On 12/15/2015 03:56 AM, Baolin Wang wrote: + /* + * Here we need to check if it can be encrypted or decrypted with + * bulk block, which means these encryption modes don't need IV or + *

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

2015-12-15 Thread Suzuki K. Poulose
On 09/12/15 09:57, Suzuki K. Poulose wrote: A secondary CPU could fail to come online due to insufficient capabilities and could simply die or loop in the kernel. e.g, a CPU with no support for the selected kernel PAGE_SIZE loops in kernel with MMU turned off. or a hotplugged CPU which doesn't

Re: [RFC] mm: change find_vma() function

2015-12-15 Thread Andrea Arcangeli
On Tue, Dec 15, 2015 at 02:41:21PM +0800, yalin wang wrote: > > > On Dec 15, 2015, at 05:11, Kirill A. Shutemov wrote: > > > > On Mon, Dec 14, 2015 at 06:55:09PM +0100, Oleg Nesterov wrote: > >> On 12/14, Kirill A. Shutemov wrote: > >>> > >>> On Mon, Dec 14, 2015 at

[PATCH 02/06] iommu/ipmmu-vmsa: Convert to dev_data

2015-12-15 Thread Magnus Damm
From: Magnus Damm Rename ipmmu_vmsa_archdata to ipmmu_vmsa_dev_data to avoid confusion when using the driver on multiple architectures. The data now stored in ipmmu_vmsa_dev_data is used to point various on-chip devices to the actual IPMMU instances. Signed-off-by:

[PATCH 01/06] iommu/ipmmu-vmsa: Remove platform data handling

2015-12-15 Thread Magnus Damm
From: Magnus Damm The IPMMU driver is using DT these days, and platform data is no longer used by the driver. Remove unused code. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c |5 - 1 file changed, 5 deletions(-)

[PATCH 00/06] iommu/ipmmu-vmsa: IPMMU multi-arch update

2015-12-15 Thread Magnus Damm
iommu/ipmmu-vmsa: IPMMU multi-arch update [PATCH 01/06] iommu/ipmmu-vmsa: Remove platform data handling [PATCH 02/06] iommu/ipmmu-vmsa: Convert to dev_data [PATCH 03/06] iommu/ipmmu-vmsa: Break out utlb control function [PATCH 04/06] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for

[PATCH] lightnvm: add check after mempool allocation

2015-12-15 Thread Javier Gonzalez
Add missing check after mempool allocation. Signed-off-by: Javier Gonzalez --- drivers/lightnvm/rrpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index a1e7488..f4bc986 100644 --- a/drivers/lightnvm/rrpc.c +++

[PATCH 06/06] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-12-15 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set

RE: [PATCH 3/9] Drivers: hv: utils: introduce HVUTIL_TRANSPORT_DESTROY mode

2015-12-15 Thread Dexuan Cui
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of K. Y. Srinivasan > Sent: Tuesday, December 15, 2015 11:02 > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de;

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Jiri Olsa
On Tue, Dec 15, 2015 at 09:13:20PM +0900, Namhyung Kim wrote: > On Tue, Dec 15, 2015 at 07:36:37AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 15, 2015 at 10:03:29AM +0100, Jiri Olsa escreveu: > > > On Tue, Dec 15, 2015 at 12:46:13AM +0900, Namhyung Kim wrote: > > > > Each tracepoint

[PATCH 3/9] phy: mt65xx-usb3: add missing of_node_put

2015-12-15 Thread Kishon Vijay Abraham I
From: Julia Lawall for_each_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@

Re: [PATCH] ARM: at91/sama5_defconfig: enable watchdog driver

2015-12-15 Thread Nicolas Ferre
Le 05/11/2015 08:37, Wenyou Yang a écrit : > Enabel AT91SAM9X / AT91CAP9 watchdog and SAMA5D4 watchdog. > > Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre And stacked on top of at91-4.5-dt. Thanks! > --- > >

Re: [PATCHV2 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-15 Thread Borislav Petkov
On Tue, Dec 15, 2015 at 10:46:53AM +0100, Borislav Petkov wrote: > I think what is more important is that this should be in the > x86-specific linker script, not in the generic one. And related to that, I think all those additions to kernel/extable.c should be somewhere in arch/x86/ and not in

Re: [PATCH v3 7/8] clk: rockchip: fix usbphy-related clocks

2015-12-15 Thread Kishon Vijay Abraham I
Hi Mike, On Friday 20 November 2015 02:52 AM, Heiko Stuebner wrote: > The otgphy clocks really only drive the phy blocks. These in turn > contain plls that then generate the 480m clocks the clock controller > uses to supply some other clocks like uart0, gpu or the video-codec. > > So fix this

<    8   9   10   11   12   13   14   15   16   17   >