Re: [PATCH v5 1/2] fs: fat: Add fat filesystem partition volume label in local structure

2017-12-27 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +static int fat_get_volume_label_entry(struct inode *dir, loff_t *pos, > +struct buffer_head **bh, > +struct msdos_dir_entry **de) > +{ > + while (fat_get_entry(dir, pos, bh, de) >= 0) > + if (((*de)->a

Re: [PATCH v5 2/2] fs: fat: add ioctl method in fat filesystem driver

2017-12-27 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +/* the characters in this field shall be d-characters, and unused byte shall > be set to 0x20. */ > +static int fat_format_d_characters(char *label, unsigned long len) > +{ > + int i; > + > + for (i=0; i + switch (label[i]) { > + case '0' .

[PATCH v1 0/9] ufs: sysfs: read-only access to device descriptors, attributes and flags

2017-12-27 Thread Stanislav Nijnikov
This patch introduces sysfs entries that will provide read-only access to device management data that could be received with UFS query requests. User-space applications will be able to read UFS device descriptors, flags and attributes. This will allow to get full UFS device configuration and its st

[PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 223 + drivers/scsi/ufs/Makefile | 2 +- drivers/scsi/ufs/ufs-sysfs.c | 158 drivers/scsi/ufs/ufs-sysfs.h | 10 ++ dr

[PATCH v1 7/9] ufs: sysfs: unit descriptor

2017-12-27 Thread Stanislav Nijnikov
In addition the patch presents an additional field in the scsi_host_template structure - struct attribute_group **sdev_group. This field allows to define groups of attributes. It will provide an ability to use binary attributes in addition to device attributes and to group them under subfolders if

[PATCH v1 9/9] ufs: sysfs: attributes

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 141 - drivers/scsi/ufs/ufs-sysfs.c | 90 ++ drivers/scsi/ufs/ufs-sysfs.h | 1 + drivers/scsi/ufs/ufs.h | 27 +- d

[PATCH v1 5/9] ufs: sysfs: power descriptor

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 10 +++ drivers/scsi/ufs/ufs-sysfs.c | 121 + 2 files changed, 131 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysf

[PATCH v1 8/9] ufs: sysfs: flags

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 65 ++ drivers/scsi/ufs/ufs-sysfs.c | 42 +++ drivers/scsi/ufs/ufs.h | 14 +-- drivers/scsi/ufs/ufshcd.c | 1 + 4

[PATCH v3 5/5] eeprom: at24: extend the list of chips supported in DT

2017-12-27 Thread Bartosz Golaszewski
Add all supported at24 variants to the of_match table. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- drivers/misc/eeprom/at24.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index e79833d62284.

[PATCH v3 3/5] dt-bindings: at24: fix formatting and style

2017-12-27 Thread Bartosz Golaszewski
Make formatting and style consistent for the entire document. This patch doesn't change the content of the binding. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 24 +++ 1 file changed, 12 in

[PATCH v1 6/9] ufs: sysfs: string descriptors

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 39 drivers/scsi/ufs/ufs-sysfs.c | 58 ++ drivers/scsi/ufs/ufshcd.c | 5 +-- drivers/scsi/ufs/ufshcd.h | 3 ++ 4 fi

[PATCH v3 0/5] eeprom: at24: device tree support fixes

2017-12-27 Thread Bartosz Golaszewski
The first three patches fix certain issues with the DT binding document. The last two extend the device tree support in the driver with more at24 EEPROM variants. v1 -> v2: - remove any implementation details from patch 1/5 v2 -> v3: - reword patch 1/5: allow any "," pair as long as a supporte

[PATCH v3 4/5] dt-bindings: at24: extend the list of supported chips

2017-12-27 Thread Bartosz Golaszewski
Add other variants of at24 EEPROMs we support in the driver to the list of allowed compatible fallbacks. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Do

[PATCH v3 1/5] dt-bindings: at24: consistently document the compatible property

2017-12-27 Thread Bartosz Golaszewski
Current description of the compatible property for at24 is quite vague. State explicitly that any "," pair is accepted as long as one of the listed strings is used as fallback. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/eeprom/at24.txt | 37 +--

[PATCH v3 2/5] dt-bindings: at24: add a missing compatible

2017-12-27 Thread Bartosz Golaszewski
"atmel,spd" is reported by checkpatch as undocumented in the device tree bindings. Add it to the list of supported compatible fallbacks. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 1 + 1 file changed, 1 insert

[PATCH v1 3/9] ufs: sysfs: geometry descriptor

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 175 - drivers/scsi/ufs/ufs-sysfs.c | 84 ++ drivers/scsi/ufs/ufs.h | 36 ++ 3 files changed, 294 insertions(+), 1 deletion(-) diff -

[PATCH v1 4/9] ufs: sysfs: health descriptor

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 28 drivers/scsi/ufs/ufs-sysfs.c | 20 drivers/scsi/ufs/ufs.h | 11 +++ drivers/scsi/ufs/ufshcd.c | 8 ++

[PATCH v1 2/9] ufs: sysfs: interconnect descriptor

2017-12-27 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 19 +++ drivers/scsi/ufs/ufs-sysfs.c | 18 ++ drivers/scsi/ufs/ufs.h | 8 3 files changed, 45 insertions(+) diff --git a/Documentation/AB

RE: [PATCH v2 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-27 Thread Aleksandar Markovic
Hi, Rob. Thanks for the review. > From: Rob Herring [r...@kernel.org] > Sent: Tuesday, December 26, 2017 10:48 PM > To: Aleksandar Markovic > > On Thu, Dec 21, 2017 at 04:20:23PM +0100, Aleksandar Markovic wrote: > > From: Paul Burton > > > > Document a binding for the MIPS Cluster Power Control

[PATCH v2] mtd: spi-nor: Added ISSI is25lp080d support

2017-12-27 Thread Romain Porte
This patch adds support for a new ISSI 1MB SPI NOR chip that was tested in our lab. Datasheet is available at: http://www.issi.com/WW/pdf/25LP-WP080D.pdf Tested-by: Pascal Fabreges Reviewed-by: Alexander Sverdlin --- drivers/mtd/spi-nor/spi-nor.c | 2 ++ 1 file changed, 2 insertions(+) diff --

[PATCH] eeprom: at24: check the return value of nvmem_unregister()

2017-12-27 Thread Bartosz Golaszewski
This function can fail with -EBUSY, but we don't check its return value in at24_remove(). Bail-out of remove() if nvmem_unregister() doesn't succeed. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/driver

Re: [PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 03:49:28PM +0200, Stanislav Nijnikov wrote: > Signed-off-by: Stanislav Nijnikov > --- I never want to take a patch with no changelog text at all, and to have a 9 patch series with nothing written in them at all? That's not good. Please fix up. greg k-h

Re: [PATCH 2/2] Introduce __cond_lock_err

2017-12-27 Thread Luc Van Oostenryck
On Fri, Dec 22, 2017 at 04:31:12AM -0800, Matthew Wilcox wrote: > On Thu, Dec 21, 2017 at 08:21:20PM -0800, Josh Triplett wrote: > > While I've got you, I've been looking at some other sparse warnings from > this file. There are several caused by sparse being unable to handle > the following cons

Re: [PATCH 0/4] KVM: nVMX: prepare_vmcs02 optimizations

2017-12-27 Thread Paolo Bonzini
On 25/12/2017 11:08, Wanpeng Li wrote: >> I observe L1(latest kvm/queue) panic and L0(latest kvm/queue) >> calltrace, I'm not sure whether it is caused by this patchset. > It can be reproduced steadily by running kvm-unit-tests in L1. It works here, can you show the L0 call trace and/or bisect it?

2018 Business Proposal

2017-12-27 Thread Eugen Hagler
Season's Greeting's! My sincere apology if this email will cause any inconvenience. I have a proposal which I think might be of interest to you, I have a client who is searching for good business owners that have got lucrative projects/business ideas he can invest his funds on. My client has

[PATCH v3 0/2] MIPS: Augment CPC support

2017-12-27 Thread Aleksandar Markovic
From: Aleksandar Markovic v2->v3: - changed documentation file location from devicetree/bindings/misc to devicetree/bindings/power - minor commit message improvements - rebased to the latest code v1->v2: - corrected wording in commit messages and documentation text

[PATCH v3 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-27 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) that allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic --- Documentation/devicetree/bindings/power/mti,mips-cpc.txt | 8

Re: [PATCH 2/2] Introduce __cond_lock_err

2017-12-27 Thread Luc Van Oostenryck
On Sat, Dec 23, 2017 at 05:06:21AM -0800, Matthew Wilcox wrote: > On Sat, Dec 23, 2017 at 01:39:11AM -0800, Josh Triplett wrote: > > +linux-sparse > > Ehh ... we've probably trimmed too much to give linux-sparse a good summary. > > Here're the important lines from my patch: > > +# define __cond_

[PATCH v3 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2017-12-27 Thread Aleksandar Markovic
From: Paul Burton Reading mips_cpc_base value from the DT allows each platform to define it according to its needs. This is especially convenient for MIPS_GENERIC kernel where this kind of information should be determined in runtime. Use mti,mips-cpc compatible string with just a reg property to

Re: [PATCH v2] mtd: spi-nor: Added ISSI is25lp080d support

2017-12-27 Thread Romain Porte
On 27/12/2017 14:58, Romain Porte wrote: diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 8bafd462f..18e826d36 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1050,6 +1050,8 @@ static const struct flash_info spi_nor_ids[] = {

Re: [PATCH] x86/cpu, x86/pti: Do not enable PTI on AMD processors

2017-12-27 Thread Tom Lendacky
On 12/27/2017 2:48 AM, Dave Hansen wrote: > On 12/26/2017 09:43 PM, Tom Lendacky wrote: >> --- a/arch/x86/kernel/cpu/common.c >> +++ b/arch/x86/kernel/cpu/common.c >> @@ -923,8 +923,8 @@ static void __init early_identify_cpu(struct cpuinfo_x86 >> *c) >> >> setup_force_cpu_cap(X86_FEATURE_

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-27 Thread Mylene JOSSERAND
Hello Corentin, Le Fri, 15 Dec 2017 07:10:46 +0100, Corentin Labbe a écrit : > On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > > Hi, > > > > On Mon, Dec 11, 2017 at 08:35:34PM +0100, Corentin Labbe wrote: > > > On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote:

Re: [RFC PATCH v11 4/5] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-12-27 Thread Tony Lindgren
* Rafael J. Wysocki [171227 01:00]: > On Tuesday, December 26, 2017 2:06:47 AM CET JeffyChen wrote: > > Hi Rafael, > > > > Thanks for your reply :) > > > > On 12/26/2017 08:11 AM, Rafael J. Wysocki wrote: > > >> >+ > > >> >+ dn = pci_device_to_OF_node(ppdev); > > >> >+ if (!dn) > > >

[PATCH v2 0/9] ufs: sysfs: read-only access to device descriptors, attributes and flags

2017-12-27 Thread Stanislav Nijnikov
This patch introduces sysfs entries that will provide read-only access to device management data that could be received with UFS query requests. User-space applications will be able to read UFS device descriptors, flags and attributes. This will allow to get full UFS device configuration and its st

[PATCH v2 1/9] ufs: sysfs: device descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS device descriptor parameters. The group adds "device_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be fo

[PATCH v2 7/9] ufs: sysfs: unit descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS unit descriptor parameters. The group adds "unit_descriptor" folder under the corresponding SCSI device sysfs entry (/sys/class/scsi_device/*/device/). The parameters are shown as hexadecimal numbers. The full information about the parameters co

[PATCH v2 3/9] ufs: sysfs: geometry descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS geometry descriptor parameters. The group adds "geometry_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could b

[PATCH v2 6/9] ufs: sysfs: string descriptors

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS string descriptors. The group adds "string_descriptors" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The folder will contain 5 files that will show string values defined by the UFS spec: a manufacturer name, a pr

[PATCH v2 9/9] ufs: sysfs: attributes

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS attributes. The group adds "attributes" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The attributes are shown as hexadecimal numbers. The full information about the attributes could be found at UFS specifications

[PATCH v2 8/9] ufs: sysfs: flags

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS flags. The group adds "flags" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The flags are shown as boolean value ("true" or "false"). The full information about the UFS flags could be found at UFS specifications 2

[PATCH v2 5/9] ufs: sysfs: power descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS power descriptor parameters. The group adds "power_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be foun

[PATCH v2 4/9] ufs: sysfs: health descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS health descriptor parameters. The group adds "health_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be fo

[PATCH v2 2/9] ufs: sysfs: interconnect descriptor

2017-12-27 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS interconnect descriptor parameters. The group adds "interconnect_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters

Re: [PATCH v2 1/9] ufs: sysfs: device descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:39PM +0200, Stanislav Nijnikov wrote: > +EXPORT_SYMBOL(ufs_sysfs_add_device_management); Whhy is this exported? What external module uses it? > + > +void ufs_sysfs_remove_device_management(struct ufs_hba *hba) > +{ > + sysfs_remove_groups(&hba->dev->kobj, ufs_sy

Re: [PATCH v2 1/9] ufs: sysfs: device descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:39PM +0200, Stanislav Nijnikov wrote: > diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/drivers/scsi/ufs/ufs-sysfs.c > new file mode 100644 > index 000..63a8e68 > --- /dev/null > +++ b/drivers/scsi/ufs/ufs-sysfs.c > @@ -0,0 +1,158 @@ > +#include > +#include > + > +#i

[PATCH v2] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC

2017-12-27 Thread Felix Brack
This patch adds a LCD driver supporting the OTM3225A LCD SoC from ORISE Technology. This device can drive TFT LC panels having a resolution of 240x320 pixels. After initializing the OTM3225A using it's SPI interface it switches to use 16-bib RGB as external display interface. Signed-off-by: Felix

[PATCH 10/12] hpsa: drop unneeded newline

2017-12-27 Thread Julia Lawall
hpsa_show_dev_msg prints other information and a newline after the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: [PATCH v2 3/9] ufs: sysfs: geometry descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:41PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS geometry descriptor > parameters. The group adds "geometry_descriptor" folder under the UFS > driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters > are sho

Re: [PATCH v2 4/9] ufs: sysfs: health descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:42PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS health descriptor > parameters. The group adds "health_descriptor" folder under the UFS driver > sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown > a

[PATCH 09/12] [media] pvrusb2: drop unneeded newline

2017-12-27 Thread Julia Lawall
pvr2_trace prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/usb/pvrusb2/pvrusb2-hdw.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[PATCH 07/12] ARM: davinci: drop unneeded newline

2017-12-27 Thread Julia Lawall
gpio_request uses its second argument as a label, so it doesn't seem appropriate for it to have a newline. Done using Coccinelle. Signed-off-by: Julia Lawall --- arch/arm/mach-davinci/board-da850-evm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-dav

[PATCH 06/12] [S390] dasd: drop unneeded newline

2017-12-27 Thread Julia Lawall
DBF_DEV_EVENT prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. The two strings are also concatenated into one for easier grepping. Signed-off-by: Julia Lawall --- drivers/s390/block/dasd_diag.c |3

[PATCH 08/12] perf test: drop unneeded newline

2017-12-27 Thread Julia Lawall
TEST_ASSERT_VAL prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. There are some white-space adjustments in the calls to avoid exceeding 80 characters and to put continuation line arguments to the right of

[PATCH 12/12] hpfs: drop unneeded newline

2017-12-27 Thread Julia Lawall
hpfs_error prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- fs/hpfs/dnode.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/hpfs/dnode.c b/f

[PATCH 02/12] dlm: drop unneeded newline

2017-12-27 Thread Julia Lawall
log_print prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. The two strings were additionally merged into one, for easier grepping. Signed-off-by: Julia Lawall --- fs/dlm/plock.c |3 +-- 1 file cha

[PATCH 11/12] drm/amd/powerplay: drop unneeded newline

2017-12-27 Thread Julia Lawall
PP_ASSERT_WITH_CODE prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- I couldn't figure out how to configure the kernel to get any of this code to compile. drivers/gpu/

[PATCH 00/12] drop unneeded newline

2017-12-27 Thread Julia Lawall
Drop newline at the end of a message string when the printing function adds a newline. The complete semantic patch that detects this issue is as shown below (http://coccinelle.lip6.fr/). It works in two phases - the first phase counts how many uses of a function involve a newline and how many don

[PATCH 05/12] openvswitch: drop unneeded newline

2017-12-27 Thread Julia Lawall
OVS_NLERR prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- net/openvswitch/conntrack.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/op

[PATCH 04/12] ext2: drop unneeded newline

2017-12-27 Thread Julia Lawall
ext2_msg prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- fs/ext2/super.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext2/super.c b/fs/ex

[PATCH 01/12] dac960: drop unneeded newline

2017-12-27 Thread Julia Lawall
DAC960_Failure prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. In the first case, the preceding spaces were also converted to a tab. In the second case, doing so would upset the indentation, so it was le

[PATCH 03/12] net: dccp: drop unneeded newline

2017-12-27 Thread Julia Lawall
DCCP_CRIT prints some other text and then a newline after the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. Signed-off-by: Julia Lawall --- net/dccp/ackvec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net

Re: [PATCH v2 2/9] ufs: sysfs: interconnect descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:40PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS interconnect > descriptor parameters. The group adds "interconnect_descriptor" folder > under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). > The parameters

Re: [PATCH v2 5/9] ufs: sysfs: power descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:43PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS power descriptor > parameters. The group adds "power_descriptor" folder under the UFS driver > sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown > as

Re: [PATCH v2 7/9] ufs: sysfs: unit descriptor

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:45PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS unit descriptor > parameters. The group adds "unit_descriptor" folder under the corresponding > SCSI device sysfs entry (/sys/class/scsi_device/*/device/). The parameters > ar

Re: [PATCH v2 6/9] ufs: sysfs: string descriptors

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:44PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS string descriptors. > The group adds "string_descriptors" folder under the UFS driver > sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The folder will contain > 5 files tha

Re: [PATCH v2 8/9] ufs: sysfs: flags

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:46PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS flags. The group adds > "flags" folder under the UFS driver sysfs entry > (/sys/bus/platform/drivers/ufshcd/*). The flags are shown as boolean value > ("true" or "false"). The

Re: [PATCH v2] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC

2017-12-27 Thread Jingoo Han
On Wednesday, December 27, 2017 10:20 AM, Felix Brack wrote: > > This patch adds a LCD driver supporting the OTM3225A LCD SoC > from ORISE Technology. This device can drive TFT LC panels having a > resolution of 240x320 pixels. After initializing the OTM3225A using > it's SPI interface it switches

Re: [PATCH v2 9/9] ufs: sysfs: attributes

2017-12-27 Thread Greg KH
On Wed, Dec 27, 2017 at 05:13:47PM +0200, Stanislav Nijnikov wrote: > This patch introduces a sysfs group entry for the UFS attributes. The > group adds "attributes" folder under the UFS driver sysfs entry > (/sys/bus/platform/drivers/ufshcd/*). The attributes are shown > as hexadecimal numbers. Th

Re: [RFC PATCH v12 4/5] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-12-27 Thread Rob Herring
On Tue, Dec 26, 2017 at 7:32 PM, JeffyChen wrote: > Hi Rob, > > Thanks for your reply. > > On 12/27/2017 07:56 AM, Rob Herring wrote: >>> >>> > >>> > drivers/of/of_pci_irq.c | 49 +++ >> >> Please move this to drivers/pci/of.c (or perhaps create pci/of_irq.c). >> >>> >

Re: [PATCH net] RDS: Check cmsg_len before dereferencing CMSG_DATA

2017-12-27 Thread David Miller
From: Avinash Repaka Date: Thu, 21 Dec 2017 20:17:04 -0800 > RDS currently doesn't check if the length of the control message is > large enough to hold the required data, before dereferencing the control > message data. This results in following crash: ... > To fix this, we verify that the cmsg_

Re: [PATCH 11/12] drm/amd/powerplay: drop unneeded newline

2017-12-27 Thread Michel Dänzer
On 2017-12-27 03:51 PM, Julia Lawall wrote: > PP_ASSERT_WITH_CODE prints a newline at the end of the message string, > so the message string does not need to include a newline explicitly. > Done using Coccinelle. > > Signed-off-by: Julia Lawall > > --- > > I couldn't figure out how to configure

Re: [PATCH V5 net-next 00/17] add some features and fix some bugs for HNS3 driver

2017-12-27 Thread David Miller
From: Peng Li Date: Fri, 22 Dec 2017 12:21:39 +0800 > This patchset adds some new feature support and fixes some bugs: > [Patch 1/17 - 5/17] add the support to modify/query the tqp number > through ethtool -L/l command, and also fix some related bugs for > change tqp number. > [Patch 6/17 - 9-17]

Re: [PATCH net-next] phylib: rename reset-(post-)delay-us to reset-(de)assert-us

2017-12-27 Thread David Miller
From: Richard Leitner Date: Fri, 22 Dec 2017 11:08:09 +0100 > From: Richard Leitner > > As suggested by Rob Herring [1] rename the previously introduced > reset-{,post-}delay-us bindings to the clearer reset-{,de}assert-us > > [1] https://patchwork.kernel.org/patch/10104905/ > > Signed-off-by

[PATCH 4.9 01/21] ACPI: APEI / ERST: Fix missing error handling in erst_reader()

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit bb82e0b4a7e96494f0c1004ce50cec3d7b5fb3d1 upstream. The commit f6f828513290 ("pstore: pass allocated memory region back to caller") changed the check of the return value from

[PATCH 4.9 13/21] pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit d2b3c353595a855794f8b9df5b5bdbe8deb0c413 upstream. Guenter Roeck reported an interrupt storm on a prototype system which is based on Cyan Chromebook. The root cause turne

[PATCH 4.9 19/21] net: mvneta: clear interface link status on port disable

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yelena Krivosheev commit 4423c18e466afdfb02a36ee8b9f901d144b3c607 upstream. When port connect to PHY in polling mode (with poll interval 1 sec), port and phy link status must be synchronize in

[PATCH 4.9 00/21] 4.9.73-stable review

2017-12-27 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.73 release. There are 21 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Dec 29 16:45:43 UTC 2017. Anything receive

[PATCH 4.9 15/21] kvm: x86: fix RSM when PCID is non-zero

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit fae1a3e775cca8c3a9e0eb34443b310871a15a92 upstream. rsm_load_state_64() and rsm_enter_protected_mode() load CR3, then CR4 & ~PCIDE, then CR0, then CR4. However, setting CR4

[PATCH 4.9 11/21] parisc: Hide Diva-built-in serial aux and graphics card

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit bcf3f1752a622f1372d3252d0fea8855d89812e7 upstream. Diva GSP card has built-in serial AUX port and ATI graphic card which simply don't work and which both don't have external

[PATCH 4.9 08/21] ALSA: usb-audio: Add native DSD support for Esoteric D-05X

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Laako commit 866f7ed7d67936dcdbcddc111c8af878c918fe7c upstream. Adds VID:PID of Esoteric D-05X to the TEAC device id's. Renames the is_teac_50X_dac() function to is_teac_dsd_dac() to cove

[PATCH 4.9 05/21] mfd: twl4030-audio: Fix sibling-node lookup

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0a423772de2f3d7b00899987884f62f63ae00dcb upstream. A helper purported to look up a child node based on its name was using the wrong of-helper and ended up prematurely freein

[PATCH 4.9 04/21] mfd: cros ec: spi: Dont send first message too soon

2017-12-27 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jon Hunter commit 15d8374874ded0bec37ef27f8301a6d54032c0e5 upstream. On the Tegra124 Nyan-Big chromebook the very first SPI message sent to the EC is failing. The Tegra SPI driver configures t

[PATCH 4.14 04/74] objtool: Fix cross-build

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf commit 9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 upstream. Stephen Rothwell reported this cross-compilation build failure: | In file included from orc_dump.c:19:0: | orc.h:21:10

[PATCH 4.14 00/74] 4.14.10-stable review

2017-12-27 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.10 release. There are 74 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Dec 29 16:45:52 UTC 2017. Anything receiv

[PATCH 4.14 25/74] x86/mm: Move the CR3 construction functions to tlbflush.h

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 50fb83a62cf472dc53ba23bd3f7bd6c1b2b3b53e upstream. For flushing the TLB, the ASID which has been programmed into the hardware must be known. That differs from what is in 'c

[PATCH 4.14 28/74] x86/mm: Create asm/invpcid.h

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 1a3b0caeb77edeac5ce5fa05e6a61c474c9a9745 upstream. Unclutter tlbflush.h a little. Signed-off-by: Peter Zijlstra (Intel) Cc: Andy Lutomirski Cc: Boris Ostrovsky Cc: Bo

[PATCH 4.14 24/74] x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 3f67af51e56f291d7417d77c4f67cd774633c5e1 upstream. Per popular request.. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner Cc: Andy Lutomirski Cc:

[PATCH 4.14 19/74] x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 4fe2d8b11a370af286287a2661de9d4e6c9a145a upstream. If the kernel oopses while on the trampoline stack, it will print "" even if SYSENTER is not involved. That is rather con

[PATCH 4.14 29/74] x86/cpu_entry_area: Move it to a separate unit

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit ed1bbc40a0d10e0c5c74fe7bdc6298295cf40255 upstream. Separate the cpu_entry_area code out of cpu/common.c and the fixmap. Signed-off-by: Thomas Gleixner Cc: Andy Lutomir

[PATCH 4.14 34/74] acpi, nfit: fix health event notification

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit adf6895754e2503d994a765535fd1813f8834674 upstream. Integration testing with a BIOS that generates injected health event notifications fails to communicate those events to u

[PATCH 4.14 30/74] x86/cpu_entry_area: Move it out of the fixmap

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 92a0f81d89571e3e8759366e050ee05cc545ef99 upstream. Put the cpu_entry_area into a separate P4D entry. The fixmap gets too big and 0-day already hit a case where the fixma

[PATCH 4.14 37/74] crypto: af_alg - wait for data at beginning of recvmsg

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit 11edb555966ed2c66c533d17c604f9d7e580a829 upstream. The wait for data is a non-atomic operation that can sleep and therefore potentially release the socket lock. The rele

[PATCH 4.14 40/74] mfd: twl4030-audio: Fix sibling-node lookup

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0a423772de2f3d7b00899987884f62f63ae00dcb upstream. A helper purported to look up a child node based on its name was using the wrong of-helper and ended up prematurely freei

[PATCH 4.14 12/74] x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 49275fef986abfb8b476e4708aaecc07e7d3e087 upstream. The kernel is very erratic as to which pagetables have _PAGE_USER set. The vsyscall page gets lucky: it seems that al

[PATCH 4.14 15/74] x86/ldt: Rework locking

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit c2b3496bb30bd159e9de42e5c952e1f1f33c9a77 upstream. The LDT is duplicated on fork() and on exec(), which is wrong as exec() should start from a clean state, i.e. without L

[PATCH 4.14 41/74] mfd: twl6040: Fix child-node lookup

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 85e9b13cbb130a3209f21bd7933933399c389ffe upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rat

[PATCH 4.14 09/74] x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 7bbcbd3d1cdcbacd0f9f8dc4c98d550972f1ca30 upstream. The recent cpu_entry_area changes fail to compile on 32-bit when BIGSMP=y and NR_CPUS=512, because the fixmap area bec

[PATCH 4.14 16/74] x86/ldt: Prevent LDT inheritance on exec

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit a4828f81037f491b2cc986595e3a969a6eeb2fb5 upstream. The LDT is inherited across fork() or exec(), but that makes no sense at all because exec() is supposed to start the p

[PATCH 4.14 53/74] Revert "parisc: Re-enable interrupts early"

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 9352aeada4d8d8753fc0e414fbfe8fdfcb68a12c upstream. This reverts commit 5c38602d83e584047906b41b162ababd4db4106d. Interrupts can't be enabled early because the registe

[PATCH 4.14 54/74] spi: xilinx: Detect stall with Unknown commands

2017-12-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit 5a1314fa697fc65cefaba64cd4699bfc3e6882a6 upstream. When the core is configured in C_SPI_MODE > 0, it integrates a lookup table that automatically configures the

<    1   2   3   4   5   6   >