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

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.

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").

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

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

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

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

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]

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

2017-12-27 Thread Rob Herring
On Wed, Dec 27, 2017 at 7:50 AM, Bartosz Golaszewski wrote: > 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

Re: [PATCH] Device tree binding for Avago APDS990X light sensor

2017-12-27 Thread Sakari Ailus
Hi Pavel, Thanks for the patch. Please see my comments below. On Wed, Dec 27, 2017 at 10:18:28AM +0100, Pavel Machek wrote: > From: Filip Matijević > > This prepares binding for light sensor used in Nokia N9. > > Signed-off-by: Filip Matijević

[PATCH 3/4] libbpf: break loop earlier

2017-12-27 Thread Eric Leblond
Get out of the loop when we have a match. Signed-off-by: Eric Leblond --- tools/lib/bpf/libbpf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 5fe8aaa2123e..d263748aa341 100644 --- a/tools/lib/bpf/libbpf.c +++

Re: [lkp-robot] [x86/cpu_entry_area] 10043e02db: kernel_BUG_at_arch/x86/mm/physaddr.c

2017-12-27 Thread Dmitry Vyukov
On Wed, Dec 27, 2017 at 7:05 PM, Thomas Gleixner wrote: > On Tue, 26 Dec 2017, kernel test robot wrote: > >> >> FYI, we noticed the following commit (built with gcc-6): >> >> commit: 10043e02db7f8a4161f76434931051e7d797a5f6 ("x86/cpu_entry_area: Add >> debugstore entries to

Re: [PATCH] clk: mediatek: adjust dependency of reset.c to avoid unexpectedly being built

2017-12-27 Thread Stephen Boyd
On 12/27, Sean Wang wrote: > On Tue, 2017-12-26 at 17:19 -0800, Stephen Boyd wrote: > > On 12/26, sean.w...@mediatek.com wrote: > > > From: Sean Wang > > > > > > commit 74cb0d6dde8 ("clk: mediatek: fixup test-building of MediaTek clock > > > drivers") can let the build

Re: lost connection to test machine (3)

2017-12-27 Thread Dmitry Vyukov
On Wed, Dec 27, 2017 at 7:18 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > beacbc68ac3e23821a681adb30b45dc55b17488d > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1

[PATCH v2] lightnvm: remove hybrid ocssd 1.2 support

2017-12-27 Thread Matias Bjørling
Now that rrpc have been removed. Also remove the hybrid 1.2 support from the core. Changes since v1: * Remove hybrid read/write opcodes. * Remove l2p table data structures. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 141

Re: WARNING: kernel stack regs has bad 'bp' value (2)

2017-12-27 Thread Dmitry Vyukov
On Thu, Nov 30, 2017 at 10:17 AM, Eric Biggers wrote: > On Tue, Nov 28, 2017 at 10:36:01AM -0800, syzbot wrote: >> WARNING: kernel stack regs at 8801c1e5f468 in syzkaller196611:6199 has >> bad 'bp' value 0001 >> unwind stack type:0 next_sp: (null)

Re: [PATCH v2] gpio: winbond: add driver

2017-12-27 Thread Maciej S. Szmigiero
On 27.12.2017 01:24, William Breathitt Gray wrote: > On Mon, Dec 25, 2017 at 03:48:16PM +0100, Maciej S. Szmigiero wrote: (..) >> All the existing ISA bus drivers seem to depend on CONFIG_ISA_BUS_API >> instead of selecting it but IMHO this is wrong because: >> 1) This Kconfig option doesn't

Re: [PATCH v5 2/2] PCI: mediatek: Set up class type and vendor ID for MT7622

2017-12-27 Thread Bjorn Helgaas
On Wed, Dec 27, 2017 at 08:59:54AM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > The hardware default value of IDs and class type is not correct, > fix that by setup the correct values before start up. > > Signed-off-by: Honghui Zhang

Re: [PATCH] Device tree binding for Avago APDS990X light sensor

2017-12-27 Thread Filip Matijević
Hi Sakari, and thank you for your input - I've added a few comments below. On 12/27/2017 07:00 PM, Sakari Ailus wrote: > Hi Pavel, > > Thanks for the patch. Please see my comments below. > > On Wed, Dec 27, 2017 at 10:18:28AM +0100, Pavel Machek wrote: >> From: Filip Matijević

Re: [PATCH 1/4] libbpf: add function to setup XDP

2017-12-27 Thread Alexei Starovoitov
On Wed, Dec 27, 2017 at 07:02:26PM +0100, Eric Leblond wrote: > Most of the code is taken from set_link_xdp_fd() in bpf_load.c and > slightly modified to be library compliant. > > Signed-off-by: Eric Leblond Acked-by: Alexei Starovoitov

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

2017-12-27 Thread Rob Herring
On Wed, Dec 27, 2017 at 7:50 AM, Bartosz Golaszewski wrote: > 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

[PATCH 1/2] serial: imx: edd a .freeze_noirq function

2017-12-27 Thread Martin Kaiser
Define a .freeze_noirq function. For now, this is an identical copy of .suspend_noirq. (We'll move the wakeup settings to .suspend_noirq shortly.) Signed-off-by: Martin Kaiser --- drivers/tty/serial/imx.c | 19 ++- 1 file changed, 18 insertions(+), 1

[PATCH 2/2] serial: imx: fix endless loop during suspend

2017-12-27 Thread Martin Kaiser
Before we go into suspend mode, we enable the imx uart's interrupt for the awake bit in the UART Status Register 1. If, for some reason, the awake bit is already set before we enter suspend mode, we get an interrupt immediately when we enable interrupts for awake. The uart's clk_ipg is already

Re: [PATCH] clk: mediatek: remove unnecessary include header from reset.c

2017-12-27 Thread Stephen Boyd
On 12/27, Sean Wang wrote: > On Tue, 2017-12-26 at 17:10 -0800, Stephen Boyd wrote: > > On 12/25, sean.w...@mediatek.com wrote: > > > From: Sean Wang > > > > > > In fact, the clk-mtk.h header is indeed not needed for reset.c and thus > > > it's safe and good change to

Re: [PATCH] objtool: Fix clang enum conversion warning

2017-12-27 Thread Josh Poimboeuf
On Wed, Dec 27, 2017 at 01:34:34PM +0100, Lukas Bulwahn wrote: > > On Tue, 26 Dec 2017, Nick Desaulniers wrote: > > > I sent a similar one recently: > > https://patchwork.kernel.org/patch/10131815/ (maybe Josh is just > > forwarding me an earlier fix?) > > > > Reviewed-by: Nick Desaulniers

Re: Thinkpad x60 hibernate broken on 4.13+

2017-12-27 Thread Pavel Machek
Hi! > Merry Christmas all, > Following Pavel's example I have exercised my Thinkpad x60, and noticed that > hibernation is broken - it does hibernate, but upon wakeup it goes through > restore image 80%, and then black screen and dead system. But the fan _is_ > running, so I guess CPU is doing

[PATCH 4/4] libbpf: add missing SPDX-License-Identifier

2017-12-27 Thread Eric Leblond
Signed-off-by: Eric Leblond --- tools/lib/bpf/bpf.c| 2 ++ tools/lib/bpf/bpf.h| 2 ++ tools/lib/bpf/libbpf.c | 2 ++ tools/lib/bpf/libbpf.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c index cdfabbe118cc..9e53dbbca2bd

[PATCH 2/4] libbpf: add error reporting in XDP

2017-12-27 Thread Eric Leblond
Parse netlink ext attribute to get the error message returned by the card. Code is partially take from libnl. Signed-off-by: Eric Leblond --- tools/lib/bpf/Build| 2 +- tools/lib/bpf/bpf.c| 9 +++ tools/lib/bpf/nlattr.c | 187

[PATCH 1/4] libbpf: add function to setup XDP

2017-12-27 Thread Eric Leblond
Most of the code is taken from set_link_xdp_fd() in bpf_load.c and slightly modified to be library compliant. Signed-off-by: Eric Leblond --- tools/lib/bpf/bpf.c| 126 - tools/lib/bpf/libbpf.c | 2 + tools/lib/bpf/libbpf.h |

[PATCH bpf-next v2 0/4] libbpf: add function to setup XDP

2017-12-27 Thread Eric Leblond
Hello, This patchset address the remark about license. It now uses libnl code as a base for the netlink parsing. The library seems to report error correctly when used over a netdevsim interface. I did not manage to test it on a real hardware. Best regards, -- Eric Leblond

Re: [lkp-robot] [x86/cpu_entry_area] 10043e02db: kernel_BUG_at_arch/x86/mm/physaddr.c

2017-12-27 Thread Thomas Gleixner
On Tue, 26 Dec 2017, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-6): > > commit: 10043e02db7f8a4161f76434931051e7d797a5f6 ("x86/cpu_entry_area: Add > debugstore entries to cpu_entry_area") > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git

Re: linux/master crashes on boot with KASAN=y

2017-12-27 Thread Thomas Gleixner
On Tue, 26 Dec 2017, Andrey Ryabinin wrote: > On 12/24/2017 04:48 AM, Andy Lutomirski wrote: > > Could this be #define MODULES_END KASAN_ROUND_DOWN(__fix_to_virt(...)) > > instead? > > > Actually, we could simply set fixed MODULES_END, as it was before > f06bdd4001c2 ("x86/mm: Adapt MODULES_END

Re: [patch 2/4] nohz: Prevent erroneous tick stop invocations

2017-12-27 Thread Thomas Gleixner
On Tue, 26 Dec 2017, Frederic Weisbecker wrote: > On Fri, Dec 22, 2017 at 03:51:13PM +0100, Thomas Gleixner wrote: > > The conditions in irq_exit() to invoke tick_nohz_irq_exit() are: > > > > if ((idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu)) > > > > This is too permissive in

[PATCH v2] lightnvm: make geometry structures 2.0 ready

2017-12-27 Thread Matias Bjørling
From: Matias Bjørling Prepare for the 2.0 revision by adapting the geometry structures to coexist with the 1.2 revision. Changes since v1: * Keep num_pln, num_pg, and fpg_sz variable for sysfs. Signed-off-by: Matias Bjørling Reviewed-by: Javier

Re: WARNING in strp_data_ready

2017-12-27 Thread Dmitry Vyukov
On Wed, Dec 6, 2017 at 4:44 PM, Dmitry Vyukov wrote: >> wrote: >>> On 10/24/2017 08:20 AM, syzbot wrote: Hello, syzkaller hit the following crash on 73d3393ada4f70fa3df5639c8d438f2f034c0ecb

Re: [patch 2/4] nohz: Prevent erroneous tick stop invocations

2017-12-27 Thread Thomas Gleixner
On Wed, 27 Dec 2017, Thomas Gleixner wrote: > On Tue, 26 Dec 2017, Frederic Weisbecker wrote: > > > On Fri, Dec 22, 2017 at 03:51:13PM +0100, Thomas Gleixner wrote: > > > The conditions in irq_exit() to invoke tick_nohz_irq_exit() are: > > > > > > if ((idle_cpu(cpu) && !need_resched()) ||

Re: WARNING in kvm_arch_vcpu_ioctl_run (2)

2017-12-27 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 5:38 PM, Dmitry Vyukov wrote: Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in kvm_arch_vcpu_ioctl_run VMExit: intr_info= errcode= ilen=

Re: general protection fault in native_write_cr4

2017-12-27 Thread Dmitry Vyukov
On Tue, Dec 26, 2017 at 9:52 AM, Dmitry Vyukov wrote: > On Wed, Dec 20, 2017 at 8:54 AM, Wanpeng Li wrote: >> 2017-12-20 15:49 GMT+08:00 syzbot >> : >>> Hello, >>> >>> syzkaller hit

Re: possible deadlock in seq_read

2017-12-27 Thread Dmitry Vyukov
On Tue, Dec 12, 2017 at 11:06 PM, Eric Biggers wrote: > On Fri, Dec 01, 2017 at 03:29:01AM -0800, syzbot wrote: >> Hello, >> >> syzkaller hit the following crash on >> df8ba95c572a187ed2aa7403e97a7a7f58c01f00 >>

Re: [GIT PULL 0/2] EFI updates for v4.15

2017-12-27 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 25 October 2017 at 11:14, Ard Biesheuvel wrote: > > The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f: > > > > Linux 4.14-rc4 (2017-10-08 20:53:29 -0700) > > > > are available in the

Re: [PATCH 2/4] libbpf: add error reporting in XDP

2017-12-27 Thread Alexei Starovoitov
On Wed, Dec 27, 2017 at 07:02:27PM +0100, Eric Leblond wrote: > Parse netlink ext attribute to get the error message returned by > the card. Code is partially take from libnl. > > Signed-off-by: Eric Leblond Acked-by: Alexei Starovoitov

Re: [PATCH 3/4] libbpf: break loop earlier

2017-12-27 Thread Alexei Starovoitov
On Wed, Dec 27, 2017 at 07:02:28PM +0100, Eric Leblond wrote: > Get out of the loop when we have a match. > > Signed-off-by: Eric Leblond > --- > tools/lib/bpf/libbpf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c >

Re: [PATCH 4/4] libbpf: add missing SPDX-License-Identifier

2017-12-27 Thread Alexei Starovoitov
On Wed, Dec 27, 2017 at 07:02:29PM +0100, Eric Leblond wrote: > Signed-off-by: Eric Leblond thank you. Acked-by: Alexei Starovoitov

cancel_work_sync() can cause priority invertion

2017-12-27 Thread Nikita Yushchenko
Hi For those who care about linux RT behavior: while analyzing traces, just found priority inversion caused by RT task calling cancel_work_sync(), while work item in question is executing in non-RT kworker that was preempted for significant time. WBR, Nikita Yushchenko

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 +

[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

[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

[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

[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(+)

[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 ---

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

[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(-)

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

[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

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

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 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(>dev->kobj,

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 >

[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

[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

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

[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(+),

[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

[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

[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

Re: [PATCH 2/2 v4] scsi: ufs: introduce sysfs entries exposing UFS health info

2017-12-27 Thread Greg Kroah-Hartman
On Wed, Dec 27, 2017 at 09:00:10AM +, Avri Altman wrote: > > > > -Original Message- > > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > > ow...@vger.kernel.org] On Behalf Of Greg Kroah-Hartman > > Sent: Thursday, December 21, 2017 10:00 AM > > To: Jaegeuk Kim

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)

[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

[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

[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

[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 +--

[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

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

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

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); > > >> >+

[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

[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

[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

[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

[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

[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

[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

[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

[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 ---

[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

[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

[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

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

[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

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 >

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

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 bpf-next 2/2] tools/bpftool: fix bpftool build with bintutils >= 2.8

2017-12-27 Thread Roman Gushchin
On Tue, Dec 26, 2017 at 06:32:05PM -0800, Alexei Starovoitov wrote: > On Fri, Dec 22, 2017 at 06:50:01PM +, Quentin Monnet wrote: > > Hi Roman, > > > > 2017-12-22 16:11 UTC+ ~ Roman Gushchin > > > Bpftool build is broken with binutils version 2.28 and later. > > > > Could

Re: WARNING in strp_data_ready

2017-12-27 Thread Tom Herbert
Did you try the patch I posted? On Wed, Dec 27, 2017 at 10:25 AM, Dmitry Vyukov wrote: > On Wed, Dec 6, 2017 at 4:44 PM, Dmitry Vyukov wrote: >>> wrote: On 10/24/2017 08:20 AM, syzbot wrote: > Hello, > >

Re: Donation

2017-12-27 Thread M. M. Fridman
I Mikhail Fridman. has selected you specially as one of my beneficiaries for my Charitable Donation, Just as I have declared on May 23, 2016 to give my fortune as charity. Check the link below for confirmation:

[PATCH v3 bpf-next 1/2] tools/bpftool: use version from the kernel source tree

2017-12-27 Thread Roman Gushchin
Bpftool determines it's own version based on the kernel version, which is picked from the linux/version.h header. It's strange to use the version of the installed kernel headers, and makes much more sense to use the version of the actual source tree, where bpftool sources are. Fix this by

[PATCH v3 bpf-next 2/2] tools/bpftool: fix bpftool build with bintutils >= 2.9

2017-12-27 Thread Roman Gushchin
Bpftool build is broken with binutils version 2.29 and later. The cause is commit 003ca0fd2286 ("Refactor disassembler selection") in the binutils repo, which changed the disassembler() function signature. Fix this by adding a new "feature" to the tools/build/features infrastructure and make it

Re: WARNING in strp_data_ready

2017-12-27 Thread Dmitry Vyukov
On Wed, Dec 27, 2017 at 8:09 PM, Tom Herbert wrote: > Did you try the patch I posted? Hi Tom, No. And I didn't know I need to. Why? If you think the patch needs additional testing, you can ask syzbot to test it. See

[PATCH 3/4] phy: usb: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled

2017-12-27 Thread Al Cooper
From: Al Cooper Set PHY3_IDDQ_OVERRIDE in the xhci uninit routine. This will save additional power when the XHCI driver is not enabled. Fixes: 49859e55e364 ("phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver") Signed-off-by: Al Cooper ---

  1   2   3   4   5   6   7   8   9   10   >