Re: [PATCH 4.19 00/24] 4.19.1-stable review

2018-11-04 Thread Greg Kroah-Hartman
On Sun, Nov 04, 2018 at 09:54:12AM +0530, Naresh Kamboju wrote: > On Sat, 3 Nov 2018 at 00:06, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.19.1 release. > > There are 24 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.14 000/143] 4.14.79-stable review

2018-11-04 Thread Greg Kroah-Hartman
On Sat, Nov 03, 2018 at 11:22:51AM -0700, Guenter Roeck wrote: > On 11/3/18 8:04 AM, Greg Kroah-Hartman wrote: > > On Sat, Nov 03, 2018 at 07:31:42AM -0700, Guenter Roeck wrote: > > > On 11/2/18 11:33 AM, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-04 Thread Geert Uytterhoeven
Hi Josh, On Wed, Oct 24, 2018 at 2:16 PM Josh Triplett wrote: > On Tue, Oct 23, 2018 at 07:26:06AM +1100, NeilBrown wrote: > > On Sun, Oct 21 2018, Josh Triplett wrote: > > > On Mon, Oct 22, 2018 at 08:20:11AM +1100, NeilBrown wrote: > > >> I call on you, Greg: > > >> - to abandon this divisive

Re: [PATCH v2 7/8] Input: olpc_apsp: enable the SP clock

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:25:03, Lubomir Rintel wrote: > Without the clock, the keyboard controller won't operate. > Tested on an OLPC XO 1.75. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 09/11] dt-bindings: spi/spi-pxa2xx: Add ready GPIO signal

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:34, Lubomir Rintel wrote: > This this is used to let the SPI master know that our FIFO is filled and > we're ready to service a transfer. Only useful in slave mode. > > A signal like this is used by an embedded controller on a OLPC XO 1.75 > machine, that happens to be a

Re: [PATCH 05/15] Platform: OLPC: Move OLPC config symbol out of x86 tree

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:50, Lubomir Rintel wrote: > There are ARM OLPC machines that use mostly the same drivers, including > EC infrastructure, DCON and Battery. > > While at that, fix Kconfig to allow building this as a module. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek > ---

Re: [PATCH 03/15] dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC bindings

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:48, Lubomir Rintel wrote: > The OLPC XO-1.75 Embedded Controller is a SPI master that uses extra > signals for handshaking. It needs to know when is the slave (Linux) > side's TX FIFO ready for transfer (the ready-gpio signal on the SPI > controller node) and when does it

Re: [PATCH 04/15] Platform: OLPC: Remove an unused include

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:49, Lubomir Rintel wrote: > Also, the header is x86 specific, while there are non-x86 OLPC machines. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek > --- > drivers/platform/olpc/olpc-ec.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH v2 02/11] PCI: Provide pci_match_id() with CONFIG_PCI=n

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:27, Lubomir Rintel wrote: > This spares drivers from #ifdef-ing on CONFIG_PCI if the driver can be > optionally built on machines without PCI bus. > > Consistent with acpi_driver_match_device() and similar. > > Acked-by: Bjorn Helgaas > Signed-off-by: Lubomir Rintel

Re: [PATCH v2 01/11] dt-bindings: spi/spi-pxa2xx: add PXA2xx SSP SPI Controller

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:26, Lubomir Rintel wrote: > This is the SPI controller found on Marvel MMP2 and perhaps more > platforms. > > Reviewed-by: Rob Herring > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek Rob, do you want to apply this?

Re: [PATCH 07/11] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:32, Lubomir Rintel wrote: > Some drivers, such as spi-pxa2xx return from the transfer_one callback > immediately, idicating that the transfer will be finished asynchronously. > > Normally, spi_transfer_one_message() synchronously waits for the > transfer to finish with

Re: [PATCH 10/15] dt-bindings: olpc_battery: Add XO-1.5 battery

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:55, Lubomir Rintel wrote: > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring Acked-by: Pavel Machek Rob, can you apply? Thanks,

Re: [PATCH 08/15] Platform: OLPC: Move EC-specific functionality out from x86

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:53, Lubomir Rintel wrote: > It is actually plaform independent. Move it to the olpc-ec driver from > the X86 OLPC platform, so that it could be used by the ARM based laptops > too. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english)

[PATCH] mm: mmap: remove unnecessary unlikely()

2018-11-04 Thread Yangtao Li
WARN_ON() already contains an unlikely(), so it's not necessary to use unlikely. Signed-off-by: Yangtao Li --- mm/mmap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index 6c04292e16a7..2077008ade0c 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@

Re: [PATCH v2 1/1] ARM: dts: imx6sx-sdb: Add flexcan support

2018-11-04 Thread Shawn Guo
On Sat, Oct 20, 2018 at 02:35:36AM +, Joakim Zhang wrote: > From: Dong Aisheng > > CAN transceiver is different on RevA and RevB board. > It's active high on RevA while active low on Rev B. > > Signed-off-by: Dong Aisheng > Signed-off-by: Joakim Zhang > --- >

RE: [PATCH 0/8] Detach TPM space code out of the tpm_transmit() flow

2018-11-04 Thread Winkler, Tomas
> Subject: [PATCH 0/8] Detach TPM space code out of the tpm_transmit() flow You forgot to version your posts this should be V2 in the subject, right? Thanks Tomas > Make the changes that are needed to detach TPM space code from > tpm_transmit() flow so that we do no longer need nested

[GIT pull] timer updates for 4.20-rc1

2018-11-04 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus A set of commits for the new C-SKY architecture timers. Thanks, tglx --> Guo Ren (4):

Re: BUG: "do_IRQ: 0.39 No irq handler for vector" from a 16550 port

2018-11-04 Thread Thomas Gleixner
On Fri, 2 Nov 2018, Holger Schurig wrote: > I said that kernel 4.9 doesn't show the issue. The same was for later > kernels up to 4.13. > > I had a compilation issue with 4.14 (which I later solved, something > unrelated with tools/objcopy when compiling for a different > architecture), so I did

Re: [PATCH] DT: marvell,mmp2: fix the gpio interrupt cell number

2018-11-04 Thread Pavel Machek
On Mon 2018-10-08 22:48:50, Lubomir Rintel wrote: > gpio-pxa uses two cell to encode the interrupt source: the pin number > and the trigger type. Adjust the device node accordingly. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek

Re: [PATCH v2 2/8] dt-bindings: olpc,ap-sp: add GPIO lines

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:24:58, Lubomir Rintel wrote: > Add properties describing the GPIO lines used by the keyboard controller. > The olpc-apsp driver will do happily without them, but they are still part > of the hardware description. The driver could still reserve the lines, > so that nothing else

Re: [PATCH v2 3/8] dt-bindings: marvell,mmp2: Add clock id for the SP clock

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:24:59, Lubomir Rintel wrote: > This is the clock for the "security processor" core. > > Reviewed-by: Rob Herring > Acked-by: Stephen Boyd > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 04/11] spi: pxa2xx: Add devicetree support

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:29, Lubomir Rintel wrote: > The MMP2 platform, that uses device tree, has this controller. Let's add > devicetree alongside platform & PCI. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 03/11] spi: pxa2xx: Use an enum for type

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:28, Lubomir Rintel wrote: > That seems to be the correct type. > > Signed-off-by: Lubomir Rintel 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 12/15] power: supply: olpc_battery: Use DT to get battery version

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:57, Lubomir Rintel wrote: > Avoid using the x86 OLPC platform specific call to get the board > version. It won't work on FDT-based ARM MMP2 platform. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Andy Shevchenko Acked-by: Pavel Machek AFAICT, this should go earlier

[PATCH] mm, slab: remove unnecessary unlikely()

2018-11-04 Thread Yangtao Li
WARN_ON() already contains an unlikely(), so it's not necessary to use unlikely. Signed-off-by: Yangtao Li --- mm/slab_common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/slab_common.c b/mm/slab_common.c index 7eb8dc136c1c..4f54684f5435 100644 ---

Re: [PATCH v1] ARM: dts: imx6ul: ccimx6ulsom: Add support for wireless SOM variant

2018-11-04 Thread Shawn Guo
On Mon, Oct 22, 2018 at 11:27:23AM +0200, Alex Gonzalez wrote: > The wireless variants of the ConnecCore 6UL SOM include a Qualcomm > QCA6564 wireless chip with dual WiFi and Bluetooth. > > Both the ConnectCore 6UL SBC Express and Pro boards fit a wireless SOM. > > The Wifi is connected through

Hello

2018-11-04 Thread Joshua Mene
Good day I am Dr. Joshua Mene a banker here in Cotonu Benin Republic, I have a lucrative business transaction for you and it is profitable and risk free. kindly reach me via my private email: me...@rediffmail.com for more details. Thanks Dr. Joshua Mene

Update

2018-11-04 Thread Dr Kannan
Hello dear Greetings to you,I am Dr.Kannan, a personal account manager to Late Engr. Richard Hernandez, who died with his family in the missing Malaysian Air crash of 2014. His account with us is in intestate with no claim his fixed deposit of U$D 7 Million. I have been mandated by the Bank

Re: [PATCH v2 1/8] dt-bindings: olpc,ap-sp: add clock

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:24:57, Lubomir Rintel wrote: > The clock is necessary for the device operation, hence it's required. > Its name, "sp", stands for "Security Processor". It is one of several > names that are used for the processor that serves as the keyboard > controller on an OLPC and is

Re: [PATCH 05/11] DT: marvell,mmp2: Add SSP1 and SSP3

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:30, Lubomir Rintel wrote: > There seem to be SSP2, SSP4 and perhaps SSP5 too, but Marvel keeps their > base addresses secret. > > The SSP1 and SSP3 addresses were taken from OLPC 1.75, OpenFirmware and > kernel respectively. > > Signed-off-by: Lubomir Rintel Acked-by:

Re: [PATCH 06/11] dt-bindings: spi/spi-pxa2xx: Add spi-slave property

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:31, Lubomir Rintel wrote: > This is used to indicate that the chip attached to this controller is a SPI > master. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring Acked-by: Pavel Machek Rob, can you apply this?

Re: [PATCH 11/15] x86, olpc: Use a correct version when making up a battery node

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:56, Lubomir Rintel wrote: > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. Add a different compatible string to the 1.5 > battery. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek > --- >

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-04 Thread Mike Rapoport
On Sat, Nov 03, 2018 at 05:02:36AM -0700, Matthew Wilcox wrote: > On Sat, Nov 03, 2018 at 10:35:04AM +0530, Souptick Joarder wrote: > > Page fault handlers are supposed to return VM_FAULT codes, > > but some drivers/file systems mistakenly return error > > numbers. Now that all drivers/file

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

2018-11-04 Thread Rafael J. Wysocki
On Friday, November 2, 2018 4:39:42 PM CET Doug Smythies wrote: > On 2018.10.26 02:12 Rafael J. Wysocki wrote: > > ...[snip]... Again, thanks a lot for the feedback, it is appreciated very much! > > The v2 is a re-write of major parts of the original patch. > > > > The approach the same in

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

2018-11-04 Thread Rafael J. Wysocki
On Wednesday, October 31, 2018 7:36:21 PM CET Giovanni Gherdovich wrote: > On Fri, 2018-10-26 at 11:12 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki [cut] > > Hello Rafael, Hi Giovanni, First off, many thanks for doing this work, it is very very much appreciated! > your new

Re: [Ksummit-discuss] The linux devs can rescind their license grant.

2018-11-04 Thread Geert Uytterhoeven
On Fri, Oct 26, 2018 at 12:12 AM NeilBrown wrote: > On Thu, Oct 25 2018, Eric S. Raymond wrote: > > Theodore Y. Ts'o : > >> On Thu, Oct 25, 2018 at 03:39:01PM -0400, Eric S. Raymond wrote: > >> > Under Jacobsen vs. Katzer (535 f 3d 1373 fed cir 2008) authors of > >> > GPLed software have a

Re: [PATCH] x86, olpc: Indicate that legacy PC platform should not register RTC

2018-11-04 Thread Pavel Machek
On Thu 2018-10-04 18:08:08, Lubomir Rintel wrote: > On OLPC XO-1 we're discovering the RTC via device tree from the arch > initcall. Don't let the PC platform register another one from its > device initcall, it's not going to work: > > sysfs: cannot create duplicate filename

Re: [PATCH] mmc: core: Allow building PWRSEQ_SD8787 with LIBERTAS_SDIO

2018-11-04 Thread Pavel Machek
On Mon 2018-09-24 10:56:32, Lubomir Rintel wrote: > The sd8686 "libertas" SDIO adapter's power is controlled with WLAN_RST > and WLAN_PD pins -- pretty much the same way as sd8787. Allow building > the power sequencing driver along with the libertas Wi-Fi driver. > > Signed-off-by: Lubomir Rintel

Re: [PATCH] dt-bindings: Add OLPC vendor prefix

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 18:38:24, Lubomir Rintel wrote: > One Laptop Per Child is a non-profit that produced the XO series of > eductional laptops for children. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH v2 5/8] Input: olpc_apsp: depend on CONFIG_OF

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:25:01, Lubomir Rintel wrote: > This is a device-tree enabled driver. Moreover CONFIG_OLPC is specific > to the x86 platform code, while the driver is for an ARM-based laptop. > > Signed-off-by: Lubomir Rintel > --- > drivers/input/serio/Kconfig | 2 +- > 1 file changed, 1

Re: [PATCH v2 4/8] clk: mmp2: add SP clock

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:25:00, Lubomir Rintel wrote: > The "security processor", sometimes referred to as "wireless trusted > module" or "generic encrypt unit" is a low-power core present on MMP2, > that has nothing to do with security, wireless, trust or encryption. > > On an OLPC machine it runs

Re: [PATCH 11/11] spi: pxa2xx: Deal with the leftover garbage in TXFIFO

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:36, Lubomir Rintel wrote: > There doesn't seem to be a way to empty TXFIFO on MMP2. The datasheet is > super-secret and the method described in Armada 16x manual won't work: > > "The TXFIFO and RXFIFO are cleared to 0b0 when the SSPx port is reset or > disabled (by

Re: [PATCH 07/15] Platform: OLPC: Avoid a warning if the EC didn't register yet

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:22:52, Lubomir Rintel wrote: > Just return ENODEV, so that whoever attempted to use the EC call can > defer their work. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek > --- > drivers/platform/olpc/olpc-ec.c | 7 +-- > 1 file changed, 5 insertions(+), 2

GOOD DAY

2018-11-04 Thread Bukky Sandra
GOOD DAY WELCOME TO THE GREAT TEMPLE OF RICHES AND FAME. Are you a business, Man, politician, musical, student and you. want to be rich, powerful and be famous in life. You can achieve your dreams by being a member of the Great illuminati brother hood. With this all your dreams and heart desire

Re: [PATCH V1 1/4] ARM: dts: imx6sx: Add flexcan stop mode wakeup support

2018-11-04 Thread Shawn Guo
On Tue, Oct 23, 2018 at 05:30:44AM +, Joakim Zhang wrote: > From: Dong Aisheng > > Add stop-mode property which is required by stop mode wakeup > feature. > > Signed-off-by: Dong Aisheng > Signed-off-by: Joakim Zhang > --- > arch/arm/boot/dts/imx6sx.dtsi | 2 ++ > 1 file changed, 2

Re: [PATCH V1] ARM: dts: sabreauto: Remove reg property from fixed regulator

2018-11-04 Thread Shawn Guo
On Wed, Oct 24, 2018 at 10:25:12AM +, Joakim Zhang wrote: > Remove reg property from fixed regulator as upstream has no longer > needed this property. Prefix 'ARM: dts: imx6qdl-sabreauto: ...' should be more accurate. And the 'reg' property was there only because we have a fake bus container

Re: Will the recent memory leak fixes be backported to longterm kernels?

2018-11-04 Thread Mike Rapoport
On Fri, Nov 02, 2018 at 12:01:22PM -0400, Sasha Levin wrote: > On Fri, Nov 02, 2018 at 02:45:42AM +, Dexuan Cui wrote: > >>From: Roman Gushchin > >>Sent: Thursday, November 1, 2018 17:58 > >> > >>On Fri, Nov 02, 2018 at 12:16:02AM +, Dexuan Cui wrote: > >>Hello, Dexuan! > >> > >>A couple

Re: [PATCH v2 8/8] Input: olpc_apsp: allocate the GPIOs used

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 16:25:04, Lubomir Rintel wrote: > Take the GPIO lines are used by the SP. The driver doesn't touch the > lines -- this is done to disallow anything else from fiddling with > them because that would confuse the SP firmware. > > Also, the lines are now nicely visible in

Re: [PATCH 08/11] spi: pxa2xx: Add slave mode support

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:33, Lubomir Rintel wrote: > Tested on an OLPC XO-1.75 machine, where the Embedded Controller happens > to be a SPI master. > > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 10/11] spi: pxa2xx: Add ready signal

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:35, Lubomir Rintel wrote: > Strobe a GPIO line when the slave TX FIFO is filled. This is how the > Embedded Controller on an OLPC XO-1.75 machine, that happens to be a SPI > master, learns that it can initiate a transaction. > > Signed-off-by: Lubomir Rintel Acked-by:

[PATCH] SoC: nau8825: remove unnecessary unlikely()

2018-11-04 Thread Yangtao Li
WARN_ON() already contains an unlikely(), so it's not necessary to use unlikely. Signed-off-by: Yangtao Li --- sound/soc/codecs/nau8825.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/codecs/nau8825.c b/sound/soc/codecs/nau8825.c index

Re: [PATCH v3 1/4] clk: qcom: gdsc: Add support to enable/disable the clocks with GDSC

2018-11-04 Thread Stephen Boyd
Quoting Amit Nischal (2018-08-12 23:33:04) > For some of the GDSCs, there is a requirement to enable/disable the > few clocks before turning on/off the gdsc power domain. Add support > for the same by specifying a list of clk_hw pointers per gdsc and > enable/disable them along with power domain

RE: [RFC v4 0/2] WhiteEgret LSM module

2018-11-04 Thread shinya1.takumi
Steve Kemp wrote: > This is an interesting idea, and an evolution since the initial > approach which was submitted based upon xattr attributes. I still > find the idea of using attributes simpler to manage though, since > they're easy to add, and audit for. > > I suspect the biggest objection

Re: [PATCH 4/6] mm: introduce page->dma_pinned_flags, _count

2018-11-04 Thread John Hubbard
On 10/13/18 9:47 AM, Christoph Hellwig wrote: > On Sat, Oct 13, 2018 at 12:34:12AM -0700, John Hubbard wrote: >> In patch 6/6, pin_page_for_dma(), which is called at the end of >> get_user_pages(), >> unceremoniously rips the pages out of the LRU, as a prerequisite to using >> either of the

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

2018-11-04 Thread John Hubbard
On 10/22/18 12:43 PM, Jason Gunthorpe wrote: > On Thu, Oct 11, 2018 at 06:23:24PM -0700, John Hubbard wrote: >> On 10/11/18 6:20 AM, Jason Gunthorpe wrote: >>> On Thu, Oct 11, 2018 at 10:49:29AM +0200, Jan Kara wrote: >>> > This is a real worry. If someone uses a mistaken put_page() then how

[PATCH v7 6/6] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-11-04 Thread Baolin Wang
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support, which is used to calculate the battery capacity. Original-by: Yuanjiang Yu Signed-off-by: Baolin Wang Acked-by: Linus Walleij --- Changes from v6: - Use DIV_ROUND_CLOSEST macro to simplify code. Changes from v5: - Save

[PATCH v7 2/6] power: supply: core: Add one field to present the battery internal resistance

2018-11-04 Thread Baolin Wang
Add one field for 'struct power_supply_battery_info' to present the battery factory internal resistance. Signed-off-by: Baolin Wang Reviewed-by: Linus Walleij --- Changes from v6: - None. Changes from v5: - None. Changes from v4: - None. Changes from v3: - New patch in v3, which splits

[PATCH v7 1/6] dt-bindings: power: Introduce one property to present the battery internal resistance

2018-11-04 Thread Baolin Wang
The internal resistance of a battery is not a constant in its life cycle, this varies over the age of the battery or temperature and so on. But we just want use one constant battery internal resistance to estimate the battery capacity. Thus this patch introduces one property to present the battery

Re: [PATCH] kbuild: rpm-pkg: fix two build breaks when O= is used

2018-11-04 Thread Masahiro Yamada
Hi Zhenzhong, On Fri, Nov 2, 2018 at 8:26 PM Zhenzhong Duan wrote: > > Running 'make O=/build/kernel binrpm-pkg' failed with below two errors. > > Makefile:600: include/config/auto.conf: No such file or directory > > + cp make -C /mnt/root/kernel O=/build/kernel image_name make -f >

linux-next: Tree for Nov 5

2018-11-04 Thread Stephen Rothwell
Hi all, Changes since 20181102: Non-merge commits (relative to Linus' tree): 418 585 files changed, 22874 insertions(+), 5819 deletions(-) I have created today's linux-next tree at

Re: [PATCH v2] x86/build: Build VSMP support only if CONFIG_PCI is selected

2018-11-04 Thread Eial Czerwacki
Greetings Thomas, On 11/04/2018 11:05 PM, Thomas Gleixner wrote: > Eial, > > On Thu, 1 Nov 2018, Eial Czerwacki wrote: > >> Subject: x86/build: Build VSMP support only if CONFIG_PCI is selected > > That's not what the patch does, right? > you are correct, I'll resend it with a more

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

2018-11-04 Thread John Hubbard
On 10/18/18 3:19 AM, Jan Kara wrote: > On Thu 11-10-18 20:53:34, John Hubbard wrote: >> On 10/11/18 6:23 PM, John Hubbard wrote: >>> On 10/11/18 6:20 AM, Jason Gunthorpe wrote: On Thu, Oct 11, 2018 at 10:49:29AM +0200, Jan Kara wrote: [...] > Well, put_page() cannot assert page is not

[PATCH 0/2] perf intel-pt: Add more information to debug log

2018-11-04 Thread Adrian Hunter
Hi Here is a couple of small patches to add more information to the Intel PT debug log. Adrian Hunter (2): perf intel-pt: Add more event information to debug log perf intel-pt: Add MTC and CYC timestamps to debug log tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 4

[PATCH v4 4/8] iommu/vt-d: Attach/detach domains in auxiliary mode

2018-11-04 Thread Lu Baolu
When multiple domains per device has been enabled by the device driver, the device will tag the default PASID for the domain to all DMA traffics out of the subset of this device; and the IOMMU should translate the DMA requests in PASID granularity. This extends the

[PATCH] kbuild: rpm-pkg: fix binrpm-pkg breakage when O= is used

2018-11-04 Thread Masahiro Yamada
Zhenzhong Duan reported that running 'make O=/build/kernel binrpm-pkg' failed with the following errors: Running 'make O=/build/kernel binrpm-pkg' failed with below two errors. Makefile:600: include/config/auto.conf: No such file or directory + cp make -C /mnt/root/kernel O=/build/kernel

[PATCH v2] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-11-04 Thread Boris Brezillon
Enabling -Wvla found another variable-length array with randconfig testing: drivers/mtd/maps/sa1100-flash.c: In function 'sa1100_setup_mtd': drivers/mtd/maps/sa1100-flash.c:224:10: error: ISO C90 forbids variable length array 'cdev' [-Werror=vla] Dynamically allocate the cdev array passed to

Re: [PATCH] Revert "kbuild: add --include-dir flag only for out-of-tree build"

2018-11-04 Thread Masahiro Yamada
Hi Ard, On Sun, Nov 4, 2018 at 5:15 AM Ard Biesheuvel wrote: > > This reverts commit 80463f1b7bf9f822fd3495139bcf3ef254fdca10, because > it breaks the bindeb-pkg build target in the following way: > > ... > LD [M] sound/soc/rockchip/snd-soc-rk3399-gru-sound.ko > LD [M]

Re: perf script doesn't dump a normal call trace

2018-11-04 Thread Xin Long
On Mon, Nov 5, 2018 at 4:18 AM Jiri Olsa wrote: > > On Sat, Nov 03, 2018 at 06:36:21PM +0900, Xin Long wrote: > > On Fri, Nov 2, 2018 at 7:26 PM Jiri Olsa wrote: > > > > > > On Fri, Nov 02, 2018 at 03:36:13PM +0900, Xin Long wrote: > > > > On upstream kernel(4.19) or RHEL-8 kernel(4.18.0): > > >

[LKP] [xarray] 0e9446c35a: WARNING:at_include/linux/xarray.h:#xa_mk_value

2018-11-04 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: 0e9446c35a80931044b6d8d2d74a9cabd248539f ("xarray: Add range store functionality") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity with following parameters: runtime: 300s

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

2018-11-04 Thread Chen-Yu Tsai
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, > > > > > > On Sun, Oct 28, 2018 at 03:40:11PM +, Jonathan Cameron wrote: > > > > On

[tip:sched/urgent] sched/fair: Fix a comment in task_numa_fault()

2018-11-04 Thread tip-bot for Yi Wang
Commit-ID: e1ff516a56ad56c476b47795d3811eef79d25fbe Gitweb: https://git.kernel.org/tip/e1ff516a56ad56c476b47795d3811eef79d25fbe Author: Yi Wang AuthorDate: Mon, 5 Nov 2018 08:50:13 +0800 Committer: Ingo Molnar CommitDate: Mon, 5 Nov 2018 07:03:59 +0100 sched/fair: Fix a comment in

Re: [PATCH] s390: numa: Export __node_distance

2018-11-04 Thread Martin Schwidefsky
On Sun, 4 Nov 2018 13:28:06 -0800 Guenter Roeck wrote: > __node_distance is used by nvme, resulting in: > > ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! > > when trying to build nvme as module. > > Fixes: f333444708f8 ("nvme: take node locality into account when

ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!

2018-11-04 Thread kbuild test robot
Hi Matias, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 651022382c7f8da46cb4872a545ee1da6d097d2a commit: 73569e11032fc5a9b314b6351632cfca7793afd5 lightnvm: remove dependencies on BLK_DEV_NVME and PCI date: 4

[PATCH 2/4] PM / Domains: Save OPP table pointer in genpd

2018-11-04 Thread Viresh Kumar
We will need these going forward in hotpath, i.e. from within dev_pm_genpd_set_performance_state(). Lets fetch and save them while the OPP tables are added. Signed-off-by: Viresh Kumar --- drivers/base/power/domain.c | 23 +-- include/linux/pm_domain.h | 2 ++ 2 files

Re: [PATCH v3 4/4] clk: qcom: Add graphics clock controller driver for SDM845

2018-11-04 Thread Stephen Boyd
Quoting Amit Nischal (2018-08-12 23:33:07) > + > +static int gpu_cc_sdm845_probe(struct platform_device *pdev) > +{ > + struct regmap *regmap; > + unsigned int value, mask; > + int ret; > + > + regmap = qcom_cc_map(pdev, _cc_sdm845_desc); > + if (IS_ERR(regmap)) > +

[PATCH 0/4] PM / Domains: Allow performance state propagation

2018-11-04 Thread Viresh Kumar
Hi, This series adds performance state propagation support in genpd core. The propagation happens from the sub-domains to their masters. More details can be found in the individual commit logs. This is tested on hikey960 by faking power domains in such a way that the CPU devices have two power

[PATCH 1/4] OPP: Add dev_pm_opp_xlate_performance_state() helper

2018-11-04 Thread Viresh Kumar
Introduce a new helper dev_pm_opp_xlate_performance_state() which will be used to translate from pstate of a device to another one. Initially this will be used by genpd to find pstate of a master domain using its sub-domain's pstate. Signed-off-by: Viresh Kumar --- drivers/opp/core.c | 49

[PATCH 3/4] PM / Domains: Factorize dev_pm_genpd_set_performance_state()

2018-11-04 Thread Viresh Kumar
Separate out _genpd_set_performance_state() and _genpd_reeval_performance_state() from dev_pm_genpd_set_performance_state() to handle performance state update related stuff. This will be used by a later commit. Signed-off-by: Viresh Kumar --- drivers/base/power/domain.c | 104

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-11-04 Thread Vincent Chen
On Fri, Nov 02, 2018 at 01:48:57AM +0800, Karsten Merker wrote: > On Wed, Oct 31, 2018 at 10:27:05AM -0700, Palmer Dabbelt wrote: > > On Wed, 31 Oct 2018 04:16:10 PDT (-0700), a...@brainfault.org wrote: > > > On Wed, Oct 31, 2018 at 4:06 PM Vincent Chen > > > wrote: > > > > > > > > RISC-V

Re: [PATCH v1 2/2] x86/hyperv: make HvNotifyLongSpinWait hypercall

2018-11-04 Thread Yi Sun
On 18-11-01 08:59:08, Waiman Long wrote: > On 10/31/2018 11:20 PM, Yi Sun wrote: > > On 18-10-31 18:15:39, Peter Zijlstra wrote: > >> On Wed, Oct 31, 2018 at 11:07:22AM -0400, Waiman Long wrote: > >>> On 10/31/2018 10:10 AM, Peter Zijlstra wrote: > On Wed, Oct 31, 2018 at 09:54:17AM +0800, Yi

[PATCH v7 4/6] power: supply: core: Add some helpers to use the battery OCV capacity table

2018-11-04 Thread Baolin Wang
We have introduced some battery properties to present the OCV table temperatures and OCV capacity table values. Thus this patch add OCV temperature and OCV table for battery information, as well as providing some helper functions to use the OCV capacity table for users. Signed-off-by: Baolin Wang

[PATCH v7 5/6] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-11-04 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs fuel gauge unit device, which is used to calculate the battery capacity. Signed-off-by: Baolin Wang Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- Changes from v6: - None. Changes from v5: - None. Changes

[PATCH 1/2] perf intel-pt: Add more event information to debug log

2018-11-04 Thread Adrian Hunter
More event information is useful for debugging, especially MMAP events. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-log.c | 5 + tools/perf/util/intel-pt-decoder/intel-pt-log.h | 1 + tools/perf/util/intel-pt.c | 16 +--- 3

[PATCH 2/2] perf intel-pt: Add MTC and CYC timestamps to debug log

2018-11-04 Thread Adrian Hunter
One cause of decoding errors is un-synchronized side-band data. Timestamps are needed to debug such cases. TSC packet timestamps are logged. Log also MTC and CYC timestamps. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 4 1 file changed, 4

[PATCH v7 3/6] dt-bindings: power: Introduce properties to present the battery OCV capacity table

2018-11-04 Thread Baolin Wang
Some battery driver will use the open circuit voltage (OCV) value to look up the corresponding battery capacity percent in one certain degree Celsius. Thus this patch provides some battery properties to present the OCV table temperatures and OCV capacity table values. Suggested-by: Sebastian

Re: [PATCH 4.18 093/150] rds: RDS (tcp) hangs on sendto() to unresponding address

2018-11-04 Thread Ka-Cheong Poon
On 11/3/18 2:34 AM, Greg Kroah-Hartman wrote: 4.18-stable review patch. If anyone has any objections, please let me know. This patch has a problem. I am working on a fix for that. Please do not include it in the stable release. Thanks. -- [ Upstream commit

[PATCH] kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used

2018-11-04 Thread Masahiro Yamada
Ard Biesheuvel reports bindeb-pkg with O= option is broken in the following way: ... LD [M] sound/soc/rockchip/snd-soc-rk3399-gru-sound.ko LD [M] sound/soc/rockchip/snd-soc-rockchip-pcm.ko LD [M] sound/soc/rockchip/snd-soc-rockchip-rt5645.ko LD [M]

linux-next: Signed-off-by missing for commit in the cifs tree

2018-11-04 Thread Stephen Rothwell
Hi all, Commit bf4d4ba7d970 ("cifs: update internal module version number for cifs.ko") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpwC0LnYhEkJ.pgp Description: OpenPGP digital signature

[tip:x86/urgent] Documentation/x86: Fix typo in zero-page.txt

2018-11-04 Thread tip-bot for Randy Dunlap
Commit-ID: b068621a53f92f42400581d69ad0e84c56620b0a Gitweb: https://git.kernel.org/tip/b068621a53f92f42400581d69ad0e84c56620b0a Author: Randy Dunlap AuthorDate: Sun, 4 Nov 2018 14:03:56 -0800 Committer: Ingo Molnar CommitDate: Mon, 5 Nov 2018 07:05:45 +0100 Documentation/x86: Fix typo

Re: [PATCH] s390: numa: Export __node_distance

2018-11-04 Thread Heiko Carstens
On Sun, Nov 04, 2018 at 01:28:06PM -0800, Guenter Roeck wrote: > __node_distance is used by nvme, resulting in: > > ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! > > when trying to build nvme as module. > > Fixes: f333444708f8 ("nvme: take node locality into account when

[tip:core/urgent] resource/docs: Fix new kernel-doc warnings

2018-11-04 Thread tip-bot for Randy Dunlap
Commit-ID: f75d651587f719a813ebbbfeee570e6570731d55 Gitweb: https://git.kernel.org/tip/f75d651587f719a813ebbbfeee570e6570731d55 Author: Randy Dunlap AuthorDate: Sun, 4 Nov 2018 18:40:14 -0800 Committer: Ingo Molnar CommitDate: Mon, 5 Nov 2018 07:05:04 +0100 resource/docs: Fix new

Re: [PATCH 1/2] mm: use kvzalloc for swap_info_struct allocation

2018-11-04 Thread Aaron Lu
On Mon, Nov 05, 2018 at 07:59:13AM +0300, Vasily Averin wrote: > > > On 11/5/18 3:50 AM, Huang, Ying wrote: > > Vasily Averin writes: > > > >> commit a2468cc9bfdf ("swap: choose swap device according to numa node") > >> increased size of swap_info_struct up to 44 Kbytes, now it requires > >>

[PATCH 4/4] PM / Domains: Propagate performance state updates

2018-11-04 Thread Viresh Kumar
This commit updates genpd core to start propagating performance state updates to master domains that have their set_performance_state() callback set. A genpd handles two type of performance states now. The first one is the performance state requirement put on the genpd by the devices and

Re: [PATCH] mm: mmap: remove unnecessary unlikely()

2018-11-04 Thread Michal Hocko
On Sun 04-11-18 07:44:56, Yangtao Li wrote: > WARN_ON() already contains an unlikely(), so it's not necessary to use > unlikely. We should just get rid of this ugliness altogether. It no longer serves its purpose. This is a historical artifact from 2005 where do_brk was called outside of the

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-11-04 Thread Christoph Hellwig
On Mon, Nov 05, 2018 at 02:58:07PM +0800, Vincent Chen wrote: > Many thanks for kinds of comments. I quickly synthesize the comments and > list them as below. > 1. The kernel image shall include all vendor-specific code. I fundamentally disagree with this… and think it should be the contrary. 1.

With due respect

2018-11-04 Thread Mr Ahmed Hassan
Dear Friend, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of $11.3million

[PATCH] net: skbuff.h: remove unnecessary unlikely()

2018-11-04 Thread Yangtao Li
WARN_ON() already contains an unlikely(), so it's not necessary to use unlikely. Signed-off-by: Yangtao Li --- include/linux/skbuff.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 0ba687454267..7dcfb5591dc3 100644

[PATCH AUTOSEL 4.19 02/57] mm: thp: fix mmu_notifier in migrate_misplaced_transhuge_page()

2018-11-04 Thread Sasha Levin
From: Andrea Arcangeli [ Upstream commit 7066f0f933a1fd707bb38781866657769cff7efc ] change_huge_pmd() after arming the numa/protnone pmd doesn't flush the TLB right away. do_huge_pmd_numa_page() flushes the TLB before calling migrate_misplaced_transhuge_page(). By the time

[PATCH AUTOSEL 4.19 03/57] mm: calculate deferred pages after skipping mirrored memory

2018-11-04 Thread Sasha Levin
From: Pavel Tatashin [ Upstream commit d3035be4ce2345d98633a45f93a74e526e94b802 ] update_defer_init() should be called only when struct page is about to be initialized. Because it counts number of initialized struct pages, but there we may skip struct pages if there is some mirrored memory. So

[PATCH AUTOSEL 4.19 12/57] powerpc/mm: Fix page table dump to work on Radix

2018-11-04 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit 0d923962ab69c27cca664a2d535e90ef655110ca ] When we're running on Book3S with the Radix MMU enabled the page table dump currently prints the wrong addresses because it uses the wrong start address. Fix it to use PAGE_OFFSET rather than KERN_VIRT_START.

  1   2   3   4   5   6   7   8   9   >