Re: Official Linux system wrapper library?

2018-11-11 Thread Florian Weimer
* Michael Kerrisk: > [adding in glibc folk for comment] > > On 11/10/18 7:52 PM, Daniel Colascione wrote: >> Now that glibc is basically not adding any new system call wrappers, >> how about publishing an "official" system call glue library as part of >> the kernel distribution, along with the uap

Re: Official Linux system wrapper library?

2018-11-11 Thread Willy Tarreau
On Sun, Nov 11, 2018 at 11:53:54AM +0100, Michael Kerrisk (man-pages) wrote: > I'm not sure I'd view the glibc position quite so harshly (although > it is disappointing to me that bug 6399 remains open). I think they > are simply short of people to work on this task. I think so as well and really

Re: [PATCH 10/17] mailbox: bcm2835: Switch to SPDX identifier

2018-11-11 Thread Lubomir Rintel
On Sat, 2018-11-10 at 16:59 +0100, Stefan Wahren wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Cc: Lubomir Rintel > Signed-off-by: Stefan Wahren > --- > drivers/mailbox/bcm2835-mailbox.c | 8 +--- > 1 file changed, 1 insertion(+), 7 deletion

Re: [PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver

2018-11-11 Thread Pavel Machek
Hi! > +static void __reg_io_start(const struct upboard_ddata * const ddata) > +{ > + /* > + * CLEAR signal must be pulsed low before any register access. > + * This resets internal counters in the controller and marks > + * the start of a new register access. > + */ > +

Re: [PATCH] ARM: OMAP1: ams-delta: Provide GPIO lookup table for LED device

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 00:23:49, Janusz Krzysztofik wrote: > Global GPIO numbers no longer have to be passed to leds-gpio driver, > replace their assignment with a lookup table. > > Signed-off-by: Janusz Krzysztofik Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesk

Re: [PATCH] PM / QoS: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 09:38:06, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Re: [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-11 Thread Pavel Machek
Hi! > > >* was plugged in and the device thus did not start a new charge > > > cycle. > > >*/ > > > if ((battery_ac_is_broken || power_supply_is_system_supplied()) && > > > - battery->rate_now == 0) > > > + battery->rate_now == 0) { > > > + if (ba

Re: [PATCH v5 04/27] x86/fpu/xstate: Add XSAVES system states for shadow stack

2018-11-11 Thread Pavel Machek
> > Just write "privilege level" everywhere - not "ring". > > > > Btw, do you see how the type and the name of all those other fields in > > that file are tabulated? Except yours... > > I will fix it. Don't. It is not broken. -- (english) http://www.livejournal.com/~pavelmachek (cesky, picture

Re: [PATCH 6/6] staging:iio:ad2s90: Move out of staging

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:00:44 -0200 Matheus Tavares wrote: > Move ad2s90 resolver driver out of staging to the main tree. > > Signed-off-by: Matheus Tavares > Signed-off-by: Victor Colombo For a move out of staging patch, please disable move detection. It let's us see the whole driver and perf

Re: [PATCH v5 04/27] x86/fpu/xstate: Add XSAVES system states for shadow stack

2018-11-11 Thread Pavel Machek
> > > > +/* > > > > + * State component 12 is Control flow Enforcement kernel states > > > > + */ > > > > +struct cet_kernel_state { > > > > + u64 kernel_ssp; /* kernel shadow stack */ > > > > + u64 pl1_ssp;/* ring-1 shadow stack */ > > > > + u64 pl2_ssp;/* ring-2 shadow s

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

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 23:07:09, Jacek Anaszewski wrote: > 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 le

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

2018-11-11 Thread Pavel Machek
Hi! > Add common LED function definitions for use in Device Tree. > The function names were extracted from existing dts files > after eliminating oddities. Thanks for doing this. > diff --git a/include/dt-bindings/leds/functions.h > b/include/dt-bindings/leds/functions.h > new file mode 100644

Re: [PATCH 0/6] staging:iio:ad2s90: Add dt support and move out of staging

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:00:38 -0200 Matheus Tavares wrote: > This patch set adds device tree support to ad2s90, with standard > device tree id table, adds the respective dt-binding documentation, > solves a codestyle warning and move the driver out of staging. > > This patch set completes all the

SPENDE MAVIS WANCZYK

2018-11-11 Thread info
Sehr geehrter Herr/Frau, Wir freuen uns, Ihnen mitzuteilen, dass Sie ausgewählt wurden, um die Summe zu erhalten €2,000,000.00 Euro aus Mitteln der Mavis Wanczyk Hilfe. Mein Name ist Mavis Wanczyk der Gewinner des 758,7 Millionen US-Dollar in der Power Ball Lotterie Jackpot als der größte Preis

Re: crashkernel=512M is no longer working on this aarch64 server

2018-11-11 Thread Martin Schwidefsky
On Sat, 10 Nov 2018 23:41:34 -0500 Qian Cai wrote: > It was broken somewhere between b00d209241ff and 3541833fd1f2. > > [0.00] cannot allocate crashkernel (size:0x2000) > > Where a good one looks like this, > > [0.00] crashkernel reserved: 0x0860 - 0x286

Re: [PATCH 2/6] staging:iio:ad2s90: Remove spi setup that should be done via dt

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:00:40 -0200 Matheus Tavares wrote: > The ad2s90 driver currently sets some spi settings (max_speed_hz and > mode) at ad2s90_probe. This should, instead, be handled via device tree. > This patch removes these configurations from the probe function. > > Note: The way in whic

Re: [PATCH 3/6] staging:iio:ad2s90: Add max frequency check at probe

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:00:41 -0200 Matheus Tavares wrote: > This patch adds a max frequency check at the beginning of ad2s90_probe > function so that when it is set to a value above 0.83Mhz, dev_err is > called with an appropriate message and -EINVAL is returned. > > The defined limit is 0.83Mhz

Re: Official Linux system wrapper library?

2018-11-11 Thread Florian Weimer
* Willy Tarreau: > I think the issue is a bit more complex : > - linux doesn't support a single libc > - glibc doesn't support a single OS > > In practice we all know (believe?) that both statements above are > true but in practice 99% of the time there's a 1:1 relation between > these two com

Re: [PATCH 4/6] dt-bindings:iio:resolver: Add docs for ad2s90

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:00:42 -0200 Matheus Tavares wrote: > This patch adds the device tree binding documentation for the ad2s90 > resolver-to-digital converter. > > Signed-off-by: Matheus Tavares > --- > .../bindings/iio/resolver/ad2s90.txt | 26 +++ > 1 file changed,

[GIT PULL] ext4 bug fixes for 4.20-rc2

2018-11-11 Thread Theodore Y. Ts'o
The following changes since commit 33458eaba4dfe778a426df6a19b7aad2ff9f7eec: ext4: fix use-after-free race in ext4_remount()'s error path (2018-10-12 09:28:09 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_sta

Re: [PATCH v4 2/4] dt-bindings: iio: adc: Add common ADCs properties to a separate file

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 17:40:55 +0200 Stefan Popa wrote: > There are several ADC drivers that depend on the same device tree > bindings. Rather than continue to duplicate the properties, this patch > adds a common adc binding document that can be referenced. For beginning, > only two properties are d

Re: [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-11 Thread Hans de Goede
Hi, On 11/7/18 5:53 AM, Daniel Drake wrote: On Mon, Nov 5, 2018 at 1:19 AM Pavel Machek wrote: Plus, I don't think "100% charge" is right test for "battery full". At least on thinkpads, there's configuration option, and it is common _not_ to charge batterry above 95% or so (to increase its lif

Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

2018-11-11 Thread Pavel Machek
Hi! > Add public led_compose_name() API for composing LED class device > name basing on fwnode_handle data. The function composes device name > according to either a new pattern or the legacy > pattern. The decision on using the > particular pattern is made basing on whether fwnode contains new

Re: Official Linux system wrapper library?

2018-11-11 Thread Florian Weimer
* Willy Tarreau: > On Sun, Nov 11, 2018 at 11:30:25AM +0100, Florian Weimer wrote: >> * Willy Tarreau: >> >> > On Sun, Nov 11, 2018 at 07:55:30AM +0100, Michael Kerrisk (man-pages) >> > wrote: >> >> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=6399 is a >> >> longstanding example. >>

Re: Official Linux system wrapper library?

2018-11-11 Thread Willy Tarreau
On Sun, Nov 11, 2018 at 12:46:35PM +0100, Florian Weimer wrote: > > In practice we all know (believe?) that both statements above are > > true but in practice 99% of the time there's a 1:1 relation between > > these two components. > > Eh. Most Linux systems do not run glibc at all (and use crypt

Re: [PATCH v4 3/4] iio: adc: Add ad7124 support

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 17:41:46 +0200 Stefan Popa wrote: > The ad7124-4 and ad7124-8 are a family of 4 and 8 channel sigma-delta ADCs > with 24-bit precision and reference. > > Three power modes are available which in turn affect the output data rate: > * Full power: 9.38 SPS to 19,200 SPS > * Mid

[PATCH] arm64: dts: allwinner: a64: Add mali node

2018-11-11 Thread Jernej Skrabec
A64 has Mali400 MP2 GPU. Add a node for it. Signed-off-by: Jernej Skrabec --- This node and A64 GPU binary driver was tested with Kodi on LibreELEC. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 22 +++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/allwin

Re: [PATCH v4 4/4] dt-bindings: iio: adc: Add docs for ad7124

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 17:43:00 +0200 Stefan Popa wrote: > Add support for Analog Devices AD7124 4-channels and 8-channels ADC. > > Signed-off-by: Stefan Popa Your example still includes the other things that I think you have now dropped. gain and odr. > --- > Changes in v2: > - Nothing cha

Re: [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-11 Thread Pavel Machek
On Sun 2018-11-11 12:57:12, Hans de Goede wrote: > Hi, > > On 11/7/18 5:53 AM, Daniel Drake wrote: > >On Mon, Nov 5, 2018 at 1:19 AM Pavel Machek wrote: > >>Plus, I don't think "100% charge" is right test for "battery full". At > >>least on thinkpads, there's configuration option, and it is commo

Re: [PATCH v3 1/4] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 13:05:17 +0530 Nishad Kamdar wrote: > Use the gpiod interface for rdwr_pin, convert_pin and busy_pin > instead of the deprecated old non-descriptor interface. > > Signed-off-by: Nishad Kamdar Applied to the togreg branch of iio.git and pushed out as testing for the autobuilde

SPENDE

2018-11-11 Thread info
Sehr geehrter Herr/Frau, Wir freuen uns, Ihnen mitzuteilen, dass Sie ausgewählt wurden, um die Summe zu erhalten €2,000,000.00 Euro aus Mitteln der Mavis Wanczyk Hilfe. Mein Name ist Mavis Wanczyk der Gewinner des 758,7 Millionen US-Dollar in der Power Ball Lotterie Jackpot als der größte Preis

Re: [PATCH v3 1/4] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-11-11 Thread Jonathan Cameron
On Sun, 11 Nov 2018 12:24:05 + Jonathan Cameron wrote: > On Fri, 9 Nov 2018 13:05:17 +0530 > Nishad Kamdar wrote: > > > Use the gpiod interface for rdwr_pin, convert_pin and busy_pin > > instead of the deprecated old non-descriptor interface. > > > > Signed-off-by: Nishad Kamdar > Appli

Re: [PATCH v3 2/4] staging: iio: ad7816: Do not use busy_pin in case of AD7818

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 13:06:24 +0530 Nishad Kamdar wrote: > AD7818 does not support busy_pin functionality as per datasheet. > Hence drop busy_pin when AD7818 is used. > > Signed-off-by: Nishad Kamdar Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play wi

Re: [PATCH v3 3/4] staging: iio: ad7816: Set RD/WR pin and CONVST pin as outputs.

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 13:07:18 +0530 Nishad Kamdar wrote: > The RD/WR pin and CONVST pin are logical inputs to the AD78xx > chip as per the datasheet. Hence convert them to outputs. > > Signed-off-by: Nishad Kamdar Hi Nishad, Applied to the togreg branch of iio.git and pushed out as testing for t

Re: [PATCH v3 4/4] staging: iio: ad7816: Add device tree table.

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 08:11:57 + "Ardelean, Alexandru" wrote: > On Fri, 2018-11-09 at 13:08 +0530, Nishad Kamdar wrote: > > Add device tree table for matching vendor ID. > > One comment inline for this. > > Thanks > Alex > > > > > Signed-off-by: Nishad Kamdar > > --- > > drivers/staging/

Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 11:25:31 +0800 Baolin Wang wrote: > From: Freeman Liu > > Sometimes the ADC controller met some problems, and it will not complete > the data conversion, that will can not wake up the read process any more > to block users. So we should add one maximum conversion time to avo

Re: [PATCH 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-11-11 Thread Taniya Das
Hello Stephen, Thanks for your comments. On 11/4/2018 9:50 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-11-02 20:06:00) Hello Stephen, On 10/18/2018 5:02 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-10-11 04:36:01) --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm

Re: [PATCH] IIO: extend dac/MCP4922 to MCP49x1 devices

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 15:36:53 -0500 Matt Walker wrote: > Extend the existing dual channel MCP4922 DAC driver to single channel > MCP49x1 devices. These devices are simple and write only. The most > significant bit of the transfer dictates what channel to write to. > > Although there is no danger

Re: [PATCH v2 1/2] staging: iio: ad7780: check if ad778x before gain update

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 13:44:17 + "Ardelean, Alexandru" wrote: > On Thu, 2018-11-08 at 11:03 -0200, Giuliano Belinassi wrote: > > Only the ad778x have the 'gain' status bit. Check it before updating > > through a new variable is_ad778x in chip_info. > > > > Looks good. Alex, formal tags defin

Re: [PATCH v2 1/2] staging: iio: ad7780: check if ad778x before gain update

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:15:45 -0200 Giuliano Augusto Faulin Belinassi wrote: > > Just some random though. Instead of introducing extra level of indentation > > you > > can simply check whether is_ad778x is asserted and simply return. > > I agree that the patch would be smaller if I do that, but

Re: [PATCH v1 1/5] drivercore: Revert "deferral race condition fix"

2018-11-11 Thread Andy Shevchenko
I seems Grant's mail delivery bounces messages. I delibirately reduced the Cc list for sake of ping Grant in case it would pass. On Sat, Nov 10, 2018 at 8:12 PM Andy Shevchenko wrote: > > Consider the following scenario. > > There are two independent devices coupled together by functional depende

Re: [PATCH v2 2/2] staging: iio: ad7780: generates pattern_mask from PAT bits

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 20:18:58 -0200 Giuliano Augusto Faulin Belinassi wrote: > Hi > > >While I agree that it looks nicer to indent all these to the same level, > >you also need to think about the fact that the kernel git repo is already > >pretty big as-is, so it's a good idea if a patch adds as m

Re: [bug report] armada-8040-mcbin: 4.20-rc1 boot failure

2018-11-11 Thread Baruch Siach
Hi Sergey, Gregory, Sergey Matyukevich writes: > MacchiatoBin board fails to boot v4.20-rc1 kernel built using arm64 > defconfig. According to quick bisection of the board dts file, the > root cause is in dts patch enabling CPU deep idle states: > see 8ed46368776b3bc. Is there any pending fix othe

Re: [PATCH v7 1/2] iio: light: Add support for vishay vcnl4035

2018-11-11 Thread Jonathan Cameron
On Wed, 7 Nov 2018 22:24:47 +0200 Andy Shevchenko wrote: > On Wed, Nov 7, 2018 at 7:08 PM Parthiban Nallathambi wrote: > > > > Add support for VCNL4035, which is capable of Ambient light > > sensing (ALS) and proximity function. This patch adds support > > only for ALS function > > > A commen

Re: [PATCH v7 2/2] iio: light: Add device tree binding for vishay vcnl4035

2018-11-11 Thread Jonathan Cameron
On Wed, 7 Nov 2018 18:08:21 +0100 Parthiban Nallathambi wrote: > Adding device tree binding for vcnl4035 and vendor > prefix for Vishay Intertechnology > > Signed-off-by: Parthiban Nallathambi > Reviewed-by: Rob Herring Applied. Thanks, Jonathan > --- > > Notes: > Changelog in v4: >

Re: [PATCH] iio: st-accel: add support for lis3de

2018-11-11 Thread Jonathan Cameron
On Wed, 7 Nov 2018 16:45:21 +0100 Heiko Stuebner wrote: > From: Heiko Stuebner > > This commit add support for STMicroelectronics lis3de accelerometer. > Datasheet for this device can be found here: > > https://www.st.com/resource/en/datasheet/lis3de.pdf > > Signed-off-by: Heiko Stuebner A

Re: crashkernel=512M is no longer working on this aarch64 server

2018-11-11 Thread Qian Cai
> On Nov 11, 2018, at 6:35 AM, Martin Schwidefsky > wrote: > > On Sat, 10 Nov 2018 23:41:34 -0500 > Qian Cai wrote: > >> It was broken somewhere between b00d209241ff and 3541833fd1f2. >> >> [0.00] cannot allocate crashkernel (size:0x2000) >> >> Where a good one looks like this

Re: [PATCH RFC 0/3] Static calls

2018-11-11 Thread Ard Biesheuvel
On 11 November 2018 at 00:20, Peter Zijlstra wrote: > On Fri, Nov 09, 2018 at 02:50:27PM +0100, Ard Biesheuvel wrote: >> On 9 November 2018 at 08:28, Ingo Molnar wrote: >> >> - I'm not sure about the objtool approach. Objtool is (currently) >> >> x86-64 only, which means we have to use the "un

Re: [PATCH 0/3] SG_IO command filtering via sysfs

2018-11-11 Thread Theodore Y. Ts'o
On Sun, Nov 11, 2018 at 05:14:45AM -0800, Christoph Hellwig wrote: > I think this goes in the wrong way. There isn't really any point > in filtering at all if we have access to the whole device by the > file persmissions, and we generally should not allow any access for > partitions. It really de

Re: [PATCH v2 2/6] mm: introduce put_user_page*(), placeholder versions

2018-11-11 Thread Mike Rapoport
Hi, On Sat, Nov 10, 2018 at 12:50:37AM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > Introduces put_user_page(), which simply calls put_page(). > This provides a way to update all get_user_pages*() callers, > so that they call put_user_page(), instead of put_page(). > > Also int

[PATCH v1 0/1] clk: npcm7xx: fix base address and of_clk_get_by_name

2018-11-11 Thread tali . perry1
From: Tali Perry Nuvoton NPCM7XX Clock Controller fix base address and of_clk_get_by_name error handling. Also update error messages to be more informative. In case clk_base allocation is erronoeous the return value is null. Also fix handling of of_clk_get_by_name returns an erro

[PATCH v1 1/1] clk: npcm7xx: get fixed clocks from DT

2018-11-11 Thread tali . perry1
From: Tali Perry Nuvoton NPCM7XX Clock Controller fix base address and of_clk_get_by_name error handling. Also update error messages to be more informative. In case clk_base allocation is erronoeous the return value is null. Also fix handling of of_clk_get_by_name returns an erro

Re: Official Linux system wrapper library?

2018-11-11 Thread Daniel Colascione
On Sun, Nov 11, 2018 at 3:09 AM, Florian Weimer wrote: > We had a patch for the membarrier system call, but the kernel developers > could not tell us what the system call does in therms of the C/C++ > memory model [snip] > A lot of the new system calls lack clear specifications or are just > somew

Re: [PATCH v6 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 17:27:49 +0800 Song Qiang wrote: > PNI RM3100 is a high resolution, large signal immunity magnetometer, > composed of 3 single sensors and a processing chip with a MagI2C > interface. > > Following functions are available: > - Single-shot measurement from >/sys/bus/iio/d

Re: [PATCH v6 1/3] dt-bindings: Add PNI to the vendor prefixes

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 17:27:47 +0800 Song Qiang wrote: > Signed-off-by: Song Qiang Applied with some fuzz as plx has gone away it seems. Jonathan > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bind

Re: [PATCH v6 2/3] iio: magnetometer: Add DT support for PNI RM3100

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 17:27:48 +0800 Song Qiang wrote: > Signed-off-by: Song Qiang > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > .../bindings/iio/magnetometer/pni,rm3100.txt | 20 ++

Re: [PATCH RFC 0/3] Static calls

2018-11-11 Thread Peter Zijlstra
On Sun, Nov 11, 2018 at 02:42:55PM +0100, Ard Biesheuvel wrote: > On 11 November 2018 at 00:20, Peter Zijlstra wrote: > > On Fri, Nov 09, 2018 at 02:50:27PM +0100, Ard Biesheuvel wrote: > >> On 9 November 2018 at 08:28, Ingo Molnar wrote: > >> >> - I'm not sure about the objtool approach. Objtoo

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

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 23:07:13, Jacek Anaszewski wrote: > Refer to new "function" and "color" properties and mark "label" > as deprecated. > > Signed-off-by: Jacek Anaszewski > Cc: Xiaotong Lu > Cc: Baolin Wang Don't you want to keep both color and label? New dts on old kernel should still work...

Re: [PATCH v4 1/2] staging: iio: ad7780: update voltage on read

2018-11-11 Thread Jonathan Cameron
On Tue, 6 Nov 2018 09:24:44 + "Ardelean, Alexandru" wrote: > On Mon, 2018-11-05 at 17:14 -0200, Renato Lui Geh wrote: > > The ad7780 driver previously did not read the correct device output, as > > it read an outdated value set at initialization. It now updates its > > voltage on read. > >

Re: [PATCH v4 2/2] staging: iio: ad7780: remove unnecessary stashed voltage value

2018-11-11 Thread Jonathan Cameron
On Tue, 6 Nov 2018 09:25:27 + "Ardelean, Alexandru" wrote: > On Mon, 2018-11-05 at 17:16 -0200, Renato Lui Geh wrote: > > This patch removes the unnecessary field int_vref_mv in ad7780_state > > referring to the device's voltage. > > > > Looks good from my side. Applied to the togreg bran

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

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 23:07:14, Jacek Anaszewski wrote: > Switch to using generic LED support for composing LED class > device name. > > Signed-off-by: Jacek Anaszewski > Cc: Xiaotong Lu > Cc: Baolin Wang Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictur

Re: [driver-core PATCH v5 5/9] driver core: Establish clear order of operations for deferred probe and remove

2018-11-11 Thread Pavel Machek
Hi! > > One change I made in addition is I replaced the use of "bool X:1" to define > > the bitfield to a "u8 X:1" setup in order to resolve some checkpatch > > warnings. > > Please use "bool X:1" instead of "u8 X:1". I think it was a bad idea to make > checkpatch complain about "bool X:1" since

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

2018-11-11 Thread Pavel Machek
On Tue 2018-11-06 23:07:20, Jacek Anaszewski wrote: > Switch to using generic LED support for composing LED class > device name. > > Signed-off-by: Jacek Anaszewski > Cc: Dan Murphy Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.ka

Re: [PATCH v4 05/10] x86/alternative: initializing temporary mm for patching

2018-11-11 Thread Peter Zijlstra
I don't seem to have gotten patches 0-2,7 for some reason; I'll try and dig them out of the LKML folder. On Sat, Nov 10, 2018 at 03:17:27PM -0800, Nadav Amit wrote: > +void __init poking_init(void) > +{ > + spinlock_t *ptl; > + pte_t *ptep; > + > + poking_mm = copy_init_mm(); > +

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-11 Thread Alexander Kapshuk
On Sat, Nov 10, 2018 at 10:12 PM Genki Sky wrote: > > Hi Andreas, > > On Sat, 10 Nov 2018 11:42:11 +0100, Andreas Schwab > wrote: > > On Nov 10 2018, Genki Sky wrote: > > > On Fri, 9 Nov 2018 10:34:37 -0800, Brian Norris > > > wrote: > > >> + git_status="$(git --no-optional-locks sta

Re: [PATCH v4 06/10] x86/alternative: use temporary mm for text poking

2018-11-11 Thread Peter Zijlstra
On Sat, Nov 10, 2018 at 03:17:28PM -0800, Nadav Amit wrote: > @@ -683,43 +684,108 @@ __ro_after_init unsigned long poking_addr; > > static int __text_poke(void *addr, const void *opcode, size_t len) > { > + bool cross_page_boundary = offset_in_page(addr) + len > PAGE_SIZE; > + temporary

Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Baolin Wang
Hi Jonathan, On 11 November 2018 at 20:40, Jonathan Cameron wrote: > On Fri, 9 Nov 2018 11:25:31 +0800 > Baolin Wang wrote: > >> From: Freeman Liu >> >> Sometimes the ADC controller met some problems, and it will not complete >> the data conversion, that will can not wake up the read process a

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-11 Thread Alexander Kapshuk
On Sun, Nov 11, 2018 at 4:48 PM Alexander Kapshuk wrote: > > On Sat, Nov 10, 2018 at 10:12 PM Genki Sky wrote: > > > > Hi Andreas, > > > > On Sat, 10 Nov 2018 11:42:11 +0100, Andreas Schwab > > wrote: > > > On Nov 10 2018, Genki Sky wrote: > > > > On Fri, 9 Nov 2018 10:34:37 -0800, Brian Norri

Re: [PATCH v4 09/10] x86/jump-label: remove support for custom poker

2018-11-11 Thread Peter Zijlstra
On Sat, Nov 10, 2018 at 03:17:31PM -0800, Nadav Amit wrote: > There are only two types of poking: early and breakpoint based. The use > of a function pointer to perform poking complicates the code and is > probably inefficient due to the use of indirect branches. Right; we used to have a 3rd way,

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-11 Thread Andy Lutomirski
> On Nov 11, 2018, at 12:30 AM, Daniel Colascione wrote: > >> On Sun, Nov 11, 2018 at 12:09 AM, Joel Fernandes >> wrote: >> On Sat, Nov 10, 2018 at 07:40:10PM -0800, Andy Lutomirski wrote: >> [...] >> I see two reasonable solutions: >> >> 1. Don’t fiddle with the st

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

2018-11-11 Thread Peter Zijlstra
On Thu, Nov 08, 2018 at 06:25:07PM +0100, Rafael J. Wysocki wrote: > +/* > + * The SPIKE value is added to metrics when they grow and the DECAY_SHIFT > value > + * is used for decreasing metrics on a regular basis. > + */ > +#define SPIKE1024 > +#define DECAY_SHIFT 3 > + if (

Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings

2018-11-11 Thread Jonathan Cameron
On Mon, 5 Nov 2018 13:47:50 +0800 Chen-Yu Tsai wrote: > On Sat, Nov 3, 2018 at 6:22 PM Jonathan Cameron > wrote: > > > > On Wed, 31 Oct 2018 10:29:59 +0800 > > Chen-Yu Tsai wrote: > > > > > On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz > > > wrote: > > > > > > > > Hi Jonathan, > > > > > >

Re: [PATCH v3 2/3] iio: adc: Add ad7124 support

2018-11-11 Thread Jonathan Cameron
On Thu, 8 Nov 2018 16:48:02 + "Popa, Stefan Serban" wrote: > On Jo, 2018-11-08 at 10:34 -0600, Rob Herring wrote: > > On Thu, Nov 8, 2018 at 9:02 AM Popa, Stefan Serban > > wrote: > > > > > > > > > On Sb, 2018-11-03 at 12:16 +, Jonathan Cameron wrote: > > > > > > > > On Mon, 29 Oc

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

2018-11-11 Thread Peter Zijlstra
On Thu, Nov 08, 2018 at 06:25:07PM +0100, Rafael J. Wysocki wrote: > +unsigned int teo_idle_duration(struct cpuidle_driver *drv, > +struct teo_cpu *cpu_data, > +unsigned int sleep_length_us) > +{ > + u64 range, max_spread, sum, max, min; >

Re: [PATCH AUTOSEL 4.14 05/30] powerpc/traps: restore recoverability of machine_check interrupts

2018-11-11 Thread LEROY Christophe
Looks like this patch didn't make its way into 4.14 yet. Is there a problem with this patch ? Christophe Sasha Levin a écrit : From: Christophe Leroy [ Upstream commit daf00ae71dad8aa05965713c62558aeebf2df48e ] commit b96672dd840f ("powerpc: Machine check interrupt is a non- maskable int

Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Jonathan Cameron
On Sun, 11 Nov 2018 23:00:18 +0800 Baolin Wang wrote: > Hi Jonathan, > > On 11 November 2018 at 20:40, Jonathan Cameron wrote: > > On Fri, 9 Nov 2018 11:25:31 +0800 > > Baolin Wang wrote: > > > >> From: Freeman Liu > >> > >> Sometimes the ADC controller met some problems, and it will not c

[PATCH v4] scripts/gdb: fix lx-version string output

2018-11-11 Thread Kieran Bingham
From: Du Changbin A bug is present in GDB which causes early string termination when parsing variables. This has been reported [0], but we should ensure that we can support at least basic printing of the core kernel strings. For current gdb version (has been tested with 7.3 and 8.1), 'lx-version

Re: [PATCH 3.16 000/410] 3.16.57-rc1 review

2018-11-11 Thread Guenter Roeck
On Sun, Nov 11, 2018 at 12:09:03AM +, Ben Hutchings wrote: > On Sat, 2018-06-16 at 22:18 +0100, Ben Hutchings wrote: > > On Fri, 2018-06-08 at 07:14 -0700, Guenter Roeck wrote: > > > On Thu, Jun 07, 2018 at 03:05:20PM +0100, Ben Hutchings wrote: > > > > This is the start of the stable review cy

Price queries

2018-11-11 Thread sinara-group
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 Murray

Re: [PATCH v5 04/15] sched/core: uclamp: add CPU's clamp groups refcounting

2018-11-11 Thread Peter Zijlstra
On Mon, Oct 29, 2018 at 06:32:59PM +, Patrick Bellasi wrote: > +static inline void uclamp_cpu_update(struct rq *rq, unsigned int clamp_id) > +{ > + unsigned int group_id; > + int max_value = 0; > + > + for (group_id = 0; group_id < UCLAMP_GROUPS; ++group_id) { > + if (!r

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-11 Thread Uwe Kleine-König
On Fri, Nov 09, 2018 at 06:23:01PM +0100, Bartosz Golaszewski wrote: > pt., 9 lis 2018 o 18:03 Uwe Kleine-König > napisał(a): > > > > Hello Bartosz, > > > > On Fri, Nov 09, 2018 at 04:24:10PM +0100, Bartosz Golaszewski wrote: > > > pt., 9 lis 2018 o 15:39 Uwe Kleine-König > > > napisał(a): > > >

[GIT PULL] Kbuild fixes for v4.20-rc2

2018-11-11 Thread Masahiro Yamada
Hi Linus, Please pull Kbuild fixes. Thanks! The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbui

Re: [RFC 0/9] ASoC/ARM: Merge the davinci and omap audio directories

2018-11-11 Thread Jarkko Nikula
On 11/8/18 10:37 AM, Peter Ujfalusi wrote: > The series also includes patches to updated the arch/arm/ files (defconfigs, > source files using audio Kconfig symbols). > > I believe with v1 all of this can be merged via ASoC tree as the chances of > conflicts are low for the touched arch/arm files.

Re: [PATCH v5 06/15] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-11-11 Thread Peter Zijlstra
On Mon, Oct 29, 2018 at 06:33:01PM +, Patrick Bellasi wrote: > When a util_max clamped task sleeps, its clamp constraints are removed > from the CPU. However, the blocked utilization on that CPU can still be > higher than the max clamp value enforced while that task was running. > > The releas

Re: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up

2018-11-11 Thread gre...@linuxfoundation.org
On Sun, Nov 11, 2018 at 04:18:03AM +, Dexuan Cui wrote: > > From: gre...@linuxfoundation.org > > Sent: Thursday, November 1, 2018 21:54 > > To: Dexuan Cui > > Cc: Michael Kelley ; KY Srinivasan > > ; linux-kernel@vger.kernel.org; > > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonica

Price Inquiry

2018-11-11 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 Murray

[PATCH v9] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-11-11 Thread Elie Morisse
I2C communication takes place through iomapped registers, or through DMA for more than 32 bytes transfers. MP2 controllers have two separate buses, so may accommodate up to two I2C adapters. Those adapters are listed in the ACPI namespace with the "AMDI0011" HID, and probed by a platform driver.

Re: [PATCH] perf script: share code and output format for uregs and iregs output

2018-11-11 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 09, 2018 at 09:19:45AM +0100, Jiri Olsa escreveu: > On Wed, Nov 07, 2018 at 11:34:37PM +0100, Milian Wolff wrote: > > The iregs output was missing the newline at end as well as the leading > > ABI output. This made it hard to compare the iregs and uregs values. > > Instead, use a single

Re: [PATCH] arm64: disable KASAN for save_trace()

2018-11-11 Thread Mark Rutland
On Sun, Nov 11, 2018 at 08:07:16PM +0800, Zhizhou Zhang wrote: > save_trace() which is called from walk_stackframe() always try to > read/write caller's stack. This results KASAN stack-out-of-bounds > warning. So mute it. The save_trace() function should never perform an out-of-bounds access on th

patch "tools: Add 'firmware' category and add ihex2fw tool" added to char-misc-testing

2018-11-11 Thread gregkh
This is a note to let you know that I've just added the patch titled tools: Add 'firmware' category and add ihex2fw tool to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-testing branch. The patch will sho

Re: [PATCH] ftrace: remove KASAN poison in ftrace_ops_test()

2018-11-11 Thread Mark Rutland
On Sun, Nov 11, 2018 at 11:10:17PM +0800, Zhizhou Zhang wrote: > ftrace_ops_test() passed local varible parameter to hash_contains_ip(), > which could result KASAN stack-out-of-bounds warning. > > Signed-off-by: Zhizhou Zhang > --- > kernel/trace/ftrace.c | 2 ++ > 1 file changed, 2 insertions(+

Re: [PATCH 1/2] perf-bench: Add epoll parallel epoll_wait benchmark

2018-11-11 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 09, 2018 at 01:07:19PM -0800, Davidlohr Bueso escreveu: > On Thu, 08 Nov 2018, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Nov 06, 2018 at 04:13:25PM -0300, Arnaldo Carvalho de Melo escreveu: > > CC /tmp/build/perf/bench/futex-lock-pi.o > > CC /tmp/build/perf/bench/epol

Re: [PATCH v7] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-11-11 Thread Elie Morisse
Hi, In v9 the platform driver defers probe() if no MP2 devices has been registered in the PCI driver yet, is this an acceptable fix? I've found examples of kernel code extracting info from the ACPI namespace (e.g in i2c-core-acpi.c), but this would require adding more code to the driver and AMDI0

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-11 Thread Joel Fernandes
On Sun, Nov 11, 2018 at 07:14:33AM -0800, Andy Lutomirski wrote: [...] > >> I see two reasonable solutions: > >> > >> 1. Don’t fiddle with the struct file at all. Instead make the > >> inode flag > >> work by itself. > > > > Currently, the

Re: [PATCH 1/2] firmware: add nowarn variant of request_firmware_nowait()

2018-11-11 Thread Greg Kroah-Hartman
On Mon, Nov 05, 2018 at 06:02:31PM +0100, Lucas Stach wrote: > Device drivers with optional firmware may still want to use the > asynchronous firmware loading interface. To avoid printing a > warning into the kernel log when the optional firmware is > absent, add a nowarn variant of this interface.

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-11 Thread Genki Sky
Hi Alexander, On Sun, 11 Nov 2018 16:48:38 +0200, Alexander Kapshuk wrote: > Piping the output of the git command to grep and using the return status > of grep as the test condition within the if block, would be sufficient > to determine whether or not '-dirty' should be printed. > > Sample run:

Re: [PATCH 3.16 000/410] 3.16.57-rc1 review

2018-11-11 Thread Ben Hutchings
On Sun, Nov 11, 2018 at 08:23:43AM -0800, Guenter Roeck wrote: > On Sun, Nov 11, 2018 at 12:09:03AM +, Ben Hutchings wrote: > > On Sat, 2018-06-16 at 22:18 +0100, Ben Hutchings wrote: > > > On Fri, 2018-06-08 at 07:14 -0700, Guenter Roeck wrote: > > > > On Thu, Jun 07, 2018 at 03:05:20PM +0100,

Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay

2018-11-11 Thread Mike Brady
> On 6 Nov 2018, at 21:31, Takashi Iwai wrote: > > On Tue, 06 Nov 2018 22:05:11 +0100, > Mike Brady wrote: >> >> >>> On 5 Nov 2018, at 16:11, Takashi Iwai wrote: >>> >>> On Mon, 05 Nov 2018 16:57:07 +0100, >>> Mike Brady wrote: > One another thing I'd like to point out is that th

Re: dyntick-idle CPU and node's qsmask

2018-11-11 Thread Joel Fernandes
On Sat, Nov 10, 2018 at 08:22:10PM -0800, Paul E. McKenney wrote: > On Sat, Nov 10, 2018 at 07:09:25PM -0800, Joel Fernandes wrote: > > On Sat, Nov 10, 2018 at 03:04:36PM -0800, Paul E. McKenney wrote: > > > On Sat, Nov 10, 2018 at 01:46:59PM -0800, Joel Fernandes wrote: > > > > Hi Paul and everyon

[BUG] Nuvoton NCPT650 TPM 2.0 mode not working

2018-11-11 Thread Michael Niewöhner
Hi all, Nuvoton NCPT650 does not work in TPM 2.0 mode with tpm_tis / tpm_i2c_nuvoton while it works in TPM 1.2 mode (I can reflash it via UEFI setup). Kernel version is 4.19.1 Kernel config: $ cat .config | egrep 'TCG|TPM|CRB|_TIS' CONFIG_TCG_TPM=y CONFIG_HW_RANDOM_TPM=y CONFIG_TCG_TIS_CORE=y CO

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