Hi,
> > Add a head field here? People asked @ kvm forum about multihead
> > support.
> > Even if the initial driver version doesn't support it we could add
> > a field so it
> > becomes easier to add it at some point in the future.
> >
> > Probing for available heads could be done with the PRO
Hi,
I am trying to support suspend to disk(hibernate) on Hikey with 4.4
kernel. During suspend, I could see the usb devices getting reset and I
can access them properly. Message can be seen as below:
usb 1-1: reset high-speed USB device number 2 using dwc2
usb 1-1.2: reset high-speed USB device n
On 11/7/17 12:55 AM, Naveen N. Rao wrote:
I thought such struct shouldn't change layout.
If it is we need to fix include/linux/compiler-clang.h to do that
anon struct as well.
We considered that, but it looked to be very dependent on the version of
gcc used to build the kernel. But, this may be
The TMIO core misses to request_mem_region(). devm_ioremap_resource()
takes care of it and makes the code cleaner.
Signed-off-by: Masahiro Yamada
---
drivers/mmc/host/tmio_mmc_core.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/tmio_mmc_core.c
When I was implementing my dirver, I just noticed some candidates
for cleanups. Some are required changes for my driver.
Masahiro Yamada (6):
mmc: renesas_sdhc: remove eprobe jump label
mmc: tmio: set tmio_mmc_host to driver data
mmc: tmio: use devm_ioremap_resource() instead of devm_ior
Currently, tmio_mmc_ops is static data and tmio_mmc_host_probe()
updates some hooks in the static data. This is a problem when
two or more instances call tmio_mmc_host_probe() and each of them
requests to use its own card_busy/start_signal_voltage_switch.
We can borrow a solution from sdhci_alloc
"goto eprobe" does nothing useful. Return directly.
Signed-off-by: Masahiro Yamada
---
drivers/mmc/host/renesas_sdhi_core.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/mmc/host/renesas_sdhi_core.c
b/drivers/mmc/host/renesas_sdhi_core.c
index fcf72
The remove, suspend, resume hooks need tmio_mmc_host. It is tedious
to get mmc_host from the driver_data and pass it to mmc_priv().
We can directly set tmio_mmc_host to driver data to clean up the code.
Signed-off-by: Masahiro Yamada
---
drivers/mmc/host/renesas_sdhi_core.c | 3 +--
drivers/m
Drivers can set any mmc_host_ops hooks between tmio_mmc_host_alloc()
and tmio_mmc_host_probe(). Remove duplicated hooks in tmio_mmc_host.
Signed-off-by: Masahiro Yamada
---
drivers/mmc/host/renesas_sdhi_core.c | 4 ++--
drivers/mmc/host/tmio_mmc.h | 3 ---
drivers/mmc/host/tmio_mmc_co
mmc_of_parse() parses various DT properties and sets capability flags
accordingly. However, drivers have no chance to run platform init
code depending on such flags because mmc_of_parse() is called from
tmio_mmc_host_probe().
Move mmc_of_parse() out of tmio_mmc_host_probe() so that drivers can
ha
On Tue, Nov 07, 2017 at 09:54:42AM +0900, Byungchul Park wrote:
> > The best I could come up with is something like the below; its not
> > at all pretty and I could see people objecting; least of all myself for
> > the __complete() thing, but I ran out of creative naming juice.
>
> Patches assigni
On Mon, 6 Nov 2017 18:57:15 -0500 (EST) Mikulas Patocka wrote:
> On Mon, 6 Nov 2017, Bruno Prémont wrote:
> > On Mon, 6 Nov 2017 11:18:09 Mike Snitzer wrote:
> > > On Thu, Nov 02 2017 at 4:39pm -0400, Bruno Prémont wrote:
> > > > Hi,
> > > >
> > > > Between 4.11 and 4.12 I stopped being able
On Mon, Nov 06, 2017 at 03:16:58PM -0800, Andi Kleen wrote:
> > +static int _perf_event_modify_breakpoint(struct perf_event *bp,
> > +struct perf_event_attr *attr)
> > +{
> > + u64 old_addr = bp->attr.bp_addr;
> > + u64 old_len = bp->attr.bp_len;
> > + int
On Mon, Nov 06, 2017 at 05:09:15PM -0500, Milind Chabbi wrote:
> diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
> index 362493a..d458214 100644
> --- a/include/uapi/linux/perf_event.h
> +++ b/include/uapi/linux/perf_event.h
> @@ -433,6 +433,8 @@ struct perf_event_att
On 11/07/2017 06:07 AM, Nicholas Piggin wrote:
First of all, using addr and MAP_FIXED to develop our heuristic can
never really give unchanged ABI. It's an in-band signal. brk() is a
good example that steadily keeps incrementing address, so depending
on malloc usage and address space randomizati
Hi Randy,
On Tue, Nov 7, 2017 at 5:48 AM, Randy Dunlap wrote:
> From: Randy Dunlap
>
> Update list of available compiled-in fonts in lib/fonts/:
> add 6x10 and drop RomanLarge (which was reverted 12 years ago).
>
> Signed-off-by: Randy Dunlap
> Cc: Geert Uytterhoeven
Acked-by: Geert Uytterhoe
These registers are only used in drivers/mfd/tmio_core.c
Signed-off-by: Masahiro Yamada
---
drivers/mfd/tmio_core.c | 20
include/linux/mfd/tmio.h | 20
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/drivers/mfd/tmio_core.c b/drivers/
On Tue, Nov 7, 2017 at 9:11 AM, Peter Zijlstra wrote:
> On Tue, Nov 07, 2017 at 09:54:42AM +0900, Byungchul Park wrote:
>> > The best I could come up with is something like the below; its not
>> > at all pretty and I could see people objecting; least of all myself for
>> > the __complete() thing,
Hello Dinh,
On Thu, Jun 15, 2017 at 8:54 PM, Javier Martinez Canillas
wrote:
> The at24 driver allows to register I2C EEPROM chips using different vendor
> and devices, but the I2C subsystem does not take the vendor into account
> when matching using the I2C table since it only has device entries
于 2017年11月7日 GMT+08:00 上午11:13:23, Chen-Yu Tsai 写到:
On Tue, Nov 7, 2017 at 6:39 AM, Martin Blumenstingl
wrote:
Hello,
recently I discovered that there are some X-Powers AXP chips that
support both, Allwinner's own "RSB" as well as the I2C ("TWSI" in the
datasheet) busses.
one chip that supp
> -Original Message-
> From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org]
> Sent: Tuesday, November 07, 2017 7:04 AM
> To: Loic PALLARDY
> Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Arnaud POULIQUEN ;
> benjamin.gaign...@linaro.org
> Su
On 11/01/2017 03:16 PM, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Wed, 1 Nov 2017 14:56:15 +0100
>
> Add a jump target so that a bit of exception handling can be better reused
> at the end of this function.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-o
On 03/11/17 16:35, Waiman Long wrote:
> Currently, all the lock waiters entering the slowpath will do one
> lock stealing attempt to acquire the lock. That helps performance,
> especially in VMs with over-committed vCPUs. However, the current
> pvqspinlocks still don't perform as good as unfair loc
Hi,
Ran Wang writes:
> Adds entry point at dwc3 core init function to enable
> USB 3.0 PHY driver.
>
> Signed-off-by: Ran Wang
> ---
> Change in v2:
> - New file
>
> drivers/usb/dwc3/core.c | 15 +++
> 1 file changed, 15 insertions(+)
>
> diff --git a/drivers/usb/dwc3/core.c
On Mon, Nov 06, 2017 at 08:35:14AM -0600, Gustavo A. R. Silva wrote:
> Check on return value and goto label mbx_err are unnecessary.
>
> Addresses-Coverity-ID: 1268780
> Signed-off-by: Gustavo A. R. Silva
> ---
> drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 4 +---
> 1 file changed, 1 insertion(+),
From: Kuninori Morimoto
We already have renesas_usbhs_get_info() macro.
Let's use it.
Signed-off-by: Kuninori Morimoto
---
Shimoda-san
can you please check this patch ?
drivers/usb/renesas_usbhs/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/ren
Nuvoton W83773G is a hardware monitoring chip, which integrates two remote
and one local temperature sensors.
---
v2:
- The driver is re-written as v1's comment, so the author is changed to me.
- Added the device to trivial-devices.txt
Lei YU (3):
DT: i2c: W83773G is a trivial device
drivers
Nuvoton W83773G is a hardware monitor IC providing one local
temperature and two remote temperature sensors.
Signed-off-by: Lei YU
---
v2:
- Rewrite the driver using regmap
- Add offset and update_interval
---
drivers/hwmon/Kconfig | 10 ++
drivers/hwmon/Makefile | 1 +
drivers/hwmon/w83
Add documentation for the w83773g driver.
Signed-off-by: Lei YU
---
v2:
- Add notes for offset and update_interval
---
Documentation/hwmon/w83773g | 33 +
1 file changed, 33 insertions(+)
create mode 100644 Documentation/hwmon/w83773g
diff --git a/Documentation
Signed-off-by: Lei YU
---
Documentation/devicetree/bindings/trivial-devices.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.txt
b/Documentation/devicetree/bindings/trivial-devices.txt
index af284fb..63ad2f1 100644
--- a/Documentation/devi
11/7/2017 5:11 PM에 Peter Zijlstra 이(가) 쓴 글:
On Tue, Nov 07, 2017 at 09:54:42AM +0900, Byungchul Park wrote:
The best I could come up with is something like the below; its not
at all pretty and I could see people objecting; least of all myself for
the __complete() thing, but I ran out of creative
On Mon, Nov 06, 2017 at 02:15:00PM -0800, Dave Hansen wrote:
> But, the CPUID for the SNC configuration discussed above enumerates
> the LLC as being shared by the entire package. This is not 100%
> precise because the entire cache is not usable by all accesses. But,
> it *is* the way the hardwa
On 11/07/2017 09:13 AM, Bruno Prémont wrote:
>> Signed-off-by: Mikulas Patocka
>> Cc: sta...@vger.kernel.org # v4.12+
>> Fixes: 8f0009a22517 ("dm crypt: optionally support larger encryption sector
>> size")
>> Fixes: 7eada909bfd7 ("dm: add integrity target")
>
> Reported-by: Bruno Prémont
> T
On 07/11/2017 08:19, Rick Chen wrote:
> *** Fix warnings when make with ARCH=x86_64 from auto build test ***
>
> rick (3):
> clocksource/drivers/atcpit100: Add andestech atcpit100 timer
> clocksource/drivers/Kconfig: Support andestech atcpit100 timer
> dt-bindings: timer: Add andestech atcpi
On Tue, Nov 7, 2017 at 9:30 AM, Byungchul Park wrote:
> 11/7/2017 5:11 PM에 Peter Zijlstra 이(가) 쓴 글:
>
>> On Tue, Nov 07, 2017 at 09:54:42AM +0900, Byungchul Park wrote:
The best I could come up with is something like the below; its not
at all pretty and I could see people objecting;
Em Mon, 06 Nov 2017 16:57:28 -0800
Dan Williams escreveu:
> V4L2 memory registrations are incompatible with filesystem-dax that
> needs the ability to revoke dma access to a mapping at will, or
> otherwise allow the kernel to wait for completion of DMA. The
> filesystem-dax implementation breaks
Since 83e3c48729d9 ("mm/sparsemem: Allocate mem_section at runtime for
CONFIG_SPARSEMEM_EXTREME=y") we allocate mem_section dynamically in
sparse_memory_present_with_active_regions(). But some architectures, like
arm64, don't use the routine to initialize sparsemem.
Let's move the initialization i
Alexei Starovoitov wrote:
On 11/7/17 12:55 AM, Naveen N. Rao wrote:
I thought such struct shouldn't change layout.
If it is we need to fix include/linux/compiler-clang.h to do that
anon struct as well.
We considered that, but it looked to be very dependent on the version of
gcc used to build t
Hi all,
We are using 4.13.5-100.fc25.x86_64 and a panic was found during
resume from hibernation, the backtrace is illustrated as below, would
someone please take a look if this has already been fixed or is this issue still
in the upstream kernel? thanks!
[ 114.846213] PM: Using 3 thread(s) for de
On Mon, Nov 06, 2017 at 08:27:59PM +0100, Corentin Labbe wrote:
> Hello
>
> Disabling UBSAN, does not change anything (NULL ptr dereference).
> Reverting 83e3c48729d9ebb7af5a31a504f3fd6aff0348c4 ("mm/sparsemem: Allocate
> mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y") made the boot
> pr
Hi Jean,
Nice to have you "online". This open is really blocking the progress. Pls check
inline.
> -Original Message-
> From: Jean-Philippe Brucker [mailto:jean-philippe.bruc...@arm.com]
> Sent: Tuesday, November 7, 2017 3:02 AM
> To: Liu, Yi L ; Jacob Pan ;
> io...@lists.linux-foundatio
11/7/2017 5:31 PM에 Dmitry Vyukov 이(가) 쓴 글:
On Tue, Nov 7, 2017 at 9:30 AM, Byungchul Park wrote:
11/7/2017 5:11 PM에 Peter Zijlstra 이(가) 쓴 글:
On Tue, Nov 07, 2017 at 09:54:42AM +0900, Byungchul Park wrote:
The best I could come up with is something like the below; its not
at all pretty and I
Hi Randy,
Thank you for your corrections! I will fix the language-related issues in the
next version. More on content below.
> On 11/06/2017 05:32 AM, Elena Reshetova wrote:
> > Some functions from refcount_t API provide different
> > memory ordering guarantees that their atomic counterparts.
>
On Tue, Nov 07, 2017 at 12:03:29PM +0800, Fengguang Wu wrote:
> >>[ 428.512005] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow
> >>Control: RX
> >>LKP: HOSTNAME vm-lkp-wsx03-openwrt-i386-8, MAC , kernel 4.14.0-rc8 158,
> >>serial console /dev/ttyS0
> >>[ 429.798345] Kernel tests: Boot
On 20.10.2017 00:58, Rob Herring wrote:
On Thu, Oct 19, 2017 at 6:14 AM, Alexandre Belloni
wrote:
On 13/10/2017 at 16:51:42 -0500, Rob Herring wrote:
On Wed, Oct 11, 2017 at 09:35:28AM +0300, Eugen Hristev wrote:
Added property for DMA configuration of the device.
Signed-off-by: Eugen Hris
Hi
On Mon, Nov 06, 2017 at 04:57:09PM +0100, Richard Genoud wrote:
> I get a soft lock-up while unbinding the USB driver on a TP-Link TL-WN727Nv3
> (chipset 5370):
>
> # echo 1-2.2 > /sys/bus/usb/drivers/usb/unbind
> watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [kworker/u2:3:308]
...
> I ca
From: Long Li
Add function to implement a reconnect to SMB Direct. This involves tearing down
the current connection and establishing/negotiating a new connection.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 36
1 file changed, 36 insertions(+)
diff -
From: Long Li
When upper layer wants to umount, make it call shutdown on transport when
SMB Direct is used.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 3ccd703..3d74983 100644
-
From: Long Li
This patch is for preparing upper layer doing SMB read via RDMA write.
When RDMA write is used for SMB read, the returned data length is in
DataRemaining in the response packet. Reading it properly by adding a
parameter to specifiy where the returned data length is.
Add the defiti
From: Long Li
This patch is for preparing upper layer for doing SMB read via RDMA write.
When we assemble the SMB read packet header, we need to know the I/O layout
if this request is to use a RDMA write. rdata has all the information we need
for memory registration. Add rdata to smb2_new_read_r
From: Long Li
Memory registration is used for transferring payload via RDMA read or write.
After I/O is done, memory registrations are recovered and reused. This
process can be time consuming and is done in a work queue.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 421
From: Long Li
To prepare for protocol implementation, add constants and user-configurable
values for the SMB Direct protocol.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 77 +
fs/cifs/smbdirect.h | 21 +++
2 files changed, 98
Hi,
Can you have a look at it?
Thanks and Regards,
Abhishek Goel
System Engineer
IBM India Pvt. Ltd.
On 11/07/2017 12:50 PM, Abhishek Goel wrote:
cpuidle_monitor used to assume that cpu0 is always online which is not
a valid assumption on POWER machines. This patch fixes this by searching
From: Long Li
Add code to implement the core functions to establish a SMB Direct connection.
1. Establish an RDMA connection to SMB server.
2. Negotiate and setup SMB Direct protocol.
3. Implement idle connection timer and credit management.
SMB Direct is enabled by setting CONFIG_CIFS_SMB_DIRE
From: Long Li
Do a reconnect on SMB Direct when it is used as the connection. Reconnect can
happen for many reasons and it's mostly the decision of SMB2 upper layer.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/cifs/con
From: Long Li
Starting with SMB2 dialect 3.0, Microsoft introduced SMB Direct transport
protocol for transferring upper layer (SMB2) payload over RDMA via Infiniband,
RoCE or iWARP. The prococol is published in [MS-SMBD]
(https://msdn.microsoft.com/en-us/library/hh536346.aspx).
Change log:
v2:
I
From: Long Li
Add function to tear down a SMB Direct connection. This is used by upper layer
to free all SMB Direct connection and transport resources.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 16
1 file changed, 16 insertions(+)
diff --git a/fs/cifs/smbdirect.c b/fs/
From: Long Li
For use-configurable SMB Direct protocol values, export them to /proc/fs/cifs.
Signed-off-by: Long Li
---
fs/cifs/cifs_debug.c | 79
1 file changed, 79 insertions(+)
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
ind
From: Long Li
With SMB Direct connected, use it for receiving data via RDMA receive.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 3d74983..fcd01df 100644
--- a/fs/cifs/connect.
From: Long Li
For debugging and troubleshooting, export SMBDirect debug counters to
/proc/fs/cifs/DebugData.
Signed-off-by: Long Li
---
fs/cifs/cifs_debug.c | 66
1 file changed, 66 insertions(+)
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/
From: Long Li
When connecting over SMB Direct, the transport negotiates its maximum I/O sizes
with the server and determines how to choose to do RDMA send/recv vs
read/write. Expose these maximum I/O sizes to upper layer so we will get the
correct sized payloads.
Signed-off-by: Long Li
---
fs/
From: Long Li
On the receive path, the transport maintains receive buffers and a reassembly
queue for transferring payload via RDMA recv. There is data copy in the
transport on recv when it copies the payload to upper layer.
The transport recognizes the RFC1002 header length use in the SMB
upper
From: Long Li
If I/O size is larger than rdma_readwrite_threshold, use RDMA write for
SMB read by specifying channel SMB2_CHANNEL_RDMA_V1 or
SMB2_CHANNEL_RDMA_V1_INVALIDATE in the SMB packet, depending on SMB dialect
used. Append a smbd_buffer_descriptor_v1 to the end of the SMB packet and fill
i
From: Long Li
The upper layer calls this function to connect to peer through SMB Direct.
Each SMB Direct connection is based on a RDMA RC Queue Pair.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/fs/cifs/smbdirect.c b/fs/c
From: Long Li
The transport doesn't maintain send buffers or send queue for transferring
payload via RDMA send. There is no data copy in the transport on send.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 246
fs/cifs/smbdirect.h | 3 +
From: Long Li
When sending I/O, if size is larger than rdma_readwrite_threshold we prepare
to send SMB write packet for a RDMA read via memory registration. The actual
I/O is done by remote peer through local RDMA hardware. Modify the relevant
fields in the packet accordingly, and append a smbd_b
Em Thu, 2 Nov 2017 10:11:47 +
Colin King escreveu:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in error message text
>
> Signed-off-by: Colin Ian King
> ---
> drivers/media/usb/au0828/au0828-video.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Colin,
Patc
On Tue, Nov 07, 2017 at 10:49:41AM +0200, Eugen Hristev wrote:
>
>
> On 20.10.2017 00:58, Rob Herring wrote:
> > On Thu, Oct 19, 2017 at 6:14 AM, Alexandre Belloni
> > wrote:
> > > On 13/10/2017 at 16:51:42 -0500, Rob Herring wrote:
> > > > On Wed, Oct 11, 2017 at 09:35:28AM +0300, Eugen Hristev
From: Long Li
When "rdma" is specified in the mount option, make CIFS connect to
SMB Direct.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 22 +++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index b5a575f..75eb50b 100
From: Long Li
Build SMB Direct code when this option is set.
Signed-off-by: Long Li
---
fs/cifs/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index f724361..8d05fff 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -191,6 +191,14 @@ c
From: Long Li
With SMB Direct connected, use it for sending data via RDMA send.
Signed-off-by: Long Li
---
fs/cifs/transport.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index 7efbab0..bb9ffdd 100644
--- a/fs/cifs/trans
From: Long Li
Add "rdma" to CIFS mount options to connect to SMB Direct.
Add checks to validate this is used on SMB 3.X dialects.
To connect to SMBDirect, use "mount.cifs -o rdma,vers=3.x".
At the time of this patch, 3.x can be 3.0, 3.02 or 3.1.1.
Signed-off-by: Long Li
---
fs/cifs/cifs_debug
Dohh, forgot to git add the follow up fix on top of Johannes' original
diff so it didn't make it into the finall commit. Could you fold this
into the patch Andrew, please?
Sorry about that.
---
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c
index 3f85084cb8bb..9a745e2a6f9a 100644
--- a/mm/
ELAN060C touchpad uses elan_i2c as its driver. It can be
found on Lenovo ideapad 320-14AST.
BugLink: https://bugs.launchpad.net/bugs/1727544
Signed-off-by: Kai-Heng Feng
---
drivers/input/mouse/elan_i2c_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/mouse/elan_i2c_core.
On Fri, Nov 03, 2017 at 11:33:34AM -0400, Johannes Weiner wrote:
> Replace all raw 'this_cpu_' modifications of the stat and event
> per-cpu counters with API functions such as mod_memcg_state().
>
> This makes the code easier to read, but is also in preparation for the
> next patch, which changes
On Fri, Nov 03, 2017 at 11:33:35AM -0400, Johannes Weiner wrote:
> The implementation of the lruvec stat functions and their variants for
> accounting through a page, or accounting from a preemptible context,
> are mostly identical and needlessly repetitive.
>
> Implement the lruvec_page functions
On Tue, 7 Nov 2017 09:15:21 +0100
Florian Weimer wrote:
> On 11/07/2017 06:07 AM, Nicholas Piggin wrote:
>
> > First of all, using addr and MAP_FIXED to develop our heuristic can
> > never really give unchanged ABI. It's an in-band signal. brk() is a
> > good example that steadily keeps incremen
Hello,
FYI this happens in v4.14-rc8 -- it's not necessarily a new bug.
[ 485.097496] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 485.317082] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 485.809530] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 486.097071] ??? Wr
On Fri, Nov 03, 2017 at 04:03:47PM +0100, Bhumika Goyal wrote:
> Make some pointers of type intel_pmic_opregion_data as const as they
> do not modify the fields of the structure they point too.
> After this change, make the data field of intel_pmic_opregion
> structure const as this data field is u
This patch gives possibility to set parallel lcd pins for RGB888.
To be used with tcon0 in your .dts
Best regards
Giulio Benetti
Micronova srl
Signed-off-by: Giulio Benetti
---
arch/arm/boot/dts/sun7i-a20.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a
On Fri, Nov 03, 2017 at 04:03:48PM +0100, Bhumika Goyal wrote:
> Make these structures as const as they are only passed to the function
> intel_pmic_install_opregion_handler having the argument as const.
>
> Signed-off-by: Bhumika Goyal
Acked-by: Mika Westerberg
Make the code more readable by using a local variables
for commonly use expressions in the buffer manager part
of the driver.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_buffer_mgr.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers
Make the code more readable by using a local variable
for commonly use expression in the AEAD part of the driver.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_aead.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ccree/ssi_aead.c b
The driver was full of code checking "if (x != 0)".
Replace by "if (x)" for better readability.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_aead.c| 34 +++---
drivers/staging/ccree/ssi_buffer_mgr.c | 74 ++---
drivers/staging/ccree/ssi_c
Make the code more readable by using a local variable.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_pm.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ccree/ssi_pm.c b/drivers/staging/ccree/ssi_pm.c
index e1bc4c5..d60143c 100644
crypto_ahash_import() may be called either after
crypto_ahash_init() or without such call. Right now
we always internally call init() as part of
import(), thus leaking memory and mappings if the
user has already called init() herself.
Fix this by only calling init() internally if the
state is not
Remove necessary braces for single statement blocks to
improve code readabilty.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_buffer_mgr.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c
b/drivers/staging/ccree/ssi
Fold common code copying MAC to/from a temp. buffer
into an inline function instead of keeping multiple
open coded versions of same.
Signed-off-by: Gilad Ben-Yossef
---
drivers/staging/ccree/ssi_buffer_mgr.c | 92 ++
1 file changed, 38 insertions(+), 54 deletions(
The driver was using a function naming scheme
including common prefixes for driver global
functions based on the code module they came from.
The combination of long names with long common
prefixes made the whole thing hard for a human
to parse.
Make the semantic change of switching to simple
func
online_page_ext and page_ext_init allocate page_ext for each section, but
they do not allocate if the first PFN is !pfn_present(pfn) or
!pfn_valid(pfn).
Though the first page is not valid, page_ext could be useful for other
pages in the section. But checking all PFNs in a section may be time
consu
online_page_ext and page_ext_init allocate page_ext for each section, but
they do not allocate if the first PFN is !pfn_present(pfn) or
!pfn_valid(pfn). Then section->page_ext remains as NULL. lookup_page_ext
checks NULL only if CONFIG_DEBUG_VM is enabled. For a valid PFN,
__set_page_owner will try
This is another batch of ccree fixes & cleanups.
The first patch is a bug fix. All others are pure
readability and coding style fixes.
Gilad Ben-Yossef (8):
staging: ccree: fix leak of import() after init()
staging: ccree: use more readable func names
staging: ccree: simplify AEAD using loc
* Josh Poimboeuf wrote:
> Replace the nasty diff checks in the objtool Makefile with a clean bash
> script, and make the warnings more specific.
>
> Heavily inspired by tools/perf/check-headers.sh.
>
> Suggested-by: Ingo Molnar
> Signed-off-by: Josh Poimboeuf
> ---
> tools/objtool/Makefile
[CC Joonsoo]
On Tue 07-11-17 18:41:31, Jaewon Kim wrote:
> online_page_ext and page_ext_init allocate page_ext for each section, but
> they do not allocate if the first PFN is !pfn_present(pfn) or
> !pfn_valid(pfn). Then section->page_ext remains as NULL. lookup_page_ext
> checks NULL only if CONF
Hi,
Can you please have a look at this also?
Thanks and Regards,
Abhishek Goel
System Engineer
IBM India Pvt. Ltd.
On 11/07/2017 03:17 PM, Abhishek Goel wrote:
cpupower_is_cpu_online was incorrectly checking for 0. This patch fixes
this by checking for 1 when the cpu is online.
Signed-off-by:
On 2017年11月07日 15:54, Vladimir Zapolskiy wrote:
Hello Chris,
On 11/07/2017 04:49 AM, Chris Zhong wrote:
The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by
GPIO1_D6, this pin should be pull down then pull up to reset the phy.
Add a phy-reset property in emac, make the phy c
This patch adds device tree mali node compatible with r6p2 utgard kernel driver
provided by ARM and patched by maxime ripard on his github.
It can be easily used in target.dts with:
&mali {
status = "okay";
}
then loading mali.ko in user space.
Best regards
Giulio Benetti
Micronova srl
On Fri, Nov 03, 2017 at 11:33:36AM -0400, Johannes Weiner wrote:
> We've seen memory.stat reads in top-level cgroups take up to fourteen
> seconds during a userspace bug that created tens of thousands of ghost
> cgroups pinned by lingering page cache.
>
> Even with a more reasonable number of cgro
Commit-ID: 3bd51c5a371de917e4e7401c9df006b5998579df
Gitweb: https://git.kernel.org/tip/3bd51c5a371de917e4e7401c9df006b5998579df
Author: Josh Poimboeuf
AuthorDate: Mon, 6 Nov 2017 07:21:51 -0600
Committer: Ingo Molnar
CommitDate: Tue, 7 Nov 2017 10:48:34 +0100
objtool: Move kernel heade
Hi Viresh, Rafael,
Without this patch, schedutil is totally broken for us - is
there any chance at all this could go in 4.14 or is it just
too late?
Best Regards,
Chris
On 03/11/17 15:45, Viresh Kumar wrote:
On 03-11-17, 13:36, Chris Redpath wrote:
After
674e75411fc2 ("sched: cpufreq: Allow r
1 - 100 of 1025 matches
Mail list logo