Re: [PATCH v7 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-09-20 Thread Craig
Replies inline On 16 September 2018 14:48:36 BST, Sebastian Reichel wrote: >Hi, > >First of all thanks for the patch and big sorry for the long delay >in reviewing this. I did not find enough time to do it properly >until now :( > >On Thu, Jun 14, 2018 at 04:14:15PM +0100, Craig Tatlor wrote:

Re: [PATCH v7 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-09-20 Thread Craig
Replies inline On 16 September 2018 14:48:36 BST, Sebastian Reichel wrote: >Hi, > >First of all thanks for the patch and big sorry for the long delay >in reviewing this. I did not find enough time to do it properly >until now :( > >On Thu, Jun 14, 2018 at 04:14:15PM +0100, Craig Tatlor wrote:

[PATCH] tools/power: Fix typo in man page

2018-09-20 Thread Matt Lupfer
>From context, we mean EPB (Enegry Performance Bias). Signed-off-by: Matt Lupfer --- tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8

[PATCH] tools/power: Fix typo in man page

2018-09-20 Thread Matt Lupfer
>From context, we mean EPB (Enegry Performance Bias). Signed-off-by: Matt Lupfer --- tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8

Re: [PATCH v7 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-09-20 Thread Craig
On 16 September 2018 13:10:45 BST, Sebastian Reichel wrote: >Hi, > >Sorry for my long delay in reviewing this. I like the binding, >but the "qcom," specific properties should become common properties >in > >Documentation/devicetree/bindings/power/supply/battery.txt Thanks for the review, what

Re: [PATCH v7 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-09-20 Thread Craig
On 16 September 2018 13:10:45 BST, Sebastian Reichel wrote: >Hi, > >Sorry for my long delay in reviewing this. I like the binding, >but the "qcom," specific properties should become common properties >in > >Documentation/devicetree/bindings/power/supply/battery.txt Thanks for the review, what

[PATCH] rtc: ds1307: use rtc_add_group

2018-09-20 Thread Alexandre Belloni
Register frequency test using rtc_add_group to avoid a possible race condition and simplify the code. This also moves the attribute to its proper location under the rtc device instead of the i2c parent device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 53

[PATCH] rtc: ds1307: use rtc_add_group

2018-09-20 Thread Alexandre Belloni
Register frequency test using rtc_add_group to avoid a possible race condition and simplify the code. This also moves the attribute to its proper location under the rtc device instead of the i2c parent device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 53

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Chao Yu
On 2018/9/20 22:24, Dave Kleikamp wrote: > On 9/20/18 9:18 AM, Chao Yu wrote: >> Ping, >> >> Any comments? > > Sorry for putting it off. It looks good to me. I'll push it upstream. Thanks for your review. ;) Thanks, > > Thanks, > Dave > >> >> On 2018/9/17 15:12, Chao Yu wrote: >>> We don't

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Chao Yu
On 2018/9/20 22:24, Dave Kleikamp wrote: > On 9/20/18 9:18 AM, Chao Yu wrote: >> Ping, >> >> Any comments? > > Sorry for putting it off. It looks good to me. I'll push it upstream. Thanks for your review. ;) Thanks, > > Thanks, > Dave > >> >> On 2018/9/17 15:12, Chao Yu wrote: >>> We don't

Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread Steve Wise
On 9/20/2018 4:52 AM, zhong jiang wrote: > kfree_skb has taken the null pointer into account. hence it is safe > to remove the redundant null pointer check before kfree_skb. > > Signed-off-by: zhong jiang > --- > drivers/infiniband/hw/cxgb4/cm.c | 3 +-- > drivers/infiniband/hw/cxgb4/qp.c |

Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread Steve Wise
On 9/20/2018 4:52 AM, zhong jiang wrote: > kfree_skb has taken the null pointer into account. hence it is safe > to remove the redundant null pointer check before kfree_skb. > > Signed-off-by: zhong jiang > --- > drivers/infiniband/hw/cxgb4/cm.c | 3 +-- > drivers/infiniband/hw/cxgb4/qp.c |

Re: [PATCH V2 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range()

2018-09-20 Thread Tianyu Lan
On 9/20/2018 12:08 AM, Michael Kelley (EOSG) wrote: > From: Tianyu Lan Sent: Monday, September 17, 2018 8:19 PM >> + >> +if (ret && kvm_available_flush_tlb_with_range()) { >> +kvm_flush_remote_tlbs_with_address(kvm, >> +

Re: [PATCH V2 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range()

2018-09-20 Thread Tianyu Lan
On 9/20/2018 12:08 AM, Michael Kelley (EOSG) wrote: > From: Tianyu Lan Sent: Monday, September 17, 2018 8:19 PM >> + >> +if (ret && kvm_available_flush_tlb_with_range()) { >> +kvm_flush_remote_tlbs_with_address(kvm, >> +

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Craig
On 20 September 2018 14:01:57 BST, Sricharan R wrote: > > >On 9/20/2018 1:54 AM, Craig wrote: >> Yup, this patch seems to have fixed the higher frequencies from the >quick test I did. >> > Thanks !!. Can i take that as Craig Tatlor ? Sure, no problem > >Regards, > Sricharan > >

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Craig
On 20 September 2018 14:01:57 BST, Sricharan R wrote: > > >On 9/20/2018 1:54 AM, Craig wrote: >> Yup, this patch seems to have fixed the higher frequencies from the >quick test I did. >> > Thanks !!. Can i take that as Craig Tatlor ? Sure, no problem > >Regards, > Sricharan > >

Re: [PATCHv5 0/7] tty: Hold write ldisc sem in tty_reopen()

2018-09-20 Thread Mikulas Patocka
On Wed, 19 Sep 2018, Dmitry Safonov wrote: > On Wed, 2018-09-19 at 16:03 -0400, Mikulas Patocka wrote: > > > > On Wed, 19 Sep 2018, Dmitry Safonov wrote: > > > Thanks much for the testing, Mikulas. > > > Could you try to bisect which of the patches causes it? > > > The most important are

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Dave Kleikamp
On 9/20/18 9:18 AM, Chao Yu wrote: > Ping, > > Any comments? Sorry for putting it off. It looks good to me. I'll push it upstream. Thanks, Dave > > On 2018/9/17 15:12, Chao Yu wrote: >> We don't need to call dquot_initialize() twice in jfs_evict_inode(), >> remove one of them for cleanup. >>

Re: [PATCHv5 0/7] tty: Hold write ldisc sem in tty_reopen()

2018-09-20 Thread Mikulas Patocka
On Wed, 19 Sep 2018, Dmitry Safonov wrote: > On Wed, 2018-09-19 at 16:03 -0400, Mikulas Patocka wrote: > > > > On Wed, 19 Sep 2018, Dmitry Safonov wrote: > > > Thanks much for the testing, Mikulas. > > > Could you try to bisect which of the patches causes it? > > > The most important are

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Dave Kleikamp
On 9/20/18 9:18 AM, Chao Yu wrote: > Ping, > > Any comments? Sorry for putting it off. It looks good to me. I'll push it upstream. Thanks, Dave > > On 2018/9/17 15:12, Chao Yu wrote: >> We don't need to call dquot_initialize() twice in jfs_evict_inode(), >> remove one of them for cleanup. >>

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Chao Yu
Ping, Any comments? On 2018/9/17 15:12, Chao Yu wrote: > We don't need to call dquot_initialize() twice in jfs_evict_inode(), > remove one of them for cleanup. > > Signed-off-by: Chao Yu > --- > fs/jfs/inode.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/jfs/inode.c

Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()

2018-09-20 Thread Chao Yu
Ping, Any comments? On 2018/9/17 15:12, Chao Yu wrote: > We don't need to call dquot_initialize() twice in jfs_evict_inode(), > remove one of them for cleanup. > > Signed-off-by: Chao Yu > --- > fs/jfs/inode.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/jfs/inode.c

Re: [PATCH 00/15] Add support for Sound BlasterX AE-5

2018-09-20 Thread Connor McAdams
Thank you for fixing that. I was doing that previously, but this time I was only doing it every few commits. Will make sure to go back to the way I was doing it before. Sorry about that. On Thu, Sep 20, 2018 at 3:23 AM, Takashi Iwai wrote: > On Tue, 18 Sep 2018 20:33:28 +0200, > Connor McAdams

Re: [PATCH 00/15] Add support for Sound BlasterX AE-5

2018-09-20 Thread Connor McAdams
Thank you for fixing that. I was doing that previously, but this time I was only doing it every few commits. Will make sure to go back to the way I was doing it before. Sorry about that. On Thu, Sep 20, 2018 at 3:23 AM, Takashi Iwai wrote: > On Tue, 18 Sep 2018 20:33:28 +0200, > Connor McAdams

Re: [PATCH] gpiolib: Show correct direction from the beginning

2018-09-20 Thread Ricardo Ribalda Delgado
Hi On Thu, Sep 20, 2018 at 2:20 PM Timur Tabi wrote: > > > > On 09/19/2018 10:27 AM, Ricardo Ribalda Delgado wrote: > > Let me explain my current setup > > > > I have a board with input and output gpios, the direction is defined > > via pdata. When I run gpioinfo all the gpios are shown as input,

Re: [PATCH] gpiolib: Show correct direction from the beginning

2018-09-20 Thread Ricardo Ribalda Delgado
Hi On Thu, Sep 20, 2018 at 2:20 PM Timur Tabi wrote: > > > > On 09/19/2018 10:27 AM, Ricardo Ribalda Delgado wrote: > > Let me explain my current setup > > > > I have a board with input and output gpios, the direction is defined > > via pdata. When I run gpioinfo all the gpios are shown as input,

[PATCH] iio: magnetometer: hmc5843: Clean up redundant code.

2018-09-20 Thread Song Qiang
Regmap tables are both defined in hmc5843_spi.c and hmc5843_i2c.c, while the only difference between these two set of tables is SPI need a read mask, which is set only in 'regmap_config' structrue. This patch moves the other structrues into hmc5843_core.c to reduce redundance. Signed-off-by: Song

[PATCH] iio: magnetometer: hmc5843: Clean up redundant code.

2018-09-20 Thread Song Qiang
Regmap tables are both defined in hmc5843_spi.c and hmc5843_i2c.c, while the only difference between these two set of tables is SPI need a read mask, which is set only in 'regmap_config' structrue. This patch moves the other structrues into hmc5843_core.c to reduce redundance. Signed-off-by: Song

Re: [PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 20, 2018 at 04:00:42PM +0300, Adrian Hunter escreveu: > Hi > > Here is V2 of some Intel PT patches to improve the data displayed when using > address filters. > > Previously, the decoder would indicate begin / end by a branch from / to > zero. That hides useful information, in

Re: [PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 20, 2018 at 04:00:42PM +0300, Adrian Hunter escreveu: > Hi > > Here is V2 of some Intel PT patches to improve the data displayed when using > address filters. > > Previously, the decoder would indicate begin / end by a branch from / to > zero. That hides useful information, in

Re: [PATCH V5 0/6] perf and x86/intel_rdt: Fix lack of coordination with perf

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 10:29:05AM -0700, Reinette Chatre wrote: > Reinette Chatre (6): > perf/core: Add sanity check to deal with pinned event failure > perf/x86: Add helper to obtain performance counter index > x86/intel_rdt: Remove local register variables > x86/intel_rdt: Create

Re: [PATCH V5 0/6] perf and x86/intel_rdt: Fix lack of coordination with perf

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 10:29:05AM -0700, Reinette Chatre wrote: > Reinette Chatre (6): > perf/core: Add sanity check to deal with pinned event failure > perf/x86: Add helper to obtain performance counter index > x86/intel_rdt: Remove local register variables > x86/intel_rdt: Create

Re: [PATCH V5 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 10:29:10AM -0700, Reinette Chatre wrote: > +static int measure_l3_residency(void *_plr) > +{ > + counts.miss_after -= counts.miss_before; > + if (boot_cpu_data.x86_model == INTEL_FAM6_BROADWELL_X) { > + /* > + * On BDW references and misses

Re: [PATCH V5 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 10:29:10AM -0700, Reinette Chatre wrote: > +static int measure_l3_residency(void *_plr) > +{ > + counts.miss_after -= counts.miss_before; > + if (boot_cpu_data.x86_model == INTEL_FAM6_BROADWELL_X) { > + /* > + * On BDW references and misses

Re: linux-next: Tree for Sep 20

2018-09-20 Thread Rob Herring
On Thu, Sep 20, 2018 at 4:18 AM Stephen Rothwell wrote: > > Hi Michael, > > On Thu, 20 Sep 2018 21:10:08 +1000 Stephen Rothwell > wrote: > > > > On Thu, 20 Sep 2018 20:37:37 +1000 Michael Ellerman > > wrote: > > > > > > Oodles of: > > > > > > # < make -s -j 48 ARCH=arm64 > > >

Re: linux-next: Tree for Sep 20

2018-09-20 Thread Rob Herring
On Thu, Sep 20, 2018 at 4:18 AM Stephen Rothwell wrote: > > Hi Michael, > > On Thu, 20 Sep 2018 21:10:08 +1000 Stephen Rothwell > wrote: > > > > On Thu, 20 Sep 2018 20:37:37 +1000 Michael Ellerman > > wrote: > > > > > > Oodles of: > > > > > > # < make -s -j 48 ARCH=arm64 > > >

Re: [PATCH] floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl

2018-09-20 Thread Joe Lawrence
On Mon, Aug 27, 2018 at 12:45:25AM -0700, Kees Cook wrote: > On Tue, May 29, 2018 at 6:27 AM, Andy Whitcroft > wrote: > > On Wed, Mar 07, 2018 at 04:02:45PM -0800, Brian Belleville wrote: > >> The final field of a floppy_struct is the field "name", which is a > >> pointer to a string in kernel

Re: [PATCH] floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl

2018-09-20 Thread Joe Lawrence
On Mon, Aug 27, 2018 at 12:45:25AM -0700, Kees Cook wrote: > On Tue, May 29, 2018 at 6:27 AM, Andy Whitcroft > wrote: > > On Wed, Mar 07, 2018 at 04:02:45PM -0800, Brian Belleville wrote: > >> The final field of a floppy_struct is the field "name", which is a > >> pointer to a string in kernel

Re: [PATCH v2 0/2] Compiler Attributes: (naked only, for v4.19)

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 03:57:48PM +0200, Greg Kroah-Hartman wrote: > On Tue, Sep 18, 2018 at 06:55:40PM +0200, Miguel Ojeda wrote: > > These two patches are the 5th and 6th of the Compiler Attributes series, > > which Stefan and Nick requested to go into v4.19 so that the clang ARM32 > > build is

Re: [PATCH v2 0/2] Compiler Attributes: (naked only, for v4.19)

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 03:57:48PM +0200, Greg Kroah-Hartman wrote: > On Tue, Sep 18, 2018 at 06:55:40PM +0200, Miguel Ojeda wrote: > > These two patches are the 5th and 6th of the Compiler Attributes series, > > which Stefan and Nick requested to go into v4.19 so that the clang ARM32 > > build is

[PATCH v2 1/3] linkage.h: Align weak symbols.

2018-09-20 Thread Andrey Ryabinin
Since WEAK() supposed to be used instead of ENTRY() to define weak symbols, but unlike ENTRY() it doesn't have ALIGN directive. It seems there is no actual reason to not have, so let's add ALIGN to WEAK() too. Signed-off-by: Andrey Ryabinin --- include/linux/linkage.h | 1 + 1 file changed, 1

[PATCH v2 2/3] arm64: lib: use C string functions with KASAN enabled.

2018-09-20 Thread Andrey Ryabinin
ARM64 has asm implementation of memchr(), memcmp(), str[r]chr(), str[n]cmp(), str[n]len(). KASAN don't see memory accesses in asm code, thus it can potentially miss many bugs. Ifdef out __HAVE_ARCH_* defines of these functions when KASAN is enabled, so the generic implementations from

[PATCH v2 3/3] lib/test_kasan: Add tests for several string/memory API functions

2018-09-20 Thread Andrey Ryabinin
Arch code may have asm implementation of string/memory API functions instead of using generic one from lib/string.c. KASAN don't see memory accesses in asm code, thus can miss many bugs. E.g. on ARM64 KASAN don't see bugs in memchr(), memcmp(), str[r]chr(), str[n]cmp(), str[n]len(). Add tests for

[PATCH v2 1/3] linkage.h: Align weak symbols.

2018-09-20 Thread Andrey Ryabinin
Since WEAK() supposed to be used instead of ENTRY() to define weak symbols, but unlike ENTRY() it doesn't have ALIGN directive. It seems there is no actual reason to not have, so let's add ALIGN to WEAK() too. Signed-off-by: Andrey Ryabinin --- include/linux/linkage.h | 1 + 1 file changed, 1

[PATCH v2 2/3] arm64: lib: use C string functions with KASAN enabled.

2018-09-20 Thread Andrey Ryabinin
ARM64 has asm implementation of memchr(), memcmp(), str[r]chr(), str[n]cmp(), str[n]len(). KASAN don't see memory accesses in asm code, thus it can potentially miss many bugs. Ifdef out __HAVE_ARCH_* defines of these functions when KASAN is enabled, so the generic implementations from

[PATCH v2 3/3] lib/test_kasan: Add tests for several string/memory API functions

2018-09-20 Thread Andrey Ryabinin
Arch code may have asm implementation of string/memory API functions instead of using generic one from lib/string.c. KASAN don't see memory accesses in asm code, thus can miss many bugs. E.g. on ARM64 KASAN don't see bugs in memchr(), memcmp(), str[r]chr(), str[n]cmp(), str[n]len(). Add tests for

Re: [PATCH v2 0/2] Compiler Attributes: (naked only, for v4.19)

2018-09-20 Thread Greg Kroah-Hartman
On Tue, Sep 18, 2018 at 06:55:40PM +0200, Miguel Ojeda wrote: > These two patches are the 5th and 6th of the Compiler Attributes series, > which Stefan and Nick requested to go into v4.19 so that the clang ARM32 > build is fixed. The v5 of Compiler Attributes will have these two removed > if this

Re: [PATCH v2 0/2] Compiler Attributes: (naked only, for v4.19)

2018-09-20 Thread Greg Kroah-Hartman
On Tue, Sep 18, 2018 at 06:55:40PM +0200, Miguel Ojeda wrote: > These two patches are the 5th and 6th of the Compiler Attributes series, > which Stefan and Nick requested to go into v4.19 so that the clang ARM32 > build is fixed. The v5 of Compiler Attributes will have these two removed > if this

Re: [RFC/PATCH 2/5] device property: introduce notion of subnodes for legacy boards

2018-09-20 Thread Heikki Krogerus
Hi Dmitry, On Mon, Sep 17, 2018 at 11:16:00AM -0700, Dmitry Torokhov wrote: > +/** > + * device_add_child_properties - Add a collection of properties to a device > object. > + * @dev: Device to add properties to. In case you didn't notice my comment for this, you are missing @parent here. But

Re: [RFC/PATCH 2/5] device property: introduce notion of subnodes for legacy boards

2018-09-20 Thread Heikki Krogerus
Hi Dmitry, On Mon, Sep 17, 2018 at 11:16:00AM -0700, Dmitry Torokhov wrote: > +/** > + * device_add_child_properties - Add a collection of properties to a device > object. > + * @dev: Device to add properties to. In case you didn't notice my comment for this, you are missing @parent here. But

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-20 Thread Peter Meerwald-Stadler
On Thu, 20 Sep 2018, Song Qiang wrote: > PNI RM3100 magnetometer is a high resolution, large signal immunity > magnetometer, composed of 3 single sensors and a processing chip. > PNI is currently not in the vendors list, so this is also adding it. comments below > > Following functions are

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-20 Thread Peter Meerwald-Stadler
On Thu, 20 Sep 2018, Song Qiang wrote: > PNI RM3100 magnetometer is a high resolution, large signal immunity > magnetometer, composed of 3 single sensors and a processing chip. > PNI is currently not in the vendors list, so this is also adding it. comments below > > Following functions are

Re: linux-next: build warnings after merge of the devicetree tree

2018-09-20 Thread Rob Herring
On Wed, Sep 19, 2018 at 6:47 PM Stephen Rothwell wrote: > > Hi Rob, > > After merging the devicetree tree, today's linux-next build (arm > multi_v7_defconfig) produced these warnings: Yes, that's expected. I posted fixes for all of these last week. Some sub-arch maintainers haven't picked up the

Re: linux-next: build warnings after merge of the devicetree tree

2018-09-20 Thread Rob Herring
On Wed, Sep 19, 2018 at 6:47 PM Stephen Rothwell wrote: > > Hi Rob, > > After merging the devicetree tree, today's linux-next build (arm > multi_v7_defconfig) produced these warnings: Yes, that's expected. I posted fixes for all of these last week. Some sub-arch maintainers haven't picked up the

[PATCH] iio: magnetometer: hmc5843: Fixed a comment error.

2018-09-20 Thread Song Qiang
Replace 'hcm5843' with 'hmc5843'. Signed-off-by: Song Qiang --- drivers/iio/magnetometer/hmc5843.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/hmc5843.h b/drivers/iio/magnetometer/hmc5843.h index 76a5d7484d8d..a75224cf99df 100644 ---

[PATCH] iio: magnetometer: hmc5843: Fixed a comment error.

2018-09-20 Thread Song Qiang
Replace 'hcm5843' with 'hmc5843'. Signed-off-by: Song Qiang --- drivers/iio/magnetometer/hmc5843.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/hmc5843.h b/drivers/iio/magnetometer/hmc5843.h index 76a5d7484d8d..a75224cf99df 100644 ---

Re: [PATCH v2 1/1] Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

2018-09-20 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-09-19 22:51, Matthias Kaehlcke wrote: On Wed, Sep 19, 2018 at 08:51:13PM +0530, Balakrishna Godavarthi wrote: This patch enables power off support for hci down and power on support for hci up. As wcn3990 power sources are ignited by regulators, we will turn off them

Re: [PATCH v2 1/1] Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

2018-09-20 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-09-19 22:51, Matthias Kaehlcke wrote: On Wed, Sep 19, 2018 at 08:51:13PM +0530, Balakrishna Godavarthi wrote: This patch enables power off support for hci down and power on support for hci up. As wcn3990 power sources are ignited by regulators, we will turn off them

[PATCH] iio: magnetometer: hmc5843: Replace a return value.

2018-09-20 Thread Song Qiang
This error apparently is caused by timed out event, so a -ETIMEDOUT should be used instead of a -EIO, and it also tells user what happened , so this dev_err may not be needed anymore. Signed-off-by: Song Qiang --- I used ./scripts/get_maintainer.pl to get maintainers about this file, I thought

[PATCH] iio: magnetometer: hmc5843: Replace a return value.

2018-09-20 Thread Song Qiang
This error apparently is caused by timed out event, so a -ETIMEDOUT should be used instead of a -EIO, and it also tells user what happened , so this dev_err may not be needed anymore. Signed-off-by: Song Qiang --- I used ./scripts/get_maintainer.pl to get maintainers about this file, I thought

Re: [PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 20, 2018 at 04:00:42PM +0300, Adrian Hunter escreveu: > Here is V2 of some Intel PT patches to improve the data displayed when using > address filters. > Changes in V2: > > Improve commit messages Thanks a lot, helps a lot, - Arnaldo

Re: [PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 20, 2018 at 04:00:42PM +0300, Adrian Hunter escreveu: > Here is V2 of some Intel PT patches to improve the data displayed when using > address filters. > Changes in V2: > > Improve commit messages Thanks a lot, helps a lot, - Arnaldo

Re: [PATCH] MAINTAINERS: Add csky

2018-09-20 Thread Guo Ren
On Thu, Sep 20, 2018 at 12:17:43PM +0200, Greg KH wrote: > On Thu, Sep 20, 2018 at 06:14:07PM +0800, Guo Ren wrote: > > Add a maintainer information for the csky(C-SKY) architecture. > > > > Signed-off-by: Guo Ren > > --- > > MAINTAINERS | 16 > > 1 file changed, 16

Re: [PATCH] MAINTAINERS: Add csky

2018-09-20 Thread Guo Ren
On Thu, Sep 20, 2018 at 12:17:43PM +0200, Greg KH wrote: > On Thu, Sep 20, 2018 at 06:14:07PM +0800, Guo Ren wrote: > > Add a maintainer information for the csky(C-SKY) architecture. > > > > Signed-off-by: Guo Ren > > --- > > MAINTAINERS | 16 > > 1 file changed, 16

Re: [RFC PATCH] irq/affinity: Mark the pre/post vectors as regular interrupts

2018-09-20 Thread Dou Liyang
Hi Kashyap, On 2018/9/20 16:39, Kashyap Desai worte: Dou - Do you want me to test your patch or shall I wait for next version ? I'm sorry, please wait for the next version. Thanks, dou

Re: [RFC PATCH] irq/affinity: Mark the pre/post vectors as regular interrupts

2018-09-20 Thread Dou Liyang
Hi Kashyap, On 2018/9/20 16:39, Kashyap Desai worte: Dou - Do you want me to test your patch or shall I wait for next version ? I'm sorry, please wait for the next version. Thanks, dou

[PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-20 Thread Song Qiang
PNI RM3100 magnetometer is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip. PNI is currently not in the vendors list, so this is also adding it. Following functions are available: - Single-shot measurement from

[PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-20 Thread Song Qiang
PNI RM3100 magnetometer is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip. PNI is currently not in the vendors list, so this is also adding it. Following functions are available: - Single-shot measurement from

Re: [PATCH] signal/GenWQE: Fix sending of SIGKILL

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 13, 2018 at 12:48:43PM +0200, Eric W. Biederman wrote: > > The genweq_add_file and genwqe_del_file by caching current without > using reference counting embed the assumption that a file descriptor > will never be passed from one process to another. It even embeds the > assumption

Re: [PATCH] signal/GenWQE: Fix sending of SIGKILL

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 13, 2018 at 12:48:43PM +0200, Eric W. Biederman wrote: > > The genweq_add_file and genwqe_del_file by caching current without > using reference counting embed the assumption that a file descriptor > will never be passed from one process to another. It even embeds the > assumption

Re: [PATCH v2 0/2] eeprom: use devres for nvmem providers

2018-09-20 Thread Bartosz Golaszewski
2018-09-12 10:04 GMT+02:00 Bartosz Golaszewski : > From: Bartosz Golaszewski > > While working on the nvmem framework recently I noticed that there are > many providers that don't use the devm variant of nvmem_register(). > This series contains relevant updates for eeprom drivers. > > Note that

Re: [PATCH v2 0/2] eeprom: use devres for nvmem providers

2018-09-20 Thread Bartosz Golaszewski
2018-09-12 10:04 GMT+02:00 Bartosz Golaszewski : > From: Bartosz Golaszewski > > While working on the nvmem framework recently I noticed that there are > many providers that don't use the devm variant of nvmem_register(). > This series contains relevant updates for eeprom drivers. > > Note that

[PATCH V2 1/6] perf script: Enhance sample flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Allow for different combinations of sample flags with "trace begin" or "trace end". Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. Before remedying that, prepare 'perf script' to

[PATCH V2 1/6] perf script: Enhance sample flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Allow for different combinations of sample flags with "trace begin" or "trace end". Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. Before remedying that, prepare 'perf script' to

[PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Adrian Hunter
Hi Here is V2 of some Intel PT patches to improve the data displayed when using address filters. Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. That happens when using address filters, for

[PATCH V2 3/6] perf tools: Improve thread_stack__event() for trace begin / end

2018-09-20 Thread Adrian Hunter
thread_stack__event() is used to create call stacks, by keeping track of calls and returns. Improve the handling of trace begin / end to allow for a trace that ends in a call. Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in

[PATCH V2 2/6] perf db-export: Add trace begin / end branch type variants

2018-09-20 Thread Adrian Hunter
Add branch types to cover different combinations with "trace begin" or "trace end". Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. Before remedying that, prepare the database

[PATCH V2 5/6] perf intel-pt: Add decoder flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. To prepare for remedying that, add Intel PT decoder flags for trace begin / end and map them to the existing sample flags. Signed-off-by:

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Sricharan R
On 9/20/2018 1:54 AM, Craig wrote: > Yup, this patch seems to have fixed the higher frequencies from the quick > test I did. > Thanks !!. Can i take that as Tested-by: Craig Tatlor ? Regards, Sricharan > On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: >> >> >> On

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Sricharan R
On 9/20/2018 1:54 AM, Craig wrote: > Yup, this patch seems to have fixed the higher frequencies from the quick > test I did. > Thanks !!. Can i take that as Tested-by: Craig Tatlor ? Regards, Sricharan > On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: >> >> >> On

[PATCH V2 0/6] perf intel-pt: Improve the data displayed when using address filters

2018-09-20 Thread Adrian Hunter
Hi Here is V2 of some Intel PT patches to improve the data displayed when using address filters. Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. That happens when using address filters, for

[PATCH V2 3/6] perf tools: Improve thread_stack__event() for trace begin / end

2018-09-20 Thread Adrian Hunter
thread_stack__event() is used to create call stacks, by keeping track of calls and returns. Improve the handling of trace begin / end to allow for a trace that ends in a call. Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in

[PATCH V2 2/6] perf db-export: Add trace begin / end branch type variants

2018-09-20 Thread Adrian Hunter
Add branch types to cover different combinations with "trace begin" or "trace end". Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. Before remedying that, prepare the database

[PATCH V2 5/6] perf intel-pt: Add decoder flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. To prepare for remedying that, add Intel PT decoder flags for trace begin / end and map them to the existing sample flags. Signed-off-by:

[PATCH V2 4/6] perf tools: Improve thread_stack__process() for trace begin / end

2018-09-20 Thread Adrian Hunter
thread_stack__process() is used to create call paths for database export. Improve the handling of trace begin / end to allow for a trace that ends in a call. Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a

[PATCH V2 6/6] perf intel-pt: Implement decoder flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Have the Intel PT decoder implement the new Intel PT decoder flags for trace begin / end. Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. That happens when using address filters, for

[PATCH V2 4/6] perf tools: Improve thread_stack__process() for trace begin / end

2018-09-20 Thread Adrian Hunter
thread_stack__process() is used to create call paths for database export. Improve the handling of trace begin / end to allow for a trace that ends in a call. Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a

[PATCH V2 6/6] perf intel-pt: Implement decoder flags for trace begin / end

2018-09-20 Thread Adrian Hunter
Have the Intel PT decoder implement the new Intel PT decoder flags for trace begin / end. Previously, the decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. That happens when using address filters, for

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Sricharan R
On 9/20/2018 1:54 AM, Craig wrote: > Yup, this patch seems to have fixed the higher frequencies from the quick > test I did. > Thanks !!. Can i take that as Craig Tatlor ? Regards, Sricharan tested-by: > On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: >> >> >> On 7

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-20 Thread Sricharan R
On 9/20/2018 1:54 AM, Craig wrote: > Yup, this patch seems to have fixed the higher frequencies from the quick > test I did. > Thanks !!. Can i take that as Craig Tatlor ? Regards, Sricharan tested-by: > On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: >> >> >> On 7

Re: [RESEND PATCH v3 0/3] sh: make early_platform code SuperH-specific

2018-09-20 Thread Bartosz Golaszewski
2018-08-27 11:06 GMT+02:00 Bartosz Golaszewski : > I recently started a discussion about the need for a proper early device > probing mechanism[1]. One that would be based on real platform drivers > and support both platform data and device tree. > > While we're far from reaching any consensus on

Re: [RESEND PATCH v3 0/3] sh: make early_platform code SuperH-specific

2018-09-20 Thread Bartosz Golaszewski
2018-08-27 11:06 GMT+02:00 Bartosz Golaszewski : > I recently started a discussion about the need for a proper early device > probing mechanism[1]. One that would be based on real platform drivers > and support both platform data and device tree. > > While we're far from reaching any consensus on

Re: [QUEUED v20180920 15/16] lib: Add memcat_p(): paste 2 pointer arrays together

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 03:45:52PM +0300, Alexander Shishkin wrote: > This adds a helper to paste 2 pointer arrays together, useful for merging > various types of attribute arrays. There are a few places in the kernel > tree where this is open coded, and I just added one more in the STM class. >

Re: [QUEUED v20180920 15/16] lib: Add memcat_p(): paste 2 pointer arrays together

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 03:45:52PM +0300, Alexander Shishkin wrote: > This adds a helper to paste 2 pointer arrays together, useful for merging > various types of attribute arrays. There are a few places in the kernel > tree where this is open coded, and I just added one more in the STM class. >

Re: [PATCH v2 0/4] devres: provide and use devm_kstrdup_const()

2018-09-20 Thread Bartosz Golaszewski
2018-08-28 11:33 GMT+02:00 Bartosz Golaszewski : > This series implements devm_kstrdup_const() together with some > prerequisite changes and uses it in pmc-atom driver. > > v1 -> v2: > - fixed the changelog in the patch implementing devm_kstrdup_const() > - fixed the kernel doc > - moved

Re: [PATCH v2 0/4] devres: provide and use devm_kstrdup_const()

2018-09-20 Thread Bartosz Golaszewski
2018-08-28 11:33 GMT+02:00 Bartosz Golaszewski : > This series implements devm_kstrdup_const() together with some > prerequisite changes and uses it in pmc-atom driver. > > v1 -> v2: > - fixed the changelog in the patch implementing devm_kstrdup_const() > - fixed the kernel doc > - moved

Re: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Peter Zijlstra
On Thu, Sep 20, 2018 at 08:58:16PM +0800, Wei Wang wrote: > On 09/20/2018 08:37 PM, Peter Zijlstra wrote: > > On Thu, Sep 20, 2018 at 06:05:59PM +0800, Wei Wang wrote: > > > /** > > > + * lbr_select_user_callstack - check if the user callstack mode is set > > > + * > > > + * @lbr_select: the lbr

Re: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Peter Zijlstra
On Thu, Sep 20, 2018 at 08:58:16PM +0800, Wei Wang wrote: > On 09/20/2018 08:37 PM, Peter Zijlstra wrote: > > On Thu, Sep 20, 2018 at 06:05:59PM +0800, Wei Wang wrote: > > > /** > > > + * lbr_select_user_callstack - check if the user callstack mode is set > > > + * > > > + * @lbr_select: the lbr

Re: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Wei Wang
On 09/20/2018 08:37 PM, Peter Zijlstra wrote: On Thu, Sep 20, 2018 at 06:05:59PM +0800, Wei Wang wrote: /** + * lbr_select_user_callstack - check if the user callstack mode is set + * + * @lbr_select: the lbr select msr + * + * Returns: true if the msr is configured to the user callstack

Re: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Wei Wang
On 09/20/2018 08:37 PM, Peter Zijlstra wrote: On Thu, Sep 20, 2018 at 06:05:59PM +0800, Wei Wang wrote: /** + * lbr_select_user_callstack - check if the user callstack mode is set + * + * @lbr_select: the lbr select msr + * + * Returns: true if the msr is configured to the user callstack

<    4   5   6   7   8   9   10   11   12   13   >