Re: [PATCH v2] platform/x86: silead_dmi: Add entry for the Teclast X98 Plus II

2018-01-03 Thread Hans de Goede
Hi, On 03-01-18 00:40, Darren Hart wrote: On Tue, Jan 02, 2018 at 07:39:27PM +0100, Paul Cercueil wrote: Add touchscreen platform data for the Teclast X98 Plus II tablet. Signed-off-by: Paul Cercueil Acked-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 24 +++

Re: [PATCH 05/12] pinctrl: armada-37xx: account for const type of of_device_id.data

2018-01-03 Thread Linus Walleij
On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall wrote: > The data field of an of_device_id structure has type const void *, so > there is no need for a const-discarding cast when putting const values > into such a structure. > > Done using Coccinelle. > > Signed-off-by: Julia Lawall Patch applied

Re: [PATCH] ethernet: mlx4: Delete an error message for a failed memory allocation in five functions

2018-01-03 Thread Julia Lawall
On Wed, 3 Jan 2018, Tariq Toukan wrote: > > > On 01/01/2018 10:46 PM, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Mon, 1 Jan 2018 21:42:27 +0100 > > > > Omit an extra message for a memory allocation failure in these functions. > > > > This issue was detected by using the Coccine

[PATCH] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 7 initial support

2018-01-03 Thread Jagan Teki
i.CoreM6 Quad/Dual OpenFrame modules are "system on modules plus openframe display carriers" which are good solution for develop user friendly graphic user interface. ofcap 7 general features: CPU NXP Freescale i.MX6Q rev1.5 at 792 MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND

Re: [PATCH] pinctrl: imx6ul: add IOMUXC SNVS pinctrl driver for i.MX 6ULL

2018-01-03 Thread Linus Walleij
On Tue, Jan 2, 2018 at 5:40 PM, Stefan Agner wrote: > From: Bai Ping > > On i.MX 6ULL, the BOOT_MODEx and TAMPERx pin MUX and CTRL registers > are available in a separate IOMUXC_SNVS module. Add support for the > IOMUXC_SNVS module to the i.MX 6UL pinctrl driver. > > Signed-off-by: Bai Ping > S

Re: [PATCH 1/4] extcon: axp288: Remove unused extcon_nb struct member

2018-01-03 Thread Hans de Goede
Hi, On 03-01-18 02:17, Chanwoo Choi wrote: Hi Hans, On 2017년 12월 22일 21:36, Hans de Goede wrote: Remove the unused extcon_nb struct member. Signed-off-by: Hans de Goede --- drivers/extcon/extcon-axp288.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/extcon/extcon-axp288.c b/dr

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-03 Thread Byungchul Park
On 1/3/2018 4:05 PM, Theodore Ts'o wrote: On Wed, Jan 03, 2018 at 11:10:37AM +0900, Byungchul Park wrote: The point I was trying to drive home is that "all we have to do is just classify everything well or just invalidate the right lock Just to be sure, we don't have to invalidate lock objects

Happy New Year

2018-01-03 Thread Mr Sheng Li Hung
I am Mr.Sheng Li Hung, from china I got your information while search for a reliable person, I have a very profitable business proposition for you and i can assure you that you will not regret been part of this mutual beneficial transaction after completion. Kindly get back to me for more details o

Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_

2018-01-03 Thread Julian Calaby
Hi All, On Wed, Jan 3, 2018 at 6:49 PM, Geert Uytterhoeven wrote: > Hi Michael, > > On Wed, Jan 3, 2018 at 7:24 AM, Michael Ellerman wrote: >> Geert Uytterhoeven writes: >> >>> On Tue, Jan 2, 2018 at 10:45 AM, Michael Ellerman >>> wrote: Christoph Hellwig writes: > We want to u

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-03 Thread Byungchul Park
On 1/3/2018 5:10 PM, Byungchul Park wrote: On 1/3/2018 4:05 PM, Theodore Ts'o wrote: On Wed, Jan 03, 2018 at 11:10:37AM +0900, Byungchul Park wrote: The point I was trying to drive home is that "all we have to do is just classify everything well or just invalidate the right lock Just to be su

[PATCH 0/3] unclutter thp migration

2018-01-03 Thread Michal Hocko
Hi, I have posted this work as an RFC [1] and there were no fundamental objections to the approach so I am resending for inclusion. It is quite late in the release cycle and I definitely do not want to rush this into the next release cycle but having it in linux-next for longer should be only bette

[PATCH 3/3] mm: unclutter THP migration

2018-01-03 Thread Michal Hocko
From: Michal Hocko THP migration is hacked into the generic migration with rather surprising semantic. The migration allocation callback is supposed to check whether the THP can be migrated at once and if that is not the case then it allocates a simple page to migrate. unmap_and_move then fixes t

[PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Michal Hocko
From: Michal Hocko No allocation callback is using this argument anymore. new_page_node used to use this parameter to convey node_id resp. migration error up to move_pages code (do_move_page_to_node_array). The error status never made it into the final status field and we have a better way to com

[PATCH 1/3] mm, numa: rework do_pages_move

2018-01-03 Thread Michal Hocko
From: Michal Hocko do_pages_move is supposed to move user defined memory (an array of addresses) to the user defined numa nodes (an array of nodes one for each address). The user provided status array then contains resulting numa node for each address or an error. The semantic of this function is

Re: [PATCH V6] mmc:host:sdhci-pci:Addition of Arasan PCI Controller with integrated phy.

2018-01-03 Thread Adrian Hunter
On 03/01/18 02:11, Atul Garg wrote: > The Arasan Controller is based on a FPGA platform and has integrated phy > with specific registers used during initialization and > management of different modes. The phy and the controller are integrated > and registers are very specific to Arasan. > > Arasan

Re: [GIT PULL] phy: for 4.16

2018-01-03 Thread Kishon Vijay Abraham I
Hi Greg, On Tuesday 02 January 2018 03:25 PM, Greg KH wrote: > On Tue, Jan 02, 2018 at 01:46:54PM +0530, Kishon Vijay Abraham I wrote: >> Hi Greg, >> >> Please find the pull request for 4.16 merge window below. >> >> It includes a fix in exynos5-usbdrd to enumerate SuperSpeed devices on >> Odroid

Re: [PATCH][crypto-next] crypto: inside-secure - make function safexcel_try_push_requests static

2018-01-03 Thread Antoine Tenart
Hi Colin, On Tue, Jan 02, 2018 at 02:34:10PM +, Colin King wrote: > > /* Called with ring's lock taken */ > -int safexcel_try_push_requests(struct safexcel_crypto_priv *priv, int ring, > -int reqs) > +static int safexcel_try_push_requests(struct safexcel_crypto_p

Re: [PATCH 1/6] phy: sun4i-usb: add support for R40 USB PHY

2018-01-03 Thread Kishon Vijay Abraham I
Hi, On Saturday 30 December 2017 05:08 PM, Icenowy Zheng wrote: > 在 2017年10月18日星期三 CST 下午7:46:08,Kishon Vijay Abraham I 写道: >> On Wednesday 18 October 2017 05:12 PM, Maxime Ripard wrote: >>> On Wed, Oct 18, 2017 at 05:09:00PM +0530, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 Oc

Re: platform/x86/thinkpad_acpi: Adjustments for four function implementations

2018-01-03 Thread SF Markus Elfring
> I understand it can be frustrating to encounter different policies > across kernel maintainers. The change acceptance is varying for special transformation patterns. > You'll even run in to this with maintainers of the same subsystem > from time to time. Interesting, isn't it? > I'm support

Re: [RFC PATCH 1/3] mm, numa: rework do_pages_move

2018-01-03 Thread Anshuman Khandual
On 12/08/2017 09:45 PM, Michal Hocko wrote: > From: Michal Hocko > > do_pages_move is supposed to move user defined memory (an array of > addresses) to the user defined numa nodes (an array of nodes one for > each address). The user provided status array then contains resulting > numa node for ea

Re: [PATCH 3/5] arch: Remove clkdev.h asm-generic from Kbuild

2018-01-03 Thread Geert Uytterhoeven
On Wed, Jan 3, 2018 at 2:35 AM, Stephen Boyd wrote: > Now that every architecture is using the generic clkdev.h file > and we no longer include asm/clkdev.h anywhere in the tree, we > can remove it. > > Cc: Russell King > Cc: Arnd Bergmann > Cc: > Signed-off-by: Stephen Boyd For m68k part: Ac

Re: bonding: Delete an error message for a failed memory allocation in bond_update_slave_arr()

2018-01-03 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. >> >> This issue was detected by using the Coccinelle software. >> > What is the issue with this message? * Is it redundant? * Would a Linux allocation failure report be already sufficient here? Regards, Markus

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Marc Zyngier
On 03/01/18 06:32, Ganapatrao Kulkarni wrote: > When an interrupt is moved across node collections on ThunderX2 node collections? > multi Socket platform, an interrupt stops routed to new collection > and results in loss of interrupts. > > Adding workaround to issue INV after MOVI for cross-node

RE: [PATCH v5 6/9] ACPI/PPTT: Add topology parsing code

2018-01-03 Thread vkilari
Hi Jeremy, Sorry, I don't have your previous patch emails to reply on right patch context. So commenting on top of this patch. AFAIU, the PPTT v5 patches still rely on CLIDR_EL1 register to know the type of Caches enabled/available on the platform. With PPTT, it should not rely on architecture

Re: [PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 01:45:30PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:13 EET Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > > > Signed-off-by: Jacopo Mondi > >

[PATCH RESEND] phy: sun4i-usb: add support for R40 USB PHY

2018-01-03 Thread Icenowy Zheng
Allwinner R40 features a USB PHY like the one in A64, but with 3 PHYs. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Acked-by: Rob Herring --- When resending, the ACK's by Maxime and Rob are added. Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + dri

Re: [PATCH v20 3/7 RESEND] xbitmap: add more operations

2018-01-03 Thread Wei Wang
On 01/02/2018 10:09 PM, Matthew Wilcox wrote: On Fri, Dec 22, 2017 at 04:49:11PM +0800, Wei Wang wrote: Thanks for the improvement. I also found a small bug in xb_zero. With the following changes, it has passed the current test cases and tested with the virtio-balloon usage without any issue. T

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2018-01-03 Thread Wei Wang
On 01/03/2018 10:29 AM, Tetsuo Handa wrote: Matthew Wilcox wrote: The radix tree convention is objectively awful, which is why I'm working to change it. Specifying the GFP flags at radix tree initialisation time rather than allocation time leads to all kinds of confusion. The preload API is a

Re: [RFC PATCH 1/3] mm, numa: rework do_pages_move

2018-01-03 Thread Michal Hocko
On Wed 03-01-18 14:12:17, Anshuman Khandual wrote: > On 12/08/2017 09:45 PM, Michal Hocko wrote: [...] > > @@ -986,7 +987,7 @@ static int migrate_to_node(struct mm_struct *mm, int > > source, int dest, > > flags | MPOL_MF_DISCONTIG_OK, &pagelist); > > > > if (!list_empty(

[v2 PATCH 1/6] usb: mtu3: fix error code for getting extcon device

2018-01-03 Thread Chunfeng Yun
When failing to get extcon device, extcon_get_edev_by_phandle() may return different error codes, but not only -EPROBE_DEFER, so can't always return -EPROBE_DEFER, and fix it. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[v2 PATCH 3/6] dt-bindings: usb: mtu3: update USB wakeup properties

2018-01-03 Thread Chunfeng Yun
Add two arguments in "mediatek,syscon-wakeup" to support multi wakeup glue layer between SSUSB and SPM, and use standard property "wakeup-source" to replace the private "mediatek,enable-wakeup" Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 15 +

[v2 PATCH 6/6] arm64: dts: mt8173: update properties about USB wakeup

2018-01-03 Thread Chunfeng Yun
Use new binding about USB wakeup which now supports multi USB wakeup glue layer between SSUSB and SPM. Meanwhile remove dummy clocks of USB wakeup. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 12 +++-

[v2 PATCH 2/6] usb: mtu3: supports remote wakeup for mt2712 with two SSUSB IPs

2018-01-03 Thread Chunfeng Yun
The old way of usb wakeup only supports platform with single SSUSB IP, such as mt8173, but mt2712 has two SSUSB IPs, so rebuild its flow and also supports the new glue layer of usb wakeup on mt2712 which is different from mt8173. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3.h | 11

[v2 PATCH 4/6] usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs

2018-01-03 Thread Chunfeng Yun
The old way of usb wakeup only supports platform with single xHCI IP, such as mt8173, but mt2712 has two xHCI IPs, so rebuild its flow and supports the new glue layer of usb wakeup on mt2712 which is different from mt8173. Due to there is a hardware bug with the LINE STATE wakeup mode on mt8173 whi

Re: [PATCH v2 2/9] include: media: Add Renesas CEU driver interface

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 01:50:07PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:14 EET Jacopo Mondi wrote: > > Add renesas-ceu header file. > > > > Do not remove the existing sh_mobile_ceu.h one as long as the original

[v2 PATCH 5/6] dt-bindings: usb: mtk-xhci: update USB wakeup properties

2018-01-03 Thread Chunfeng Yun
Add two arguments in "mediatek,syscon-wakeup" to support multi wakeup glue layer between SSUSB and SPM, and use standard property "wakeup-source" to replace the private "mediatek,wakeup-src" Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mediatek,mtk-xhci.txt| 16 ++-

RE: [LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2018-01-03 Thread Appana Durga Kedareswara Rao
Hi, >>> >BTW whats with LINUX tag in patches, pls drop them >>> >>> Ok will mention the Linux tag info in the cover letter patch from the >>> next patch series on wards... >> >>Please wrap your replies within 80chars. It is very hard to read! I have >>reflown >for >>readability > >Sure will take

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Michal Hocko
Ups, this one is missing so it should be foleded in. --- >From a6f412a700a20ffee3ff3839eae8a0f891332f8a Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 3 Jan 2018 10:00:16 +0100 Subject: [PATCH] fold me "mm, migrate: remove reason argument from new_page_t" - fix new_iommu_non_cma_page left

Re: [PATCH] vhost: remove unused lock check flag in vhost_dev_cleanup()

2018-01-03 Thread Jason Wang
On 2017年12月25日 00:08, 夷则(Caspar) wrote: In commit ea5d404655ba ("vhost: fix release path lockdep checks"), Michael added a flag to check whether we should hold a lock in vhost_dev_cleanup(), however, in commit 47283bef7ed3 ("vhost: move memory pointer to VQs"), RCU operations have been replaced

Re: [PATCH v2 0/9] PCI: Add support to the Cadence PCIe controller

2018-01-03 Thread Kishon Vijay Abraham I
Hi, On Saturday 30 December 2017 02:23 AM, Cyrille Pitchen wrote: > Hi Kishon, > > Le 28/12/2017 à 14:00, Kishon Vijay Abraham I a écrit : >> Hi Cyrille, >> >> On Monday 18 December 2017 11:46 PM, Cyrille Pitchen wrote: >>> Hi all, >>> >>> this series of patches adds support to the Cadence PCIe c

Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK

2018-01-03 Thread Vincent Guittot
Hi Peter, On 22 December 2017 at 21:42, Peter Zijlstra wrote: > On Fri, Dec 22, 2017 at 07:56:29PM +0100, Peter Zijlstra wrote: >> Right; but I figured we'd try and do it 'right' and see how horrible it >> is before we try and do funny things. > > So now it should have a 32ms tick for up to .5s w

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-03 Thread Meelis Roos
> > > [ 316.384669] mce: [Hardware Error]: Machine check events logged > > > [ 316.384698] [Hardware Error]: Corrected error, no action required. > > > [ 316.384719] [Hardware Error]: CPU:0 (f:2f:2) > > > MC1_STATUS[-|CE|-|-|AddrV]: 0x94010011 > > > [ 316.384742] [Hardware Error]: Erro

[PATCH][next] usbip: vhci: fix spelling mistake: "synchronuously" -> "synchronously"

2018-01-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_dbg debug message. Signed-off-by: Colin Ian King --- drivers/usb/usbip/vhci_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/usbip/vhci_rx.c b/drivers/usb/usbip/vhci_rx.c index 112ebb90d8c9..44cd645

Re: "bad pmd" errors + oops with KPTI on 4.14.11 after loading X.509 certs

2018-01-03 Thread Greg Kroah-Hartman
On Wed, Jan 03, 2018 at 12:46:00AM -0800, Benjamin Gilbert wrote: > [resending with less web] (adding lkml and x86 developers) > Hi all, > > In our regression tests on kernel 4.14.11, we're occasionally seeing a run > of "bad pmd" messages during boot, followed by a "BUG: unable to handle > kern

Re: [Intel-gfx] [PATCH v2] drm/i915: Try EDID bitbanging on HDMI after failed read

2018-01-03 Thread Stefan Brüns
On Wednesday, January 3, 2018 8:14:47 AM CET Jani Nikula wrote: > On Tue, 02 Jan 2018, Chris Wilson wrote: > > Quoting Rodrigo Vivi (2018-01-02 19:12:18) > > > >> On Sun, Dec 31, 2017 at 10:34:54PM +, Stefan Brüns wrote: > >> > + edid = drm_get_edid(connector, i2c); > >> > + > >> > +

[PATCH] thermal: Use power efficient workqueue

2018-01-03 Thread Leo Yan
Thermal core framework uses the system_freezable_wq workqueue as its workqueue for polling temperature. Using system_freezable_wq workqueue prevents the scheduler to make smart decision about the best place to schedule the work. This commit replaces system_freezable_wq with system_freezable_power_

[PATCH] staging: ccree: mark debug_regs[] as static

2018-01-03 Thread Arnd Bergmann
The global array clashes with an existing symbol of the same name: drivers/staging/ccree/cc_debugfs.o:(.data+0x0): multiple definition of `debug_regs' drivers/mmc/host/s3cmci.o:(.data+0x70): first defined here We should fix both, this one addresses the ccree driver by removing the symbol from th

[PATCH] media: intel-ipu3: cio2: mark PM functions as __maybe_unused

2018-01-03 Thread Arnd Bergmann
When CONFIG_PM is disabled, we get harmless warnings about the suspend/resume callbacks being unused: drivers/media/pci/intel/ipu3/ipu3-cio2.c:1993:12: error: 'cio2_resume' defined but not used [-Werror=unused-function] drivers/media/pci/intel/ipu3/ipu3-cio2.c:1967:12: error: 'cio2_suspend' defin

[PATCH] s3mci: mark debug_regs[] as static

2018-01-03 Thread Arnd Bergmann
The global array clashes with a newly added symbol of the same name: drivers/staging/ccree/cc_debugfs.o:(.data+0x0): multiple definition of `debug_regs' drivers/mmc/host/s3cmci.o:(.data+0x70): first defined here We should fix both, this one addresses the s3cmci driver by removing the symbol from

Re: [PATCH] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-03 Thread Nicolai Stange
Hi Stefano, Stefano Brivio writes: > On Tue, 2 Jan 2018 17:30:20 +0100 > Nicolai Stange wrote: > >> [...] >> >> diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c >> index 5b9bd5c33d9d..e84290c28c0c 100644 >> --- a/net/ipv4/raw.c >> +++ b/net/ipv4/raw.c >> @@ -513,16 +513,18 @@ static int raw_sendms

Re: [PATCH V6] mmc:host:sdhci-pci:Addition of Arasan PCI Controller with integrated phy.

2018-01-03 Thread Sekhar Nori
On Wednesday 03 January 2018 05:41 AM, Atul Garg wrote: > The Arasan Controller is based on a FPGA platform and has integrated phy > with specific registers used during initialization and > management of different modes. The phy and the controller are integrated > and registers are very specific to

[PATCH] clk: imx: imx7d: correct video pll clock tree

2018-01-03 Thread Anson Huang
There is a test divider and post divider in video PLL, test divider is placed before post divider, all clocks that can select parent from video PLL should be from post divider, NOT from pll_video_main, below are clock tree dump before and after this patch: Before: pll_video_main pll_video_main_

Re: [RFC PATCH] input: Add disable sysfs entry for every input device

2018-01-03 Thread Pali Rohár
On Wednesday 03 January 2018 02:47:29 Bastien Nocera wrote: > On Tue, 2018-01-02 at 22:54 +0100, Pali Rohár wrote: > > On Wednesday 04 January 2017 15:37:35 Bastien Nocera wrote: > > > I don't doubt that the use cases should be catered for, I > > > essentially > > > did that same work without kerne

[PATCH] f2fs: continue to do direct IO if we only preallocate partial blocks

2018-01-03 Thread Chao Yu
While doing direct IO, if we run out-of-space when we preallocate blocks, we should not return ENOSPC error directly, instead, we should continue to do following direct IO, which will keep directIO of f2fs acting like other filesystems. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 30

[PATCH 4/6] mm, hugetlb: get rid of surplus page accounting tricks

2018-01-03 Thread Michal Hocko
From: Michal Hocko alloc_surplus_huge_page increases the pool size and the number of surplus pages opportunistically to prevent from races with the pool size change. See d1c3fb1f8f29 ("hugetlb: introduce nr_overcommit_hugepages sysctl") for more details. The resulting code is unnecessarily hairy

[PATCH 2/6] mm, hugetlb: integrate giga hugetlb more naturally to the allocation path

2018-01-03 Thread Michal Hocko
From: Michal Hocko Gigantic hugetlb pages were ingrown to the hugetlb code as an alien specie with a lot of special casing. The allocation path is not an exception. Unnecessarily so to be honest. It is true that the underlying allocator is different but that is an implementation detail. This pat

[PATCH 0/6] mm, hugetlb: allocation API and migration improvements

2018-01-03 Thread Michal Hocko
Hi, I've posted this as an RFC [1] and both Mike and Naoya seem to be OK both with patches and the approach. I have rebased this on top of [2] because there is a small conflict in mm/mempolicy.c. I know it is late in the release cycle but similarly to [2] I would really like to see this in linux-ne

[PATCH 6/6] hugetlb, mempolicy: fix the mbind hugetlb migration

2018-01-03 Thread Michal Hocko
From: Michal Hocko do_mbind migration code relies on alloc_huge_page_noerr for hugetlb pages. alloc_huge_page_noerr uses alloc_huge_page which is a highlevel allocation function which has to take care of reserves, overcommit or hugetlb cgroup accounting. None of that is really required for the p

[PATCH 5/6] mm, hugetlb: further simplify hugetlb allocation API

2018-01-03 Thread Michal Hocko
From: Michal Hocko Hugetlb allocator has several layer of allocation functions depending and the purpose of the allocation. There are two allocators depending on whether the page can be allocated from the page allocator or we need a contiguous allocator. This is currently opencoded in alloc_fresh

[PATCH 3/6] mm, hugetlb: do not rely on overcommit limit during migration

2018-01-03 Thread Michal Hocko
From: Michal Hocko hugepage migration relies on __alloc_buddy_huge_page to get a new page. This has 2 main disadvantages. 1) it doesn't allow to migrate any huge page if the pool is used completely which is not an exceptional case as the pool is static and unused memory is just wasted. 2) it lead

[PATCH] slimbus: qcom: add HAS_IOMEM dependency

2018-01-03 Thread srinivas . kandagatla
From: Srinivas Kandagatla Below build failure was reported on UML, ERROR: "devm_ioremap_resource" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__ioread32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__iowrite32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR:

[PATCH 2/2] f2fs: clean up unneeded declaration

2018-01-03 Thread Chao Yu
Commit 6afc662e68b5 ("f2fs: support flexible inline xattr size") declared f2fs_sb_has_flexible_inline_xattr in f2fs.h for latter being used in get_inline_xattr_addrs, but in latter version, related code has been changed, leave f2fs_sb_has_flexible_inline_xattr w/o any users. Let's remove it for cle

[PATCH 1/2] f2fs: use flexible array for f2fs_checkpoint::sit_nat_version_bitmap

2018-01-03 Thread Chao Yu
If we need an array with variable size in the end of structure, we can utilize flexible array feature which is supported in C99, so let's change sit_nat_version_bitmap[] to flexible array in struct f2fs_checkpoint for readability. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 4 ++-- incl

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Ganapatrao Kulkarni
Hi Marc, On Wed, Jan 3, 2018 at 2:17 PM, Marc Zyngier wrote: > On 03/01/18 06:32, Ganapatrao Kulkarni wrote: >> When an interrupt is moved across node collections on ThunderX2 > > node collections? ok, i will rephrase it. i was intended to say cross NUMA node collection/cpu affinity change. >

[PATCH] doc: memory-barriers: reStructure Text

2018-01-03 Thread afzal mohammed
Let PDF & HTML's be created out of memory-barriers Text by reStructuring. reStructuring done were, 1. Section headers modification, lower header case except start 2. Removal of manual index(contents section), since it now gets created automatically for html/pdf 3. Internal cross reference for e

[PATCH 1/6] mm, hugetlb: unify core page allocation accounting and initialization

2018-01-03 Thread Michal Hocko
From: Michal Hocko hugetlb allocator has two entry points to the page allocator - alloc_fresh_huge_page_node - __hugetlb_alloc_buddy_huge_page The two differ very subtly in two aspects. The first one doesn't care about HTLB_BUDDY_* stats and it doesn't initialize the huge page. prep_new_huge_pag

Re: [RFC PATCH 1/3] mm, numa: rework do_pages_move

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 02:28 PM, Michal Hocko wrote: > On Wed 03-01-18 14:12:17, Anshuman Khandual wrote: >> On 12/08/2017 09:45 PM, Michal Hocko wrote: > [...] [...] >> >> This reuses the existing page allocation helper from migrate_pages() system >> call. But all these allocator helper names for migrate

Re: [PATCH 2/4] extcon: axp288: Remove unused platform data

2018-01-03 Thread Lee Jones
On Wed, 03 Jan 2018, Chanwoo Choi wrote: > Dear Lee, > > On 2018년 01월 02일 18:16, Lee Jones wrote: > > On Tue, 02 Jan 2018, Chanwoo Choi wrote: > > > >> + MFD Maintainer (Lee Jones ) > >> > >> Hi Hans, > >> > >> You better to use the scripts/get_maintainer.pl for the mailing list. > >> I added th

Re: [PATCH] nvme: check ctrl.tagset before start ns scan

2018-01-03 Thread Sagi Grimberg
Hi Jianchao, ctrl.tagset maybe NULL due to failure of io queue setup or blk-mq tagset allocation in nvme_reset_work. Then panic would come up. To fix this, just add ctrl.tagset check in nvme_scan_work. This came up before (and forgotten...) I think we should not have state indicators other tha

[PATCH] Staging: greybus: audio_codec.h: Change uint32_t to u32

2018-01-03 Thread Sumit Pundir
This patch fixes the following checkpatch.pl issues: CHECK: Prefer kernel type 'u32' over 'uint32_t' + uint32_t format, rate; CHECK: Prefer kernel type 'u32' over 'uint32_t' + uint32_t *rate, u8 *channels, CHECK: Prefer kernel type 'u32' over 'uint32_t' +

Re: [PATCH] Fix read buffer overflow in delta-ipc

2018-01-03 Thread Hugues FRUCHET
Hi Andi, Thanks for the patch but I would suggest to use strlcpy instead, this will guard msg.name overwriting and add the NULL termination in case of truncation: - memcpy(msg.name, name, sizeof(msg.name)); - msg.name[sizeof(msg.name) - 1] = 0; + strlcpy(msg.name, name, sizeof(ms

[PATCH] Staging: greybus: audio_codec.c: Change uint32_t to u32

2018-01-03 Thread Sumit Pundir
This patch fixes the following checkpatch.pl issue at multiple lines: CHECK: Prefer kernel type 'u32' over 'uint32_t' + uint32_t format, rate; Signed-off-by: Sumit Pundir --- drivers/staging/greybus/audio_codec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dr

[PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Matt Fleming
Instate Ard Biesheuvel as the sole EFI maintainer and leave other folks as maintainers for the EFI test driver and efivarfs file system. Signed-off-by: Matt Fleming --- MAINTAINERS | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) Ard, if you want to add yourself as co-maintainer of the

Re: [PATCH] thermal: Use power efficient workqueue

2018-01-03 Thread Vincent Guittot
On 3 January 2018 at 10:24, Leo Yan wrote: > Thermal core framework uses the system_freezable_wq workqueue as its > workqueue for polling temperature. Using system_freezable_wq workqueue > prevents the scheduler to make smart decision about the best place to > schedule the work. > > This commit re

Re: [PATCH v17 0/5] ZII RAVE platform driver

2018-01-03 Thread Lee Jones
Well I guess we better at least include them in the conversation. Stephen and Andrew added. On Tue, 02 Jan 2018, Andrey Smirnov wrote: > On Tue, Jan 2, 2018 at 7:17 AM, Lee Jones wrote: > > On Wed, 20 Dec 2017, Andrey Smirnov wrote: > > > >> Everyone: > >> > >> This patch series is v17 of the dr

[PATCH] [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all

2018-01-03 Thread Vincent Legoll
No need to get into the submenu to disable all VIRTIO-related config entries. This makes it easier to disable all VIRTIO config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not ch

Re: [PATCH v6 00/11] Intel SGX Driver

2018-01-03 Thread Pavel Machek
Hi! > Good evening Pavel et.al., I hope the New Year has started well for > everyone. :-). Stuff proceeds as usual. Too bad it is raining outside, instead of snowing. > > > > Would you list guarantees provided by SGX? > > > > > > Obviously, confidentiality and integrity. SGX was designed to add

[PATCH, v2] virtio: make VIRTIO a menuconfig to ease disabling it

2018-01-03 Thread Vincent Legoll
No need to get into the submenu to disable all VIRTIO-related config entries. This makes it easier to disable all VIRTIO config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not ch

Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Michael Cree
On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > On alpha, a process will crash if it attempts to start a thread and a > signal is delivered at the same time. The crash can be reproduced with > this program: https://cygwin.com/ml/cygwin/2014-11/msg00473.html > > The reason for th

Re: [PATCH v2 2/3] backlight: tdo24m: add the reset line gpio

2018-01-03 Thread Daniel Thompson
On Sun, Dec 24, 2017 at 12:55:55PM +0100, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > Daniel Thompson writes: > > > >> On Fri, Oct 13, 2017 at 09:42:48PM +0200, Robert Jarzmik wrote: > >> Also, this adds a new optional property, doesn't the devicetree binding > >> docs need to be updat

Re: linux-next: manual merge of the kvm-arm tree with Linus' tree

2018-01-03 Thread Christoffer Dall
Thanks Stephen, On Wed, Jan 3, 2018 at 3:38 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvm-arm tree got a conflict in: > > virt/kvm/arm/arch_timer.c > > between commit: > > 36e5cfd410ad ("KVM: arm/arm64: Properly handle arch-timer IRQs after > vtimer_save_state

Re: [RFC PATCH 1/3] mm, numa: rework do_pages_move

2018-01-03 Thread Michal Hocko
On Wed 03-01-18 15:06:49, Anshuman Khandual wrote: > On 01/03/2018 02:28 PM, Michal Hocko wrote: > > On Wed 03-01-18 14:12:17, Anshuman Khandual wrote: > >> On 12/08/2017 09:45 PM, Michal Hocko wrote: [...] > >>> @@ -1593,79 +1556,80 @@ static int do_pages_move(struct mm_struct *mm, > >>> nodemask

Re: [PATCH 2/4] extcon: axp288: Remove unused platform data

2018-01-03 Thread Chanwoo Choi
On 2018년 01월 03일 18:37, Lee Jones wrote: > On Wed, 03 Jan 2018, Chanwoo Choi wrote: > >> Dear Lee, >> >> On 2018년 01월 02일 18:16, Lee Jones wrote: >>> On Tue, 02 Jan 2018, Chanwoo Choi wrote: >>> + MFD Maintainer (Lee Jones ) Hi Hans, You better to use the scripts/get_maint

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Greg KH
On Wed, Jan 03, 2018 at 12:24:12AM +0100, Arnd Bergmann wrote: > On Wed, Dec 6, 2017 at 1:18 AM, Build bot for Mark Brown > wrote: > > > --- > > x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches > > > >

Re: [PATCH -V4 -mm] mm, swap: Fix race between swapoff and some swap operations

2018-01-03 Thread Mel Gorman
On Wed, Jan 03, 2018 at 08:42:15AM +0800, Huang, Ying wrote: > Mel Gorman writes: > > > On Tue, Jan 02, 2018 at 12:29:55PM +0100, Jan Kara wrote: > >> On Tue 02-01-18 10:21:03, Mel Gorman wrote: > >> > On Sat, Dec 23, 2017 at 10:36:53AM +0900, Minchan Kim wrote: > >> > > > code path. It appears

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Greg KH
On Wed, Jan 03, 2018 at 10:54:16AM +0100, Greg KH wrote: > On Wed, Jan 03, 2018 at 12:24:12AM +0100, Arnd Bergmann wrote: > > On Wed, Dec 6, 2017 at 1:18 AM, Build bot for Mark Brown > > wrote: > > > > > --- > > > x86_64-

[PATCH] include/uapi/linux/swab: Fix potentially missing __always_inline

2018-01-03 Thread Matt Redfearn
Commit bc27fb68aaad ("include/uapi/linux/byteorder, swab: force inlining of some byteswap operations") added __always_inline to swab functions and commit 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to userspace headers") added a definition of __always_inline for use in exported head

Re: [PATCH 4.14 000/146] 4.14.11-stable review

2018-01-03 Thread Greg Kroah-Hartman
On Tue, Jan 02, 2018 at 03:34:38PM -0700, Shuah Khan wrote: > On 01/01/2018 07:36 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.11 release. > > There are 146 patches in this series, all will be posted as a response > > to this one. If anyone has any is

Re: [PATCH v3 01/34] clk_ops: change round_rate() to return unsigned long

2018-01-03 Thread Mauro Carvalho Chehab
Em Mon, 1 Jan 2018 19:42:40 + Bryan O'Donoghue escreveu: > Right now it is not possible to return a value larger than LONG_MAX on 32 > bit systems. You can pass a rate of ULONG_MAX but can't return anything > past LONG_MAX due to the fact both the rounded_rate and negative error > codes are

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-03 Thread Christian König
Am 02.01.2018 um 21:51 schrieb Konrad Rzeszutek Wilk: On Tue, Jan 02, 2018 at 01:13:58PM +0100, Christian König wrote: [SNIP] + +phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, + dma_addr_t tbl_dma_addr, + phys_addr_t ori

[PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v3

2018-01-03 Thread Christian König
TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails. Suppress the warning when the 2MB allocations fails since there is a valid fall back path. v2: suppress warnings from swiotlb_tbl_map_single as well v3: codi

Re: [PATCH] staging: ccree: mark debug_regs[] as static

2018-01-03 Thread Gilad Ben-Yossef
Hi On Wed, Jan 3, 2018 at 11:26 AM, Arnd Bergmann wrote: > The global array clashes with an existing symbol of the same name: > > drivers/staging/ccree/cc_debugfs.o:(.data+0x0): multiple definition of > `debug_regs' > drivers/mmc/host/s3cmci.o:(.data+0x70): first defined here > > We should fix b

Re: [PATCH] v4l2: i2c: ov7670: Implement OF mbus configuration

2018-01-03 Thread Sakari Ailus
Hi Jacopo, Please see my comments below. On Tue, Jan 02, 2018 at 04:03:53PM +0100, Jacopo Mondi wrote: > ov7670 driver supports two optional properties supplied through platform > data, but currently does not support any standard video interface > property. > > Add support through OF parsing for

Re: [PATCH] Staging: greybus: audio_codec.h: Change uint32_t to u32

2018-01-03 Thread Johan Hovold
On Wed, Jan 03, 2018 at 03:07:33PM +0530, Sumit Pundir wrote: > This patch fixes the following checkpatch.pl issues: > > CHECK: Prefer kernel type 'u32' over 'uint32_t' > + uint32_t format, rate; > > CHECK: Prefer kernel type 'u32' over 'uint32_t' > + uint32_t *

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Marc Zyngier
On 03/01/18 09:35, Ganapatrao Kulkarni wrote: > Hi Marc, > > On Wed, Jan 3, 2018 at 2:17 PM, Marc Zyngier wrote: >> On 03/01/18 06:32, Ganapatrao Kulkarni wrote: >>> When an interrupt is moved across node collections on ThunderX2 >> >> node collections? > > ok, i will rephrase it. > i was inten

Re: [PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Ard Biesheuvel
On 3 January 2018 at 09:44, Matt Fleming wrote: > Instate Ard Biesheuvel as the sole EFI maintainer and leave other folks > as maintainers for the EFI test driver and efivarfs file system. > > Signed-off-by: Matt Fleming Acked-by: Ard Biesheuvel Thanks Matt > --- > MAINTAINERS | 5 + > 1

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2018-01-03 Thread Tetsuo Handa
Wei Wang wrote: > On 01/03/2018 10:29 AM, Tetsuo Handa wrote: > > Matthew Wilcox wrote: > >> The radix tree convention is objectively awful, which is why I'm working > >> to change it. Specifying the GFP flags at radix tree initialisation time > >> rather than allocation time leads to all kinds of

Re: [PATCH] Staging: greybus: audio_codec.c: Change uint32_t to u32

2018-01-03 Thread Vaibhav Agarwal
On Wed, Jan 3, 2018 at 3:09 PM, Sumit Pundir wrote: > This patch fixes the following checkpatch.pl issue at multiple lines: > > CHECK: Prefer kernel type 'u32' over 'uint32_t' > + uint32_t format, rate; > > Signed-off-by: Sumit Pundir > --- Hi Sumit, Similar patches are already submitted

Re: [PATCH] media: don't drop front-end reference count for ->detach

2018-01-03 Thread Mauro Carvalho Chehab
Em Tue, 2 Jan 2018 10:48:54 +0100 Arnd Bergmann escreveu: > A bugfix introduce a link failure in configurations without CONFIG_MODULES: > > In file included from drivers/media/usb/dvb-usb/pctv452e.c:20:0: > drivers/media/usb/dvb-usb/pctv452e.c: In function 'pctv452e_frontend_attach': > drivers/

Re: [PATCH] nokia N9: Add support for magnetometer and touchscreen

2018-01-03 Thread Pavel Machek
On Tue 2018-01-02 18:27:20, Sebastian Reichel wrote: > Hi, > > On Tue, Jan 02, 2018 at 02:17:22PM +0100, Pavel Machek wrote: > > This adds dts support for magnetometer and touchscreen on Nokia N9. > > I think it makes sense to have this splitted. Creating more work for everyone for little gain?

  1   2   3   4   5   6   7   8   9   10   >