Re: [PATCH v3 13/15] livepatch: change to a per-task consistency model

2016-12-22 Thread Petr Mladek
On Wed 2016-12-21 15:25:05, Josh Poimboeuf wrote: > On Tue, Dec 20, 2016 at 06:32:46PM +0100, Petr Mladek wrote: > > On Thu 2016-12-08 12:08:38, Josh Poimboeuf wrote: > > > Change livepatch to use a basic per-task consistency model. This is the > > > foundation which will eventually enable us to p

[PATCH] sign-file: fix build error in sign-file.c with libressl

2016-12-22 Thread John Crispin
From: Felix Fietkau The sign-file tool failed to build against libressl. Fix this by extending the PKCS7 check and thus making sign-file link against libressl without an error. Signed-off-by: John Crispin Signed-off-by: Felix Fietkau --- scripts/sign-file.c |4 +++- 1 file changed, 3 inse

Re: [RFC/PATCH] media: Add video bus switch

2016-12-22 Thread Sebastian Reichel
Hi Pavel, On Thu, Dec 22, 2016 at 02:39:38PM +0100, Pavel Machek wrote: > N900 contains front and back camera, with a switch between the > two. This adds support for the swich component. > > Signed-off-by: Sebastian Reichel > Signed-off-by: Ivaylo Dimitrov > Signed-off-by: Pavel Machek > > --

RE: [Patch v11 4/5] x86/cpufeature: enable RING3MWAIT for Knights Landing

2016-12-22 Thread Thomas Gleixner
On Thu, 22 Dec 2016, Andrejczuk, Grzegorz wrote: > >It also warns on the 64bit build. > > It is, I missed it. I changed the type of elf_hwcap2 to long unsigned int. Changing types to match is the proper solution to all problems? You cannot just change types to make the compiler happy. You have

[GIT PULL] More ACPI updates for v4.10-rc1

2016-12-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-extra-4.10-rc1 with top-most commit c8e008e2a6f9ec007a0e22e18eeb5bace5bf16c8 Merge branches 'acpica' and 'acpi-scan' on top of commit 7ae123edd37a47e178eb9a6631fe4a7108262c10 Merge

Re: [RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-22 Thread ayaka
On 12/07/2016 10:55 PM, Daniel Vetter wrote: On Wed, Dec 07, 2016 at 08:57:23AM +0800, Ayaka wrote: 從我的 iPad 傳送 Thierry Reding 於 2016年12月6日 下午11:46 寫道: On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be supported by t

Re: [RFC v4 15/16] vfio/type1: Check MSI remapping at irq domain level

2016-12-22 Thread Diana Madalina Craciun
Hi Eric, On 12/13/2016 10:32 PM, Eric Auger wrote: > In case the IOMMU does not bypass MSI transactions (typical > case on ARM), we check all MSI controllers are IRQ remapping > capable. If not the IRQ assignment may be unsafe. > > At this stage the arm-smmu-(v3) still advertise the > IOMMU_CAP_IN

[GIT PULL] Power management fixes for v4.10-rc1

2016-12-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-fixes-4.10-rc1 with top-most commit 7b99f1aeed37196ad54099c30c2f154a7d6e91e0 Merge branch 'pm-cpufreq' on top of commit 7ae123edd37a47e178eb9a6631fe4a7108262c10 Merge tag 'acpi-urgent

[PATCH 0/2] Minor fixes for CCMs

2016-12-22 Thread Alexey Brodkin
It turned out current implementation of CCM support doesn't work at all. There're 2 isseus: * Data/code which is supposed to be in DCCM or ICCM accordingly gets merged in common .data and .text sections so CCMs won't be used * Kerenl will panic on early boot because comparison of CCM sizes

[PATCH 2/2] arc: Fix xCCM size check

2016-12-22 Thread Alexey Brodkin
CONFIG_ARC_ICCM_SZ in menuconfig is specified in kB while "cpu->Xccm.sz" contains value in bytes thus direct comparison fails leading to boot-time panic like that: --->8- IDENTITY: ARCVER [0x52] ARCNUM [0x1] CHIPID [ 0x0] processor [1] : ARC HS38 R2

[PATCH 1/2] arc: rename xCCM sections so they are not merged in global .data/.text

2016-12-22 Thread Alexey Brodkin
If Linux kernel is compiled with "-ffunction-sections" each function is placed in its own section named ".text.function_name". This is required for discarding of not-used functions during final linkage. But in the end all ".text.XXX" sections are merged in the global ".text" section of vmlinux Elf

Re: Perf hotplug lockup in v4.9-rc8

2016-12-22 Thread Peter Zijlstra
On Thu, Dec 22, 2016 at 09:45:09AM +0100, Peter Zijlstra wrote: > On Mon, Dec 12, 2016 at 01:42:28PM +0100, Peter Zijlstra wrote: > > > What are you trying to order here? > > > > I suppose something like this: > > > > > > CPU0CPU1CPU2 > > > > (current ==

[PATCH] Staging: skein: checkpatch: fix comment aligning in skein_base.c

2016-12-22 Thread Tobias Heineken
This is a patch to the skein_base.c file that fixes up a comment aligning warning found by the checkpatch.pl tool at line 2 Signed-off-by: Tobias Heineken Signed-off-by: Florian Schleicher CC: linux-ker...@i4.cs.fau.de --- drivers/staging/skein/skein_base.c | 16 1 file changed

Re: [RESEND PATCH v2] arm64: dts: rockchip: add u2phy clock for ehci and ohci of rk3399

2016-12-22 Thread wlf
Dear Doug & Xing Zheng, 在 2016年12月22日 08:47, Doug Anderson 写道: Hi, On Wed, Dec 21, 2016 at 2:41 AM, Xing Zheng wrote: From: William wu We found that the suspend process was blocked when it run into ehci/ohci module due to clk-480m of usb2-phy was disabled. The root cause is that usb2-phy s

Re: A small window for a race condition in mm/rmap.c:page_lock_anon_vma_read

2016-12-22 Thread Peter Zijlstra
On Wed, Dec 21, 2016 at 03:43:43PM +0100, Michal Hocko wrote: > anon_vma locking is clever^Wsubtle as hell. CC Peter... > > On Tue 20-12-16 09:32:27, Dashi DS1 Cao wrote: > > I've collected four crash dumps with similar backtrace. > > > > PID: 247TASK: 881fcfad8000 CPU: 14 COMMAND: "ks

[PATCH v7 2/5] i2c: Add STM32F4 I2C driver

2016-12-22 Thread M'boumba Cedric Madianga
This patch adds support for the STM32F4 I2C controller. Signed-off-by: M'boumba Cedric Madianga --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-stm32f4.c | 896 +++ 3 files changed, 907 insertions(

[PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC

2016-12-22 Thread M'boumba Cedric Madianga
This patch adds I2C1 support for STM32F429 SoC Signed-off-by: Patrice Chotard Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32f429.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.

[PATCH v7 1/5] dt-bindings: Document the STM32 I2C bindings

2016-12-22 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 I2C controller. Signed-off-by: M'boumba Cedric Madianga Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-stm32.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentatio

[RFC/PATCH] media: Add video bus switch

2016-12-22 Thread Pavel Machek
N900 contains front and back camera, with a switch between the two. This adds support for the swich component. Signed-off-by: Sebastian Reichel Signed-off-by: Ivaylo Dimitrov Signed-off-by: Pavel Machek -- I see this needs dts documentation, anything else than needs to be done? Thanks,

[PATCH v7 4/5] ARM: dts: stm32: Add I2C1 support for STM32429 eval board

2016-12-22 Thread M'boumba Cedric Madianga
This patch adds I2C1 instance support for STM32x9I-Eval board. Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index afb90bc..74

[PATCH v7 5/5] ARM: configs: stm32: Add I2C support for STM32 defconfig

2016-12-22 Thread M'boumba Cedric Madianga
This patch adds I2C support for STM32 default configuration Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index e7b56d4..9494eaf 100644 --- a/

[PATCH v7 0/5] Add support for the STM32F4 I2C

2016-12-22 Thread M'boumba Cedric Madianga
This patchset adds support for the I2C controller embedded in STM32F4xx SoC. It enables I2C transfer in interrupt mode with Standard-mode and Fast-mode bus speed. Changes since v6: - Add commit message for the patches in defconfig, .dtsi and .dts files (Alex) - Order I2C instance base address in .

Re: [PATCH 1/3] perf sched timehist: Enlarge default comm_width

2016-12-22 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 22, 2016 at 03:03:48PM +0900, Namhyung Kim escreveu: > Current default value is 20 but it's easily changed to a bigger value as > task has a long name and different tid and pid. And it makes the output > not aligned. So change it to have a large value as summary shows. So you're doin

Re: [PATCH 2/3] fs/pstore: fs/squashfs: Change lz4 compressor functions to work with new version

2016-12-22 Thread Sergey Senozhatsky
Cc Anton, Colin, Kees, Tony on this https://marc.info/?l=linux-kernel&m=148226086323932 On (12/20/16 19:53), Sven Schmidt wrote: > > This patch updates the fs/pstore and fs/squashfs to work with the > new LZ4 kernel module version. > > Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hambur

Re: [RFC PATCH v1 30/30] fs: convert i_version counter over to an atomic64_t

2016-12-22 Thread Jeff Layton
On Thu, 2016-12-22 at 10:38 +0200, Amir Goldstein wrote: > On Wed, Dec 21, 2016 at 7:03 PM, Jeff Layton wrote: > > > > The spinlock is only used to serialize callers that want to increment > > the counter. We can achieve the same thing with an atomic64_t and > > get the i_lock out of this codepat

Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4 compressor module version

2016-12-22 Thread Sergey Senozhatsky
Cc Herbert and linux-crypto on this https://marc.info/?l=linux-kernel&m=148226084823926 On (12/20/16 19:53), Sven Schmidt wrote: > > This patch updates the crypto modules using LZ4 compression to work with the > new LZ4 kernel module version. > > Signed-off-by: Sven Schmidt <4ssch...@informat

Re: [PATCH] perf/x86/pebs: fix handling of PEBS buffer overflows

2016-12-22 Thread Peter Zijlstra
On Thu, Dec 22, 2016 at 12:29:26AM -0800, Stephane Eranian wrote: > This patch solves a race condition between PEBS and the PMU handler. > > In case multiple PEBS events are sampled at the same time, > it is possible to have GLOBAL_STATUS bit 62 set indicating > PEBS buffer overflow and also seein

Re: [PATCH v4 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-12-22 Thread Peter Zijlstra
On Thu, Dec 22, 2016 at 11:19:17PM +1300, Eric W. Biederman wrote: > Peter Zijlstra writes: > > > On Thu, Dec 22, 2016 at 08:21:23PM +1300, Eric W. Biederman wrote: > >> > >> And please make the array the last item in the structure so that > >> expanding or contracting it does not affect the abi

Re: [PATCH 2/3] fs/pstore: fs/squashfs: Change lz4 compressor functions to work with new version

2016-12-22 Thread Sergey Senozhatsky
On (12/20/16 19:53), Sven Schmidt wrote: > @@ -366,7 +366,7 @@ static int decompress_lz4(void *in, void *out, size_t > inlen, size_t outlen) > > static void allocate_lz4(void) > { > - big_oops_buf_sz = lz4_compressbound(psinfo->bufsize); > + big_oops_buf_sz = LZ4_compressBound(psinfo->

Fw: [PATCH] NVMe: Call nvme_pci_disable on error path of nvme_probe_work

2016-12-22 Thread Kheria, Rashika
From: Keith Busch Sent: Monday, November 14, 2016 7:47 PM To: Kheria, Rashika Cc: Christoph Hellwig; Kheria, Rashika; linux-n...@lists.infradead.org Subject: Re: [PATCH] NVMe: Call nvme_pci_disable on error path of nvme_probe_work On Mon, Nov 14, 2016 at

Re: [kernel-hardening] Re: [PATCH v7 3/6] random: use SipHash in place of MD5

2016-12-22 Thread Jason A. Donenfeld
On Thu, Dec 22, 2016 at 1:47 PM, Hannes Frederic Sowa wrote: > following up on what appears to be a random subject: ;) > > IIRC, ext4 code by default still uses half_md4 for hashing of filenames > in the htree. siphash seems to fit this use case pretty good. I saw this too. I'll try to address it

Re: [PATCH 1/2] hwmon: adc128d818: Implement chip mode selection

2016-12-22 Thread Alexander Koch
On Tue, Mar 29, 2016 at 21:53, Guenter Roeck wrote: > On Tue, Mar 29, 2016 at 09:03:38PM +0200, Alexander Koch wrote: >> The ADC128D818 offers four operation modes (see datasheet sec. 8.4.1) >> which vary in the number of available input signals and their types >> (differential vs. absolute). >> >>

Re: [RFC v4 15/16] vfio/type1: Check MSI remapping at irq domain level

2016-12-22 Thread Auger Eric
Hi Diana, On 22/12/2016 13:41, Diana Madalina Craciun wrote: > Hi Eric, > > On 12/13/2016 10:32 PM, Eric Auger wrote: >> In case the IOMMU does not bypass MSI transactions (typical >> case on ARM), we check all MSI controllers are IRQ remapping >> capable. If not the IRQ assignment may be unsafe.

Re: [PATCH v5 09/14] ACPI: platform: setup MSI domain for ACPI based platform device

2016-12-22 Thread Rafael J. Wysocki
On Thu, Dec 22, 2016 at 6:35 AM, Hanjun Guo wrote: > From: Hanjun Guo > > With the platform msi domain created, we can set up the msi domain > for a platform device when it's probed. > > In order to do that, we need to get the domain that the platform > device connecting to, so the iort_get_platf

Re: [PATCH 1/2] arm64: setup: introduce kaslr_offset()

2016-12-22 Thread Alexander Popov
On 22.12.2016 09:18, Yury Norov wrote: > On Sun, Dec 11, 2016 at 03:50:55AM +0300, Alexander Popov wrote: >> Introduce kaslr_offset() similarly to x86_64 for fixing kcov. [...] > Hi Alexander, > > I found today's linux-next master broken: [...] > It looks like you declare kaslr_offset() twice

Re: [kernel-hardening] Re: [PATCH v7 3/6] random: use SipHash in place of MD5

2016-12-22 Thread Hannes Frederic Sowa
Hi Ted, On Thu, 2016-12-22 at 00:41 -0500, Theodore Ts'o wrote: > On Thu, Dec 22, 2016 at 03:49:39AM +0100, Jason A. Donenfeld wrote: > > > > Funny -- while you guys were sending this back & forth, I was writing > > my reply to Andy which essentially arrives at the same conclusion. > > Given that

[PATCH 02/66] hwmon: (adm1026) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 03/66] hwmon: (adm1031) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 06/66] hwmon: (adt7x10) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 04/66] hwmon: (adm9240) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 07/66] hwmon: (asb100) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 05/66] hwmon: (adt7470) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 09/66] hwmon: (ds1621) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 14/66] hwmon: (gl520sm) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 08/66] hwmon: (atxp1) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 10/66] hwmon: (f71882fg) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

RE: A small window for a race condition in mm/rmap.c:page_lock_anon_vma_read

2016-12-22 Thread Dashi DS1 Cao
Value of anon_vma: print *((struct anon_vma *)0x8820833ed940) $2 = { root = 0x0, rwsem = { count = 0, wait_lock = { raw_lock = { { head_tail = 0, tickets = { head = 0, tail = 0 } } } }, w

[PATCH 12/66] hwmon: (g760a) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 11/66] hwmon: (fschmd) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 28/66] hwmon: (max1619) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 13/66] hwmon: (g762) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 17/66] hwmon: (i5500_temp) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 15/66] hwmon: (gpio-fan) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 01/66] hwmon: (adm1021) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 21/66] hwmon: (lm70) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 27/66] hwmon: (max1111) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 22/66] hwmon: (lm80) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 20/66] hwmon: (lm63) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 19/66] hwmon: (jz4740) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 24/66] hwmon: (lm87) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 00/66] use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. A previous version of this semantic patch transformed only cases where the show and store functions followed particular naming conventions. This

Re: [PATCH V6 0/2] Add ACPI support for HiSilicon SoCs Host Controllers

2016-12-22 Thread Ming Lei
Hi Dongdong, On Thu, Dec 22, 2016 at 8:30 PM, Dongdong Liu wrote: > Hi Ming > > The latest patchset is [PATCH v11 00/15] PCI: ARM64 ECAM quirks > You can get them from > https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git (pci/ecam) OK, thanks, looks it has been in linus tree. Thank

[PATCH v2] stmmac: CSR clock configuration fix

2016-12-22 Thread Joao Pinto
When testing stmmac with my QoS reference design I checked a problem in the CSR clock configuration that was impossibilitating the phy discovery, since every read operation returned 0x. This patch fixes the issue. Signed-off-by: Joao Pinto --- changes v1->v2 (David Miller) - DWMAC100 and

[PATCH 31/66] hwmon: (mcp3021) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 34/66] hwmon: (pcf8591) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 30/66] hwmon: (mc13783-adc) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 36/66] hwmon: (sis5595) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 29/66] hwmon: (max197) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 37/66] hwmon: (smsc47m1) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 33/66] hwmon: (nsa320) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 38/66] hwmon: (smsc47m192) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 16/66] hwmon: (core) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 32/66] hwmon: (nct6683) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 25/66] hwmon: (lm92) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 26/66] hwmon: (lm93) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 40/66] hwmon: (via686a) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 44/66] hwmon: (w83792d) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 18/66] hwmon: (i5k_amb) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 42/66] hwmon: (w83627hf) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 48/66] hwmon: (w83793) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

Re: [PATCH 1/2] jump_labels: API for flushing deferred jump label updates

2016-12-22 Thread Paolo Bonzini
On 19/12/2016 15:58, Peter Zijlstra wrote: > On Fri, Dec 16, 2016 at 02:30:35PM -0800, David Matlack wrote: >> Modules that use static_key_deferred need a way to synchronize with >> any delayed work that is still pending when the module is unloaded. >> Introduce static_key_deferred_flush() which

[PATCH 46/66] hwmon: (pc87427) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 39/66] hwmon: (via-cputemp) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 43/66] hwmon: (w83781d) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 41/66] hwmon: (w83627ehf) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 50/66] hwmon: (k10temp) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 54/66] hwmon: (nct6775) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

Re: [PATCH 03/15] hyperv: use standard bitops

2016-12-22 Thread Paolo Bonzini
On 21/12/2016 14:23, Roman Kagan wrote: > On Wed, Dec 21, 2016 at 01:00:44PM +0100, Olaf Hering wrote: >> On Tue, Dec 20, Roman Kagan wrote: >> >> Reverting commit 22356585712d ("staging: hv: use sync_bitops when >> interacting with the hypervisor") is save because ... >> >>> - sync

[PATCH 51/66] hwmon: (dme1737) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

Re: [PATCH] stmmac: CSR clock configuration fix

2016-12-22 Thread Joao Pinto
Hi David, Às 10:15 AM de 12/22/2016, Joao Pinto escreveu: > Às 6:21 PM de 12/21/2016, David Miller escreveu: >> From: Joao Pinto >> Date: Tue, 20 Dec 2016 11:21:47 + >> >>> When testing stmmac with my QoS reference design I checked a problem in the >>> CSR clock configuration that was imposs

[PATCH 52/66] hwmon: (it87) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

Re: [PATCH V6 0/2] Add ACPI support for HiSilicon SoCs Host Controllers

2016-12-22 Thread Dongdong Liu
Hi Ming The latest patchset is [PATCH v11 00/15] PCI: ARM64 ECAM quirks You can get them from https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git (pci/ecam) Thanks Dongdong 在 2016/12/22 16:31, Ming Lei 写道: Hi Dongdong, On Tue, Nov 22, 2016 at 8:08 PM, Dongdong Liu wrote: This pa

[PATCH 55/66] hwmon: (pc87360) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 60/66] hwmon: (lm83) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

Re: Converting DEVICE_ATTR to DEVICE_ATTR_{RO,RW,WO} and changing function names at the same time

2016-12-22 Thread Julia Lawall
On Wed, 21 Dec 2016, Guenter Roeck wrote: > Hi Julia, > > On Wed, Dec 21, 2016 at 08:39:38PM +0100, Julia Lawall wrote: > > > > > > On Wed, 21 Dec 2016, Guenter Roeck wrote: > > > > > Hi Julia, > > > > > > On Wed, Dec 21, 2016 at 03:05:37PM +0100, Julia Lawall wrote: > > > > A solution is below:

[PATCH] fs: Initialize tmp.b_page in generic_block_bmap()

2016-12-22 Thread Alexander Potapenko
KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of uninitialized memory in ext4_update_bh_state(): == BUG: KMSAN: use of unitialized memory CPU: 3 PID: 1 Comm: swapper/0 Tainted: GB 4.8.0-rc6+ #597

[PATCH 45/66] hwmon: (w83791d) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 59/66] hwmon: (adm1025) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 56/66] hwmon: (lm78) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

[PATCH 62/66] hwmon: (max6650) use permission-specific DEVICE_ATTR variants

2016-12-22 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case, in the case where the show function already has the expected name, is as follows: (http://coccinelle.lip6.fr/)

<    1   2   3   4   5   6   >