Hi,
> -Original Message-
> From: Andrew Morton [mailto:a...@linux-foundation.org]
> Sent: Saturday, August 08, 2015 4:06 AM
> To: PINTU KUMAR
> Cc: 'Michal Hocko'; linux-kernel@vger.kernel.org; linux...@kvack.org;
> minc...@kernel.org; d...@stgolabs.net; koc...@gmail.com;
> mgor...@suse.de
On 08/09/2015 05:37 PM, PINTU KUMAR wrote:
Waking up of the kcompactd threads is also tied to kswapd activity and follows
these rules:
- we don't want to affect any fastpaths, so wake up kcompactd only from the
slowpath, as it's done for kswapd
- if kswapd is doing reclaim, it's more important
Hi,
On Sun 09-08-15 10:49:33, Sasha Levin wrote:
> I saw the following warning while fuzzing with trinity:
>
> [385644.689209] WARNING: CPU: 1 PID: 23536 at mm/truncate.c:740
> pagecache_isize_extended+0x124/0x180()
> [385644.691780] Modules linked in:
> [385644.692695] CPU: 1 PID: 23536 Comm:
On Sun, Aug 09, 2015 at 06:15:36PM +0530, Bhaktipriya Shridhar wrote:
> Fixed coding style issue "warning line over 80 characters"
> detected by checkpatch.pl in dgnc_mgmt.c
No signed off by.
> ---
> drivers/staging/dgnc/dgnc_mgmt.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>
On Sun, Aug 09, 2015 at 08:50:02PM +0530, Chandra S Gorentla wrote:
> Removed pointer check with integer; this fixes 'sparse' error -
> error: incompatible types for operation (>)
>left side has type unsigned char [usertype] *[usertype] pu8Tail
>right side has type int
>
> Signed-off-by: C
> -Original Message-
> From: Alan Stern [mailto:st...@rowland.harvard.edu]
> Sent: Saturday, August 08, 2015 2:04 AM
> To: Mehresh Ramneek-B31383
> Cc: linux-kernel@vger.kernel.org; ba...@ti.com;
> gre...@linuxfoundation.org; linux-...@vger.kernel.org; Li Yang-Leo-R58472
> Subject: Re: [P
I noticed that vfs.txt looked kinda funky, so I went ahead and
reformatted it.
Signed-off-by: Raymond Jennings
Cc: Andrew Morton
---
diff --git a/Documentation/filesystems/vfs.txt
b/Documentation/filesystems/vfs.txt
index 5eb8456..8ddfe06 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Doc
On Mon, Jul 13, 2015 at 12:07:32AM -0400, Bandan Das wrote:
> vhost threads are per-device, but in most cases a single thread
> is enough. This change creates a single thread that is used to
> serve all guests.
>
> However, this complicates cgroups associations. The current policy
> is to attach t
On Fri, 2015-31-07 at 12:12:20 UTC, Paul Bolle wrote:
> wf_critical_overtemp() is exported. But nothing uses that export.
> That's unsurprising because there's no header that defines it. Stop
> exporting that function and make it static.
>
> Signed-off-by: Paul Bolle
Applied to powerpc next, tha
On Fri, 2015-31-07 at 12:08:58 UTC, Paul Bolle wrote:
> wf_unregister_client() increments the client count when a client
> unregisters. That is obviously incorrect. Decrement that client count
> instead.
>
> Fixes: 75722d3992f5 ("[PATCH] ppc64: Thermal control for SMU based machines")
>
> Signed-
On Fri, 2015-31-07 at 12:14:20 UTC, Paul Bolle wrote:
> wf_find_control(), wf_find_sensor(), and wf_is_overtemp() are exported
> but unused. Remove these three functions.
>
> Signed-off-by: Paul Bolle
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a368c29cf105485d2c34
cheers
On Mon, 2015-29-06 at 21:30:39 UTC, Joe Perches wrote:
> break; break; isn't useful.
>
> Remove one.
>
> Signed-off-by: Joe Perches
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a825ac078b50266fb091
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-
On Thu, 2015-16-04 at 12:18:50 UTC, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> In case of error, the functions platform_get_resource() and kmalloc()
> returns NULL not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun
On 03/08/15 23:15, Robert Jarzmik wrote:
> The clocks need to be prepared before being enabled. Without it a
> warning appears in the drivers probe path :
>
> WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:707 clk_core_enable+0x84/0xa0()
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper Not tainte
On Sun, Aug 9, 2015 at 8:28 PM, Alexander Kuleshov
wrote:
> Replace ((x) >> PAGE_SHIFT) with the predefined PFN_DOWN macro.
>
> Signed-off-by: Alexander Kuleshov
Acked-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyon
On 8/10/15 5:20 PM, Naoya Horiguchi wrote:
> On Mon, Aug 10, 2015 at 05:06:25PM +0800, Wanpeng Li wrote:
> ...
> diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
> index 5015679..c343a45 100644
> --- a/mm/hwpoison-inject.c
> +++ b/mm/hwpoison-inject.c
> @@ -56,6 +56,8
Hello,
On 15-08-10 10:17:53, Srinivas Kandagatla wrote:
> Hi Sanchayan,
>
>
> Could you add Greg to the "to list" so that we can request him to pick
> this via his tree.
Will add Greg in cc with the next revision.
>
>
> Few nits, other than that driver looks good.
>
>
> On 06/08/15 16:27,
Hi Nathan,
On Sat, Aug 08, 2015 at 03:03:23AM +0100, Nathan Lynch wrote:
> Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the
> real timekeeper last") it has become possible on arm64 to:
>
> - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp
> via syscall.
>
On Mon, Aug 10, 2015 at 05:06:25PM +0800, Wanpeng Li wrote:
...
> >>>diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
> >>>index 5015679..c343a45 100644
> >>>--- a/mm/hwpoison-inject.c
> >>>+++ b/mm/hwpoison-inject.c
> >>>@@ -56,6 +56,8 @@ inject:
> >>> return memory_failure(pfn, 18, M
Hello,
On 15-08-10 10:18:01, Srinivas Kandagatla wrote:
>
>
> On 06/08/15 16:27, Sanchayan Maity wrote:
> > Add the devicetree bindings for the Freescale Vybrid On-Chip
> > OTP driver.
> >
> > Signed-off-by: Sanchayan Maity
> > ---
> > .../devicetree/bindings/nvmem/vf610-ocotp.txt| 20
On 06/08/15 16:27, Sanchayan Maity wrote:
Add the devicetree bindings for the Freescale Vybrid On-Chip
OTP driver.
Signed-off-by: Sanchayan Maity
---
.../devicetree/bindings/nvmem/vf610-ocotp.txt| 20
1 file changed, 20 insertions(+)
create mode 100644 Docume
Hi Sanchayan,
Could you add Greg to the "to list" so that we can request him to pick
this via his tree.
Few nits, other than that driver looks good.
On 06/08/15 16:27, Sanchayan Maity wrote:
The patch adds support for the On Chip One Time Programmable Peripheral
(OCOTP) on the Vybrid plat
Hello,
Zang MingJie writes:
> Days ago I mistakenly set the gateway address on my box, then add the
> default router, after I deleted the address my box can't access
> Internet and all things looks fine. It takes me several hours to
> figure out it is an kernel bug.
I don't consider this a kerne
On 8/10/15 4:50 PM, Naoya Horiguchi wrote:
> On Mon, Aug 10, 2015 at 04:29:18PM +0800, Wanpeng Li wrote:
>> Hi Naoya,
>>
>> On 8/10/15 4:10 PM, Naoya Horiguchi wrote:
>>> On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote:
THP pages will get a refcount in madvise_hwpoison() w/ MF_COU
This change isdn driver, remove reverse_bits() function,
use the generic revbit8() function instead.
Signed-off-by: yalin wang
---
drivers/isdn/mISDN/dsp_audio.c | 22 +-
1 file changed, 5 insertions(+), 17 deletions(-)
diff --git a/drivers/isdn/mISDN/dsp_audio.c b/drivers/i
On Sat, Aug 08, 2015 at 03:03:22AM +0100, Nathan Lynch wrote:
> Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the
> real timekeeper last") it has become possible on ARM to:
>
> - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp
> via syscall.
> - Subsequentl
On 8/10/15 4:54 PM, Wanpeng Li wrote:
On 8/10/15 4:35 PM, Naoya Horiguchi wrote:
On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote:
Hwpoison injection takes a refcount of target page and another refcount
of head page of THP if the target page is the tail page of a THP.
However,
cu
On Tue, Aug 04, 2015 at 12:39:13AM +0300, Kirill A. Shutemov wrote:
> On Mon, Aug 03, 2015 at 01:36:23PM -0700, Greg KH wrote:
> > On Mon, Aug 03, 2015 at 10:40:55PM +0300, Kirill A. Shutemov wrote:
> > > On Mon, Aug 03, 2015 at 09:19:14AM -0700, Greg KH wrote:
> > > > On Mon, Aug 03, 2015 at 01:34
From: Byungchul Park
current code ensures a task has a normalized vruntime when switching off
from fair class, but it does not ensure the task has a non-normalized
vruntime when switching back to the fair class.
this is an example breaking this consistency.
1. a task is in fair class and !queue
On 10-08-15, 11:01, Linus Walleij wrote:
> Sure, but does it work right off or does Olof have to
> pull a branch from your tree in for it to work? In that
> case I suggest you take this in the -rc phase. Anyways:
> Acked-by: Linus Walleij
It should work with latest 4.2 rc..
--
viresh
--
To unsu
On Thu, Aug 6, 2015 at 11:11 AM, Viresh Kumar wrote:
> Migrate EP93xx driver to the new 'set-state' interface provided by
> clockevents core, the earlier 'set-mode' interface is marked obsolete
> now.
>
> This also enables us to implement callbacks for new states of clockevent
> devices, for exam
On Mon, Aug 10, 2015 at 04:54:39PM +0800, Wanpeng Li wrote:
> On 8/10/15 4:35 PM, Naoya Horiguchi wrote:
> >On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote:
> >>Hwpoison injection takes a refcount of target page and another refcount
> >>of head page of THP if the target page is the tail
Hi Shunqian,
On 10/08/15 04:22, Shunqian Zheng wrote:
From: ZhengShunQian
There are some SoC specified values store in eFuse,
such as the cpu_leakage and cpu_version,
this driver can expose these values to /sys base on nvmem.
Also add the docs of efuse bindings and the rk3288's efuse config.
Hi Martin,
Thanks for your comments.
On 2015-08-10 3:39 PM, Martin Sustrik wrote:
> On 2015-08-10 08:23, Damian Hobson-Garcia wrote:
>> Replying to my own post, but I had the following comments/questions.
>> Martin, if you have any response to my comments I would be very happy to
>> hear them.
>>
On 8/10/15 4:35 PM, Naoya Horiguchi wrote:
On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote:
Hwpoison injection takes a refcount of target page and another refcount
of head page of THP if the target page is the tail page of a THP. However,
current code doesn't release the refcount of
On Mon, Aug 10, 2015 at 04:18:05PM +0800, Haibo Chen wrote:
> Add a required property "fsl,imx7d-usdhc" in binding doc.
> Add an optional property "fsl,tuning-step" in binding doc.
>
> Signed-off-by: Haibo Chen
You missed my former comments.
The patch title is too generous.
Better to change to
On (08/10/15 16:12), Minchan Kim wrote:
[..]
> diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
> index 491491a..75fefba 100644
> --- a/mm/zsmalloc.c
> +++ b/mm/zsmalloc.c
> @@ -35,7 +35,7 @@
> * metadata.
> * page->lru: links together first pages of various zspages.
> * Basic
On Fri, Aug 07, 2015 at 04:01:34PM -0700, Christopher Hall wrote:
> This patch allows system and device time ("cross-timestamp") to be
> performed by the driver. Currently, the cross-timestamping is performed
> in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday()
> and the gettim
Hi Jassi,
On Mon, Aug 10, 2015 at 12:32:05PM +0530, Jassi Brar wrote:
> On Thu, Aug 6, 2015 at 4:47 AM, Leo Yan wrote:
> > Hi Jassi,
> >
> > Thanks for review.
> >
> > On Wed, Aug 05, 2015 at 04:22:01PM +0530, Jassi Brar wrote:
> >> On Mon, Aug 3, 2015 at 6:43 AM, Leo Yan wrote:
> >
> > [...]
>
On Mon, Aug 10, 2015 at 04:29:18PM +0800, Wanpeng Li wrote:
> Hi Naoya,
>
> On 8/10/15 4:10 PM, Naoya Horiguchi wrote:
> >On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote:
> >>THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED
> >>flag, however, the refcount is sti
On 10/08/15 04:22, Shunqian Zheng wrote:
From: ZhengShunQian
The position to read/write must be less than max
register size.
Signed-off-by: ZhengShunQian
---
drivers/nvmem/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nvmem/core.c b/drivers/nvm
On Fri, Aug 07, 2015 at 04:01:35PM -0700, Christopher Hall wrote:
> --- a/drivers/net/ethernet/intel/e1000e/defines.h
> +++ b/drivers/net/ethernet/intel/e1000e/defines.h
> @@ -527,6 +527,13 @@
> #define E1000_RXCW_C 0x2000/* Receive config */
> #define E1000_RXCW_SYNCH 0
On 10/08/15 04:22, Shunqian Zheng wrote:
From: ZhengShunQian
Always enable the clock of efuse256. Base on the nvmem framework,
it seems like there is not a good way to enable the clock
when actual needed.
No, thats not true. NVMEM does not mandate anything, it give more
flexibity to provider
On Mon, Aug 10, 2015 at 1:54 PM, Lee Jones wrote:
> On Mon, 10 Aug 2015, Jassi Brar wrote:
>> On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones wrote:
>> > This header is currently only used for defines pertaining to data
>> > direction i.e. Rx, Tx or Loopback.
>> >
>> > Signed-off-by: Lee Jones
>> > -
Hi Alex,
On 08/07/2015 10:09 PM, Alex Williamson wrote:
> On Mon, 2015-08-03 at 19:20 +0200, Eric Auger wrote:
>> This patch adds the registration/unregistration of an
>> irq_bypass_consumer on irqfd assignment/deassignment.
>>
>> Signed-off-by: Eric Auger
>> Signed-off-by: Feng Wu
>>
>> ---
>>
>
On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote:
> Hwpoison injection takes a refcount of target page and another refcount
> of head page of THP if the target page is the tail page of a THP. However,
> current code doesn't release the refcount of head page if the THP is not
> supported
Yeah I just noticed as well that for some reason i've sent a merged patch :(
I all ready fixed it locally this morning and will re-send the patches.
I wonder what I did though ..
Sorry again,
Olliver
On 10-08-15 01:05, Iain Paton wrote:
NAK. This does much more than enabling the otg port.
On 08/07/2015 10:09 PM, Alex Williamson wrote:
> On Mon, 2015-08-03 at 19:20 +0200, Eric Auger wrote:
>> This patch introduces
>> - kvm_arch_irq_bypass_add_producer
>> - kvm_arch_irq_bypass_del_producer
>> - kvm_arch_irq_bypass_stop
>> - kvm_arch_irq_bypass_start
>>
>> They make possible to special
On Wed, Aug 05, 2015 at 01:11:23PM -0700, Greg Kroah-Hartman wrote:
> On Fri, Jul 03, 2015 at 05:27:18PM +0300, Jarkko Sakkinen wrote:
> > Added a new function sysfs_link_group_to_kobj() that adds a symlink
> > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns
> > in order to
Hi Heiko,
On 2015年08月10日 16:08, Heiko Stübner wrote:
Hi,
Am Montag, 10. August 2015, 11:22:43 schrieb Shunqian Zheng:
From: ZhengShunQian
Always enable the clock of efuse256. Base on the nvmem framework,
it seems like there is not a good way to enable the clock
when actual needed.
Signed-of
On Mon, 03 Aug 2015, Roger Quadros wrote:
> Some palmas based chip variants do not have OTG based ID logic.
> For these variants we rely on GPIO based USB ID detection.
>
> These chips do have VBUS comparator for VBUS detection so we
> continue to use the old way of detecting VBUS.
>
> Acked-by:
On Mon, Aug 10, 2015 at 04:18:04PM +0800, Haibo Chen wrote:
> tuning-step is the delay cell steps in tuning procedure. The default value
> of tuning-step is 1. Some boards or cards need another value to pass the
> tuning procedure. For example, imx7d-sdb board need the tuning-step value
> as 2, oth
On Mon, Aug 10, 2015 at 04:18:03PM +0800, Haibo Chen wrote:
> The imx7d usdhc is derived from imx6sx, the difference is that
> imx7d support HS400.
>
> So introduce a new compatible string for imx7d and add HS400
> support for imx7d usdhc.
>
> Signed-off-by: Haibo Chen
> ---
> drivers/mmc/host/
Hi Naoya,
On 8/10/15 4:10 PM, Naoya Horiguchi wrote:
On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote:
THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED
flag, however, the refcount is still held when fail to split THP pages.
Fix it by reducing the refcount of
Hi Peter,
On Wed, 2015-08-05 at 18:13 +0300, Alexey Brodkin wrote:
> Hi Peter,
>
> This mini-series adds perf support for ARCv2 based cores, which brings in
> overflow interupts and SMP. Additionally now raw events are supported as well.
>
> Please review !
>
> Compared to v1 this series has:
>
On Mon, 10 Aug 2015, Jassi Brar wrote:
> On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones wrote:
> > This header is currently only used for defines pertaining to data
> > direction i.e. Rx, Tx or Loopback.
> >
> > Signed-off-by: Lee Jones
> > ---
> > include/dt-bindings/mailbox/mailbox.h | 14
On 08/07/2015 04:24 AM, Joe Perches wrote:
> On Fri, 2015-08-07 at 09:01 +1000, Stephen Rothwell wrote:
>> Hi Boaz,
>>
>> Fetching the osd tree
>> (git://git.open-osd.org/linux-open-osd.git#linux-next) for the past few
>> days has produced this error:
>>
>> connection reset by peer
>
> And mail se
Shilpasri G Bhat writes:
>> Also, do we export this information via sysfs somewhere? It would seem
>> to want to go along with other cpufreq/cpu info there.
>
> No we don't export the throttling status of the cpu via sysfs. Since the
> throttling state is common across the chip, the per_cpu export
On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote:
> THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED
> flag, however, the refcount is still held when fail to split THP pages.
>
> Fix it by reducing the refcount of THP pages when fail to split THP.
>
> Signed-of
Add a required property "fsl,imx7d-usdhc" in binding doc.
Add an optional property "fsl,tuning-step" in binding doc.
Signed-off-by: Haibo Chen
---
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/m
The imx7d usdhc is derived from imx6sx, the difference is that
imx7d support HS400.
So introduce a new compatible string for imx7d and add HS400
support for imx7d usdhc.
Signed-off-by: Haibo Chen
---
drivers/mmc/host/sdhci-esdhc-imx.c | 88 --
1 file changed,
By default, for all imx SoC types, the watermark level is 16, and the
burst length is 8. But if the SDIO/SD/MMC I/O speed is fast enough,
this default watermark level and burst length will be the performance
bottleneck.
For example, i.MX7D support eMMC HS400 mode, this mode can run in 8 bit,
200MH
On Fri, 2015-08-07 at 09:59 +0200, Andrzej Hajda wrote:
> The patch was generated using fixed coccinelle semantic patch
> scripts/coccinelle/api/memdup.cocci [1].
>
> [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320
>
> Signed-off-by: Andrzej Hajda
Picked to 'linux-ubifs.git', thanks!
Changes for v5:
-move the clear exist timing setting to a common place rather than only in
HS200 mode.
-put the patch 6 ahead of patch 5.
Haibo Chen (6):
mmc: sdhci-esdhc-imx: add imx7d support and support HS400
mmc: sdhci-esdhc-imx: add tuning-step seting support
mmc: sdhci-esdhc-imx: add
Currently we find that if a usdhc is choosed to boot system, then ROM
code will set the burst length enable bit of this usdhc as 0.
This will make performance drop a lot if this usdhc's burst length is
configed. So this patch set back the burst_length_enable bit as 1,
which is the default value, a
On Sun, Aug 09, 2015 at 07:55:39PM +0200, Manfred Spraul wrote:
> sem_lock() did not properly pair memory barriers:
>
> !spin_is_locked() and spin_unlock_wait() are both only control barriers.
> The code needs an acquire barrier, otherwise the cpu might perform
> read operations before the lock te
tuning-step is the delay cell steps in tuning procedure. The default value
of tuning-step is 1. Some boards or cards need another value to pass the
tuning procedure. For example, imx7d-sdb board need the tuning-step value
as 2, otherwise it can't pass the tuning procedure.
So this patch add the tu
imx7d-sdb board has a eMMC5.0 on usdhc3. This eMMC support HS400.
This patch add usdhc3 support for HS400
Signed-off-by: Haibo Chen
---
arch/arm/boot/dts/imx7d-sdb.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb
On Sun, Aug 09, 2015 at 11:12:25PM +0900, Kamezawa Hiroyuki wrote:
> On 2015/08/08 22:05, Vladimir Davydov wrote:
> >On Fri, Aug 07, 2015 at 10:38:16AM +0900, Kamezawa Hiroyuki wrote:
...
> >>All ? hmm. It seems that mixture of record of global memory pressure and of
> >>local memory
> >>pressure
On Fri, Aug 7, 2015 at 11:21 PM, James Hogan wrote:
> Update the nios2 architecture code to export strncpy_from_user() and
> strnlen_user() to modules. The test_user_copy module will soon test
> them.
>
> Signed-off-by: James Hogan
> Cc: Ley Foon Tan
> Cc: nios2-...@lists.rocketboards.org
> ---
On Sun, Aug 09, 2015 at 10:50:41PM -0400, Ming Lei wrote:
> Christoph, could you share your idea again about this approch?
>
> If you still don't think it is good to switch between buffered I/O
> and direct I/O, I will not do that in next post.
If we epxose a 512 byte block size to the loop devic
Hi,
Am Montag, 10. August 2015, 11:22:43 schrieb Shunqian Zheng:
> From: ZhengShunQian
>
> Always enable the clock of efuse256. Base on the nvmem framework,
> it seems like there is not a good way to enable the clock
> when actual needed.
>
> Signed-off-by: ZhengShunQian
actually regmap alrea
On (08/10/15 16:12), Minchan Kim wrote:
> Every zspage in a size_class has same max_objects so we could
> move it to a size_class.
>
> Signed-off-by: Minchan Kim
> ---
> mm/zsmalloc.c | 22 ++
> 1 file changed, 10 insertions(+), 12 deletions(-)
>
> diff --git a/mm/zsmalloc.c
On Wed, Jul 15, 2015 at 6:30 AM, Moritz Fischer
wrote:
> +
> +static void xilinx_mbox_rx_data(struct mbox_chan *chan)
> +{
> + struct xilinx_mbox *mbox = mbox_chan_to_xilinx_mbox(chan);
> + u32 data;
> +
> + if (xilinx_mbox_pending(mbox)) {
> + data = readl_relaxed
This patch was originally introduced when we made power_allocator the
default governor where we had issues in binding a thermal zone w/o
parameters to. Then we came out this facility for binding a specific
governor to a thermal zone in dts instead of the default governor.
Javi seems like this idea
void pointers do not need to be cast to other pointer types.
The semantic patch used to find this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Shraddha Barke
---
drivers/staging/unisys/visorbus/visorbus_main
kfree on NULL pointer is a no-op.
This patch uses the following semantic patch to find such an instance
where NULL check is present before kfree.
//
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);
@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
Given that I've gotten some of the details wrong in the past (and I've
seen others do likewise), I thought it might be helpful to collate the
best practices for adding a new system call to the kernel.
Apologies for the wide circulation -- I've tried to include folk who've
recently added or propose
This patch does away with the cast on void * as it is unnecessary.
Semantic patch used is as follows:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (void *)
e
)
Signed-off-by: Shraddha Barke
---
drivers/staging/lustre/lustre/libcfs/mo
Add a document describing the process of adding a new system call,
including the need for a flags argument for future compatibility, and
covering 32-bit/64-bit concerns (albeit in an x86-centric way).
Signed-off-by: David Drysdale
Reviewed-by: Michael Kerrisk
Reviewed-by: Eric B Munson
Reviewed
Hi Caesar,
On Sun, Aug 9, 2015 at 11:30 PM, Caesar Wang wrote:
> Dear Dmitry,
>
> Thanks your patch.
>
> The code looks like fine,but I don't think the TS-ADC will work on rk3288
> SoC.
What do you mean? It seems to work when I ran it...
>
>
> 在 2015年08月08日 04:59, Dmitry Torokhov 写道:
>>
>> We a
On 10-08-15, 13:21, Shilpasri G Bhat wrote:
> Okay will change the messages.
This series is already applied by Rafael. So send a new patch if there
is any code change. Else, just let it go :)
--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a me
On 08/10/2015 07:11 AM, Stewart Smith wrote:
> Shilpasri G Bhat writes:
>> diff --git a/drivers/cpufreq/powernv-cpufreq.c
>> b/drivers/cpufreq/powernv-cpufreq.c
>> index d0c18c9..a634199 100644
>> --- a/drivers/cpufreq/powernv-cpufreq.c
>> +++ b/drivers/cpufreq/powernv-cpufreq.c
>> @@ -33,6 +33
On Fri, Aug 7, 2015 at 4:54 AM, Hannes Reinecke wrote:
> When running on files the physical blocksize is actually 4k,
> so we should be announcing it as such. This is enabled with
> a new LO_FLAGS_BLOCKSIZE flag value to the existing ioctl.
>
> Signed-off-by: Hannes Reinecke
> ---
> drivers/bloc
On Mon, Aug 10, 2015 at 09:24:20AM +0300, Mike Rapoport wrote:
> to allow building Android ASHMEM as module
NAK. This is not functionality that should be used by a module to
start, and even if it was exporting functionality is only acceptable
for proper mainline modules, not code in the staging t
Hi Saurabh,
On 08/04/2015 04:02 PM, Karajgaonkar, Saurabh (S.) wrote:
From: Saurabh Karajgaonkar
Replace redundant variable use in return statement.
Signed-off-by: Saurabh Karajgaonkar
---
drivers/usb/host/ehci-st.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
Acked-by:
On Wed, Aug 5, 2015 at 5:21 PM, Pavel Machek wrote:
> Hi!
>
>> Add a document describing the process of adding a new system call,
>> including the need for a flags argument for future compatibility, and
>> covering 32-bit/64-bit concerns (albeit in an x86-centric way).
>>
>> Signed-off-by: David D
On 08/07/2015 11:41 PM, Jeff Moyer wrote:
<>
>
>> We need to cope with the case where the end of a partition isn't on a
>> page boundary though.
>
> Well, that's usually done by falling back to buffered I/O. I gave that
> a try and panicked the box. :) I'll keep looking into it, but probably
>
On Fri, Aug 07, 2015 at 06:15:15PM +0200, Christoph Hellwig wrote:
> Signed-off-by: Dan Williams
> [hch: split from a larger patch by Dan]
> Signed-off-by: Christoph Hellwig
Acked-by: Herbert Xu
--
Email: Herbert Xu
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.
Hi Stewart,
On 08/10/2015 05:53 AM, Stewart Smith wrote:
> Shilpasri G Bhat writes:
>> Add OPAL_MSG_OCC message definition to opal_message_type to receive
>> OCC events like reset, load and throttled. Host performance can be
>> affected when OCC is reset or OCC throttles the max Pstate.
>> We can
The xhci platform driver needs to work on systems that
either only support 64-bit DMA or only support 32-bit DMA.
Attempt to set a coherent dma mask for 64-bit DMA, and
attempt again with 32-bit DMA if that fails.
[dhdang: regenerate the patch over 4.2-rc5 and address new comments]
Signed-off-by:
Provide the methods to let ACPI identify the need to use
xhci-platform. Change the Kconfig files so the
xhci-plat.o file is selectable during kernel config.
This has been tested on an ARM64 machine with platform XHCI, an
x86_64 machine with XHCI, and an x86_64 machine without XHCI.
There were no r
On Fri, Aug 07, 2015 at 06:15:13PM +0200, Christoph Hellwig wrote:
> From: Dan Williams
>
> Signed-off-by: Dan Williams
> [hch: split from a larger patch by Dan]
> Signed-off-by: Christoph Hellwig
Acked-by: Herbert Xu
--
Email: Herbert Xu
Home Page: http://gondor.apana.org.au/~herbert/
PGP
In case of the device tree support is disabled, the fifo_pin is uninitialized,
this
patch will set the fifo_pin value based on platform data
Signed-off-by: Yong Li
---
drivers/net/ieee802154/cc2520.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/n
On Mon, Aug 10, 2015 at 9:21 AM, Geert Uytterhoeven
wrote:
> JFYI, when comparing v4.2-rc6[1] to v4.2-rc5[3], the summaries are:
> - build errors: +19/-7
+ /home/kisskb/slave/src/drivers/base/regmap/regmap-i2c.c: error:
implicit declaration of function 'i2c_check_functionality'
[-Werror=impli
Below is the list of build error/warning regressions/improvements in
v4.2-rc6[1] compared to v4.1[2].
Summarized:
- build errors: +19/-51
- build warnings: +144/-260
JFYI, when comparing v4.2-rc6[1] to v4.2-rc5[3], the summaries are:
- build errors: +19/-7
- build warnings: +38/-39
Note
On Fri, Jul 31, 2015 at 07:43:09PM +0900, Minchan Kim wrote:
> Hi Gioh,
>
> On Mon, Jul 13, 2015 at 05:35:17PM +0900, Gioh Kim wrote:
> > From: Gioh Kim
> >
> > Add framework to register callback functions and check page mobility.
> > There are some modes for page isolation so that isolate inter
Currently, we store class:fullness into page->mapping.
The number of class we can support is 255 and fullness is 4 so
10bit is enough to represent them.
IOW, we have room (sizeof(void *) * 8 - 10) in mapping.
Meanwhile, the bits we need to store in-use objects in zspage
is just 11bit like below.
Every zspage in a size_class has same max_objects so we could
move it to a size_class.
Signed-off-by: Minchan Kim
---
mm/zsmalloc.c | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..491491a 100644
--- a/mm/zs
For supporting runtime compaction with VM, we need to have proper
address_space on every page so zsmalloc shouldn't use page->mapping.
This patch moves zsmalloc metadata from mapping to freelist.
Signed-off-by: Minchan Kim
---
mm/zsmalloc.c | 18 +-
1 file changed, 9 insertions(
901 - 1000 of 1003 matches
Mail list logo