Re: [RFC Part2 PATCH v3 26/26] KVM: X86: Restart the guest when insn_len is zero and SEV is enabled

2017-09-14 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:03:03PM -0500, Brijesh Singh wrote: > On AMD platform, under certain conditions insn_len may be zero on #NPF. "On AMD platforms... " > This can happen if guest gets a page-fault on data access, but HW table " ... if a guest... .. but the HW table walke

Re: [PATCH] mm/memory_hotplug: fix wrong casting for __remove_section()

2017-09-14 Thread YASUAKI ISHIMATSU
Hi Michal, On 09/13/2017 01:59 AM, Michal Hocko wrote: > On Tue 12-09-17 13:05:39, YASUAKI ISHIMATSU wrote: >> Hi Michal, >> >> Thanks you for reviewing my patch. >> >> On 09/12/2017 08:49 AM, Michal Hocko wrote: >>> On Fri 08-09-17 16:43:04, YASUAKI ISHIMATSU wrote: __remove_section() calls

Re: [PATCH v4 15/18] fpga: region: move device tree support to of-fpga-region.c

2017-09-14 Thread matthew . gerlach
Hi Alan, Just a couple of minor nits. Matthew Gerlach On Wed, 13 Sep 2017, Alan Tull wrote: Create of-fpga-region.c and ove the following functions without s/ove/move/ modification from fpga-region.c. * of_fpga_region_find * of_fpga_region_get_mgr * of_fpga_region_get_bridges * child_reg

[PATCH for 4.9 44/59] pinctrl: mvebu: Use seq_puts() in mvebu_pinconf_group_dbg_show()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Markus Elfring [ Upstream commit 420dc61642920849d824a0de2aa853db59f5244f ] Strings which did not contain data format specifications should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Mar

[PATCH for 4.9 29/59] IB/rxe: Add a runtime check in alloc_index()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bart Van Assche [ Upstream commit 642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37 ] Since index values equal to or above 'range' can trigger memory corruption, complain if index >= range. Signed-off-by: Bart Van Assche Reviewed-by: Andrew Boyer Cc: Moni Shoua Signed-off-by: Doug Ledford Sign

[PATCH for 4.9 51/59] usb: chipidea: vbus event may exist before starting gadget

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Peter Chen [ Upstream commit c3b674a04b8ab62a1d35e86714d466af0a0ecc18 ] At some situations, the vbus may already be there before starting gadget. So we need to check vbus event after switching to gadget in order to handle missing vbus event. The typical use cases are plugging vbus cable be

Re: [PATCH v4 3/5] i2c: i2c-stm32f7: add driver

2017-09-14 Thread Pierre Yves MORDRET
On 09/14/2017 05:40 PM, Wolfram Sang wrote: > On Thu, Sep 14, 2017 at 04:28:37PM +0200, Pierre-Yves MORDRET wrote: >> This patch adds initial support for the STM32F7 I2C controller. >> >> Signed-off-by: M'boumba Cedric Madianga >> Signed-off-by: Pierre-Yves MORDRET > > Thanks for the quick upd

[PATCH for 4.9 58/59] mips: ath79: clock:- Unmap region obtained by of_iomap

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit b3d91db3f71d5f70ea60d900425a3f96aeb3d065 ] Free memory mapping, if ath79_clocks_init_dt_ng is not successful. Signed-off-by: Arvind Yadav Fixes: 3bdf1071ba7d ("MIPS: ath79: update devicetree clock support for AR9132") Cc: antonynpav...@gmail.com Cc: al...@f

[PATCH for 4.9 47/59] audit: log 32-bit socketcalls

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Richard Guy Briggs [ Upstream commit 62bc306e2083436675e33b5bdeb6a77907d35971 ] 32-bit socketcalls were not being logged by audit on x86_64 systems. Log them. This is basically a duplicate of the call from net/socket.c:sys_socketcall(), but it addresses the impedance mismatch between 32-b

[PATCH for 4.9 54/59] drm: mali-dp: Fix destination size handling when rotating

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit edabb3c4cd2d035bc93a3d67b25a304ea6217301 ] The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions after rotation. This means we shouldn't swap the width and height ourselves when a 90/270 degree

[PATCH for 4.9 46/59] ASoC: dapm: handle probe deferrals

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 37e1df8c95e2c8a57c77eafc097648f6e40a60ff ] This starts to handle probe deferrals on regulators and clocks on the ASoC DAPM. I came to this patch after audio stopped working on Ux500 ages ago and I finally looked into it to see what is wrong. I had messages

[PATCH for 4.9 42/59] USB: serial: mos7840: fix control-message error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Johan Hovold [ Upstream commit cd8db057e93ddaacbec025b567490555d2bca280 ] Make sure to detect short transfers when reading a device register. The modem-status handling had sufficient error checks in place, but move handling of short transfers into the register accessor function itself for

[PATCH for 4.9 40/59] drm/amdkfd: fix improper return value on error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Pan Bian [ Upstream commit 8bf793883da213864efc50c274d2b38ec0ca58b2 ] In function kfd_wait_on_events(), when the call to copy_from_user() fails, the value of return variable ret is 0. 0 indicates success, which is inconsistent with the execution status. This patch fixes the bug by assignin

[PATCH for 4.9 34/59] tty: goldfish: Fix a parameter of a call to free_irq

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/goldfish.c | 2 +- 1 f

[PATCH for 4.9 33/59] serial: 8250: moxa: Store num_ports in brd

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Matwey V. Kornilov" [ Upstream commit 9c4b60fe5313c125b1bf68ef04b0010512c27f2d ] When struct moxa8250_board is allocated, then num_ports should be initialized in order to use it later in moxa8250_remove. Signed-off-by: Matwey V. Kornilov Signed-off-by: Greg Kroah-Hartman Signed-off-by:

[PATCH for 4.9 35/59] serial: 8250_port: Remove dangerous pr_debug()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Alexey Brodkin [ Upstream commit 699a11ba7ec869b006623182881f2f1f5b4aea53 ] With CONFIG_DYNAMIC_DEBUG if dyndbg enables debug output in 8250_port.c deadlock happens inevitably on UART IRQ handling. That's the problematic execution path: >8--

[PATCH for 4.9 37/59] IB/ipoib: rtnl_unlock can not come after free_netdev

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit 89a3987ab7a923c047c6dec008e60ad6f41fac22 ] The ipoib_vlan_add function calls rtnl_unlock after free_netdev, rtnl_unlock not only releases the lock, but also calls netdev_run_todo. The latter function browses the net_todo_list array and completes the unregistra

[PATCH for 4.9 57/59] MIPS: Lantiq: Fix another request_mem_region() return code check

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ] Hauke already fixed a couple of them, but one instance remains that checks for a negative integer when it should check for a NULL pointer: arch/mips/lantiq/xway/sysctrl.c: In function 'ltq_soc_init': arch/mips/lant

Re: [PATCH v4 17/18] fpga: clean up fpga Kconfig

2017-09-14 Thread matthew . gerlach
Hi Alan, s/mixxed/mixed/ On Wed, 13 Sep 2017, Alan Tull wrote: The fpga menuconfig has gotten messy. The bridges and managers are mixxed together. * Separate the bridges and things dependent on CONFIG_FPGA_BRIDGE from the managers. * Group the managers by vendor in order that they were add

[PATCH for 4.9 52/59] rtl8xxxu: Add additional USB IDs for rtl8192eu devices

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Axel Köllhofer [ Upstream commit 5407fd7de69f3352aed659244d4bef18e3cabf5c ] These IDs originate from the vendor driver Signed-off-by: Axel Köllhofer Signed-off-by: Jes Sorensen Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_cor

[PATCH for 4.9 50/59] iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Sricharan R [ Upstream commit e19898077cfb642fe151ba22981e795c74d9e114 ] Currently the driver sets all the device transactions privileges to UNPRIVILEGED, but there are cases where the iommu masters wants to isolate privileged supervisor and unprivileged user. So don't override the privile

Re: [lkp-robot] [sched/fair] 6d46bd3d97: netperf.Throughput_tps -11.3% regression

2017-09-14 Thread Rik van Riel
On Sun, 2017-09-10 at 23:32 -0700, Joel Fernandes wrote: > > To make the load check more meaningful, I am thinking if using > wake_affine()'s balance check is a better thing to do than the > 'nr_running < 2' check I used in this patch. Then again, since commit > 3fed382b46baac ("sched/numa: Implem

[PATCH for 4.9 45/59] partitions/efi: Fix integer overflow in GPT size calculation

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Alden Tondettar [ Upstream commit c5082b70adfe8e1ea1cf4a8eff92c9f260e364d2 ] If a GUID Partition Table claims to have more than 2**25 entries, the calculation of the partition table size in alloc_read_gpt_entries() will overflow a 32-bit integer and not enough space will be allocated for t

[PATCH for 4.9 41/59] USB: serial: mos7720: fix control-message error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Johan Hovold [ Upstream commit 0d130367abf582e7cbf60075c2a7ab53817b1d14 ] Make sure to log an error on short transfers when reading a device register. Also clear the provided buffer (which if often an uninitialised automatic variable) on errors as the driver currently does not bother to c

[PATCH for 4.9 53/59] ASoC: dapm: fix some pointer error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 639467c8f26d834c934215e8b59129ce442475fe ] commit 66feeec9322132689d42723df2537d60f96f8e44 "RFC: ASoC: dapm: handle probe deferrals" forgot a to update some two sites where the call was used. The static codechecks quickly found them. Reported-by: Dan Carpen

[PATCH for 4.9 49/59] spi: pxa2xx: Add support for Intel Gemini Lake

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "David E. Box" [ Upstream commit e18a80acd1365e91e3efcd69942d9073936cf851 ] Gemini Lake reuses the same LPSS SPI configuration as Broxton Signed-off-by: David E. Box Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-pxa2xx.c | 4 +++

[PATCH for 4.9 59/59] lkdtm: Fix Oops when unloading the module

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Juerg Haefliger [ Upstream commit 9ba60573638e2006170ebcc5489fb1e068afbc8f ] No jprobe is registered when the module is loaded without specifying a crashpoint that uses a jprobe. At the moment, we unconditionally try to unregister the jprobe on module unload which results in an Oops. Add a

[PATCH for 4.9 39/59] arm: dts: mt2701: Add subsystem clock controller device nodes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: James Liao [ Upstream commit f235c7e7a75325f28a33559a71f25a0eca6112db ] Add MT2701 subsystem clock controllers, inlcude mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. Signed-off-by: James Liao Signed-off-by: Matthias Brugger Signed-off-by: Sasha Levin --- arch/arm/boot/dts/mt2701.

[PATCH for 4.9 36/59] IB/ipoib: Fix deadlock over vlan_mutex

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit 1c3098cdb05207e740715857df7b0998e372f527 ] This patch fixes Deadlock while executing ipoib_vlan_delete. The function takes the vlan_rwsem semaphore and calls unregister_netdevice. The later function calls ipoib_mcast_stop_thread that cause workqueue flush. W

[PATCH for 4.9 38/59] IB/ipoib: Replace list_del of the neigh->list with list_del_init

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit c586071d1dc8227a7182179b8e50ee92cc43f6d2 ] In order to resolve a situation where a few process delete the same list element in sequence and cause panic, list_del is replaced with list_del_init. In this case if the first process that calls list_del releases the

[PATCH for 4.9 55/59] drm: mali-dp: Fix transposed horizontal/vertical flip

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit 7916efe5b57505080b3cebf5bdb228b4eda008ea ] The horizontal and vertical flip flags were the wrong way around, causing reflect-x to result in reflect-y being applied and vice-versa. Fix them. Fixes: ad49f8602fe8 ("drm/arm: Add support for Mali Display Process

[PATCH for 4.9 31/59] ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Afzal Mohammed [ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a hex, REMAP_VECTORS_TO_RAM could never get enabled. Also depending on DRAM_BASE is redundant as whenever REMAP_VECTORS_TO_RAM makes itself availabl

[PATCH for 4.9 48/59] ath10k: prevent sta pointer rcu violation

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Michal Kazior [ Upstream commit 0a744d927406389e00687560d9ce3c5ab0e58db9 ] Station pointers are RCU protected so driver must be extra careful if it tries to store them internally for later use outside of the RCU section it obtained it in. It was possible for station teardown to race with

[PATCH for 4.9 56/59] HID: wacom: release the resources before leaving despite devm

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Benjamin Tissoires [ Upstream commit 5b779fc52020ac6f5beea31c5eafc3d25cf70dc1 ] In the general case, the resources are properly released by devm without needing to do anything. However, when unplugging the wireless receiver, the kernel segfaults from time to time while calling devres_relea

[PATCH] ASoC: rockchip: i2s: fix unbalanced clk_disable

2017-09-14 Thread John Keeping
mclk is enabled and disabled only in i2s_runtime_{resume,suspend}() and we ensure that the device is runtime suspended before reaching this clk_disable_unprepare() call, so it is wrong to call it again here. Signed-off-by: John Keeping --- sound/soc/rockchip/rockchip_i2s.c | 1 - 1 file changed,

[PATCH for 4.9 27/59] iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit fa2849e9649b5180ffc4cb3c3b005261c403093a ] For some reason the axp288_adc driver was modifying the AXP288_ADC_TS_PIN_CTRL register, changing bits 0-1 depending on whether the GP_ADC channel or another channel was written. These bits control when a bias curr

Re: BUG: Sporadic crashes with current Linus tree

2017-09-14 Thread Thomas Gleixner
On Thu, 14 Sep 2017, Andy Lutomirski wrote: > On Thu, Sep 14, 2017 at 12:38 AM, Thomas Gleixner wrote: > > Hi! > > > > I've seen the following crash sporadically with commit 46c1e79fee: > > > > Have not seen that with 3882a734c19b, though I saw the PCID warnings on > > that machine. > > > > I have

[PATCH for 4.9 26/59] iio: adc: imx25-gcq: Fix module autoload

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit 8f0d7daf53972da0004f7a5a4d938c85333db300 ] If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the modul

[PATCH for 4.9 43/59] sfc: get PIO buffer size from the NIC

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Edward Cree [ Upstream commit c634700f7eec3c0da46e299cd0a0ae8b594f9b55 ] The 8000 series SFC NICs have 4K PIO buffers, rather than the 2K of the 7000 series. Rather than having a hard-coded PIO buffer size (ER_DZ_TX_PIOBUF_SIZE), read it from the GET_CAPABILITIES_V2 MCDI response. Sig

[PATCH] tg3: clean up redundant initialization of tnapi

2017-09-14 Thread Colin King
From: Colin Ian King tnapi is being initialized and then immediately updated and hence the initialiation is redundant. Clean up the warning by moving the declaration and initialization to the inside of the for-loop. Cleans up clang scan-build warning: warning: Value stored to 'tnapi' during its

Re: [RFC 0/2] backlight: pwm_bl: support linear brightness to human eye

2017-09-14 Thread Doug Anderson
Hi, On Thu, Sep 14, 2017 at 3:46 AM, Enric Balletbo Serra wrote: > Based on this seems reasonable maintain current implementation to not > break backward compability. Even, I think makes sense improve current > implementation by adding somekind of piecewise linear concept to the > brightness leve

[PATCH for 4.9 13/59] MIPS: ralink: Fix a typo in the pinmux setup.

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: John Crispin [ Upstream commit 58181a117d353427127a2e7afc7cf1ab44759828 ] There is a typo inside the pinmux setup code. The function is really called utif and not util. This was recently discovered when people were trying to make the UTIF interface work. Signed-off-by: John Crispin Cc: l

Re: usb/gadget: stalls in dummy_timer

2017-09-14 Thread Andrey Konovalov
On Tue, Sep 12, 2017 at 7:44 PM, Andrey Konovalov wrote: > On Tue, Sep 12, 2017 at 7:06 PM, Dmitry Torokhov > wrote: >> On Tue, Sep 12, 2017 at 05:48:51PM +0200, Andrey Konovalov wrote: >>> On Mon, Sep 11, 2017 at 8:54 PM, Dmitry Torokhov >>> wrote: >>> > On Mon, Sep 11, 2017 at 8:15 AM, Andrey

RE: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Luck, Tony
> let's hear from ia64 and ppc64 guys. If you write a patch, I can try it on some ia64 h/w. Please include some test cases (perhaps as a second patch that adds a few good/bad %pF and %pS to some code (both in base kernel, and in a module). -Tony

[PATCH for 4.9 32/59] drm/i915/psr: disable psr2 for resolution greater than 32X20

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Nagaraju, Vathsala" [ Upstream commit acf45d11050abd751dcec986ab121cb2367dcbba ] PSR2 is restricted to work with panel resolutions upto 3200x2000, move the check to intel_psr_match_conditions and fully block psr. Cc: Rodrigo Vivi Cc: Jim Bride Suggested-by: Rodrigo Vivi Signed-off-by:

Linux 3.18.71

2017-09-14 Thread Greg KH
I'm announcing the release of the 3.18.71 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

[PATCH for 4.9 30/59] IB/rxe: Fix a MR reference leak in check_rkey()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bart Van Assche [ Upstream commit b3a459961014b14c267544c327db033669493295 ] Avoid that calling check_rkey() for mem->state == RXE_MEM_STATE_FREE triggers an MR reference leak. Signed-off-by: Bart Van Assche Reviewed-by: Andrew Boyer Cc: Moni Shoua Signed-off-by: Doug Ledford Signed-o

[PATCH for 4.9 14/59] MIPS: ralink: Fix incorrect assignment on ralink_soc

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Colin Ian King [ Upstream commit 08d90c81b714482dceb5323d14f6617bcf55ee61 ] ralink_soc sould be assigned to RT3883_SOC, replace incorrect comparision with assignment. Signed-off-by: Colin Ian King Fixes: 418d29c87061 ("MIPS: ralink: Unify SoC id handling") Cc: John Crispin Cc: linux-m..

Linux 4.4.88

2017-09-14 Thread Greg KH
I'm announcing the release of the 4.4.88 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH] staging: rtl8723bs: Remove unused variable ret

2017-09-14 Thread Harsha Sharma
Remove unused variable ret as it is not used anywhere. Remove multiple blank lines. Done using following coccinelle semantic patch @@ type T; identifier i; constant C; @@ ( extern T i; | - T i; <+... when != i - i = C; ...+> ) Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_d

Linux 4.9.50

2017-09-14 Thread Greg KH
I'm announcing the release of the 4.9.50 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.88

2017-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index f6838187b568..788d90a0051b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 87 +SUBLEVEL = 88 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index c095455d496e..0d2

Re: Linux 3.18.71

2017-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 124d821c2f89..33feb19e7241 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 70 +SUBLEVEL = 71 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index eb8830a4c5ed..33f55

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-14 Thread Reshetova, Elena
Sorry for delayed reply. > On Mon, Sep 04, 2017 at 10:31:54AM +, Reshetova, Elena wrote: > > > > But can they make "fast" implementation on ARM that would give stronger > > > > memory guarantees? > > > > > > Whatever for? > > > > Well, maybe just by default when arch.-specific implementation

Linux 4.12.13

2017-09-14 Thread Greg KH
I'm announcing the release of the 4.12.13 kernel. All users of the 4.12 kernel series must upgrade. The updated 4.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.12.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.50

2017-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 1ebc553f5464..038d126a15fc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 49 +SUBLEVEL = 50 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 0122ad1a6027..f7861

Linux 4.13.2

2017-09-14 Thread Greg KH
I'm announcing the release of the 4.13.2 kernel. All users of the 4.13 kernel series must upgrade. The updated 4.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.13.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.12.13

2017-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index e96306381ee8..983224467a4d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 12 -SUBLEVEL = 12 +SUBLEVEL = 13 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index ff8b0aa2dfde..42f

Re: Linux 4.13.2

2017-09-14 Thread Greg KH
diff --git a/Documentation/driver-api/firmware/request_firmware.rst b/Documentation/driver-api/firmware/request_firmware.rst index 1c2c4967cd43..cc0aea880824 100644 --- a/Documentation/driver-api/firmware/request_firmware.rst +++ b/Documentation/driver-api/firmware/request_firmware.rst @@ -44,17 +

Re: [PATCH v7 2/8] mfd: wm97xx-core: core support for wm97xx Codec

2017-09-14 Thread Mark Brown
On Thu, Sep 14, 2017 at 08:43:00AM +0100, Lee Jones wrote: > Change of plan. It looks like there are deps. > Unapplied. The core stuff went in during the merge window, you should be able to wait for -rc1 or pick up the asoc-v4.14 tag. signature.asc Description: PGP signature

Re: [v8 0/4] cgroup-aware OOM killer

2017-09-14 Thread Roman Gushchin
On Thu, Sep 14, 2017 at 03:40:14PM +0200, Michal Hocko wrote: > On Wed 13-09-17 14:56:07, Roman Gushchin wrote: > > On Wed, Sep 13, 2017 at 02:29:14PM +0200, Michal Hocko wrote: > [...] > > > I strongly believe that comparing only leaf memcgs > > > is more straightforward and it doesn't lead to une

[PATCH for 4.9 10/59] MIPS: Ensure bss section ends on a long-aligned address

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 3f00f4d8f083bc61005d0a1ef592b149f5c88bbd ] When clearing the .bss section in kernel_entry we do so using LONG_S instructions, and branch whilst the current write address doesn't equal the end of the .bss section minus the size of a long integer. The .bss secti

Re: [PATCH] uwb: ensure that endpoint is interrupt

2017-09-14 Thread Greg Kroah-Hartman
On Thu, Sep 14, 2017 at 04:52:59PM +0200, Andrey Konovalov wrote: > hwarc_neep_init() assumes that endpoint 0 is interrupt, but there's no > check for that, which results in a WARNING in USB core code, when a bad > USB descriptor is provided from a device: > > usb 1-1: BOGUS urb xfer, pipe 1 != ty

[PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Icenowy Zheng [ Upstream commit bb021cda2ccf45ee9470bf0f8c55323ad1c761ae ] The CPUX clock on A33, which is for the Cortex-A7 cores, is designed to be changeable by changing the rate of PLL_CPUX. Add CLK_SET_RATE_PARENT flag to this clock. Signed-off-by: Icenowy Zheng Signed-off-by: Maxi

Re: [PATCH v3] sched/topology: Introduce NUMA identity node sched domain

2017-09-14 Thread Suravee Suthikulpanit
Hi, Are there any other concerns with this patch? Thanks, Suravee On 9/7/17 00:20, Suravee Suthikulpanit wrote: On AMD Family17h-based (EPYC) system, a logical NUMA node can contain upto 8 cores (16 threads) with the following topology. C0 |

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove unused variable ret

2017-09-14 Thread Julia Lawall
On Thu, 14 Sep 2017, Harsha Sharma wrote: > Remove unused variable ret as it is not used anywhere. > Remove multiple blank lines. > Done using following coccinelle semantic patch > > @@ > type T; > identifier i; > constant C; > @@ > > ( > extern T i; > | > - T i; > <+... when != i > - i = C; >

Re: [PATCH v1 01/10] clk: at91: pmc: Wait for clocks when resuming

2017-09-14 Thread Romain Izard
2017-09-13 14:15 GMT+02:00 Nicolas Ferre : > On 08/09/2017 at 17:35, Romain Izard wrote: >> Wait for the syncronization of all clocks when resuming, not only the >> UPLL clock. Do not use regmap_read_poll_timeout, as it will call BUG() >> when interrupts are masked, which is the case in here. >> >>

[PATCH] drm/i915: remove redundant variable hw_check

2017-09-14 Thread Colin King
From: Colin Ian King hw_check is being assigned and updated but is no longer being read, hence it is redundant and can be removed. Detected by clang scan-build: "warning: Value stored to 'hw_check' during its initialization is never read" Fixes: f6d1973db2d2 ("drm/i915: Move modeset state verif

[PATCH for 4.9 19/59] extcon: axp288: Use vbus-valid instead of -present to determine cable presence

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 5757aca10146061befd168dab37fb0db1ccd8f73 ] The vbus-present bit in the power status register also gets set to 1 when a usb-host cable (id-pin shorted to ground) is plugged in and a 5v boost converter is supplying 5v to the otg usb bus. This causes a "discon

[PATCH for 4.9 22/59] clk/axs10x: Clear init field in driver probe

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jose Abreu [ Upstream commit 6205406cf6f282d622f31de25036e6d1ab3a2ff5 ] Init field must be cleared in driver probe as this structure is not dinamically allocated. If not, wrong flags can be passed to core. Signed-off-by: Jose Abreu Cc: Carlos Palminha Cc: Stephen Boyd Cc: Michael Turqu

[PATCH for 4.9 17/59] ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Niestroj [ Upstream commit ca244a83ecc7f0a9242ee2116e622cb6d7ec2a90 ] On chiliSOM TPS65217 nWAKEUP pin is connected to AM335x internal RTC EXT_WAKEUP input. In RTC-only state TPS65217 is notifying about power on events (such as power buton presses) by setting nWAKEUP output low. Aft

[PATCH for 4.9 16/59] scsi: be2iscsi: Add checks to validate CID alloc/free

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jitendra Bhivare [ Upstream commit 413f365657a8b9669bd0ba3628e9fde9ce63604e ] Set CID slot to 0x to indicate empty. Check if connection already exists in conn_table before binding. Check if endpoint already NULL before putting back CID. Break ep->conn link in free_ep to ignore completi

[PATCH for 4.9 20/59] reset: ti_syscon: fix a ti_syscon_reset_status issue

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jiancheng Xue [ Upstream commit 5987b4bf512101137fa60c5c0ccac3db51541221 ] If STATUS_SET was not set, ti_syscon_reset_status would always return 0 no matter whether the status_bit was set or not. Signed-off-by: Jiancheng Xue Fixes: cc7c2bb1493c ("reset: add TI SYSCON based reset driver")

[PATCH for 4.9 08/59] RDS: RDMA: Fix the composite message user notification

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Santosh Shilimkar [ Upstream commit 941f8d55f6d613a460a5e080d25a38509f45eb75 ] When application sends an RDS RDMA composite message consist of RDMA transfer to be followed up by non RDMA payload, it expect to be notified *only* when the full message gets delivered. RDS RDMA notification do

[PATCH for 4.9 11/59] MIPS: fix mem=X@Y commandline processing

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411 ] When a memory offset is specified through the commandline, add the memory in range PHYS_OFFSET:Y as reserved memory area. Otherwise the bootmem allocator is initialised with low page equal to min_low_pfn = PHYS_

[PATCH for 4.9 15/59] power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881 ] If reading the register fails, return the actual error code, instead of the uninitialized val variable; Signed-off-by: Hans de Goede Signed-off-by: Sebastian Reichel Signed-off-by: Sasha Levin --- drivers/power

[PATCH for 4.9 03/59] GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 14d37564fa3dc4e5d4c6828afcd26ac14e6796c5 ] This patch fixes a place where function gfs2_glock_iter_next can reference an invalid error pointer. Signed-off-by: Dan Carpenter Signed-off-by: Bob Peterson Signed-off-by: Sasha Levin --- fs/gfs2/glock.c | 12

[PATCH for 4.9 05/59] ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bartlomiej Zolnierkiewicz [ Upstream commit 80b7a2e2498bcffb1a79980dfbeb7a1275577b28 ] Add CPU operating points for Exynos4412 Prime (it supports additional 1704MHz & 1600MHz OPPs and 1500MHz OPP is just a regular non-turbo OPP on this SoC). Also update relevant cooling maps to account fo

[PATCH for 4.9 04/59] drm/i915: Fix the overlay frontbuffer tracking

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ville Syrjälä [ Upstream commit 58d09ebdb4edf5d3ab3a2aee851ab0168bc83ec6 ] Do the overlay frontbuffer tracking properly so that it matches the state of the overlay on/off/continue requests. One slight problem is that intel_frontbuffer_flip_complete() may get delayed by an arbitrarily lion

[PATCH for 4.9 06/59] clk: sunxi-ng: fix PLL_CPUX adjusting on H3

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ondrej Jirman [ Upstream commit a43c96427e713bea94e9ef50e8be1f493afc0691 ] When adjusting PLL_CPUX on H3, the PLL is temporarily driven too high, and the system becomes unstable (oopses or hangs). Add a notifier to avoid this situation by temporarily switching to a known stable 24 MHz osc

[PATCH for 4.9 28/59] iio: adc: hx711: Add DT binding for avia,hx711

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Andreas Klinger [ Upstream commit ff1293f67734da68e23fecb6ecdae7112b8c43f9 ] Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger Acked-by: Rob Herring Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- .../devicetree/bindings/iio/a

[PATCH for 4.9 12/59] MIPS: kexec: Do not reserve invalid crashkernel memory on boot

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit a8f108d70c74d83574c157648383eb2e4285a190 ] Do not reserve memory for the crashkernel if the commandline argument points to a wrong location. This can happen if the location is specified wrong or if the same commandline is reused when starting the crashke

[PATCH for 4.9 23/59] clk: wm831x: fix usleep_range with bad range

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Nicholas Mc Guire [ Upstream commit ed784c532a3d0959db488f40a96c5127f63d42dc ] The delay here is not in atomic context and does not seem critical with respect to precision, but usleep_range(min,max) with min==max results in giving the timer subsystem no room to optimize uncritical delays.

[PATCH for 4.9 21/59] sh_eth: use correct name for ECMR_MPDE bit

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Niklas Söderlund [ Upstream commit 6dcf45e514974a1ff10755015b5e06746a033e5f ] This bit was wrongly named due to a typo, Sergei checked the SH7734/63 manuals and this bit should be named MPDE. Suggested-by: Sergei Shtylyov Signed-off-by: Niklas Söderlund Signed-off-by: David S. Miller S

[PATCH for 4.9 25/59] hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Guenter Roeck [ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ] Writes into limit attributes can overflow due to multplications and additions with unbound input values. Writing into fan limit attributes can result in a crash with a division by zero if very large values are writt

[PATCH for 4.9 24/59] usb: make the MTK XHCI driver compile for older MIPS SoCs

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: John Crispin [ Upstream commit 808cf33d4817c730008de9b2736b357708a3d7f6 ] The MIPS based MT7621 shares the same XHCI core as the newer generation of ARM based SoCs. The driver works out of the box and we only need to make it buildable in Kconfig. Signed-off-by: John Crispin Signed-off-by

[PATCH for 4.9 02/59] drm: bridge: add DT bindings for TI ths8135

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bartosz Golaszewski [ Upstream commit 2e644be30fcc08c736f66b60f4898d274d4873ab ] THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Reviewed-by: Laurent Pinchart Acked-by: Rob Herring Signed-off-by: Archit Taneja Link: http://patchw

[PATCH for 4.9 09/59] ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Simon Horman [ Upstream commit 654450baf2afba86cf328e1849ccac61ec4630af ] Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7790 SoC. This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r

[PATCH for 4.9 18/59] igb: re-assign hw address pointer on reset after PCI error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Guilherme G Piccoli [ Upstream commit 69b97cf6dbce7403845a28bbc75d57f5be7b12ac ] Whenever the igb driver detects the result of a read operation returns a value composed only by F's (like 0x), it will detach the net_device, clear the hw_addr pointer and warn to the user that adapter

[PATCH for 4.9 01/59] drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Kristian H. Kristensen" [ Upstream commit af913418261d6d3e7a29f06cf35f04610ead667c ] We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-off-by: Kristian H. Kristensen Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.or

Re: system hung up when offlining CPUs

2017-09-14 Thread YASUAKI ISHIMATSU
On 09/13/2017 09:33 AM, Thomas Gleixner wrote: > On Wed, 13 Sep 2017, Kashyap Desai wrote: >>> On 09/12/2017 08:15 PM, YASUAKI ISHIMATSU wrote: + linux-scsi and maintainers of megasas > > In my server, IRQ#66-89 are sent to CPU#24-29. And if I offline > CPU#24-29, I/O does not work,

Re: [PATCH] xen: don't compile pv-specific parts if XEN_PV isn't configured

2017-09-14 Thread Tycho Andersen
Hi Juergen, On Thu, Sep 14, 2017 at 02:38:58PM +0200, Juergen Gross wrote: > xenbus_client.c contains some functions specific for pv guests. > Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when > they are not needed (e.g. on ARM). > > Signed-off-by: Juergen Gross Thanks for thi

Re: [PATCH 2/2 v2] sched/wait: Introduce lock breaker in wake_up_page_bit

2017-09-14 Thread Christopher Lameter
On Wed, 13 Sep 2017, Tim Chen wrote: > Here's what the customer think happened and is willing to tell us. > They have a parent process that spawns off 10 children per core and > kicked them to run. The child processes all access a common library. > We have 384 cores so 3840 child processes running

Re: kernel BUG at fs/ext4/fsync.c:LINE!

2017-09-14 Thread Andreas Dilger
On Sep 14, 2017, at 9:04 AM, ChunYu Wang wrote: > > Hi GeneBlue, > > Thanks for this reporting, do you have any logs related to the bug and > could find the syscalls enabled for fuzzing during triggering this > bug? I do not think it is not reproducible, but first, it needs some > inspections ma

Re: [DEBUG] mtd: spi-nor: dump DWORDs of the Basic Flash Parameter Table

2017-09-14 Thread Cyrille Pitchen
Le 12/09/2017 à 15:12, Boris Brezillon a écrit : > Hi Geert, > > On Mon, 11 Sep 2017 10:58:36 +0200 > Geert Uytterhoeven wrote: > >> Hi Cyrille, >> >> On Thu, Sep 7, 2017 at 9:28 PM, Cyrille Pitchen >> wrote: Can you apply this patch on your tree then report me what was printed, plea

Re: BUG: Sporadic crashes with current Linus tree

2017-09-14 Thread Andy Lutomirski
On Thu, Sep 14, 2017 at 9:00 AM, Thomas Gleixner wrote: > On Thu, 14 Sep 2017, Andy Lutomirski wrote: >> On Thu, Sep 14, 2017 at 12:38 AM, Thomas Gleixner wrote: >> > Hi! >> > >> > I've seen the following crash sporadically with commit 46c1e79fee: >> > >> > Have not seen that with 3882a734c19b, t

Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-14 Thread Christoffer Dall
On Thu, Sep 14, 2017 at 10:57:28AM +0200, Eric Auger wrote: > At the moment, the in-kernel emulated ITS is not properly reset. > On guest restart/reset some registers keep their old values and > internal structures like device, ITE, collection lists are not emptied. > > This may lead to various bu

Re: WARNING: CPU: 1 PID: 0 at arch/x86/mm/tlb.c:237 initialize_tlbstate_and_flush+0x120/0x130

2017-09-14 Thread Andy Lutomirski
On Wed, Sep 13, 2017 at 5:59 AM, Thomas Voegtle wrote: > On Sun, 10 Sep 2017, Andy Lutomirski wrote: > >> On Sat, Sep 9, 2017 at 11:48 PM, Paul Menzel >> wrote: >>> >>> Dear Linux folks, >>> >>> >>> With Linux built from commit 4dfc2788033d (Merge tag >>> 'iommu-updates-v4.14' >>> of git://git.ke

Re: linux-next: Tree for Sep 12

2017-09-14 Thread Andy Lutomirski
On Tue, Sep 12, 2017 at 6:18 AM, Sergey Senozhatsky wrote: > Hi Andy, > > got the following warn for each CPU > > > [0.00] [ cut here ] > [0.00] WARNING: CPU: 0 PID: 0 at arch/x86/mm/tlb.c:245 > initialize_tlbstate_and_flush+0x60/0xd4 > [0.00] Modul

Re: WARNING: CPU: 1 PID: 0 at arch/x86/mm/tlb.c:237 initialize_tlbstate_and_flush+0x120/0x130

2017-09-14 Thread Thomas Voegtle
On Thu, 14 Sep 2017, Andy Lutomirski wrote: On Wed, Sep 13, 2017 at 5:59 AM, Thomas Voegtle wrote: On Sun, 10 Sep 2017, Andy Lutomirski wrote: On Sat, Sep 9, 2017 at 11:48 PM, Paul Menzel wrote: Dear Linux folks, With Linux built from commit 4dfc2788033d (Merge tag 'iommu-updates-v4.14'

<    1   2   3   4   5   6   7   >