[PATCH v4 3/4] of: be consistent in form of file mode

2017-05-01 Thread frowand . list
From: Frank Rowand checkpatch whined about using S_IRUGO instead of octal equivalent when adding phandle sysfs code, so used octal in that patch. Change other instances of the S_* constants in the same file to the octal form. Signed-off-by: Frank Rowand

[PATCH v4 1/4] of: remove *phandle properties from expanded device tree

2017-05-01 Thread frowand . list
From: Frank Rowand Remove "phandle", "linux,phandle", and "ibm,phandle" properties from the internal device tree. The phandle will still be in the struct device_node phandle field. This is to resolve the issue found by Stephen Boyd [1] when he changed the type of struct

[PATCH v4 0/4] of: remove *phandle properties from expanded device tree

2017-05-01 Thread frowand . list
From: Frank Rowand Remove "phandle" and "linux,phandle" properties from the internal device tree. The phandle will still be in the struct device_node phandle field. This is to resolve the issue found by Stephen Boyd [1] when he changed the type of struct property.value

Large new drm driver

2017-05-01 Thread Stephen Rothwell
Hi Linus, Just so you don't get a large suprise: $ git diff --dirstat v4.11..next-20170501 3.9% arch/ 13.5% drivers/gpu/drm/amd/include/asic_reg/vega10/DC/ 6.0% drivers/gpu/drm/amd/include/asic_reg/vega10/GC/ 23.5% drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/ 7.5% drivers/gpu

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

2017-05-01 Thread Stephen Rothwell
Hi Jens, On Mon, 1 May 2017 19:09:34 -0600 Jens Axboe wrote: > > Indeed, I have warned Linus about it. Thanks Stephen. Thanks. BTW, (unusually) I did not see your pull request(s) ... -- Cheers, Stephen Rothwell

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

2017-05-01 Thread Jens Axboe
On May 1, 2017, at 7:37 PM, Stephen Rothwell wrote: > > Hi Jens, > >> On Mon, 1 May 2017 19:09:34 -0600 Jens Axboe wrote: >> >> Indeed, I have warned Linus about it. Thanks Stephen. > > Thanks. > > BTW, (unusually) I did not see your pull request(s)

Re: [RESENT PATCH] x86/mem: fix the offset overflow when read/write mem

2017-05-01 Thread zhong jiang
ping anyone has any objections. On 2017/4/27 19:49, zhongjiang wrote: > From: zhong jiang > > Recently, I found the following issue, it will result in the panic. > > [ 168.739152] mmap1: Corrupted page table at address 7f3e6275a002 > [ 168.745039] PGD 61f4a1067 > [

[PATCH 2/2] f2fs: show available_nids in f2fs/status

2017-05-01 Thread Jaegeuk Kim
This patch adds an entry in f2fs/status to show # of available nids. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 5 +++-- fs/f2fs/f2fs.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index

Re: [PATCH v2] x86/mm/kaslr: Use _ASM_MUL macro for multiplication

2017-05-01 Thread Kees Cook
On Mon, May 1, 2017 at 3:47 PM, Matthias Kaehlcke wrote: > The constraint "rm" allows the compiler to put mix_const into memory. > When the input operand is a memory location mul needs an operand size > suffix, since it can't infer the multiplication width from the operand. > >

Re: [PATCH] perf report: distinguish between inliners in the same function

2017-05-01 Thread Jin, Yao
SNIP ~ $ perf report --stdio --inline --no-children Failed to open [ext4], continuing without symbols # To display the perf.data header info, please use --header/--header-only options. # # # Total Lost Samples: 0 # # Samples: 499 of event 'cycles' # Event count (approx.): 329354953 # #

Re: [PATCH 2/2] [PATCH 2/2] iio: adc: sun4i-gpadc-iio: Fix module autoload when OF devices are registered

2017-05-01 Thread Chen-Yu Tsai
On Tue, May 2, 2017 at 6:45 AM, Eduardo Molinas wrote: > If the driver is built as a module, it won't be autloaded if the devices > are registered via OF code because the OF device table > entries are not exported as aliases > > Before the patch: > $ modinfo

Re: [PATCH 4.10 54/62] Input: i8042 - add Clevo P650RS to the i8042 reset list

2017-05-01 Thread Ed Bordin
On 2 May 2017 at 11:22, Dmitry Torokhov wrote: > On May 1, 2017 6:14:54 PM PDT, Ed Bordin wrote: >>On 2 May 2017 at 07:35, Greg Kroah-Hartman >>wrote: >>> 4.10-stable review patch. If anyone has any objections, please

Re: Large new drm driver

2017-05-01 Thread Dave Airlie
On 2 May 2017 at 11:31, Stephen Rothwell <s...@canb.auug.org.au> wrote: > Hi Linus, > > Just so you don't get a large suprise: > > $ git diff --dirstat v4.11..next-20170501 >3.9% arch/ > 13.5% drivers/gpu/drm/amd/include/asic_reg/vega10/DC/ >6.0% driver

[PATCH net v2] net: hns: fix ethtool_get_strings overflow in hns driver

2017-05-01 Thread Timmy Li
hns_get_sset_count() returns HNS_NET_STATS_CNT and the data space allocated is not enough for ethtool_get_strings(), which will cause random memory corruption. When SLAB and DEBUG_SLAB are both enabled, memory corruptions like the the following can be observed without this patch: [ 43.115200]

Re: Large new drm driver

2017-05-01 Thread Stephen Rothwell
Hi Dave, On Tue, 2 May 2017 12:36:35 +1000 Dave Airlie wrote: > > We've had register header files like this on a number of occasions > before, not sure why it warrants a mention now. Linus expressed suprise once before when we had a large number of new lines appear in another

Re: [PATCH v2 3/4] iio: accel: adxl345: Setup DATA_READY trigger

2017-05-01 Thread Rob Herring
On Sun, Apr 30, 2017 at 7:32 PM, Jonathan Cameron wrote: > On 29/04/17 08:49, Eva Rachel Retuya wrote: >> The ADXL345 provides a DATA_READY interrupt function to signal >> availability of new data. This interrupt function is latched and can be >> cleared by reading the data

Re: rlimits: Print more information when CPU/RT limits are exceeded

2017-05-01 Thread Dave Jones
On Mon, May 01, 2017 at 11:21:52PM +, Linux Kernel wrote: > Web: > https://git.kernel.org/torvalds/c/e7ea7c9806a2681807257ea89085339d33f7fa0b > Commit: e7ea7c9806a2681807257ea89085339d33f7fa0b > Parent: 4495c08e84729385774601b5146d51d9e5849f81 > Refname:

Re: [PATCH] staging/ks7010: Fix type assignment for struct hostif_hdr

2017-05-01 Thread Tobin C. Harding
On Sat, Apr 29, 2017 at 07:54:30PM +0200, Cezary Gapinski wrote: > Sparse spits out a warnings about __le16 and unsigned short assignment. > Change the type of size and event members of struct hostif_hdr > to __le16 and correct conversion to the proper cpu type. > > Signed-off-by: Cezary Gapinski

Update Your Webmail Account Within 24 Hours

2017-05-01 Thread Brigitte Kätzler
Dear E-mail User Please follow the link to update your webmail account http://ets1n4w20.ulcraft.com Thank You

[GIT PULL] EFI changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest efi-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-core-for-linus # HEAD: 197decefdb79d6f1350ba0316ce26ba737372d0c efi/libstub/arm: Don't use TASK_SIZE when randomizing the RT space The main changes in this cycle

[GIT PULL] scheduler changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: 21173d0b4d2a0b9e9e5f3155cf2cfc5781a6f4b1 sched/x86: Update reschedule warning text The main changes in this cycle were: - Another

Re: I'd like to donate a MacBook Pro

2017-05-01 Thread Greg KH
On Mon, May 01, 2017 at 12:27:41AM -0600, Alex Henrie wrote: > Dear kernel developers, > > I have a MacBookPro12,1 A1502 with a very annoying problem. Every time > it boots, the screen stays black for about 90 seconds, and the > keyboard is unresponsive for an additional 40 seconds. Both the >

Re: [PATCH 1/2] spi: imx: dynamic burst length adjust for PIO mode

2017-05-01 Thread Jiada Wang
Hello Mark Sorry, somehow I missed your following comment On 02/14/2017 10:20 AM, Mark Brown wrote: On Wed, Feb 08, 2017 at 03:20:27PM +0900, Jiada Wang wrote: This looks basically fine, a couple of fairly minor things here: + for (i = 0; i< transfer->len / 4; i++) { +

[GIT PULL] locking changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: 59cd42c29618c45cd3c56da43402b14f611888dd MAINTAINERS: Add FUTEX SUBSYSTEM ( NOTE: due to dependencies this tree relies on the

Re: [PATCH v2 2/4] iio: accel: adxl345_core: Introduce set_mode and data_ready functions

2017-05-01 Thread Andy Shevchenko
On Sat, Apr 29, 2017 at 10:48 AM, Eva Rachel Retuya wrote: > Move code that enables measurement/standby mode into its own function > and call that function when appropriate. Previously, we set the sensor > to measurement in probe and back to standby during remove. Change it >

[PATCH 0/2] iio: Trivial fixes for INA219, Documentation

2017-05-01 Thread Stefan Brüns
The following two patches fix some trivial issues, no functional changes: Stefan Brüns (2): iio: Documentation: Remove (partially) duplicate line iio: adc: Fix bad GENMASK use, typos, whitespace Documentation/ABI/testing/sysfs-bus-iio-meas-spec | 1 - drivers/iio/adc/ina2xx-adc.c

[PATCH 1/2] iio: Documentation: Remove (partially) duplicate line

2017-05-01 Thread Stefan Brüns
Signed-off-by: Stefan Brüns --- Documentation/ABI/testing/sysfs-bus-iio-meas-spec | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-iio-meas-spec b/Documentation/ABI/testing/sysfs-bus-iio-meas-spec index

[PATCH 2/2] iio: adc: Fix bad GENMASK use, typos, whitespace

2017-05-01 Thread Stefan Brüns
Commit 7906dd52c5a0 ("iio: ina2xx: Fix whitespace and re-order code") changed the register number of the MASK_ENABLE register from 0x06 to the value equivalent GENMASK(2,1), although its no mask. Also fix a typo (INA2_6_6 instead of INA2_2_6), and use the datasheet name ("Mask/Enable") for the

[tip:x86/mm] mm, zone_device: Replace {get, put}_zone_device_page() with a single reference to fix pmem crash

2017-05-01 Thread tip-bot for Dan Williams
Commit-ID: 71389703839ebe9cb426c72d5f0bd549592e583c Gitweb: http://git.kernel.org/tip/71389703839ebe9cb426c72d5f0bd549592e583c Author: Dan Williams AuthorDate: Fri, 28 Apr 2017 10:23:37 -0700 Committer: Ingo Molnar CommitDate: Mon, 1 May 2017

Re: [PATCH 14/14] sched/topology: Add a few comments

2017-05-01 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 03:20:12PM +0200, Peter Zijlstra wrote: > +/* > + * NUMA topology (first read the regular topology blurb below) > + * > + * Given a node-distance table, for example: > + * > + * node 0 1 2 3 > + * 0: 10 20 30 20 > + * 1: 20 10 20 30 > + * 2:

Re: [PATCH 00/14] sched/topology fixes

2017-05-01 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 08:30:05PM -0300, Lauro Venancio wrote: > On 04/28/2017 10:53 AM, Peter Zijlstra wrote: > > Also, the following occurred to me: > > > > sg_span & sg_mask == sg_mask > > > > Therefore, we don't need to do the whole "sg_span &" business. > > > > Hmm? > Agreed. Maybe we

[PATCH linux-next v2 0/1] improve imx spi performance

2017-05-01 Thread jiada_wang
From: Jiada Wang previously burst length (BURST_LENGTH) is always set to equal to bits_per_word, causes a 10us gap between each word in transfer, which significantly affects performance. This patch set uses 32 bits tranfser to simulate lowers bits transfer, and by set

[GIT pull] irq updates for 4.12

2017-05-01 Thread Thomas Gleixner
Linus, please pull the latest irq-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-core-for-linus Nothing exciting from the irq side for this merge window. - A new driver for a Mediatek SoC - ACPI support for ARM GICV3 - Support for shared

[GIT PULL] RAS changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest ras-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-core-for-linus # HEAD: c6a9583fb41c8bd017f643d5bc90a0fe0a92fe43 x86/mce: Check MCi_STATUS[MISCV] for usable addr on Intel only The main changes in this cycle

Re: [PATCH 2/5] power: supply: bq27xxx: Register power supply with devm

2017-05-01 Thread Sebastian Reichel
Hi, On Sun, Apr 30, 2017 at 08:27:24PM +0200, Paul Kocialkowski wrote: > This uses the managed devices resources version of the > power_supply_register_no_ws function to register the power supply. > > Signed-off-by: Paul Kocialkowski > --- >

[GIT PULL] x86/cpu changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest x86-cpu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus # HEAD: 4797b7dfdfcf457075c36743d71e2b0feeaaa20f x86/intel_rdt: Return error for incorrect resource names in schemata The biggest changes are an

[GIT PULL] hwmon updates for v4.12

2017-05-01 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux v4.12 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.12 Thanks, Guenter -- The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8: Linux 4.11-rc4

I'd like to donate a MacBook Pro

2017-05-01 Thread Alex Henrie
Dear kernel developers, I have a MacBookPro12,1 A1502 with a very annoying problem. Every time it boots, the screen stays black for about 90 seconds, and the keyboard is unresponsive for an additional 40 seconds. Both the internal keyboard and (if present) external USB keyboard are unresponsive.

[PATCH] staging: rtl8192u: Fix type mismatch warnings reported by sparse

2017-05-01 Thread suniel . spartan
From: Suniel Mahesh The function Mk16_le() is calling le16_to_cpu() internally. le16_to_cpu() takes an argument of type (__le *) but the argument passed is of type (u16 *). Fixed it by passing the correct argument. Signed-off-by: Suniel Mahesh

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

2017-05-01 Thread Peter Zijlstra
On Sat, Apr 29, 2017 at 12:09:24AM +0200, Peter Zijlstra wrote: > On Mon, Apr 10, 2017 at 11:18:29AM +0200, Vincent Guittot wrote: > > +++ b/include/linux/sched.h > > @@ -313,6 +313,7 @@ struct load_weight { > > */ > > struct sched_avg { > > u64 last_update_time;

3% Interest Rate Business / Personal Loan.. Apply now!

2017-05-01 Thread Billie Garber
Do you require funding? For Business or Personal loan without stress and Quick approval, email us for more Info. The issue of credit and collateral are something that clients are always worried about when seeking a loan from a private lenders. We have been accredited by the lender’s council to

[GIT PULL] Security subsystem updates for v4.12

2017-05-01 Thread James Morris
Hi Linus, Here are the security subsystem updates for v4.12. Highlights: - IMA: provide ">" and "<" operators for fowner/uid/euid rules - KEYS: add a system blacklist keyring - KEYS: add KEYCTL_RESTRICT_KEYRING, exposes keyring link restriction functionality to userland via

Re: [PATCH 1/7] hwmon: twl4030-madc: drop driver

2017-05-01 Thread Wolfram Sang
> > I can then pick up the rest once I have acks from Wolfram > > (who should have been cc'd as we are hoovering up things from the > > i2c directories in this series) > > $ ./scripts/get_maintainer.pl -f include/linux/i2c/twl4030-madc.h > linux-kernel@vger.kernel.org (open list) > > This

Re: [PATCH -mm -v10 1/3] mm, THP, swap: Delay splitting THP during swap out

2017-05-01 Thread Johannes Weiner
On Fri, Apr 28, 2017 at 05:40:44PM +0900, Minchan Kim wrote: > However, get_swap_page is ugly now. The caller should take care of > failure and should retry after split. I hope get_swap_page includes > split and retry logic in itself without reling on the caller. I think this makes the interface

[GIT PULL] x86/apic changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus # HEAD: 5ba039a55498d78a787edaf8cc915f29a17cecf3 x86/apic: Fix a comment in init_apic_mappings() Two small cleanups. Thanks, Ingo

Re: [PATCH v2 02/30] pinctrl: mediatek: reuse pinctrl driver for mt7623

2017-05-01 Thread Sean Wang
On Fri, 2017-04-28 at 10:01 +0200, Linus Walleij wrote: > On Wed, Apr 26, 2017 at 11:25 AM, wrote: > > > From: Sean Wang > > > > mt7623 pinctrl driver can be compatible with mt2701 one, > > so the patch reuses the driver and deletes those

linux-next: Tree for May 1

2017-05-01 Thread Stephen Rothwell
Hi all, Please do not add any v4.13 destined material in your linux-next included branches until after v4.12-rc1 has been released. Changes since 20170428: The spi tree gained a conflict against the pm tree. The rcu tree gained a conflict against the ftrace tree. The staging tree gained a

[PATCH v2] powerpc/8xx: Adding support of IRQ in MPC8xx GPIO

2017-05-01 Thread Christophe Leroy
This patch allows the use of IRQ to notify the change of GPIO status on MPC8xx CPM IO ports. This then allows to associate IRQs to GPIOs in the Device Tree. Ex: CPM1_PIO_C: gpio-controller@960 { #gpio-cells = <2>; compatible = "fsl,cpm1-pario-bank-c";

[GIT PULL] hsi changes for hsi-4.12

2017-05-01 Thread Sebastian Reichel
Hi Linus, The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git tags/hsi-for-4.12 for you to fetch changes up to

[GIT PULL] power-supply changes for 4.12

2017-05-01 Thread Sebastian Reichel
Hi Linus, The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8: Linux 4.11-rc4 (2017-03-26 14:15:16 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.12 for you to fetch changes up to

Re: [PATCH 0/5] RFC: ADV748x HDMI/Analog video receiver

2017-05-01 Thread Simon Horman
On Fri, Apr 28, 2017 at 09:47:05AM +0100, Kieran Bingham wrote: > Hi Simon, > > On 28/04/17 08:09, Simon Horman wrote: > > On Thu, Apr 27, 2017 at 07:25:59PM +0100, Kieran Bingham wrote: > >> From: Kieran Bingham > >> > >> This is an RFC for the Analog

[PATCH] staging: rtl8723bs: Fix coding style issues

2017-05-01 Thread Adheer Chandravanshi
Fix style issues as reported by checkpatch.pl Signed-off-by: Adheer Chandravanshi --- drivers/staging/rtl8723bs/include/rtl8192c_recv.h | 9 + drivers/staging/rtl8723bs/include/rtl8192c_rf.h | 22 +- 2 files changed, 14

[GIT PULL] x86/asm changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: 262fa734a0023a43391f9bd4a4099487b8393f35 x86/unwind: Dump all stacks in unwind_dump() The main changes in this cycle were: - unwinder

Re: [PATCH v3 2/3] drivers:power:twl4030-charger: add INPUT_CURRENT_LIMIT property and make it writeable

2017-05-01 Thread Sebastian Reichel
Hi, On Fri, Apr 14, 2017 at 08:25:56PM +0200, H. Nikolaus Schaller wrote: > Currently, the twl4030 charger defines its own max_current by directly > creating sysfs nodes. It should use the input_current_limit property > which is e.g. used by the bq24257 driver. > > This patch adds the

Re: [PATCH 2/5] dmaengine: Add STM32 DMAMUX driver

2017-05-01 Thread Vinod Koul
On Wed, Apr 26, 2017 at 09:17:37AM +, Pierre Yves MORDRET wrote: > >> + > >> + ret = of_property_read_u32(node, "dma-channels", > >> + >dmamux_channels); > > > > can we have property_xxx calls alone, that way driver is not strictly > > dependent on of > > Can you

Re: [PATCH 2/2] dmaengine: Add STM32 MDMA driver

2017-05-01 Thread Vinod Koul
On Wed, Apr 26, 2017 at 12:35:46PM +, Pierre Yves MORDRET wrote: > On 04/06/2017 09:08 AM, Vinod Koul wrote: > >> +static int stm32_mdma_get_width(struct stm32_mdma_chan *chan, > >> + enum dma_slave_buswidth width) > >> +{ > >> + switch (width) { > >> + case

Re: [PATCH v2 25/30] arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi

2017-05-01 Thread Sean Wang
On Fri, 2017-04-28 at 15:30 -0500, Rob Herring wrote: > On Wed, Apr 26, 2017 at 05:26:09PM +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > There are 2 versions of the SoC. MT7623N is almost identical to MT7623A > > but has some additional multimedia

Re: [PATCH 2/3] mm/slub: wrap cpu_slab->partial in CONFIG_SLUB_CPU_PARTIAL

2017-05-01 Thread Wei Yang
On Sun, Apr 30, 2017 at 07:41:03PM -0700, Matthew Wilcox wrote: >On Sun, Apr 30, 2017 at 07:31:51PM +0800, Wei Yang wrote: >> @@ -2302,7 +2302,11 @@ static bool has_cpu_slab(int cpu, void *info) >> struct kmem_cache *s = info; >> struct kmem_cache_cpu *c = per_cpu_ptr(s->cpu_slab, cpu);

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-05-01 Thread Thomas Gleixner
On Sun, 30 Apr 2017, Paul E. McKenney wrote: > > And sadly, the splats are still there. Please see the following for > the relevant console output and .config files: Right. We are working on fixing the issues. I'll zap it from tip for now. Thanks, tglx

[PATCH v3] pinctrl: mediatek: reuse pinctrl driver for mt7623

2017-05-01 Thread sean.wang
From: Sean Wang mt7623 pinctrl hardware can be compatible with mt2701 driver, so the patch lets the pinctrl on mt7623 SoC reuse the driver and deletes those redundant ones. Cc: John Crispin Signed-off-by: Sean Wang ---

Re: [PATCH v3] pinctrl: mediatek: reuse pinctrl driver for mt7623

2017-05-01 Thread John Crispin
On 01/05/17 09:54, sean.w...@mediatek.com wrote: From: Sean Wang mt7623 pinctrl hardware can be compatible with mt2701 driver, so the patch lets the pinctrl on mt7623 SoC reuse the driver and deletes those redundant ones. Cc: John Crispin

Re: [PATCH 2/3] mm/slub: wrap cpu_slab->partial in CONFIG_SLUB_CPU_PARTIAL

2017-05-01 Thread Wei Yang
On Sun, Apr 30, 2017 at 07:41:03PM -0700, Matthew Wilcox wrote: >On Sun, Apr 30, 2017 at 07:31:51PM +0800, Wei Yang wrote: >> @@ -2302,7 +2302,11 @@ static bool has_cpu_slab(int cpu, void *info) >> struct kmem_cache *s = info; >> struct kmem_cache_cpu *c = per_cpu_ptr(s->cpu_slab, cpu);

Re: [PATCH 0/3] HSI: nokia-modem: Fine-tuning for two function implementations

2017-05-01 Thread Sebastian Reichel
Hi, On Tue, Apr 25, 2017 at 10:40:10AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 25 Apr 2017 10:36:54 +0200 > > Three update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Use

Re: [PATCH 1/7] hwmon: twl4030-madc: drop driver

2017-05-01 Thread Sebastian Reichel
Hi, On Sun, Apr 30, 2017 at 05:41:05PM +0100, Jonathan Cameron wrote: > On 27/04/17 17:51, Guenter Roeck wrote: > > On Thu, Apr 27, 2017 at 05:30:06PM +0200, Sebastian Reichel wrote: > >> This driver is no longer needed: > >> > >> * It has no mainline users > >> * It has no DT support and OMAP

Re: [PATCH v2] mm, zone_device: replace {get, put}_zone_device_page() with a single reference

2017-05-01 Thread Kirill A. Shutemov
On Mon, May 01, 2017 at 09:12:59AM +0200, Ingo Molnar wrote: > ... is this extension to the changelog correct? Looks good to me. -- Kirill A. Shutemov

[PATCH linux-next v2 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-05-01 Thread jiada_wang
From: Jiada Wang previously burst length (BURST_LENGTH) is always set to equal to bits_per_word, causes a 10us gap between each word in transfer, which significantly affects performance. This patch uses 32 bits transfer to simulate lower bits transfer, and adjusts burst

Re: [PATCH v2] mm, zone_device: replace {get, put}_zone_device_page() with a single reference

2017-05-01 Thread Kirill A. Shutemov
On Sun, Apr 30, 2017 at 07:14:24PM -0400, Jerome Glisse wrote: > On Sat, Apr 29, 2017 at 01:17:26PM +0300, Kirill A. Shutemov wrote: > > On Fri, Apr 28, 2017 at 03:33:07PM -0400, Jerome Glisse wrote: > > > On Fri, Apr 28, 2017 at 12:22:24PM -0700, Dan Williams wrote: > > > > Are you sure about

Re: [PATCH 1/2] Add support for OneWire (W1) devices family 0x26 (MAX17211/MAX17215)

2017-05-01 Thread Alex A. Mihaylov
Hi! 30.04.17 23:53, Sebastian Reichel wrote:: Slave device provide software layer for access to internal registers MAX17211/MAX17215 chip. Please convert this to regmap.There is no generic w1 handler, but you can provide custom read/write functions. I think regmap be overkill for this

Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi

2017-05-01 Thread Sean Wang
On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: > On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > Banana Pi team in Sinovoip Co., Limited which are dedicated to > > design and manufacture open hardware product. > >

Re: [PATCH v2] mm, zone_device: replace {get, put}_zone_device_page() with a single reference

2017-05-01 Thread Ingo Molnar
* Dan Williams wrote: > On Sat, Apr 29, 2017 at 7:18 AM, Ingo Molnar wrote: > > > > * Dan Williams wrote: > > > >> Kirill points out that the calls to {get,put}_dev_pagemap() can be > >> removed from the mm fast path if we

[GIT PULL] AVR32 change for 4.12 - architecture removal

2017-05-01 Thread Hans-Christian Noren Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 change for 4.12 Hans-Christian Noren Egtvedt (6): avr32: remove support for AVR32 architecture docs: remove all references to AVR32 architecture

Re: powerpc/8xx: Adding support of IRQ in MPC8xx GPIO

2017-05-01 Thread christophe leroy
Le 30/04/2017 à 08:48, Scott Wood a écrit : On Thu, Mar 09, 2017 at 10:42:04AM +0100, Christophe Leroy wrote: This patch allows the use of IRQ to notify the change of GPIO status on MPC8xx CPM IO ports. This then allows to associate IRQs to GPIOs in the Device Tree. Ex: CPM1_PIO_C:

Re: [PATCH 0/2] HSI: Fine-tuning for three function implementations

2017-05-01 Thread Sebastian Reichel
Hi, On Tue, Apr 25, 2017 at 02:43:25PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 25 Apr 2017 14:32:10 +0200 > > Two update suggestions were taken into account > from static source code analysis. > > Markus Elfring (2): > Use kcalloc()

Re: [PATCH 0/3] HSI: omap_ssi: Fine-tuning for two function implementations

2017-05-01 Thread Sebastian Reichel
Hi, On Tue, Apr 25, 2017 at 01:12:42PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 25 Apr 2017 12:52:10 +0200 > > Three update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Use

[GIT PULL] x86/process changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest x86-process-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-process-for-linus # HEAD: f3e4559781bf0c393364baa6b772233088a711db x86/syscalls/32: Ignore arch_prctl for other architectures The main change in this cycle

[GIT PULL] perf changes for v4.12

2017-05-01 Thread Ingo Molnar
Linus, Please pull the latest perf-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus # HEAD: fd7647979a3948dae4fc6f25dbbdf9ba269bed78 Merge tag 'perf-core-for-mingo-4.12-20170424' of

Fix kbuild warnings

2017-05-01 Thread Tuomo Rinne
Fix kbuild warnings by passing in variable using address rather than making a copy. Tuomo Rinne (1): staging: rtl8192u: Convert u4bAcParam back to little-endian after construction drivers/staging/rtl8192u/r8192U_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4

[PATCH 1/1] staging: rtl8192u: Convert u4bAcParam back to little-endian after construction

2017-05-01 Thread Tuomo Rinne
The commit 9304b5b0d4fe ("staging: rtl8192u: Fix sparse warnings in r8192U_dm.c") adds casting of le16 from cpu endianness. This patch converts the u4bAcParam parameter back to little-endian after it has been constructed. Signed-off-by: Tuomo Rinne ---

Re: [PATCH net-next 00/18] net: dsa: mv88e6xxx: 802.1s and 88E6390 VTU

2017-05-01 Thread Vivien Didelot
Andrew, Andrew Lunn writes: > I actually pointed out a typo in one of the change log message. And i > requested some additional comments. I can respin this patch series to correct the nitpicks on 8/18 but, what I want most is a Tested-by tag. As you have this hardware, can you

Re: [PATCH v2 2/2] x86, refcount: Implement fast refcount overflow protection

2017-05-01 Thread Kees Cook
On Mon, May 1, 2017 at 8:54 AM, Josh Poimboeuf wrote: > On Thu, Apr 27, 2017 at 01:22:05PM -0700, Kees Cook wrote: >> On Wed, Apr 26, 2017 at 6:31 PM, kbuild test robot wrote: >> > Hi Kees, >> > >> > [auto build test WARNING on next-20170424] >> > [cannot

[ANNOUNCE] iproute2 4.11

2017-05-01 Thread Stephen Hemminger
Update to iproute2 utility to support new features in Linux 4.11. Most of the changes are related to recent work for hardware offload and flow classification in tc. Also the usual array of small manual and documentaton updates. Source:

Re: [PATCH 3/3] w1: Add subsystem kernel public interface

2017-05-01 Thread Andrew F. Davis
On 04/29/2017 11:28 AM, Evgeniy Polyakov wrote: > Hi everyone > > 16.03.2017, 18:20, "Andrew F. Davis" : >> Like other subsystems we should be able to define slave devices outside >> of the w1 directory. To do this we move public facing interface >> definitions to include/linux/w1.h

Re: [PATCH v2 2/2] x86, refcount: Implement fast refcount overflow protection

2017-05-01 Thread Kees Cook
On Mon, May 1, 2017 at 9:30 AM, Josh Poimboeuf wrote: >> +#define __REFCOUNT_EXCEPTION(size) \ >> + ".if "__stringify(size)" == 4\n\t" \ >> + ".pushsection .text.refcount_overflow\n"\ >> + ".elseif "__stringify(size)" ==

Re: new ...at() flag: AT_NO_JUMPS

2017-05-01 Thread Jann Horn
On Sun, Apr 30, 2017 at 12:04 AM, Al Viro wrote: > New AT_... flag - AT_NO_JUMPS > > Semantics: pathname resolution must not involve > * traversals of absolute symlinks > * traversals of procfs-style symlinks > * traversals of mountpoints

[PATCH net-next v2 11/18] net: dsa: mv88e6xxx: get STU entry on VTU GetNext

2017-05-01 Thread Vivien Didelot
Now that the code reads both VTU and STU data on VTU GetNext operation, fetch the STU entry data of a VTU entry at the same time. The STU data bits are masked with the VTU data bits and they are now all read at the same time a VTU GetNext operation is issued. Signed-off-by: Vivien Didelot

[PATCH net-next v2 17/18] net: dsa: mv88e6xxx: support the VTU Page bit

2017-05-01 Thread Vivien Didelot
Newer chips such as the 88E6390 have a VTU Page bit in the VTU VID register to specify a 13th bit for the VID. This can be used to support 8K VLANs. When dumping the whole VTU, all VID bits must be set to one, including this VTU Page bit. Add support for VID greater than 4095. Signed-off-by:

[PATCH net-next v2 04/18] net: dsa: mv88e6xxx: move VTU flush

2017-05-01 Thread Vivien Didelot
Move the VTU flush operation to global1_vtu.c and call it from a mv88e6xxx_vtu_setup helper, similarly to the ATU and PVT setup. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c| 28

[PATCH net-next v2 16/18] net: dsa: mv88e6xxx: simplify VTU entry getter

2017-05-01 Thread Vivien Didelot
Make the code which fetches or initializes a new VTU entry more concise. This allows us the get rid of the old underscore prefix naming. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 64

[PATCH net-next v2 15/18] net: dsa: mv88e6xxx: make VTU helpers static

2017-05-01 Thread Vivien Didelot
Now that we have chip operations for VTU accesses, mark all helpers from global1_vtu.c as static. Only the various implementations of the GetNext, LoadPurge and Flush operations need to be exposed. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn

[PATCH net-next v2 10/18] net: dsa: mv88e6xxx: move STU GetNext operation

2017-05-01 Thread Vivien Didelot
Extract the generic portion of code to issue an STU GetNext operation, which will be used in other implementations. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c| 14 +-

[PATCH net-next v2 03/18] net: dsa: mv88e6xxx: move VTU Operation accessors

2017-05-01 Thread Vivien Didelot
Move the helper functions to access the Global 1 VTU Operation register to a new global1_vtu.c file, and get rid of the old underscore prefix naming convention. This file will be extended will all VTU/STU related code. Signed-off-by: Vivien Didelot

[PATCH net-next v2 01/18] net: dsa: mv88e6xxx: add max VID to info

2017-05-01 Thread Vivien Didelot
Some chips don't have a VLAN Table Unit, most of them do have a 4K table, some others as the 88E6390 family has a 13th bit for the VID. Add a new max_vid member to the info structure, used to check the presence of a VTU as well as the value used to iterate from in VTU GetNext operations. This

[PATCH net-next v2 07/18] net: dsa: mv88e6xxx: move VTU VID accessors

2017-05-01 Thread Vivien Didelot
Add helpers to access the VTU VID register in the global1_vtu.c file. At the same time, move mv88e6xxx_g1_vtu_vid_write at the beginning of _mv88e6xxx_vtu_loadpurge, which adds no functional changes but makes future patches simpler. Signed-off-by: Vivien Didelot

[PATCH net-next v2 08/18] net: dsa: mv88e6xxx: move generic VTU GetNext

2017-05-01 Thread Vivien Didelot
Even though every switch model has a different way to access the VTU Data bits, the base implementation of the VTU GetNext operation remains the same: wait, write the first VID to iterate from, start the operation, and read the next VID. Move this generic implementation into global1_vtu.c and

Re: [PATCH man-pages 2/5] ioctl_userfaultfd.2: UFFDIO_COPY: add ENOENT and ENOSPC description

2017-05-01 Thread Michael Kerrisk (man-pages)
On 05/01/2017 07:43 AM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport Thanks, Mike. Applied. Cheers, Michael > --- > man2/ioctl_userfaultfd.2 | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/man2/ioctl_userfaultfd.2

[GIT PULL] usercopy updates for v4.12-rc1

2017-05-01 Thread Kees Cook
Hi, Please pull these hardened usercopy updates for v4.12-rc1. Thanks! -Kees The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at:

Re: WARN_ON_ONCE() in process_one_work()?

2017-05-01 Thread Tejun Heo
Hello, Paul. Hmmm... Steven reproted a similar issue. http://lkml.kernel.org/r/20170405151628.33df7...@gandalf.local.home On Mon, May 01, 2017 at 09:57:47AM -0700, Paul E. McKenney wrote: > Hello! > > I am hitting this WARN_ON_ONCE() in process_one_work() and am wondering > what I did wrong

Re: [PATCH v2 1/2] mwifiex: initiate card-specific work atomically

2017-05-01 Thread Brian Norris
On Mon, May 01, 2017 at 11:45:48AM -0700, Brian Norris wrote: > The non-atomic test + set is a little awkward here, and it technically > means we might double-schedule work unnecessarily. AFAICT, this is not > really a problem, since the extra "work" will be a no-op (the flag(s) > will be cleared

[PATCH] ia64: fix module loading for gcc-5.4

2017-05-01 Thread Luck, Tony
From: Sergei Trofimovich Starting from gcc-5.4+ gcc generates MLX instructions in more cases to refer local symbols: https://gcc.gnu.org/PR60465 That caused ia64 module loader to choke on such instructions: fuse: invalid slot number 1 for IMM64 Linux kernel used to

Re: [PATCH] input: ar1021_i2c: add previously wrongly removed ABS_X parameter

2017-05-01 Thread Dmitry Torokhov
On Mon, May 01, 2017 at 04:57:09PM +0200, Martin Kepplinger wrote: > The recent change > > commit 2098cc15d9a0 ("Input: ar1021_i2c - enable touch mode during open") > > also removed the ABS_X input code to be set. This must have been done > by mistake; so we bring back the X axis! > >

<    1   2   3   4   5   6   7   8   9   10   >