Re: fsnotify_mark_srcu wtf?

2016-11-05 Thread Amir Goldstein
On Sat, Nov 5, 2016 at 11:34 PM, Jan Kara wrote: > On Wed 02-11-16 23:09:26, Miklos Szeredi wrote: >> We've got a report where a fanotify daemon that implements permission checks >> screws up and doesn't send a reply. This then causes widespread hangs due to >> fsnotify_mark_srcu read side lock b

make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'.

2016-11-05 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: 190fe191cfbead9fe089453dd092869c9469c6d4 sh: add support for linking a builtin device tree blob in the kernel

drivers/regulator/lp872x.c:773: undefined reference to `devm_gpio_request_one'

2016-11-05 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 3 months a

[PATCH] net: amd: pcnet32: use new api ethtool_{get|set}_link_ksettings

2016-11-05 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/amd/pcnet32.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/amd/pcnet32.

Re: [PATCH] perf thread: cleanup with list_first_entry_or_null()

2016-11-05 Thread Arnaldo Carvalho de Melo
Em Sun, Nov 06, 2016 at 12:00:22PM +0900, Masahiro Yamada escreveu: > Hi maintainers, > > Does this patch look good? >From a quick look it seems ok, I'll try and process it when back home. - Arnaldo > 2016-09-13 3:29 GMT+09:00 Masahiro Yamada : > > The combo of list_empty() check and return li

cc1: error: '-march=r3000' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 4 weeks ago config: mi

[PATCH 1/2] s390: delete unneeded #include from facilities_src.h

2016-11-05 Thread Masahiro Yamada
The header facilities_src.h is only included from gen_facilities.c and the tool is compiled with the following extra options: HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE) Please note $(LINUXINCLUDE) is expanded into build options including: -include $(srctree)/include/linux/kconf

[PATCH 2/2] s390: squash facilities_src.h into gen_facilities.c

2016-11-05 Thread Masahiro Yamada
We generally expect headers in arch/$(ARCH)/include/asm directory are included from kernel sources, but facilities_src.h is not; it is included from the arch/s390/tools/gen_facilities.c tool. There is no reason to expose this header to the public include path. Furthermore, facilities_src.h makes s

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Henrique de Moraes Holschuh
On Sat, 05 Nov 2016, Pavel Machek wrote: > On Sat 2016-11-05 15:46:12, Henrique de Moraes Holschuh wrote: > > On Sat, 05 Nov 2016, Pavel Machek wrote: > > > Hmm, thanks for the pointer. But it seems like I'll have to build my > > > own, as /proc/acpi/ibm does not follow the usual infrastructure...

Re: [PATCH v3] ARM: bcm2835: Add names for the Raspberry Pi GPIO lines

2016-11-05 Thread Stephen Warren
On 10/27/2016 10:52 AM, Eric Anholt wrote: From: Linus Walleij The idea is to give useful names to GPIO lines that an implementer will be using from userspace, e.g. for maker type projects. These are user-visible using tools/gpio/lsgpio.c arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 65 +

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: [PATCH v2 1/3] thinkpad_acpi: Move tablet detection into separate function

2016-11-05 Thread Henrique de Moraes Holschuh
On Sat, 05 Nov 2016, Darren Hart wrote: > On Mon, Oct 31, 2016 at 07:56:40PM -0400, Lyude wrote: > > Suggested by Daniel Martin > > > > Lenovo's having a bit of fun randomly changing what hotkey events and > > acpi handles they use for reporting tablet mode, so unfortunately this > > means we're

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 12 months ago config:

Re: [PATCH] perf thread: cleanup with list_first_entry_or_null()

2016-11-05 Thread Masahiro Yamada
Hi maintainers, Does this patch look good? 2016-09-13 3:29 GMT+09:00 Masahiro Yamada : > The combo of list_empty() check and return list_first_entry() > can be replaced with list_first_entry_or_null(). > > Signed-off-by: Masahiro Yamada > --- > > tools/perf/util/thread.c | 5 + > 1 file cha

Re: [PATCH v2] platform/x86/asus-nb-wmi.c: Add X45U quirk

2016-11-05 Thread Marcos Paulo de Souza
Hi Darren, On Sat, Nov 05, 2016 at 11:24:04AM -0700, Darren Hart wrote: > On Mon, Oct 31, 2016 at 11:56:10PM -0200, Marcos Paulo de Souza wrote: > > Without this patch, the Asus X45U wireless card can't be turned > > on (hard-blocked), but after a suspend/resume it just starts working. > > > > Fo

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-11-05 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc33b0ca11e3df46a4fa7639ba488c9d4911 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 8 months a

Re: [PATCH 13/22] mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error

2016-11-05 Thread Vladimir Zapolskiy
On 11/04/2016 12:43 PM, Masahiro Yamada wrote: The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed error code -ENXIO. Signed-off-by: Masahiro Yamada --- Acked-by: Vladimir Zapolskiy Thank you for the change. -- With best wishes, Vladimi

arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3

2016-11-05 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffbcbfca846ed117e3d4009acfbf1e1590c56b2f commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 10 months ago config

cc1: error: '-march=r3900' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 4 weeks ago config: mi

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-11-05 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 10 months ago config

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-11-05 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffbcbfca846ed117e3d4009acfbf1e1590c56b2f commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 6 mo

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Linux 4.9-rc4

2016-11-05 Thread Linus Torvalds
So it's once again a Saturday afternoon rather than Sunday, this time because I felt this rc was already big enough. Part of the size likely comes just from the fact that 4.9 is big and has some fundamental changes: we have various fixups for drivers and filesystems that triggered the whole "stack

Re: console issue since 3.6, console=ttyS1 hangs

2016-11-05 Thread Maciej W. Rozycki
On Fri, 4 Nov 2016, Peter Hurley wrote: > > These bios screens do not have any mention of PNP settings. > > I am getting output over the console (via ipmi) until the boot hangs. > > Yeah, probably the device actually decodes io address access anyway, > but in the disabled state probably has not r

DO YOU NEED A LOAN?

2016-11-05 Thread bancoleite
We offer loan at 3% if interested reply us with your email for full info

Re: [PATCH/RFC] z3fold: use per-page read/write lock

2016-11-05 Thread Andi Kleen
Vitaly Wool writes: > Most of z3fold operations are in-page, such as modifying z3fold > page header or moving z3fold objects within a page. Taking > per-pool spinlock to protect per-page objects is therefore > suboptimal, and the idea of having a per-page spinlock (or rwlock) > has been around fo

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-11-05 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 12 months ago config:

core.c:undefined reference to `fpu_save'

2016-11-05 Thread kbuild test robot
Hi Andrew, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffbcbfca846ed117e3d4009acfbf1e1590c56b2f commit: c60f169202c7643991a8b4bfeea60e06843d5b5a arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h d

include/linux/unaligned/access_ok.h:37:20: error: redefinition of 'put_unaligned_le16'

2016-11-05 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 1 year ago co

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2016-11-05 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffbcbfca846ed117e3d4009acfbf1e1590c56b2f commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 1 year ago co

[PATCH] ASoC: fsl: fix fsl_spdif.c build errors

2016-11-05 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in sound/soc/fsl/fsl_spdif.c by selecting BITREVERSE. Fixes these build errors: sound/built-in.o: In function `spdif_write_channel_status': fsl_spdif.c:(.text+0xbe39d): undefined reference to `byte_rev_table' fsl_spdif.c:(.text+0xbe3a8): undefined reference to

Re: [mm PATCH v2 03/26] swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC

2016-11-05 Thread Alexander Duyck
On Sat, Nov 5, 2016 at 12:39 PM, Konrad Rzeszutek Wilk wrote: > .. snip.. >> @@ -561,6 +565,7 @@ void swiotlb_tbl_unmap_single(struct device *hwdev, >> phys_addr_t tlb_addr, >>* First, sync the memory before unmapping the entry >>*/ >> if (orig_addr != INVALID_PHYS_ADDR && >

Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-05 Thread Peter Rosin
> And the thing is, backward incompatibility is less of an issue for > overlayfs than for normal filesystems, because it's usually not > something people store their root filesystems on, and if so they can > simply not turn off this feature. That got my attention. What backwards incompatible thing

scripts/gcc-plugins/gcc-common.h:4:22: fatal error: bversion.h: No such file or directory

2016-11-05 Thread kbuild test robot
Hi Emese, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffbcbfca846ed117e3d4009acfbf1e1590c56b2f commit: 543c37cb165049c3be24a0d4733e67caa2b33eef Add sancov plugin date: 5 months ago config: x86_64-randconfig-in0

Linux 4.9-rcX: rcu_preempt detected stalls on CPUs/tasks messages

2016-11-05 Thread Gabriel C
Hello , I've tested 4.9-rcX and Linus git tree and have on this box the following messages : . Nov 05 20:26:40 zwerg kernel: INFO: rcu_preempt detected stalls on CPUs/tasks: Nov 05 20:26:40 zwerg kernel: Tasks blocked on level-0 rcu_node (CPUs 0-15): P0 Nov 05 20:26:40 zwerg kerne

Re: [PATCH 5/8] block: add code to track actual device queue depth

2016-11-05 Thread Jan Kara
On Tue 01-11-16 15:08:48, Jens Axboe wrote: > For blk-mq, ->nr_requests does track queue depth, at least at init > time. But for the older queue paths, it's simply a soft setting. > On top of that, it's generally larger than the hardware setting > on purpose, to allow backup of requests for merging

Re: [PATCH 3/8] writeback: mark background writeback as such

2016-11-05 Thread Jan Kara
On Tue 01-11-16 15:08:46, Jens Axboe wrote: > If we're doing background type writes, then use the appropriate > background write flags for that. > > Signed-off-by: Jens Axboe Looks good. You can add: Reviewed-by: Jan Kara Honza

Re: [PATCH 1/8] block: add WRITE_BACKGROUND

2016-11-05 Thread Jan Kara
On Tue 01-11-16 15:08:44, Jens Axboe wrote: > This adds a new request flag, REQ_BACKGROUND, that callers can use to > tell the block layer that this is background (non-urgent) IO. > > Signed-off-by: Jens Axboe Looks good. You can add: Reviewed-by: Jan Kara

Re: [PATCH] clk: rockchip: Ignore frac divisor for PLL equivalence when it's unused

2016-11-05 Thread Heiko Stuebner
Am Mittwoch, 2. November 2016, 16:43:24 CET schrieb Julius Werner: > Rockchip RK3399 PLLs can be used in two separate modes: integral and > fractional. We can select between these two modes with the unambiguously > named DSMPD bit. > > During boot, we check all PLL settings to confirm that they ma

[PULL REQUEST] i2c for 4.9

2016-11-05 Thread Wolfram Sang
Linus, here is a bugfix for the I2C core fixing a (rare) race condition. Please pull. Thanks, Wolfram The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30: Linux 4.9-rc3 (2016-10-29 13:52:02 -0700) are available in the git repository at: git://git.kernel.org/p

Re: [PATCH] clk: rockchip: remove more CLK_IGNORE_UNUSED for rk3399 clocktree

2016-11-05 Thread Heiko Stuebner
Am Donnerstag, 3. November 2016, 11:38:53 CET schrieb Jianqun Xu: > Optimize rk3399 clocktree by removing CLK_IGNORE_UNUSED of some clocks. > > clocks will managered by usb: > - clk_usbphy0_480m_src > - clk_usbphy1_480m_src > - clk_usbphy_480m > > clocks will be managered by pvtm: > - clk_pvtm_co

fsl_spdif.c:undefined reference to `byte_rev_table'

2016-11-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb415f222c26d0d1fa19615af1d102bf5f5b3ca2 commit: 8cfc8ddc99df9509a46043b14af81f5c6a223eab pstore: add lzo/lz4 compression support date: 5 months ago config: x86_64-randconfig-x001-201645 (attached as .conf

Re: fsnotify_mark_srcu wtf?

2016-11-05 Thread Jan Kara
On Thu 03-11-16 12:25:13, Amir Goldstein wrote: > On Thu, Nov 3, 2016 at 12:09 AM, Miklos Szeredi wrote: > > We've got a report where a fanotify daemon that implements permission checks > > screws up and doesn't send a reply. This then causes widespread hangs due > > to > > fsnotify_mark_srcu re

Re: fsnotify_mark_srcu wtf?

2016-11-05 Thread Jan Kara
On Wed 02-11-16 23:09:26, Miklos Szeredi wrote: > We've got a report where a fanotify daemon that implements permission checks > screws up and doesn't send a reply. This then causes widespread hangs due to > fsnotify_mark_srcu read side lock being held and thus causing > synchronize_srcu() > call

Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-05 Thread Linus Torvalds
On Sat, Nov 5, 2016 at 12:45 PM, Miklos Szeredi wrote: > > The feature that would be introduced is this: allow directory renames > to work without having to recursively copy-up the subtree. Whatever > mechanism is devised to do this will be backward incompatible. Maybe > it's a misguided idea, b

Re: [PATCH v3 0/2] Add TI SCI Reset Driver

2016-11-05 Thread santosh.shilim...@oracle.com
On 11/4/16 11:42 AM, Andrew F. Davis wrote: Hello all, This series adds a reset controller driver that uses the TI SCI protocol to manage resets. The TI SCI protocol is used to communicate with power management controllers used by some SoCs. These controllers manage the various power domains,

Re: [PATCH 1/4] block: add scalable completion tracking of requests

2016-11-05 Thread Jens Axboe
On 11/04/2016 05:13 PM, Ming Lei wrote: Yes, that might be a good idea, since it doesn't cost us anything. For the mq case, I'm hard pressed to think of areas where we could complete IO in parallel on the same software queue. You'll never have a software queue mapped to multiple hardware queues.

Re: [PATCH 1/4] block: add scalable completion tracking of requests

2016-11-05 Thread Jens Axboe
On 11/04/2016 05:13 PM, Ming Lei wrote: Even though it is true, the statistics still may become a mess with rare collisons. How so? Not saying we could not improve it, but we're trading off precision for scalability. My claim is that the existing code is good enough. I've run a TON of testing

Re: [PATCH 1/3] ovl: check fs features

2016-11-05 Thread Amir Goldstein
On Tue, Oct 25, 2016 at 2:24 PM, Amir Goldstein wrote: > On Tue, Oct 25, 2016 at 10:34 AM, Miklos Szeredi wrote: >> To allow adding new, backward incompatible features to overlayfs, we need a >> way to store the list of features in the overlay. This is done via >> "trusted.overlay.features" xatt

[PATCH] Staging: vme: vme_pio2: Prefer using the BIT macro

2016-11-05 Thread Shiva Kerdel
Replace all occurences of (1 << x) by BIT(x) in the file vme_pio2.h to get rid of checkpatch.pl "check" output "Prefer using the BIT macro". Signed-off-by: Shiva Kerdel --- drivers/staging/vme/devices/vme_pio2.h | 86 +- 1 file changed, 43 insertions(+), 43 deleti

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Pavel Machek
Hi! BTW.. This machine has nasty habit of hanging during kernel boot when it is "hot".. which makes reboots unplesant here. Ideas would be welcome how to debug that. Best regards, Pavel -- (english) http://www.livejournal.co

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Pavel Machek
On Sat 2016-11-05 16:04:58, Henrique de Moraes Holschuh wrote: > On Sat, 05 Nov 2016, Pavel Machek wrote: > > [ 825.759661] thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something > > is extremely hot! > > [ 825.761935] thinkpad_acpi: temperatures (Celsius): 101 49 N/A 78 33 N/A > > 33 N/A

Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-05 Thread Miklos Szeredi
On Sat, Nov 5, 2016 at 6:41 PM, Linus Torvalds wrote: > On Fri, Nov 4, 2016 at 11:44 PM, Amir Goldstein wrote: >> >> Can you please clarify your objection? > > There are several: > > - timing. No way in hell will I take a new feature like this during an rc I can do it next merge window; the rea

Re: [PATCH 1/2] swiotlb: Rate-limit printing when running out of SW-IOMMU space

2016-11-05 Thread Konrad Rzeszutek Wilk
On Mon, Oct 31, 2016 at 04:45:03PM +0100, Geert Uytterhoeven wrote: > If the system runs out of SW-IOMMU space, changes are high successive > requests will fail, too, flooding the kernel log. This is true > especially for streaming DMA, which is typically used repeatedly outside > the driver's ini

Re: [mm PATCH v2 03/26] swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC

2016-11-05 Thread Konrad Rzeszutek Wilk
.. snip.. > @@ -561,6 +565,7 @@ void swiotlb_tbl_unmap_single(struct device *hwdev, > phys_addr_t tlb_addr, >* First, sync the memory before unmapping the entry >*/ > if (orig_addr != INVALID_PHYS_ADDR && > + !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && > ((dir == D

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Pavel Machek
On Sat 2016-11-05 15:46:12, Henrique de Moraes Holschuh wrote: > On Sat, 05 Nov 2016, Pavel Machek wrote: > > Hmm, thanks for the pointer. But it seems like I'll have to build my > > own, as /proc/acpi/ibm does not follow the usual infrastructure... > > /proc/acpi/ibm has been deprecated for years

Re: [PATCH 1/3] powerpc: Emulation support for load/store instructions on LE

2016-11-05 Thread Anton Blanchard
Hi, > kprobe, uprobe, hw-breakpoint and xmon are the only user of > emulate_step. > > Kprobe / uprobe single-steps instruction if they can't emulate it, so > there is no problem with them. As I mention, hw-breakpoint is broken. > However I'm not sure about xmon, I need to check that. I was mostl

Re: [PATCH v2 1/3] thinkpad_acpi: Move tablet detection into separate function

2016-11-05 Thread Darren Hart
On Mon, Oct 31, 2016 at 07:56:40PM -0400, Lyude wrote: > Suggested by Daniel Martin > > Lenovo's having a bit of fun randomly changing what hotkey events and > acpi handles they use for reporting tablet mode, so unfortunately this > means we're definitely going to need to probe for multiple types

Thinkpad power management (was Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build)

2016-11-05 Thread Pavel Machek
Hi! On Sat 2016-11-05 16:21:21, Henrique de Moraes Holschuh wrote: > On Fri, 04 Nov 2016, Viresh Kumar wrote: > > On 04-11-16, 10:26, Pavel Machek wrote: > > > How would I know if it is thermal capping? There's nothing in dmesg. > > > > I am not sure what code is responsible for doing that in cas

Re: [PATCH 3/3 v3] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-11-05 Thread Darren Hart
On Mon, Oct 31, 2016 at 06:55:34PM -0400, Lyude wrote: > For whatever reason, the X1 Yoga doesn't support the normal method of > querying for tablet mode. Instead of providing the MHKG method under the > hotkey handle, we're instead given the CMMD method under the EC handle. > Values on this handle

[PATCH] Mfd: used devm_kzalloc in place of kzalloc

2016-11-05 Thread Nadim Almas
Switch to resource-managed function devm_kzalloc instead of kzalloc and remove unneeded kzfree Remove kfree in probe function and remove function as it is now has nothing to do The Coccinelle semantic patch used to make this change is as follows: // @platform@ identifier p, probefn, removefn; @@

[PATCH] net: amd8111e: use new api ethtool_{get|set}_link_ksettings

2016-11-05 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/amd/amd8111e.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/amd/amd8111

Re: [PATCH 1/3] thinkpad_acpi: Move tablet detection into separate function

2016-11-05 Thread Darren Hart
On Mon, Oct 31, 2016 at 06:55:32PM -0400, Lyude wrote: > Suggested by Daniel Martin Down below with the other -by: tags please. > > Lenovo's having a bit of fun randomly changing what hotkey events and Please avoid contractions in documentation in general. > acpi handles they use for reportin

Re: redraw issues on i915 since 4.9-rc

2016-11-05 Thread Chris Wilson
On Sat, Nov 05, 2016 at 01:27:30PM +0900, Norbert Preining wrote: > > It won't apply directly, but you could try testing that commit and its > > parent to see if my hunch was correct. > > Unfortunately parent commit was also ok. I am trying to bisect, but > somehow git tells me something about "..

Re: [PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-11-05 Thread Darren Hart
On Sat, Nov 05, 2016 at 11:45:22AM -0700, Darren Hart wrote: > On Thu, Oct 27, 2016 at 03:46:44PM -0400, Lyude wrote: > > For whatever reason, the X1 Yoga doesn't support the normal method of > > querying for tablet mode. Instead of providing the MHKG method under the > > hotkey handle, we're inste

[PATCH] Mfd: used devm_kzalloc in place of kzalloc

2016-11-05 Thread Nadim Almas
Switch to resource-managed function devm_kzalloc instead of kzalloc and remove unneeded kzfree Remove kfree in probe function and remove function as it is now has nothing to do The Coccinelle semantic patch used to make this change is as follows: // @platform@ identifier p, probefn, removefn; @@

Re: [PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-11-05 Thread Henrique de Moraes Holschuh
On Sat, 05 Nov 2016, Darren Hart wrote: > On Thu, Oct 27, 2016 at 03:46:44PM -0400, Lyude wrote: > > For whatever reason, the X1 Yoga doesn't support the normal method of > > querying for tablet mode. Instead of providing the MHKG method under the > > hotkey handle, we're instead given the CMMD met

Re: [PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-11-05 Thread Darren Hart
On Thu, Oct 27, 2016 at 03:46:44PM -0400, Lyude wrote: > For whatever reason, the X1 Yoga doesn't support the normal method of > querying for tablet mode. Instead of providing the MHKG method under the > hotkey handle, we're instead given the CMMD method under the EC handle. > Values on this handle

Re: [PATCH] acer-wmi: only supports AMW0_GUID1 on acer family

2016-11-05 Thread Darren Hart
On Thu, Nov 03, 2016 at 11:40:15AM +0800, Anthony Wong wrote: > On 1 November 2016 at 12:30, Lee, Chun-Yi wrote: > > > > The AMW0_GUID1 wmi is not only found on Acer family but also other > > machines like Lenovo, Fujitsu and Medion. In the past days, acer-wmi > > driver handled those non-Acer mac

Re: [PATCH v2] platform/x86/asus-nb-wmi.c: Add X45U quirk

2016-11-05 Thread Darren Hart
On Mon, Oct 31, 2016 at 11:56:10PM -0200, Marcos Paulo de Souza wrote: > Without this patch, the Asus X45U wireless card can't be turned > on (hard-blocked), but after a suspend/resume it just starts working. > > Following this bug report[1], there are other cases like this one, but > this Asus is

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Henrique de Moraes Holschuh
On Fri, 04 Nov 2016, Viresh Kumar wrote: > On 04-11-16, 10:26, Pavel Machek wrote: > > How would I know if it is thermal capping? There's nothing in dmesg. > > I am not sure what code is responsible for doing that in case of x86, maybe > Rafael and Rui can explain it that better. > > But surely i

Re: [PATCH 1/1] watchdog: pcipcwd_show_card_info: wrong format string

2016-11-05 Thread Heinrich Schuchardt
On 11/05/2016 04:29 PM, Guenter Roeck wrote: > On 11/05/2016 07:50 AM, Heinrich Schuchardt wrote: >> fw_rev_major and fw_rev_minor are defined as int. >> Use %d to print them. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> drivers/watchdog/pcwd_pci.c | 2 +- >> 1 file changed, 1 insertion(+),

[git pull] Input updates for 4.9-rc3

2016-11-05 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Changelog: - Dmitry Tunin (1): Input: psmouse - cleanup Focaltech code Patrick Scheuring (1): Input: i8042 - add XMG C504

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Henrique de Moraes Holschuh
On Sat, 05 Nov 2016, Pavel Machek wrote: > [ 825.759661] thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something > is extremely hot! > [ 825.761935] thinkpad_acpi: temperatures (Celsius): 101 49 N/A 78 33 N/A 33 > N/A 47 50 N/A N/A N/A N/A N/A N/A Oh boy, that must be the second time in a

Re: [RFC 0/8] Define coherent device memory node

2016-11-05 Thread Jerome Glisse
On Sat, Nov 05, 2016 at 10:51:21AM +0530, Anshuman Khandual wrote: > On 10/25/2016 09:56 AM, Aneesh Kumar K.V wrote: > > I looked at the hmm-v13 w.r.t migration and I guess some form of device > > callback/acceleration during migration is something we should definitely > > have. I still haven't fig

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-05 Thread Henrique de Moraes Holschuh
On Sat, 05 Nov 2016, Pavel Machek wrote: > Hmm, thanks for the pointer. But it seems like I'll have to build my > own, as /proc/acpi/ibm does not follow the usual infrastructure... /proc/acpi/ibm has been deprecated for years. 99% of the functionality is available through more modern, standard in

Re: [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-11-05 Thread Jonathan Cameron
On 31/10/16 08:16, Lee Jones wrote: > On Sun, 30 Oct 2016, Jonathan Cameron wrote: > >> On 26/10/16 13:17, Lee Jones wrote: >>> On Fri, 30 Sep 2016, Mugunthan V N wrote: >>> On Wednesday 28 September 2016 01:10 AM, Lee Jones wrote: > On Wed, 21 Sep 2016, Mugunthan V N wrote: > >>

Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-05 Thread Linus Torvalds
On Fri, Nov 4, 2016 at 11:44 PM, Amir Goldstein wrote: > > Can you please clarify your objection? There are several: - timing. No way in hell will I take a new feature like this during an rc - lack of explanation. Why is this bad feature needed in the first place? Why would overlayfs versioni

Re: [PATCH] power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520

2016-11-05 Thread Pali Rohár
On Friday 04 November 2016 19:33:13 Andrew F. Davis wrote: > The BQ27510 and BQ27520 use a slightly different register map than > the BQ27500, add a new type enum and add these gauges to it. > > Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for > additional bq27xxx family devices") Bas

Re: [PATCH v3 3/4] ARM: dts: am33xx: add DMA properties for tscadc

2016-11-05 Thread Jonathan Cameron
On 05/10/16 10:04, Mugunthan V N wrote: > Add DMA properties for tscadc > > Signed-off-by: Mugunthan V N The support in the driver is now working it's way through iio.git towards linux-next. I'm guessing this and the next patch will ultimately go through arm-soc. Shout if you'd rather I took the

Re: [PATCH v3 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-11-05 Thread Jonathan Cameron
On 05/10/16 10:26, Peter Ujfalusi wrote: > On 10/05/16 12:04, Mugunthan V N wrote: >> This patch adds the required pieces to ti_am335x_adc driver for >> DMA support >> >> Signed-off-by: Mugunthan V N Applied to a special branch in iio.git that I'll pull into togreg and then push out as testing in

Re: [PATCH] HID: intel-ish-hid: initialize ts_format.reserved

2016-11-05 Thread Srinivas Pandruvada
On Sat, 2016-11-05 at 16:15 +0100, Jiri Kosina wrote: > From: Jiri Kosina > > ts_format.reserved is not used anywhere yet, but the compiler > generates a  > warning when the struct's (uninitialized) field is being copied > around > > drivers/hid/intel-ish-hid/ipc/ipc.c: In function > ‘write_ipc_

Re: [PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Rob Clark
On Sat, Nov 5, 2016 at 12:38 PM, Eric Engestrom wrote: > On Saturday, 2016-11-05 13:11:36 +0100, Christian König wrote: >> Am 05.11.2016 um 02:33 schrieb Eric Engestrom: >> > +typedef char drm_format_name_buf[32]; >> >> Please don't use a typedef for this, just define the maximum size of >> charac

Re: [PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Eric Engestrom
On Saturday, 2016-11-05 13:11:36 +0100, Christian König wrote: > Am 05.11.2016 um 02:33 schrieb Eric Engestrom: > > +typedef char drm_format_name_buf[32]; > > Please don't use a typedef for this, just define the maximum size of > characters the function might write somewhere. > > See the kernel c

Re: AMD error message at an Intel CPU system since 4.6.5

2016-11-05 Thread Borislav Petkov
On Sat, Nov 05, 2016 at 05:26:22PM +0100, Toralf Förster wrote: > I do wonder about this new dmesg entry at a ThinkdPad T440s since 4.6.5: > > amd_nb: Cannot enumerate AMD northbridges Those are gone: 09c6c30e72ce ("x86/amd_nb: Clean up init path") but you can disregard them - the

Re: [PATCH v2] iio: adc: at91: add suspend and resume callback

2016-11-05 Thread Jonathan Cameron
On 03/11/16 14:16, Ludovic Desroches wrote: > On Wed, Nov 02, 2016 at 05:21:48PM +0800, Wenyou Yang wrote: >> Add suspend/resume callback, support the pinctrl sleep state when >> the system suspend as well. >> >> Signed-off-by: Wenyou Yang > Acked-by: Ludovic Desroches Applied to the togreg branc

AMD error message at an Intel CPU system since 4.6.5

2016-11-05 Thread Toralf Förster
I do wonder about this new dmesg entry at a ThinkdPad T440s since 4.6.5: amd_nb: Cannot enumerate AMD northbridges -- Toralf PGP: C4EACDDE 0076E94E

Re: [PATCH 6/6] staging: iio: ad9832: clean-up regulator 'reg'

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > Rename regulator 'reg' to 'avdd' so as to be clear what regulator it > stands for specifically. Additionally, get rid of local variable 'reg' > and use direct assignment instead. Update also the goto label pertaining > to the avdd regulator during disab

Re: [PATCH 5/6] staging: iio: ad9832: add DVDD regulator

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > The AD9832/AD9835 is supplied with two power sources: AVDD as analog > supply voltage and DVDD as digital supply voltage. > > Attempt to fetch and enable the regulator 'dvdd'. Bail out if any error > occurs. > > Suggested-by: Lars-Peter Clausen > Sig

Re: [PATCH 4/6] staging: iio: ad7192: rename regulator 'reg' to 'avdd'

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > Rename regulator 'reg' to 'avdd' so as to be clear what regulator it > stands for specifically. Also, update the goto label accordingly. > > Signed-off-by: Eva Rachel Retuya Applied. Thanks, Jonathan > --- > drivers/staging/iio/adc/ad7192.c | 22 ++

[PATCH 1/2] mfd: rn5t618: Add Ricoh RC5T619 PMIC support

2016-11-05 Thread Pierre-Hugues Husson
The Ricoh RN5T567 is from the same family as the Ricoh RN5T618 is, the differences are: + DCDC4/DCDC5 + LDO7-10 + Slightly different output voltage/currents + 32kHz Output + RTC + USB Charger detection Signed-off-by: Pierre-Hugues Husson --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 1

[PATCH 0/2] mfd: add Ricoh RC5T619 PMIC support

2016-11-05 Thread Pierre-Hugues Husson
This patchset adds RC5T619 support. This PMIC is used on many rockchip-based devices, for instance the GPD XD, or the Archos 101 Oxygen --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 16 +++-- drivers/mfd/Kconfig |3 - drivers/mfd/rn5t618.c

[PATCH 2/2] regulator: rn5t618: add RC5T619 PMIC support

2016-11-05 Thread Pierre-Hugues Husson
Extend the driver to support Ricoh RC5T619. Support the additional regulators and slightly different voltage ranges. Signed-off-by: Pierre-Hugues Husson --- drivers/regulator/Kconfig | 4 ++-- drivers/regulator/rn5t618-regulator.c | 35 +++ include/li

Re: [PATCH 3/6] staging: iio: ad7192: add DVdd regulator

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > The AD7190/AD7192/AD7193/AD7195 is supplied with two power sources: > AVdd as analog supply voltage and DVdd as digital supply voltage. > > Attempt to fetch and enable the regulator 'dvdd'. Bail out if any error > occurs. > > Suggested-by: Lars-Peter

Re: [PATCH 2/6] staging: iio: rework regulator handling

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > Currently, the affected drivers ignore all errors from regulator_get(). > The way it is now, it also breaks probe deferral (EPROBE_DEFER). The > correct behavior is to propagate the error to the upper layers so they > can handle it accordingly. > > Rew

[GIT pull] core fix for 4.9

2016-11-05 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus Add a sanity check into release_task_stack() to catch problems with task stack references. Thanks, tglx --> Andy Luto

[git pull] FireWire fixes

2016-11-05 Thread Stefan Richter
Linus, please pull from the tag "firewire-fixes" at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-fixes to receive the following FireWire (IEEE 1394) subsystem fixes: - Add missing input validation to the firewire-net driver. Invalid IP-over-1394 encap

[GIT pull] scheduler fixes for 4.9

2016-11-05 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus Two small patches related to sched_show_task(): - Make sure to hold a reference on the task stack while accessing it - Remove the thread_sa

Re: [PATCH 1/6] staging: iio: set proper supply name to devm_regulator_get()

2016-11-05 Thread Jonathan Cameron
On 31/10/16 17:04, Eva Rachel Retuya wrote: > The name passed to devm_regulator_get() should match the name of the > supply as specified in the device datasheet. This makes it clear what > power supply is being referred to in case of presence of other > regulators. > > Currently, the supply name s

Re: [PATCH 1/6] staging: iio: set proper supply name to devm_regulator_get()

2016-11-05 Thread Jonathan Cameron
On 05/11/16 12:58, Jonathan Cameron wrote: > On 01/11/16 19:58, Lars-Peter Clausen wrote: >> On 11/01/2016 05:03 AM, Matt Ranostay wrote: >>> On Mon, Oct 31, 2016 at 10:04 AM, Eva Rachel Retuya >>> wrote: The name passed to devm_regulator_get() should match the name of the supply as spe

  1   2   >