Re: RFC: userspace exception fixups

2018-11-06 Thread Andy Lutomirski
On Tue, Nov 6, 2018 at 3:35 PM Sean Christopherson wrote: > > On Tue, Nov 06, 2018 at 03:00:56PM -0800, Andy Lutomirski wrote: > > > > > > >> On Nov 6, 2018, at 1:59 PM, Sean Christopherson > > >> wrote: > > >> > > >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: > > >> Sean, how

Re: RFC: userspace exception fixups

2018-11-06 Thread Andy Lutomirski
On Tue, Nov 6, 2018 at 3:35 PM Sean Christopherson wrote: > > On Tue, Nov 06, 2018 at 03:00:56PM -0800, Andy Lutomirski wrote: > > > > > > >> On Nov 6, 2018, at 1:59 PM, Sean Christopherson > > >> wrote: > > >> > > >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: > > >> Sean, how

Re: [RFC/RFT][PATCH v3] cpuidle: New timer events oriented governor for tickless systems

2018-11-06 Thread Rafael J. Wysocki
On Tue, Nov 6, 2018 at 8:51 PM Peter Zijlstra wrote: > > On Tue, Nov 06, 2018 at 07:19:24PM +0100, Rafael J. Wysocki wrote: > > On Tue, Nov 6, 2018 at 6:04 PM Peter Zijlstra wrote: > > > > Instead of this detector; why haven't you used the code from > > > kernel/irq/timings.c ? > > > > Because

Re: [RFC/RFT][PATCH v3] cpuidle: New timer events oriented governor for tickless systems

2018-11-06 Thread Rafael J. Wysocki
On Tue, Nov 6, 2018 at 8:51 PM Peter Zijlstra wrote: > > On Tue, Nov 06, 2018 at 07:19:24PM +0100, Rafael J. Wysocki wrote: > > On Tue, Nov 6, 2018 at 6:04 PM Peter Zijlstra wrote: > > > > Instead of this detector; why haven't you used the code from > > > kernel/irq/timings.c ? > > > > Because

Re: [PATCH] MIPS: r2-on-r6-emu: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-06 Thread Paul Burton
Hi Yangtao, On Tue, Nov 06, 2018 at 09:36:36AM -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > arch/mips/kernel/mips-r2-to-r6-emul.c | 32 +-- > 1 file changed, 5 insertions(+), 27 deletions(-)

Re: [PATCH] MIPS: r2-on-r6-emu: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-06 Thread Paul Burton
Hi Yangtao, On Tue, Nov 06, 2018 at 09:36:36AM -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > arch/mips/kernel/mips-r2-to-r6-emul.c | 32 +-- > 1 file changed, 5 insertions(+), 27 deletions(-)

Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages

2018-11-06 Thread Naoya Horiguchi
On Fri, Nov 02, 2018 at 11:00:01PM +1100, Balbir Singh wrote: > In hot remove, we try to clear poisoned pages, but > a small optimization to check if num_poisoned_pages > is 0 helps remove the iteration through nr_pages. > > Signed-off-by: Balbir Singh Acked-by: Naoya Horiguchi Thanks!

Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages

2018-11-06 Thread Naoya Horiguchi
On Fri, Nov 02, 2018 at 11:00:01PM +1100, Balbir Singh wrote: > In hot remove, we try to clear poisoned pages, but > a small optimization to check if num_poisoned_pages > is 0 helps remove the iteration through nr_pages. > > Signed-off-by: Balbir Singh Acked-by: Naoya Horiguchi Thanks!

Re: RFC: userspace exception fixups

2018-11-06 Thread Sean Christopherson
On Tue, Nov 06, 2018 at 03:00:56PM -0800, Andy Lutomirski wrote: > > > >> On Nov 6, 2018, at 1:59 PM, Sean Christopherson > >> wrote: > >> > >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: > >> Sean, how does the current SDK AEX handler decide whether to do > >> EENTER, ERESUME,

Re: RFC: userspace exception fixups

2018-11-06 Thread Sean Christopherson
On Tue, Nov 06, 2018 at 03:00:56PM -0800, Andy Lutomirski wrote: > > > >> On Nov 6, 2018, at 1:59 PM, Sean Christopherson > >> wrote: > >> > >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: > >> Sean, how does the current SDK AEX handler decide whether to do > >> EENTER, ERESUME,

Re: [LKP] [tools/bpf] f6f3bac08f: stderr.failed_to_prepare_for_bpf

2018-11-06 Thread Yonghong Song
On 11/6/18 2:04 AM, Li Zhijian wrote: > > On 11/6/2018 9:47 AM, Yonghong Song wrote: >> I cannot reproduce in my local fc28 system with the attached steps. >> >> The netlink_dumper.c file, could you confirm whether the following >> header files are missing form you rhel-7.2 host? >> >> #include

Re: [LKP] [tools/bpf] f6f3bac08f: stderr.failed_to_prepare_for_bpf

2018-11-06 Thread Yonghong Song
On 11/6/18 2:04 AM, Li Zhijian wrote: > > On 11/6/2018 9:47 AM, Yonghong Song wrote: >> I cannot reproduce in my local fc28 system with the attached steps. >> >> The netlink_dumper.c file, could you confirm whether the following >> header files are missing form you rhel-7.2 host? >> >> #include

Re: [Ksummit-discuss] [TECH TOPIC] SoC maintainer group

2018-11-06 Thread Laurent Pinchart
Hi Olof, On Wednesday, 7 November 2018 00:16:27 EET Olof Johansson wrote: > Hi KS organizers (and others), > > This is a late topic proposal, hopefully there is still time on the agenda. > > We’ve recently been discussing some maintainer model changes as > described below, and would like a slot

Re: [Ksummit-discuss] [TECH TOPIC] SoC maintainer group

2018-11-06 Thread Laurent Pinchart
Hi Olof, On Wednesday, 7 November 2018 00:16:27 EET Olof Johansson wrote: > Hi KS organizers (and others), > > This is a late topic proposal, hopefully there is still time on the agenda. > > We’ve recently been discussing some maintainer model changes as > described below, and would like a slot

Re: RFC: userspace exception fixups

2018-11-06 Thread Sean Christopherson
On Tue, Nov 06, 2018 at 06:17:30PM -0500, Rich Felker wrote: > On Tue, Nov 06, 2018 at 11:02:11AM -0800, Andy Lutomirski wrote: > > On Tue, Nov 6, 2018 at 10:41 AM Dave Hansen wrote: > > > > > > On 11/6/18 10:20 AM, Andy Lutomirski wrote: > > > > I almost feel like the right solution is to call

Re: RFC: userspace exception fixups

2018-11-06 Thread Sean Christopherson
On Tue, Nov 06, 2018 at 06:17:30PM -0500, Rich Felker wrote: > On Tue, Nov 06, 2018 at 11:02:11AM -0800, Andy Lutomirski wrote: > > On Tue, Nov 6, 2018 at 10:41 AM Dave Hansen wrote: > > > > > > On 11/6/18 10:20 AM, Andy Lutomirski wrote: > > > > I almost feel like the right solution is to call

Re: [PATCH v2] modsign: use all trusted keys to verify module signature

2018-11-06 Thread Ke Wu
Thanks for the comment! I switched to use VERIFY_USE_SECONDARY_KEYRING, please take a look. On Tue, Nov 6, 2018 at 3:21 PM Ke Wu wrote: > > Make mod_verify_sig to use all trusted keys. This allows keys in > secondary_trusted_keys to be used to verify PKCS#7 signature on a > kernel module. > >

Re: [PATCH v2] modsign: use all trusted keys to verify module signature

2018-11-06 Thread Ke Wu
Thanks for the comment! I switched to use VERIFY_USE_SECONDARY_KEYRING, please take a look. On Tue, Nov 6, 2018 at 3:21 PM Ke Wu wrote: > > Make mod_verify_sig to use all trusted keys. This allows keys in > secondary_trusted_keys to be used to verify PKCS#7 signature on a > kernel module. > >

[PATCH v2] modsign: use all trusted keys to verify module signature

2018-11-06 Thread Ke Wu
Make mod_verify_sig to use all trusted keys. This allows keys in secondary_trusted_keys to be used to verify PKCS#7 signature on a kernel module. Signed-off-by: Ke Wu --- Changelog since v1: - Use VERIFY_USE_SECONDARY_KEYRING rather than (void *)1UL kernel/module_signing.c | 3 ++- 1 file

[PATCH v2] modsign: use all trusted keys to verify module signature

2018-11-06 Thread Ke Wu
Make mod_verify_sig to use all trusted keys. This allows keys in secondary_trusted_keys to be used to verify PKCS#7 signature on a kernel module. Signed-off-by: Ke Wu --- Changelog since v1: - Use VERIFY_USE_SECONDARY_KEYRING rather than (void *)1UL kernel/module_signing.c | 3 ++- 1 file

Re: RFC: userspace exception fixups

2018-11-06 Thread Rich Felker
On Tue, Nov 06, 2018 at 11:02:11AM -0800, Andy Lutomirski wrote: > On Tue, Nov 6, 2018 at 10:41 AM Dave Hansen wrote: > > > > On 11/6/18 10:20 AM, Andy Lutomirski wrote: > > > I almost feel like the right solution is to call into SGX on its own > > > private stack or maybe even its own private

Re: RFC: userspace exception fixups

2018-11-06 Thread Rich Felker
On Tue, Nov 06, 2018 at 11:02:11AM -0800, Andy Lutomirski wrote: > On Tue, Nov 6, 2018 at 10:41 AM Dave Hansen wrote: > > > > On 11/6/18 10:20 AM, Andy Lutomirski wrote: > > > I almost feel like the right solution is to call into SGX on its own > > > private stack or maybe even its own private

Inquiry 06-11-2018

2018-11-06 Thread Daniel Murray
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel

Inquiry 06-11-2018

2018-11-06 Thread Daniel Murray
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel

Re: Linux 4.20-rc1

2018-11-06 Thread Darren Hart
On Sun, Nov 04, 2018 at 04:12:45PM -0800, Linus Torvalds wrote: > > Because yes, the merge window is two weeks, but it's two weeks partly > exactly _because_ people (not just me) sometimes need extra time to > resolve any possible issues, not because regular everyday pull > requests should

Re: Linux 4.20-rc1

2018-11-06 Thread Darren Hart
On Sun, Nov 04, 2018 at 04:12:45PM -0800, Linus Torvalds wrote: > > Because yes, the merge window is two weeks, but it's two weeks partly > exactly _because_ people (not just me) sometimes need extra time to > resolve any possible issues, not because regular everyday pull > requests should

RE: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based on how many of them are allocated

2018-11-06 Thread Long Li
> Subject: Re: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based > on how many of them are allocated > > Long, > > On Tue, 6 Nov 2018, Long Li wrote: > > > From: Long Li > > > > On a large system with multiple devices of the same class (e.g. NVMe > > disks, using managed IRQs), the

RE: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based on how many of them are allocated

2018-11-06 Thread Long Li
> Subject: Re: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based > on how many of them are allocated > > Long, > > On Tue, 6 Nov 2018, Long Li wrote: > > > From: Long Li > > > > On a large system with multiple devices of the same class (e.g. NVMe > > disks, using managed IRQs), the

Re: RFC: userspace exception fixups

2018-11-06 Thread Andy Lutomirski
>> On Nov 6, 2018, at 1:59 PM, Sean Christopherson >> wrote: >> >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: On Tue, Nov 6, 2018 at 1:07 PM Andy Lutomirski wrote: > On Nov 6, 2018, at 1:00 PM, Dave Hansen wrote: > > > On 11/6/18 12:12 PM,

Re: RFC: userspace exception fixups

2018-11-06 Thread Andy Lutomirski
>> On Nov 6, 2018, at 1:59 PM, Sean Christopherson >> wrote: >> >>> On Tue, 2018-11-06 at 13:41 -0800, Andy Lutomirski wrote: On Tue, Nov 6, 2018 at 1:07 PM Andy Lutomirski wrote: > On Nov 6, 2018, at 1:00 PM, Dave Hansen wrote: > > > On 11/6/18 12:12 PM,

Re: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based on how many of them are allocated

2018-11-06 Thread Thomas Gleixner
Long, On Tue, 6 Nov 2018, Long Li wrote: > From: Long Li > > On a large system with multiple devices of the same class (e.g. NVMe disks, > using managed IRQs), the kernel tends to concentrate their IRQs on several > CPUs. Thanks for addressing the comments. Well done. I've merged it, but

Re: [Patch v4] genirq/matrix: Choose CPU for managed IRQs based on how many of them are allocated

2018-11-06 Thread Thomas Gleixner
Long, On Tue, 6 Nov 2018, Long Li wrote: > From: Long Li > > On a large system with multiple devices of the same class (e.g. NVMe disks, > using managed IRQs), the kernel tends to concentrate their IRQs on several > CPUs. Thanks for addressing the comments. Well done. I've merged it, but

Re: [PATCH v2 10/11] ext4: remove useless brelse call in ext4_xattr_inode_update_ref()

2018-11-06 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 12:58:46AM +0300, Vasily Averin wrote: > brelse(iloc.bh) is useless here, it is always called with iloc.bh = NULL > > Fixes dec214d00e0d ("ext4: xattr inode deduplication") # 4.13 > cc: Tahsin Erdogan > > Signed-off-by: Vasily Averin Applied. I droppped the "Fixes"

Re: [PATCH v2 10/11] ext4: remove useless brelse call in ext4_xattr_inode_update_ref()

2018-11-06 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 12:58:46AM +0300, Vasily Averin wrote: > brelse(iloc.bh) is useless here, it is always called with iloc.bh = NULL > > Fixes dec214d00e0d ("ext4: xattr inode deduplication") # 4.13 > cc: Tahsin Erdogan > > Signed-off-by: Vasily Averin Applied. I droppped the "Fixes"

Re: [PATCH] apparmor: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-06 Thread kbuild test robot
Hi Yangtao, Thank you for the patch! Yet something to improve: [auto build test ERROR on security/next-testing] [also build test ERROR on v4.20-rc1 next-20181106] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH] apparmor: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-06 Thread kbuild test robot
Hi Yangtao, Thank you for the patch! Yet something to improve: [auto build test ERROR on security/next-testing] [also build test ERROR on v4.20-rc1 next-20181106] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH next] mtd: maps: physmap: Fix infinite loop crash in ROM type probing

2018-11-06 Thread Boris Brezillon
On Tue, 6 Nov 2018 23:19:14 +0100 Geert Uytterhoeven wrote: > Hi Boris, > > On Tue, Nov 6, 2018 at 10:58 PM Boris Brezillon > wrote: > > On Tue, 6 Nov 2018 22:44:16 +0100 > > Geert Uytterhoeven wrote: > > > On Toshiba RBTX4927, where map_probe is supposed to fail: > > > > > > Creating

Re: [PATCH next] mtd: maps: physmap: Fix infinite loop crash in ROM type probing

2018-11-06 Thread Boris Brezillon
On Tue, 6 Nov 2018 23:19:14 +0100 Geert Uytterhoeven wrote: > Hi Boris, > > On Tue, Nov 6, 2018 at 10:58 PM Boris Brezillon > wrote: > > On Tue, 6 Nov 2018 22:44:16 +0100 > > Geert Uytterhoeven wrote: > > > On Toshiba RBTX4927, where map_probe is supposed to fail: > > > > > > Creating

[tip:irq/core] genirq/matrix: Improve target CPU selection for managed interrupts.

2018-11-06 Thread tip-bot for Long Li
Commit-ID: e8da8794a7fd9eef1ec9a07f0d4897c68581c72b Gitweb: https://git.kernel.org/tip/e8da8794a7fd9eef1ec9a07f0d4897c68581c72b Author: Long Li AuthorDate: Tue, 6 Nov 2018 04:00:00 + Committer: Thomas Gleixner CommitDate: Tue, 6 Nov 2018 23:20:13 +0100 genirq/matrix: Improve

[tip:irq/core] genirq/matrix: Improve target CPU selection for managed interrupts.

2018-11-06 Thread tip-bot for Long Li
Commit-ID: e8da8794a7fd9eef1ec9a07f0d4897c68581c72b Gitweb: https://git.kernel.org/tip/e8da8794a7fd9eef1ec9a07f0d4897c68581c72b Author: Long Li AuthorDate: Tue, 6 Nov 2018 04:00:00 + Committer: Thomas Gleixner CommitDate: Tue, 6 Nov 2018 23:20:13 +0100 genirq/matrix: Improve

[PATCH v2] MAINTAINERS: update OMAP MMC entry

2018-11-06 Thread Aaro Koskinen
Jarkko's e-mail address hasn't worked for a long time. We still want to keep this driver working as it is critical for some of the OMAP boards. I use and test this driver frequently, so change myself as a maintainer with "Odd Fixes" status. Signed-off-by: Aaro Koskinen Acked-by: Tony Lindgren

[PATCH v2] MAINTAINERS: update OMAP MMC entry

2018-11-06 Thread Aaro Koskinen
Jarkko's e-mail address hasn't worked for a long time. We still want to keep this driver working as it is critical for some of the OMAP boards. I use and test this driver frequently, so change myself as a maintainer with "Odd Fixes" status. Signed-off-by: Aaro Koskinen Acked-by: Tony Lindgren

Re: [TECH TOPIC] SoC maintainer group

2018-11-06 Thread Olof Johansson
On Tue, Nov 6, 2018 at 2:16 PM Olof Johansson wrote: > Mike Brown (gpio/regmap + more) _Obviously_ Mark Brown, not Mike. D'oh. -Olof

Re: [TECH TOPIC] SoC maintainer group

2018-11-06 Thread Olof Johansson
On Tue, Nov 6, 2018 at 2:16 PM Olof Johansson wrote: > Mike Brown (gpio/regmap + more) _Obviously_ Mark Brown, not Mike. D'oh. -Olof

[tip:core/urgent] watchdog/core: Add missing prototypes for weak functions

2018-11-06 Thread tip-bot for Mathieu Malaterre
Commit-ID: 81bd415c91eb966118d773dddf254aebf3022411 Gitweb: https://git.kernel.org/tip/81bd415c91eb966118d773dddf254aebf3022411 Author: Mathieu Malaterre AuthorDate: Wed, 6 Jun 2018 21:42:32 +0200 Committer: Thomas Gleixner CommitDate: Tue, 6 Nov 2018 21:58:00 +0100 watchdog/core: Add

[tip:core/urgent] watchdog/core: Add missing prototypes for weak functions

2018-11-06 Thread tip-bot for Mathieu Malaterre
Commit-ID: 81bd415c91eb966118d773dddf254aebf3022411 Gitweb: https://git.kernel.org/tip/81bd415c91eb966118d773dddf254aebf3022411 Author: Mathieu Malaterre AuthorDate: Wed, 6 Jun 2018 21:42:32 +0200 Committer: Thomas Gleixner CommitDate: Tue, 6 Nov 2018 21:58:00 +0100 watchdog/core: Add

Re: [PATCH v2 09/11] ext4: iloc.bh cleanup in add_new_gdb()

2018-11-06 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 12:58:38AM +0300, Vasily Averin wrote: > iloc.bh was taken in ext4_reserve_inode_write() and released > in ext4_mark_iloc_dirty(). It should not be released 2nd time > in rollback after failed ext4_handle_dirty_metadata(gdb_bh) > > Fixes b40971426a83 ("ext4: add error

Re: [PATCH next] mtd: maps: physmap: Fix infinite loop crash in ROM type probing

2018-11-06 Thread Geert Uytterhoeven
Hi Boris, On Tue, Nov 6, 2018 at 10:58 PM Boris Brezillon wrote: > On Tue, 6 Nov 2018 22:44:16 +0100 > Geert Uytterhoeven wrote: > > On Toshiba RBTX4927, where map_probe is supposed to fail: > > > > Creating 2 MTD partitions on "physmap-flash.0": > > 0x00c0-0x0100 :

Re: [PATCH v2 09/11] ext4: iloc.bh cleanup in add_new_gdb()

2018-11-06 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 12:58:38AM +0300, Vasily Averin wrote: > iloc.bh was taken in ext4_reserve_inode_write() and released > in ext4_mark_iloc_dirty(). It should not be released 2nd time > in rollback after failed ext4_handle_dirty_metadata(gdb_bh) > > Fixes b40971426a83 ("ext4: add error

Re: [PATCH next] mtd: maps: physmap: Fix infinite loop crash in ROM type probing

2018-11-06 Thread Geert Uytterhoeven
Hi Boris, On Tue, Nov 6, 2018 at 10:58 PM Boris Brezillon wrote: > On Tue, 6 Nov 2018 22:44:16 +0100 > Geert Uytterhoeven wrote: > > On Toshiba RBTX4927, where map_probe is supposed to fail: > > > > Creating 2 MTD partitions on "physmap-flash.0": > > 0x00c0-0x0100 :

[TECH TOPIC] SoC maintainer group

2018-11-06 Thread Olof Johansson
Hi KS organizers (and others), This is a late topic proposal, hopefully there is still time on the agenda. We’ve recently been discussing some maintainer model changes as described below, and would like a slot to discuss the idea and solicit feedback/comments from the others there. This

[TECH TOPIC] SoC maintainer group

2018-11-06 Thread Olof Johansson
Hi KS organizers (and others), This is a late topic proposal, hopefully there is still time on the agenda. We’ve recently been discussing some maintainer model changes as described below, and would like a slot to discuss the idea and solicit feedback/comments from the others there. This

Re: [PATCH] lib/genaloc: Fix allocation of aligned buffer from non-aligned chunk

2018-11-06 Thread Andrew Morton
On Tue, 6 Nov 2018 14:20:53 +0200 Alexey Skidanov wrote: > On success, gen_pool_first_fit_align() returns the bit number such that > chunk_start_addr + (bit << order) is properly aligned. On failure, > the bitmap size parameter is returned. > > When the chunk_start_addr isn't aligned

Re: [PATCH] lib/genaloc: Fix allocation of aligned buffer from non-aligned chunk

2018-11-06 Thread Andrew Morton
On Tue, 6 Nov 2018 14:20:53 +0200 Alexey Skidanov wrote: > On success, gen_pool_first_fit_align() returns the bit number such that > chunk_start_addr + (bit << order) is properly aligned. On failure, > the bitmap size parameter is returned. > > When the chunk_start_addr isn't aligned

[RESEND PATCH v2] ttyprintk: make the printk log level configurable

2018-11-06 Thread Peter Korsgaard
For some use cases it is handy to use a different printk log level than the default (info) for the messages written to ttyprintk, so add a Kconfig option similar to what we have for default console loglevel. Signed-off-by: Peter Korsgaard --- Changes since v1: - Leave [U] prefix in printk

Re: [PATCH] lib/genaloc: Fix allocation of aligned buffer from non-aligned chunk

2018-11-06 Thread Andrew Morton
On Tue, 6 Nov 2018 14:20:53 +0200 Alexey Skidanov wrote: > On success, gen_pool_first_fit_align() returns the bit number such that > chunk_start_addr + (bit << order) is properly aligned. On failure, > the bitmap size parameter is returned. > > When the chunk_start_addr isn't aligned

[RESEND PATCH v2] ttyprintk: make the printk log level configurable

2018-11-06 Thread Peter Korsgaard
For some use cases it is handy to use a different printk log level than the default (info) for the messages written to ttyprintk, so add a Kconfig option similar to what we have for default console loglevel. Signed-off-by: Peter Korsgaard --- Changes since v1: - Leave [U] prefix in printk

Re: [PATCH] lib/genaloc: Fix allocation of aligned buffer from non-aligned chunk

2018-11-06 Thread Andrew Morton
On Tue, 6 Nov 2018 14:20:53 +0200 Alexey Skidanov wrote: > On success, gen_pool_first_fit_align() returns the bit number such that > chunk_start_addr + (bit << order) is properly aligned. On failure, > the bitmap size parameter is returned. > > When the chunk_start_addr isn't aligned

[PATCH 01/24] leds: class: Improve LED and LED flash class registration API

2018-11-06 Thread Jacek Anaszewski
Replace of_led_classdev_register() with led_classdev_register_ext(), which accepts easily extendable struct led_init_data, instead of the fixed struct device_node argument. The latter can be now passed in a fwnode property of the struct led_init_data. The modification is driven by the need for

[PATCH 05/24] dt-bindings: sc27xx-blt: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Xiaotong Lu Cc: Baolin Wang --- Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 06/24] leds: sc27xx-blt: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Xiaotong Lu Cc: Baolin Wang --- drivers/leds/leds-sc27xx-bltc.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git

[PATCH 06/24] leds: sc27xx-blt: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Xiaotong Lu Cc: Baolin Wang --- drivers/leds/leds-sc27xx-bltc.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git

[PATCH 01/24] leds: class: Improve LED and LED flash class registration API

2018-11-06 Thread Jacek Anaszewski
Replace of_led_classdev_register() with led_classdev_register_ext(), which accepts easily extendable struct led_init_data, instead of the fixed struct device_node argument. The latter can be now passed in a fwnode property of the struct led_init_data. The modification is driven by the need for

[PATCH 05/24] dt-bindings: sc27xx-blt: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Xiaotong Lu Cc: Baolin Wang --- Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 18/24] leds: aat1290: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-aat1290.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index

[PATCH 12/24] leds: lm3692x: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- drivers/leds/leds-lm3692x.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/drivers/leds/leds-lm3692x.c

[PATCH 19/24] dt-bindings: as3645a: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Also, fix malformed syntax of address-cells and size-cells in the example. Signed-off-by: Jacek Anaszewski Cc: Sakari Ailus --- .../devicetree/bindings/leds/ams,as3645a.txt | 22 ++ 1 file

[PATCH 15/24] dt-bindings: cr0014114: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Oleh Kravchenko --- .../devicetree/bindings/leds/leds-cr0014114.txt| 26 -- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git

[PATCH 14/24] leds: lm3601x: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- drivers/leds/leds-lm3601x.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git

[PATCH 15/24] dt-bindings: cr0014114: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Oleh Kravchenko --- .../devicetree/bindings/leds/leds-cr0014114.txt| 26 -- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git

[PATCH 14/24] leds: lm3601x: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- drivers/leds/leds-lm3601x.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git

[PATCH 12/24] leds: lm3692x: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- drivers/leds/leds-lm3692x.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/drivers/leds/leds-lm3692x.c

[PATCH 19/24] dt-bindings: as3645a: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Also, fix malformed syntax of address-cells and size-cells in the example. Signed-off-by: Jacek Anaszewski Cc: Sakari Ailus --- .../devicetree/bindings/leds/ams,as3645a.txt | 22 ++ 1 file

[PATCH 18/24] leds: aat1290: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-aat1290.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index

[PATCH 24/24] leds: an30259a: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Simon Shields --- drivers/leds/leds-an30259a.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-an30259a.c

[PATCH 24/24] leds: an30259a: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Simon Shields --- drivers/leds/leds-an30259a.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-an30259a.c

[PATCH 21/24] dt-bindings: leds-gpio: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Linus Walleij --- .../devicetree/bindings/leds/leds-gpio.txt | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git

[PATCH 22/24] leds: gpio: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Linus Walleij --- drivers/leds/leds-gpio.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/leds/leds-gpio.c

[PATCH 23/24] dt-bindings: an30259a: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Simon Shields --- .../devicetree/bindings/leds/leds-an30259a.txt | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git

[PATCH 20/24] leds: as3645a: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Sakari Ailus --- drivers/leds/leds-as3645a.c | 65 - 1 file changed, 29 insertions(+), 36 deletions(-) diff --git

[PATCH 21/24] dt-bindings: leds-gpio: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Linus Walleij --- .../devicetree/bindings/leds/leds-gpio.txt | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git

[PATCH 22/24] leds: gpio: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Linus Walleij --- drivers/leds/leds-gpio.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/leds/leds-gpio.c

[PATCH 23/24] dt-bindings: an30259a: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Simon Shields --- .../devicetree/bindings/leds/leds-an30259a.txt | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git

[PATCH 20/24] leds: as3645a: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Sakari Ailus --- drivers/leds/leds-as3645a.c | 65 - 1 file changed, 29 insertions(+), 36 deletions(-) diff --git

[PATCH 17/24] dt-bindings: aat1290: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski --- Documentation/devicetree/bindings/leds/leds-aat1290.txt | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[PATCH 16/24] leds: cr0014114: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Oleh Kravchenko --- drivers/leds/leds-cr0014114.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/drivers/leds/leds-cr0014114.c

[PATCH 17/24] dt-bindings: aat1290: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski --- Documentation/devicetree/bindings/leds/leds-aat1290.txt | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[PATCH 16/24] leds: cr0014114: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Cc: Oleh Kravchenko --- drivers/leds/leds-cr0014114.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/drivers/leds/leds-cr0014114.c

[PATCH 11/24] dt-bindings: lm3692x: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lm3692x.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH 08/24] leds: lt3593: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Signed-off-by: Daniel Mack --- drivers/leds/leds-lt3593.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/leds/leds-lt3593.c

[PATCH 07/24] dt-bindings: lt3593: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Daniel Mack --- Documentation/devicetree/bindings/leds/leds-lt3593.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH 00/24] Add generic support for composing LED class device name

2018-11-06 Thread Jacek Anaszewski
LED class device naming pattern included devicename section, which had unpleasant effect of varying userspace interface dependent on underlaying hardware. Moreover, this information was redundant in the LED name, since the LED controller name could have been obtained from sysfs device group This

[PATCH 09/24] dt-bindings: lp8860: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH 03/24] leds: dt-bindings: Add LED_FUNCTION definitions

2018-11-06 Thread Jacek Anaszewski
Add common LED function definitions for use in Device Tree. The function names were extracted from existing dts files after eliminating oddities. Signed-off-by: Jacek Anaszewski Cc: Baolin Wang Cc: Daniel Mack Cc: Dan Murphy Cc: Linus Walleij Cc: Oleh Kravchenko Cc: Sakari Ailus Cc: Simon

[PATCH 13/24] dt-bindings: lm36010: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lm3601x.txt | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH 11/24] dt-bindings: lm3692x: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lm3692x.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH 08/24] leds: lt3593: Use led_compose_name()

2018-11-06 Thread Jacek Anaszewski
Switch to using generic LED support for composing LED class device name. Signed-off-by: Jacek Anaszewski Signed-off-by: Daniel Mack --- drivers/leds/leds-lt3593.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/leds/leds-lt3593.c

[PATCH 07/24] dt-bindings: lt3593: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Daniel Mack --- Documentation/devicetree/bindings/leds/leds-lt3593.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH 00/24] Add generic support for composing LED class device name

2018-11-06 Thread Jacek Anaszewski
LED class device naming pattern included devicename section, which had unpleasant effect of varying userspace interface dependent on underlaying hardware. Moreover, this information was redundant in the LED name, since the LED controller name could have been obtained from sysfs device group This

[PATCH 09/24] dt-bindings: lp8860: Add function and color properties

2018-11-06 Thread Jacek Anaszewski
Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

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