Re: [PATCH] staging: comedi: cb_pcidas64 fixed '(' coding style issue

2018-08-25 Thread Dan Carpenter
On Sat, Aug 25, 2018 at 02:07:01AM +0300, GuyLuz wrote: > From: Guy Luz > > Fixed a Lines should not end with a '(' issue. > > Signed-off-by: Guy Luz > --- > drivers/staging/comedi/drivers/cb_pcidas64.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/s

Re: [PATCH] staging: comedi: drivers: adl_pci9118: Fixes format of line 1283.

2018-08-25 Thread Dan Carpenter
On Fri, Aug 24, 2018 at 11:06:56PM +0200, Sven Luthi wrote: > Checkpatch repored "Lines should not end with a '('" for line 1283. > > Moved opening parenthesis of function on line 1283 onto next line. > > Signed-off-by: Sven Luthi > --- > drivers/staging/comedi/drivers/adl_pci9118.c | 4 ++-- >

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-25 Thread Sai Prakash Ranjan
On 8/24/2018 8:59 PM, Kees Cook wrote: On Fri, Aug 24, 2018 at 7:45 AM, Sai Prakash Ranjan wrote: read/write{b,w,l,q} are typically used for reading from memory mapped registers, which can cause hangs if accessed unclocked. Tracing these events can help in debugging various issues faced during

microblaze-linux-objcopy: 'net//tipc/.tmp_mx_bearer.o': No such file

2018-08-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0519359784328bfa92bf0931bf0cff3b58c16932 commit: 0fbe9a245c60bedebb6dd329966f463bb724450a microblaze: add endianness options to LDFLAGS instead of LD date: 4 weeks ago config: microblaze-allyesconfig (atta

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-25 Thread Baolin Wang
On 25 August 2018 at 04:44, Jacek Anaszewski wrote: > On 08/24/2018 10:12 PM, Pavel Machek wrote: >> On Fri 2018-08-24 21:49:50, Jacek Anaszewski wrote: >>> Hi Pavel, >>> >>> On 08/24/2018 12:11 PM, Pavel Machek wrote: Hi! > I think that it would be more flexible if software pattern

Re: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 15:14:39 -0700 Matthias Kaehlcke wrote: > On Sun, Aug 19, 2018 at 05:54:52PM +0100, Jonathan Cameron wrote: > > On Fri, 10 Aug 2018 12:47:02 -0700 > > Matthias Kaehlcke wrote: > > > > > Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of > > > rev2 ADC cha

Re: [PATCH 1/3] iio: adxl372: Provide validate_trigger and validate_device callbacks

2018-08-25 Thread Jonathan Cameron
On Mon, 20 Aug 2018 17:37:08 +0100 ji...@kernel.org wrote: > On 20.08.2018 16:47, Lars-Peter Clausen wrote: > > On 08/20/2018 04:53 PM, Stefan Popa wrote: > >> This patch provides a validate_device callback for the trigger which > >> makes > >> sure that other devices are rejected. > >> > >> S

Re: [PATCH 2/3] iio:adxl372: Add sampling frequency support

2018-08-25 Thread Jonathan Cameron
On Mon, 20 Aug 2018 17:54:27 +0300 Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via the > write_raw func

Re: [PATCH 3/3] iio:adxl372: Add filter bandwidth support

2018-08-25 Thread Jonathan Cameron
On Mon, 20 Aug 2018 17:54:55 +0300 Stefan Popa wrote: > This patch adds the option for the user to select the filter bandwidth. The > user can also read the available bandwidths which are always adjusted to be > at most half of the sampling frequency. Furthermore, the currently selected > bandwid

Re: [PATCH v2 1/3] iio: dac: add support for ltc1660

2018-08-25 Thread Jonathan Cameron
On Tue, 21 Aug 2018 21:31:24 +0200 Marcus Folkesson wrote: > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter > (DAC) with eight individual channels. > > Signed-off-by: Marcus Folkesson Great. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to pl

Re: [PATCH v2 2/3] dt-bindings: iio: dac: add bindings for ltc1660

2018-08-25 Thread Jonathan Cameron
On Wed, 22 Aug 2018 21:25:18 +0200 Marcus Folkesson wrote: > On Tue, Aug 21, 2018 at 09:31:25PM +0200, Marcus Folkesson wrote: > > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) > > with eight individual channels. > > > > Signed-off-by: Marcus Folkesson > > Rob, sorry I miss

Re: [PATCH v2 3/3] MAINTAINERS: add entry for ltc1660 DAC driver

2018-08-25 Thread Jonathan Cameron
On Tue, 21 Aug 2018 21:31:26 +0200 Marcus Folkesson wrote: > Add entry for ltc1660 DAC driver and add myself as > maintainer of this driver. > > Signed-off-by: Marcus Folkesson Applied. Thanks, Jonathan > --- > > Notes: > v2: > - rename enumerated files, ltc166x* -> ltc1660* > >

Re: [PATCH] iio: light: isl29501: Simplify code to kill compiler warning

2018-08-25 Thread Jonathan Cameron
On Thu, 23 Aug 2018 23:24:35 +0200 Geert Uytterhoeven wrote: > With gcc 4.1.2: > > drivers/iio/proximity/isl29501.c: In function ‘isl29501_register_write’: > drivers/iio/proximity/isl29501.c:235: warning: ‘msb’ may be used > uninitialized in this function > > While this is a false posi

[GIT PULL] UBIFS fix for 4.19-rc1

2018-08-25 Thread Richard Weinberger
Linus, The following changes since commit 99a24e02ccf6604e3020cf9e2c7a042b6ebb655f: ubifs: Set default assert action to read-only (2018-08-15 00:25:22 +0200) are available in the Git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-4.19-rc1-fix for you to fetch changes

Re: [PATCH 1/2] iio: adc: sc27xx: Add raw data support

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 17:53:15 +0800 Baolin Wang wrote: > The headset device will use channel 20 of ADC controller to detect events, > but it needs the raw ADC data to do conversion according to its own formula. > > Thus we should configure the channel mask separately and configure channel > 20 as

I NEED A TRUSTWORTHY PARTNER.

2018-08-25 Thread SIMON KAFANDO
-- Dear Friend, Greetings! I am confidence you are good with your family. Please may I request your urgent assistance in transferring the sum of ($10.7M) to your account? It is 100% risk free and you will receive 35% of the total sum for your kind assistance. On confirmation

Re: [PATCH 2/2] iio: adc: sc27xx: Add ADC scale calibration

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 17:53:16 +0800 Baolin Wang wrote: > This patch adds support to read calibration values from the eFuse > controller to calibrate the ADC channel scales, which can make ADC > sample data more accurate. > > Signed-off-by: Baolin Wang This looks good to me. I'll leave it for no

[PATCH] gpio: pxa: handle corner case of unprobed device

2018-08-25 Thread Robert Jarzmik
In the corner case where the gpio driver probe fails, for whatever reason, the suspend and resume handlers will still be called as they have to be registered as syscore operations. This applies as well when no probe was called while the driver has been built in the kernel. Nicolas tracked this in

[PATCH v9] ASoC: pxa: switch to new ac97 bus support

2018-08-25 Thread Robert Jarzmik
Switch to the new ac97 bus support in sound/ac97 instead of the legacy snd_ac97 one. Signed-off-by: Robert Jarzmik --- Since v8: fixed the trivial compilation error v7 was in https://patchwork.kernel.org/patch/9951919/ --- sound/arm/Kconfig | 1 - sound/soc/pxa/Kconfig

Re: [PATCH] iio: dac: mcp4922: fix error handling in mcp4922_write_raw

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 22:24:40 +0200 Marcus Folkesson wrote: > Do not try to write negative values and make sure that the write goes well. > +CC Michael as it's his driver. I'll take this as it 'appears' straight forward but I won't be pushing it out as a non rebasing branch for a few days if I'v

Re: [PATCH] iio: dac: ti-dac5571: make vref regulator optional

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 22:24:47 +0200 Marcus Folkesson wrote: > The `vref` regulator is declared as optional in the device-tree binding, > but the driver does require it. > > Go for the device-tree binding and make the `vref` regulator optional. > > Signed-off-by: Marcus Folkesson Hmm. If you do

Re: [PATCH] iio: dac: ti-dac5571: provide of_match_table to driver

2018-08-25 Thread Jonathan Cameron
On Fri, 24 Aug 2018 22:24:59 +0200 Marcus Folkesson wrote: > Use the created list of of_device_id's as a match table. > > Signed-off-by: Marcus Folkesson Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Technically this isn't a regression

Disabling CPU vulnerabilities workarounds

2018-08-25 Thread Artem S. Tashkinov
Hello LKML, As time goes by more and more fixes of Intel/AMD/ARM CPUs vulnerabilities are added to the Linux kernel without a simple way to disable them all in one fell swoop. Disabling is a good option for strictly confined environments where no 3d party untrusted code is ever to be run, e.

Re: [PATCH] cpuidle: menu: Retain tick when shallow state is selected

2018-08-25 Thread Rafael J. Wysocki
On Fri, Aug 24, 2018 at 5:52 PM Doug Smythies wrote: > > On 2018.08.24 02:44 Rafael J. Wysocki wrote: > > On Tuesday, August 21, 2018 10:44:10 AM CEST Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> The case addressed by commit 5ef499cd571c (cpuidle: menu: Handle > >> stopped tick

[PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Andi Kleen
From: Andi Kleen Patch for stable only to fix boot resets caused by the L1TF patches. Stable trees reverted the following patch Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers" This reverts commit 87e2bd898d3a79a8c609f183180adac47879a2a4 which is commit edc3b9129ce

Re: [PATCHv2 2/2] phy:phy-lantiq-rcu-usb2: Use PTR_ERR_OR_ZERO to replace the open coded version

2018-08-25 Thread Hauke Mehrtens
On 08/16/2018 05:58 PM, zhong jiang wrote: > PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So > just replace them rather than duplicating its implement. > > Signed-off-by: zhong jiang Acked-by: Hauke Mehrtens > --- > drivers/phy/lantiq/phy-lantiq-rcu-usb2.c | 4 +--- > 1 f

Re: [PATCH] MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3

2018-08-25 Thread Hauke Mehrtens
On 08/19/2018 09:20 PM, Tuomas Tynkkynen wrote: > Setting GPIO 21 high seems to be required to enable power to USB ports > on the WNDR3400v3. As there is already similar code for WNR3500L, > make the existing USB power GPIO code generic and use that. > > Signed-off-by: Tuomas Tynkkynen I didn

TRADING ACCOUNT

2018-08-25 Thread KELLY ALAN
Dear sir , I KELLY ALAN purchasing and sales manager of CFM INTERNATIONAL .Our Company specialised in Supplying computer hardware and Electronic .We want to extend our supplier list because of concurrency in prices on the international market. We are seeking a supplier with whom we can to h

Re: [PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Greg KH
On Sat, Aug 25, 2018 at 06:50:15AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Patch for stable only to fix boot resets caused by the L1TF patches. > > Stable trees reverted the following patch > > Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers" > > This reverts c

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-25 Thread Emmanuel Vadot
Hi, On Fri, 24 Aug 2018 16:03:40 -0700 Eduardo Valentin wrote: > On Fri, Aug 24, 2018 at 09:59:21PM +0200, Emmanuel Vadot wrote: > > > > Hi, > > > > On Fri, 24 Aug 2018 16:58:40 +0200 > > Maxime Ripard wrote: > > > > > Hi, > > > > > > On Mon, Aug 20, 2018 at 04:27:15PM +0200, Emmanuel V

[GIT PULL] more Kbuild updates for v4.19

2018-08-25 Thread Masahiro Yamada
Hi Linus, Please pull more Kbuild updates. Thanks. The following changes since commit ad1d69735878a6bf797705b5d2a20316d35e1113: Merge tag 'fuse-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (2018-08-21 18:47:36 -0700) are available in the git repository at:

[PATCH] pinctrl: ingenic: Fix group & function error checking

2018-08-25 Thread Paul Burton
Commit a203728ac6bb ("pinctrl: core: Return selector to the pinctrl driver") and commit f913cfce4ee4 ("pinctrl: pinmux: Return selector to the pinctrl driver") modified the return values of pinctrl_generic_add_group() and pinmux_generic_add_function() respectively, but did so without updating their

Re: [RFC PATCH] compiler.h: give up __compiletime_assert_fallback()

2018-08-25 Thread Masahiro Yamada
Hi Daniel, 2018-08-21 17:11 GMT+09:00 Daniel Santos : > On 08/19/2018 03:25 PM, Nick Desaulniers wrote: >> + gbiv who wrote this cool paste (showing alternatives to >> _Static_assert, which is supported by both compilers in -std=gnu89, >> but not until gcc 4.6): https://godbolt.org/g/DuLsxu >> >>

[PATCH v2] compiler.h: give up __compiletime_assert_fallback()

2018-08-25 Thread Masahiro Yamada
__compiletime_assert_fallback() is supposed to stop building earlier by using the negative-array-size method in case the compiler does not support "error" attribute, but has never worked like that. You can simply try: BUILD_BUG_ON(1); GCC immediately terminates the build, but Clang does not

Re: Query on skip_onerr field in struct cpuhp_step

2018-08-25 Thread Thomas Gleixner
On Tue, 21 Aug 2018, Mukesh Ojha wrote: > On 8/21/2018 7:27 PM, Thomas Gleixner wrote: > > > If it is specifically was dependent on notifiers, did we missed to remove > > > it as the notifiers are gone or the usecase still there? > > As the comment says > > Thanks for your reply > Sorry, for f

Re: Disabling CPU vulnerabilities workarounds

2018-08-25 Thread Casey Schaufler
On 8/25/2018 3:42 AM, Artem S. Tashkinov wrote: > Hello LKML, > > As time goes by more and more fixes of Intel/AMD/ARM CPUs vulnerabilities are > added to the Linux kernel without a simple way to disable them all in one > fell swoop. Many of the mitigations are unrelated to each other. There is

Re: linux-next: build warnings from the build of Linus' tree

2018-08-25 Thread Masami Hiramatsu
Hi Arnd, On Fri, 24 Aug 2018 14:46:16 +0200 Arnd Bergmann wrote: > On Fri, Aug 24, 2018 at 10:23 AM Masami Hiramatsu wrote: > > > > On Fri, 24 Aug 2018 13:32:06 +1000 > > Stephen Rothwell wrote: > > > > > Hi all, > > > > > > After merging the origin tree, today's linux-next build (powerpc > >

Re: linux-next: build warnings from the build of Linus' tree

2018-08-25 Thread Arnd Bergmann
On Sat, Aug 25, 2018 at 8:53 PM Masami Hiramatsu wrote: > On Fri, 24 Aug 2018 14:46:16 +0200 > Arnd Bergmann wrote: > > On Fri, Aug 24, 2018 at 10:23 AM Masami Hiramatsu > > wrote: > > > > > > On Fri, 24 Aug 2018 13:32:06 +1000 > > > Stephen Rothwell wrote: > > > > > > > Hi all, > > > > > > >

[PATCH 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-08-25 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-25 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- drivers/iio/gyro/Kconfig | 11 ++ drivers/iio/gyro/Makefile | 1 + drivers/iio/gyro/fxas21002c.c | 363 ++ 3 files changed, 375 insertions(+) create

[PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-25 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt| 12 drivers/iio/gyro/fxas21002c.c| 10 +- 2 files changed, 21 insertions(+), 1

[PATCH 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-25 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 162 +++--- 1 file changed, 149 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH] ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA

2018-08-25 Thread Suman Tripathi
Due to hardware errata, Ampere Computing eMAG SATA can't support AHCI ALPM feature. This patch disables the AHCI ALPM feature for eMAG SATA. Signed-off-by: Suman Tripathi Signed-off-by: Rameshwar Prasad Sahu --- drivers/ata/ahci_platform.c | 13 - 1 file changed, 12 insertions(+), 1

[GIT PULL] ARM: SoC late branch

2018-08-25 Thread Olof Johansson
Hi Linus, The following changes since commit 29ed45fff05899f6f39d05fe1c32b1bc51f8926b: Merge tag 'v4.18-next-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into next/drivers (2018-07-26 13:08:01 -0700) are available in the git repository at: git://git.kernel.or

Honest And Truthful 08/252018

2018-08-25 Thread Sgt.Joan Martinez
I wish to seek for your assistance in a deal that will be of mutual benefit for the both of us from Camp Stanley, Stationed in Uijeongbu, South Korea. Please get back to me for more info. Thank you for your time. Sgt.Joan Martinez

Please Dear, I Need An Investment Partner

2018-08-25 Thread Aisha Gaddafi
-- Dear Assalamu Alaikum, I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall c

include/linux/compiler.h:339:38: error: call to '__compiletime_assert_1650' declared with attribute error: BUILD_BUG_ON failed: plen_reg(nfp_prog) != reg_b(STATIC_REG_PKT_LEN)

2018-08-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b326272010b6656210193d7ab93fa184087e8ee1 commit: 0c26159352ba1cdc5a8c8d74131cc19cdfdf9371 nfp: bpf: xdp_adjust_tail support date: 3 weeks ago config: i386-randconfig-b0-08260429 (attached as .config) compi

Re: Disabling CPU vulnerabilities workarounds

2018-08-25 Thread Artem S. Tashkinov
On 08/25/2018 06:39 PM, Casey Schaufler wrote: On 8/25/2018 3:42 AM, Artem S. Tashkinov wrote: Hello LKML, As time goes by more and more fixes of Intel/AMD/ARM CPUs vulnerabilities are added to the Linux kernel without a simple way to disable them all in one fell swoop. Many of the mitigati

Re: [PATCH] drivers: qcom: rpmh: avoid sending sleep/wake sets immediately

2018-08-25 Thread Lina Iyer
On Sat, Aug 25 2018 at 13:34 -0600, Raju P.L.S.S.S.N wrote: Fix the redundant call being made to send the sleep and wake requests immediately to the controller. As per the patch[1], the sleep and wake request votes are cached in rpmh controller and sent during rpmh_flush(). These requests needs

Re: [PATCH v1] tools/vm/slabinfo.c: fix sign-compare warning

2018-08-25 Thread Matthew Wilcox
On Fri, Aug 24, 2018 at 06:32:14PM +0900, Naoya Horiguchi wrote: > - int hwcache_align, object_size, objs_per_slab; > - int sanity_checks, slab_size, store_user, trace; > + int hwcache_align, objs_per_slab; > + int sanity_checks, store_user, trace; > int order, poison, reclaim

Re: TLB flushes on fixmap changes

2018-08-25 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 21:23:26 -0700 Andy Lutomirski wrote: > On Fri, Aug 24, 2018 at 7:29 PM, wrote: > > > > > > On August 24, 2018 5:58:43 PM PDT, Linus Torvalds > > wrote: > >>Adding a few people to the cc. > >> > >>On Fri, Aug 24, 2018 at 1:24 PM Nadav Amit > >>wrote: > >>> > > >>> > Can y

Re: PAYMENT From RBS/COUTTS

2018-08-25 Thread Douglas McDougall
Royal Bank of Scotland Address: Ealing Broadway Shopping Centre, 14 High St, Ealing, London W5 5EB, , United Kingdom Our Ref: RBS/COUTTS/INT/UK/08/18 Beneficiary, Please be informed that we have discovered a floating payment in your name but surprisingly with a Power of Attorney in your file aut

Re: TLB flushes on fixmap changes

2018-08-25 Thread Andy Lutomirski
On Sat, Aug 25, 2018 at 7:23 PM, Masami Hiramatsu wrote: > On Fri, 24 Aug 2018 21:23:26 -0700 > Andy Lutomirski wrote: >> Couldn't text_poke() use kmap_atomic()? Or, even better, just change CR3? > > No, since kmap_atomic() is only for x86_32 and highmem support kernel. > In x86-64, it seems tha

Re: TLB flushes on fixmap changes

2018-08-25 Thread Kees Cook
On Sat, Aug 25, 2018 at 9:21 PM, Andy Lutomirski wrote: > On Sat, Aug 25, 2018 at 7:23 PM, Masami Hiramatsu wrote: >> On Fri, 24 Aug 2018 21:23:26 -0700 >> Andy Lutomirski wrote: >>> Couldn't text_poke() use kmap_atomic()? Or, even better, just change CR3? >> >> No, since kmap_atomic() is only

Re: [PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Guenter Roeck
On Sat, Aug 25, 2018 at 06:50:15AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Patch for stable only to fix boot resets caused by the L1TF patches. > > Stable trees reverted the following patch > > Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers" > > This reverts c

Re: [PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Andi Kleen
> > Cc: sta...@vger.kernel.org # 4.4 and 4.9 > > LGTM for v4.4.y but ... are you sure that this patch applies to v4.9.y ? > Commit edc3b9129cec is 'native' in v4.9.y and has not been reverted there. You're right. I thought it was needed for 4.9 too, but yes it has the CPA pfn patch. So for 4.9 th

Re: TLB flushes on fixmap changes

2018-08-25 Thread Nadav Amit
at 9:43 PM, Kees Cook wrote: > On Sat, Aug 25, 2018 at 9:21 PM, Andy Lutomirski wrote: >> On Sat, Aug 25, 2018 at 7:23 PM, Masami Hiramatsu >> wrote: >>> On Fri, 24 Aug 2018 21:23:26 -0700 >>> Andy Lutomirski wrote: Couldn't text_poke() use kmap_atomic()? Or, even better, just change CR

Re: [PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Greg KH
On Sat, Aug 25, 2018 at 10:06:41PM -0700, Andi Kleen wrote: > > > Cc: sta...@vger.kernel.org # 4.4 and 4.9 > > > > LGTM for v4.4.y but ... are you sure that this patch applies to v4.9.y ? > > Commit edc3b9129cec is 'native' in v4.9.y and has not been reverted there. > > You're right. I thought it

Re: [PATCH 4.4 037/107] x86/mm: Factor out LDT init from context init

2018-08-25 Thread Greg Kroah-Hartman
On Sat, Aug 25, 2018 at 12:44:10AM +0100, Ben Hutchings wrote: > On Mon, 2018-07-23 at 14:41 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Dave Hansen > > > > commit 39a0526fb3f7d93433d14

[PATCH 4.4 0/5] 4.4.153-stable review

2018-08-25 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.153 release. There are 5 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Aug 28 06:40:50 UTC 2018. Anything receive

[PATCH 4.4 2/5] x86/mm: Fix use-after-free of ldt_struct

2018-08-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit ccd5b3235180eef3cfec337df1c8554ab151b5cc upstream. The following commit: 39a0526fb3f7 ("x86/mm: Factor out LDT init from context init") renamed init_new_context() to ini

[PATCH 4.4 1/5] x86/mm/pat: Fix L1TF stable backport for CPA

2018-08-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen Patch for stable only to fix boot resets caused by the L1TF patches. Stable trees reverted the following patch Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"

[PATCH 3.18 00/56] 3.18.120-stable review

2018-08-25 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.120 release. There are 56 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Aug 28 06:42:19 UTC 2018. Anything recei

[PATCH 3.18 01/56] dccp: fix undefined behavior with cwnd shift in ccid2_cwnd_restart()

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 61ef4b07fcdc30535889990cf4229766502561cf ] The shift of 'cwnd' with '(now - hc->tx_lsndtime) / hc->tx_rto' value can lead to undefined behavior [1]. In order

[PATCH 3.18 11/56] ALSA: vxpocket: Fix invalid endian conversions

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3acd3e3bab95ec3622ff98da313290ee823a0f68 upstream. The endian conversions used in vxp_dma_read() and vxp_dma_write() are superfluous and even wrong on big-endian machines,

[PATCH 3.18 15/56] isdn: Disable IIOCDBGVAR

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook [ Upstream commit 5e22002aa8809e2efab2da95855f73f63e14a36c ] It was possible to directly leak the kernel address where the isdn_dev structure pointer was stored. This is a kernel ASL

[PATCH 3.18 12/56] USB: serial: sierra: fix potential deadlock at close

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: John Ogness commit e60870012e5a35b1506d7b376fddfb30e9da0b27 upstream. The portdata spinlock can be taken in interrupt context (via sierra_outdat_callback()). Disable interrupts when taking the

[PATCH 3.18 13/56] serial: 8250_dw: always set baud rate in dw8250_set_termios

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Chen Hu commit dfcab6ba573445c703235ab6c83758eec12d7f28 upstream. dw8250_set_termios() doesn't set baud rate if the arg "old ktermios" is NULL. This happens during resume. Call Trace: ... [

[PATCH 3.18 18/56] usb: dwc2: fix isoc split in transfer with no data

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: William Wu [ Upstream commit 70c3c8cb83856758025c2a211dd022bc0478922a ] If isoc split in transfer with no data (the length of DATA0 packet is zero), we can't simply return immediately. Because

[PATCH 3.18 14/56] Bluetooth: avoid killing an already killed socket

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit 4e1a720d0312fd510699032c7694a362a010170f upstream. slub debug reported: [ 440.648642] = [

[PATCH 3.18 10/56] ALSA: memalloc: Dont exceed over the requested size

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit dfef01e150824b0e6da750cacda8958188d29aea upstream. snd_dma_alloc_pages_fallback() tries to allocate pages again when the allocation fails with reduced size. But the first

[PATCH 3.18 20/56] arm64: make secondary_start_kernel() notrace

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Zhizhou Zhang [ Upstream commit b154886f7892499d0d3054026e19dfb9a731df61 ] We can't call function trace hook before setup percpu offset. When entering secondary_start_kernel(), percpu offset h

[PATCH 3.18 03/56] llc: use refcount_inc_not_zero() for llc_sap_find()

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 0dcb82254d65f72333aa50ad626d1e9665ad093b ] llc_sap_put() decreases the refcnt before deleting sap from the global list. Therefore, there is a chance llc_sap_find()

[PATCH 3.18 06/56] vsock: split dwork to avoid reinitializations

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 455f05ecd2b219e9a216050796d30c830d9bc393 ] syzbot reported that we reinitialize an active delayed work in vsock_stream_connect(): ODEBUG: init active (acti

[PATCH 3.18 07/56] ALSA: vx222: Fix invalid endian conversions

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit fff71a4c050ba46e305d910c837b99ba1728135e upstream. The endian conversions used in vx2_dma_read() and vx2_dma_write() are superfluous and even wrong on big-endian machines,

[PATCH 3.18 16/56] netfilter: ipv6: nf_defrag: reduce struct net memory waste

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 9ce7bc036ae4cfe3393232c86e9e1fea2153c237 ] It is a waste of memory to use a full "struct netns_sysctl_ipv6" while only one pointer is really used, considering ne

[PATCH 3.18 17/56] selftests: sync: add config fragment for testing sync framework

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Fathi Boudra [ Upstream commit d6a3e55131fcb1e5ca1753f4b6f297a177b2fc91 ] Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, the sync test will be skipped: TAP version 1

[PATCH 3.18 29/56] brcmfmac: stop watchdog before detach and free everything

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Michael Trimarchi [ Upstream commit 373c83a801f15b1e3d02d855fad89112bd4ccbe0 ] Using built-in in kernel image without a firmware in filesystem or in the kernel image can lead to a kernel NULL

[PATCH 3.18 04/56] net_sched: Fix missing res info when create new tc_index filter

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit 008369dcc5f7bfba526c98054f8525322acf0ea3 ] Li Shuang reported the following warn: [ 733.484610] WARNING: CPU: 6 PID: 21123 at net/sched/sch_cbq.c:1418 cbq_dest

[PATCH 3.18 30/56] ARM: dts: am437x: make edt-ft5x06 a wakeup source

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack [ Upstream commit 49a6ec5b807ea4ad7ebe1f58080ebb8497cb2d2c ] The touchscreen driver no longer configures the device as wakeup source by default. A "wakeup-source" property is neede

[PATCH 3.18 09/56] ALSA: cs5535audio: Fix invalid endian conversion

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 69756930f2de0457d51db7d505a1e4f40e9fd116 upstream. One place in cs5535audio_build_dma_packets() does an extra conversion via cpu_to_le32(); namely jmpprd_addr is passed to

[PATCH 3.18 02/56] l2tp: use sk_dst_check() to avoid race on sk->sk_dst_cache

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Wei Wang [ Upstream commit 6d37fa49da1e8db8fb1995be22ac837ca41ac8a8 ] In l2tp code, if it is a L2TP_UDP_ENCAP tunnel, tunnel->sk points to a UDP socket. User could call sendmsg() on both this

[PATCH 3.18 08/56] ALSA: virmidi: Fix too long output trigger loop

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 50e9ffb1996a5d11ff5040a266585bad4ceeca0a upstream. The virmidi output trigger tries to parse the all available bytes and process sequencer events as much as possible. In a

[PATCH 3.18 31/56] perf report powerpc: Fix crash if callchain is empty

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sandipan Das [ Upstream commit 143c99f6ac6812d23254e80844d6e34be897d3e1 ] For some cases, the callchain provided by the kernel may be empty. So, the callchain ip filtering code will cause a cr

[PATCH 3.18 05/56] net_sched: fix NULL pointer dereference when delete tcindex filter

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit 2df8bee5654bb2b7312662ca6810d4dc16b0b67f ] Li Shuang reported the following crash: [ 71.267724] BUG: unable to handle kernel NULL pointer dereference at 0

[PATCH 3.18 32/56] ARM: dts: da850: Fix interrups property for gpio

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Keerthy [ Upstream commit 3eb1b955cd7ed1e621ace856710006c2a8a7f231 ] The intc #interrupt-cells is equal to 1. Currently gpio node has 2 cells per IRQ which is wrong. Remove the additional cell

[PATCH 3.18 33/56] dmaengine: k3dma: Off by one in k3_of_dma_simple_xlate()

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit c4c2b7644cc9a41f17a8cc8904efe3f66ae4c7ed ] The d->chans[] array has d->dma_requests elements so the > should be >= here. Fixes: 8e6152bc660e ("dmaengine: Add h

[PATCH 3.18 21/56] enic: initialize enic->rfs_h.lock in enic_probe

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Govindarajulu Varadarajan [ Upstream commit 3256d29fc7aecdf99feb1cb9475ed2252769a8a7 ] lockdep spotted that we are using rfs_h.lock in enic_get_rxnfc() without initializing. rfs_h.lock is init

[PATCH 3.18 34/56] md/raid10: fix that replacement cannot complete recovery after reassemble

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: BingJing Chang [ Upstream commit bda3153998f3eb2cafa4a6311971143628eacdbc ] During assemble, the spare marked for replacement is not checked. conf->fullsync cannot be updated to be 1. As a res

[PATCH 3.18 23/56] net: propagate dev_get_valid_name return code

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing [ Upstream commit 7892bd081045222b9e4027fec279a28d6fe7aa66 ] if dev_get_valid_name failed, propagate its return code and remove the setting err to ENODEV, it will be set to 0 agai

[PATCH 3.18 40/56] smsc75xx: Add workaround for gigabit link up hardware errata.

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Yuiko Oshino [ Upstream commit d461e3da905332189aad546b2ad9adbe6071c7cc ] In certain conditions, the device may not be able to link in gigabit mode. This software workaround ensures that the

[PATCH 3.18 38/56] ARM: imx_v4_v5_defconfig: Select ULPI support

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam [ Upstream commit 2ceb2780b790b74bc408a949f6aedbad8afa693e ] Select CONFIG_USB_CHIPIDEA_ULPI and CONFIG_USB_ULPI_BUS so that USB ULPI can be functional on some boards like that u

[PATCH 3.18 24/56] net: davinci_emac: match the mdio device against its compatible if possible

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski [ Upstream commit ea0820bb771175c7d4192fc6f5b5c56b3c6d5239 ] Device tree based systems without of_dev_auxdata will have the mdio device named differently than "davinci_mdio

[PATCH 3.18 42/56] ARM: pxa: irq: fix handling of ICMR registers in suspend/resume

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack [ Upstream commit 0c1049dcb4ceec640d8bd797335bcbebdcab44d2 ] PXA3xx platforms have 56 interrupts that are stored in two ICMR registers. The code in pxa_irq_suspend() and pxa_irq_re

[PATCH 3.18 22/56] net: hamradio: use eth_broadcast_addr

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner [ Upstream commit 4e8439aa34802deab11cee68b0ecb18f887fb153 ] The array bpq_eth_addr is only used to get the size of an address, whereas the bcast_addr is used to set the broadcast

[PATCH 3.18 36/56] bnx2x: Fix receiving tx-timeout in error or recovery state.

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sudarsana Reddy Kalluru [ Upstream commit 484c016d9392786ce5c74017c206c706f29f823d ] Driver performs the internal reload when it receives tx-timeout event from the OS. Internal reload might fa

[PATCH 3.18 35/56] drm/exynos: gsc: Fix support for NV16/61, YUV420/YVU420 and YUV422 modes

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit dd209ef809080ced903e7747ee3ef640c923a1d2 ] Fix following issues related to planar YUV pixel format configuration: - NV16/61 modes were incorrectly programmed

[PATCH 3.18 25/56] locking/lockdep: Do not record IRQ state within lockdep code

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (VMware)" [ Upstream commit fcc784be837714a9173b372ff9fb9b514590dad9 ] While debugging where things were going wrong with mapping enabling/disabling interrupts with the lockdep

[PATCH 3.18 41/56] netfilter: x_tables: set module owner for icmp(6) matches

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit d376bef9c29b3c65aeee4e785fffcd97ef0a9a81 ] nft_compat relies on xt_request_find_match to increment refcount of the module that provides the match/target. Th

[PATCH 3.18 43/56] drm/armada: fix colorkey mode property

2018-08-25 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit d378859a667edc99e3473704847698cae97ca2b1 ] The colorkey mode property was not correctly disabling the colorkeying when "disabled" mode was selected. Arrange for

  1   2   >