[tip:x86/urgent] x86/apic/uv: Silence a shift wrapping warning

2016-11-23 Thread tip-bot for Dan Carpenter
Commit-ID: c4597fd756836a5fb7900f2091797ab564390ad0 Gitweb: http://git.kernel.org/tip/c4597fd756836a5fb7900f2091797ab564390ad0 Author: Dan Carpenter AuthorDate: Thu, 24 Nov 2016 01:19:08 +0300 Committer: Ingo Molnar CommitDate: Thu, 24 Nov 2016 06:01:05 +0100 x86/apic/uv: Silence a shi

Re: [PATCH 1/3] perf sched timehist: Mark schedule function in callchains

2016-11-23 Thread Namhyung Kim
Hi David, On Wed, Nov 23, 2016 at 10:13:46PM -0500, David Ahern wrote: > On 11/23/16 8:11 PM, Namhyung Kim wrote: > > The sched_switch event always captured from the scheduler function. So > > it'd be great omit them from the callchain. This patch marks the > > functions to be omitted by later p

Re: [PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-23 Thread Matt Ranostay
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Tuesday 22 Nov 2016 17:18:40 Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. This patchset enables support >> f

Re: [PATCH 1/5] mm: migrate: Add mode parameter to support additional page copy routines.

2016-11-23 Thread Anshuman Khandual
> https://github.com/0day-ci/linux/commits/Zi-Yan/Parallel-hugepage-migration-optimization/20161123-022913 > reproduce: > # apt-get install sparse > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones

Re: [PATCH 1/4] serial: core: Add LED trigger support

2016-11-23 Thread Sascha Hauer
On Wed, Nov 23, 2016 at 10:13:02AM -0700, Mathieu Poirier wrote: > On Wed, Nov 23, 2016 at 11:01:03AM +0100, Sascha Hauer wrote: > > With this patch the serial core provides LED triggers for RX and TX. > > > > As the serial core layer does not know when the hardware actually sends > > or receives

[PATCH 1/2] ARM: dts: sun6i: Disable display pipeline by default

2016-11-23 Thread Chen-Yu Tsai
While we now support the internal display pipeline found on sun6i, it is possible that we are unable to enable the display for some boards, due to a lack of drivers for the panels or bridges found on them. If the display pipeline is enabled, the driver will try to enable, and possibly screw up the

[PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default

2016-11-23 Thread Chen-Yu Tsai
Hi, While we now support the internal display pipeline found on sun6i, it is possible that we are unable to enable the display for some boards, due to a lack of drivers for the panels or bridges found on them. If the display pipeline is enabled, the driver will try to enable, and possibly screw up

[PATCH 2/2] ARM: dts: sun6i: hummingbird: Enable display engine again

2016-11-23 Thread Chen-Yu Tsai
Now that we disable the display engine by default, we need to re-enable it for the Hummingbird A31, which already had its display pipeline enabled. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dt

Re: [PATCH 1/5] mm: migrate: Add mode parameter to support additional page copy routines.

2016-11-23 Thread Anshuman Khandual
On 11/22/2016 09:55 PM, Zi Yan wrote: > From: Zi Yan > > From: Zi Yan There are multiple "from" for this patch, should be fixed to reflect just one of them. > > migrate_page_copy() and copy_huge_page() are affected. In this patch you are just expanding the arguments of both of these function

Re: [PATCH] gpio: tegra186: Add support for T186 GPIO

2016-11-23 Thread Laxman Dewangan
On Thursday 24 November 2016 01:10 AM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Nov 23, 2016 at 02:25:51PM +0100, Linus Walleij wrote: This is already possible and several drivers are doing this. Everything, all kernel users and all character device users, end up calling

Re: [PATCH v1 & v6 1/2] PM/devfreq: add suspend frequency support

2016-11-23 Thread Chanwoo Choi
+ Tobias Jakobi, Hi Lin, We need to discuss how to support the suspend-opp of devfreq device. Now, there are two patch thread for suspend-opp of devfreq. The Lin's approach modify the devfreq_suspend_device() to support suspend-opp. The Tobias's approach[1] add new devfreq_suspend() and then cal

Re: [PATCH] gpio: Add Tegra186 support

2016-11-23 Thread Laxman Dewangan
On Tuesday 22 November 2016 11:25 PM, Thierry Reding wrote: +static inline struct tegra_gpio *to_tegra_gpio(struct gpio_chip *chip) +{ + return container_of(chip, struct tegra_gpio, gpio); +} You dont need this as gpiochip_get_data(chip); can provide the required driver specific data.

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-23 Thread Nicholas Piggin
On Thu, 24 Nov 2016 07:00:50 +0100 Ingo Molnar wrote: > * Nicholas Piggin wrote: > > > > scripts/Makefile.build | 78 > > > -- > > > 1 file changed, 72 insertions(+), 6 deletions(-) > > > > > > It was applied 4 hours

Re: [RFC PATCH] mm: page_alloc: High-order per-cpu page allocator

2016-11-23 Thread Vlastimil Babka
On 11/23/2016 05:33 PM, Mel Gorman wrote: + +static inline unsigned int pindex_to_order(unsigned int pindex) +{ + return pindex < MIGRATE_PCPTYPES ? 0 : pindex - MIGRATE_PCPTYPES + 1; +} + +static inline unsigned int order_to_pindex(int migratetype, unsigned int order) +{ + return (or

Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available [ver #3]

2016-11-23 Thread David Howells
Andreas Dilger wrote: > > + case S_IFCHR: printf(" character special file\n");ft = > > 'c'; break; > > This will overflow 80 columns. Could use just "character special"? > > > + case S_IFDIR: printf(" directory\n"); ft = > > 'd'; break; > > +

Re: [PATCH v1 & v6 1/2] PM/devfreq: add suspend frequency support

2016-11-23 Thread hl
Hi Chanwoo Choi, I think the dev_pm_opp_get_suspend_opp() have implement most of the funtion, all we need is just define the node in dts, like following: &dmc_opp_table { opp06 { opp-suspend; }; }; so i think my way semm more simple. On 2016年11月24日 15:10, Chanwoo Choi wrote

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-23 Thread Greg Kroah-Hartman
On Thu, Nov 24, 2016 at 06:20:26PM +1100, Nicholas Piggin wrote: > But still, modversions is pretty complicated for what it gives us. It sends > preprocessed C into a C parser that makes CRCs using type definitions of > exported symbols, then turns those CRCs into a linker script which which is > u

Re: [RFC 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-11-23 Thread Vlastimil Babka
On 11/23/2016 01:35 PM, Michal Hocko wrote: On Wed 23-11-16 13:19:20, Vlastimil Babka wrote: This makes some sense to me, but there might be unpleasant consequences, e.g. due to allowing costly allocations without reserves. I am not sure I understand. Did you mean with reserves? Anyway, my cod

Re: [RFC PATCH] mm: page_alloc: High-order per-cpu page allocator

2016-11-23 Thread Mel Gorman
On Thu, Nov 24, 2016 at 08:26:39AM +0100, Vlastimil Babka wrote: > On 11/23/2016 05:33 PM, Mel Gorman wrote: > > > > + > > > > +static inline unsigned int pindex_to_order(unsigned int pindex) > > > > +{ > > > > + return pindex < MIGRATE_PCPTYPES ? 0 : pindex - > > > > MIGRATE_PCPTYPES + 1; >

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-23 Thread Xiaolong Zhang
On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > On 11/12, Xiaolong Zhang wrote: > > On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > > > On 10/22, Xiaolong Zhang wrote: > > > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > > > On 10/11, Orson Zhai wrot

[PATCH] PM / OPP: fix CPU device to be removed from OPP table in wrong order

2016-11-23 Thread Joonyoung Shim
The device that creates OPP table first should be removed from dev_list of OPP table in last because it can be used by other resources (supported_hw, prop_name, regulator), but not now. If OPP table is shared by several CPUs, the CPU device that creates OPP table can be removed earlier than other C

Re: wl1251 & mac address & calibration data

2016-11-23 Thread Pavel Machek
Hi! > > "ifconfig hw ether XX" normally sets the address. I guess that's > > ioctl? > > This sets temporary address and it is ioctl. IIRC same as what ethtool > uses. (ifconfig is already deprecated). > > > And I guess we should use similar mechanism for permanent > > address. > > I'm not sure

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-23 Thread Nicholas Piggin
On Thu, 24 Nov 2016 08:36:39 +0100 Greg Kroah-Hartman wrote: > On Thu, Nov 24, 2016 at 06:20:26PM +1100, Nicholas Piggin wrote: > > But still, modversions is pretty complicated for what it gives us. It sends > > preprocessed C into a C parser that makes CRCs using type definitions of > > exported

Re: [RFC 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-11-23 Thread Michal Hocko
On Thu 24-11-16 08:41:30, Vlastimil Babka wrote: > On 11/23/2016 01:35 PM, Michal Hocko wrote: > > On Wed 23-11-16 13:19:20, Vlastimil Babka wrote: [...] > > > > static inline struct page * > > > > +__alloc_pages_nowmark(gfp_t gfp_mask, unsigned int order, > > > > +

Re: [PATCH v5 2/3] tpm: enhance read_log_of() to support Physical TPM event log

2016-11-23 Thread Nayna
On 11/24/2016 01:07 AM, Jason Gunthorpe wrote: On Wed, Nov 23, 2016 at 12:27:36PM -0500, Nayna Jain wrote: sizep = of_get_property(np, "linux,sml-size", NULL); + if (of_property_match_string(np, "compatible", "IBM,vtpm") < 0) + log_size = be32_to_cpup(sizep); +

<    5   6   7   8   9   10