System may crash after unloading ipmi_si.ko module
because a timer may remain and fire after the module cleaned up resources.
cleanup_one_si() contains the following processing.
/*
* Make sure that interrupts, the timer and the thread are
* stopped and will not run again
Some functions from refcount_t API provide different
memory ordering guarantees that their atomic counterparts.
This adds a document outlining these differences.
Signed-off-by: Elena Reshetova
---
Documentation/refcount-vs-atomic.txt | 124 +++
1 file changed, 124
Hi,
Thanks for Guenter's review and detail comments.
Please help to apply this patch if there is no any other comments.
Best regards,
Eric Long
On Fri, Nov 10, 2017 at 01:00:32PM -0800, Guenter Roeck wrote:
> On Mon, Nov 06, 2017 at 10:46:28AM +0800, Eric Long wrote:
> > This patch adds the watc
Changes in v2:
- typos and english are fixed based on Randy Dunlap's
proof reading
- structure of document improved:
* definitions now in the beginning
* confusing examples removed
* less redundancy overall and more up-to-the-point text
- definitions try to follow LKMM define
On Wed, Nov 15, 2017 at 08:43:58AM +0100, Ingo Molnar wrote:
>
> * Rafael J. Wysocki wrote:
>
> > On Wednesday, November 15, 2017 1:06:12 AM CET Linus Torvalds wrote:
> > > On Tue, Nov 14, 2017 at 4:04 PM, Linus Torvalds
> > > wrote:
> > > > On Tue, Nov 14, 2017 at 3:53 PM, Thomas Gleixner
>
On Tue, Nov 14, 2017 at 3:32 PM, Peter Ujfalusi wrote:
> Even with the introduced vchan_synchronize() we can face race when
> terminating a cyclic transfer.
>
> If the terminate_all is called after the interrupt handler called
> vchan_cyclic_callback(), but before the vchan_complete tasklet is ca
* Linus Torvalds wrote:
> On Tue, Nov 14, 2017 at 1:48 AM, Borislav Petkov wrote:
> >
> > Just did 2 suspend cycles (once to RAM and once to disk) on my x230
> > with your tree from right now and it looks ok so far. So it could be
> > machine- and config-specific...
>
> .. and it's not repeata
On Tue, Nov 14, 2017 at 3:32 PM, Peter Ujfalusi wrote:
> To avoid race with vchan_complete, use the race free way to terminate
> running transfer.
>
> Implement the device_synchronize callback to make sure that the terminated
> descriptor is freed.
>
> CC: Linus Walleij
> Signed-off-by: Peter Uj
On Tue, Nov 14, 2017 at 3:32 PM, Peter Ujfalusi wrote:
> The vchan_vdesc_fini() can be used to free or reuse a given descriptor
> after it has been marked as completed.
>
> Signed-off-by: Peter Ujfalusi
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
Hi Jaegeuk,
On 2017/11/14 13:12, Jaegeuk Kim wrote:
> This patch shows # of dirty pages and # of hidden quota files.
>
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/debug.c | 11 +++
> fs/f2fs/f2fs.h | 10 --
> 2 files changed, 19 insertions(+), 2 deletions(-)
>
> diff --git a/
Am 15.11.2017 07:29 schrieb Greg KH:
On Tue, Nov 14, 2017 at 10:50:37AM +0100, Martin Kepplinger wrote:
A few years ago the FSF moved and "59 Temple Place" is wrong. Having
this
still in our source files feels old and unmaintained.
Let's take the license statement serious and not confuse users
Hi Matthieu
On 14 November 2017 at 21:03, Mathieu Desnoyers
wrote:
> This new cpu_opv system call executes a vector of operations on behalf
> of user-space on a specific CPU with preemption disabled. It is inspired
> from readv() and writev() system calls which take a "struct iovec" array
> as ar
* Rafael J. Wysocki wrote:
> On Wednesday, November 15, 2017 1:06:12 AM CET Linus Torvalds wrote:
> > On Tue, Nov 14, 2017 at 4:04 PM, Linus Torvalds
> > wrote:
> > > On Tue, Nov 14, 2017 at 3:53 PM, Thomas Gleixner
> > > wrote:
> > >> Current head + Raphaels patch:
> > >>
> > >> real0m0.
On Tue, Nov 14, 2017 at 12:39 PM, Arnd Bergmann wrote:
> linux/gpio/consumer.h is a bit odd, it contains definitions for a number
> of the advanced gpio interfaces, in variants for both gpiolib-based
> platforms and those not using gpiolib.
>
> The file gets included implicitly by linux/gpio.h, b
On 12 November 2017 at 01:42, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Add helper routines to find and return a suitable subsystem callback
> during the "noirq" phases of system suspend/resume (or analogous)
> transitions as well as during the "late" phase of system suspend and
> th
bus access read/write events are not supported in A73, based on the
Cortex-A73 TRM r0p2, section 11.9 Events (pages 11-457 to 11-460).
Fixes: 5561b6c5e981 "arm64: perf: add support for Cortex-A73"
Signed-off-by: Xu YiPing
---
arch/arm64/kernel/perf_event.c | 6 --
1 file changed, 6 deletions
On Tue, Nov 14, 2017 at 11:13:43PM -0800, Bjorn Andersson wrote:
> Some LED controllers have support for autonomously controlling
> brightness over time, according to some preprogrammed pattern or
> function.
>
> This adds a new optional operator that LED class drivers can implement
> if they supp
* Josef Bacik wrote:
> > > Then 'not crashing kernel' requirement will be preserved.
> > > btrfs or whatever else we will be testing with override_return
> > > will be functioning in 'stress test' mode and if bpf program
> > > is not careful and returns error all the time then one particular
> >
[Adding more people and alsa-devel to Cc]
On Wed, 15 Nov 2017 03:40:09 +0100,
Linus Torvalds wrote:
>
> On Tue, Nov 14, 2017 at 6:51 AM, Takashi Iwai wrote:
> >
> > please pull sound updates for v4.15-rc1 from:
>
> Hmm. Making "oldconfig" on my laptop with this, my
> SND_SOC_INTEL_SKYLAKE went
From: Jacob Chen
rk3288 have a Embedded 13M ISP and MIPI-CSI2 interface.
Signed-off-by: Jacob Chen
---
arch/arm/boot/dts/rk3288.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 60658c5c9a48..f
From: Shunqian Zheng
rk3399 have two ISP, but we havn't test isp1, so just add isp0 at present.
Signed-off-by: Shunqian Zheng
Signed-off-by: Jacob Chen
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/
From: Jeffy Chen
Add the header for userspace
Signed-off-by: Jeffy Chen
Signed-off-by: Jacob Chen
---
include/uapi/linux/rkisp1-config.h | 554 +
1 file changed, 554 insertions(+)
create mode 100644 include/uapi/linux/rkisp1-config.h
diff --git a/include/
From: Shunqian Zheng
Add the Rockchip ISP1 specific processing parameter format
V4L2_META_FMT_RK_ISP1_PARAMS and metadata format
V4L2_META_FMT_RK_ISP1_STAT_3A for 3A.
Signed-off-by: Shunqian Zheng
Signed-off-by: Jacob Chen
---
drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++
include/uapi/linux/vi
It will be more helpful to add some tracepoints to track RTC actions when
debugging RTC driver. Below sample is that we set/read the RTC time, then
set 2 alarms, so we can see the trace logs:
set/read RTC time:
kworker/1:1-586 [001] 21.826112: rtc_set_time: 2017-11-10 08:13:00 UTC
(1510301
This patch series add a ISP(Camera) v4l2 driver for rockchip rk3288/rk3399 SoC.
TODO:
- Thomas is rewriting the binding code between isp, phy, sensors, i hope we
could get suggestions.
https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/768633/2
rules:
From: Shunqian Zheng
Add the Rockchip ISP1 specific processing parameter format
V4L2_META_FMT_RK_ISP1_PARAMS and metadata format
V4L2_META_FMT_RK_ISP1_STAT_3A for 3A.
Signed-off-by: Shunqian Zheng
Signed-off-by: Jacob Chen
---
drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++
include/uapi/linux/vi
Hi,
On 11/14/2017 03:28 PM, Felipe Balbi wrote:
> Hi,
>
> Mathias Nyman writes:
>>> +static int dbc_buf_alloc(struct dbc_buf *db, unsigned int size)
>>> +{
>>> + db->buf_buf = kzalloc(size, GFP_KERNEL);
>>> + if (!db->buf_buf)
>>> + return -ENOMEM;
>>> +
>>> + db->buf_size = size;
On Tue 14 Nov 22:58 PST 2017, Christophe JAILLET wrote:
> In case of error returned by 'q6v5_xfer_mem_ownership', we must free
> some resources before returning.
>
> In 'q6v5_mpss_init_image()', add a new label to undo a previous
> 'dma_alloc_attrs()'.
> In 'q6v5_mpss_load()', re-use the already
[...]
>>
>> When pm_runtime_set_suspended(dev) is called, dev's child device may
>> still be runtime PM enabled and active.
>> I was suggesting to add a check for this scenario, to see if dev's
>> child device is runtime PM is enabled, as and additional constraint
>> before deciding to return an e
This series introduces a generic pattern interface in the LED class and
a driver for the Qualcomm Light Pulse Generator.
Bjorn Andersson (3):
leds: core: Introduce generic pattern interface
leds: Add driver for Qualcomm LPG
DT: leds: Add Qualcomm Light Pulse Generator binding
Documentation
This adds the binding document describing the three hardware blocks
related to the Light Pulse Generator found in a wide range of Qualcomm
PMICs.
Signed-off-by: Bjorn Andersson
---
Changes since v2:
- Squashed all things into one node
- Removed quirks from the binding, compatible implies number
The Light Pulse Generator (LPG) is a PWM-block found in a wide range of
PMICs from Qualcomm. It can operate on fixed parameters or based on a
lookup-table, altering the duty cycle over time - which provides the
means for e.g. hardware assisted transitions of LED brightness.
Signed-off-by: Bjorn An
Some LED controllers have support for autonomously controlling
brightness over time, according to some preprogrammed pattern or
function.
This adds a new optional operator that LED class drivers can implement
if they support such functionality as well as a new device attribute to
configure the pat
On 11/14/2017 07:44 PM, Matthew Wilcox wrote:
> On Mon, Nov 13, 2017 at 02:46:25PM -0800, Dave Hansen wrote:
>> On 11/13/2017 02:20 PM, Dave Hansen wrote:
>>> On 11/09/2017 05:09 PM, Tycho Andersen wrote:
which I guess is from the additional flags in grow_dev_page() somewhere
down
t
In case of error returned by 'q6v5_xfer_mem_ownership', we must free
some resources before returning.
In 'q6v5_mpss_init_image()', add a new label to undo a previous
'dma_alloc_attrs()'.
In 'q6v5_mpss_load()', re-use the already existing error handling code to
undo a previous 'request_firmware()',
On 11/15/17 at 01:47pm, Baoquan He wrote:
> Hi Dave,
>
> Thanks for your effort to push this into upstream. While I have one
> concern, please see the inline comments.
>
> On 10/24/17 at 01:31pm, Dave Young wrote:
> > Now crashkernel=X will fail if there's not enough memory at low region
> > (bel
On 2017/11/15 05:54, r...@redhat.com wrote:
From: Rik van Riel
Currently, every time a VCPU is scheduled out, the host kernel will
first save the guest FPU/xstate context, then load the qemu userspace
FPU context, only to then immediately save the qemu userspace FPU
context back to memory. Wh
- On Nov 14, 2017, at 11:38 PM, Stephen Rothwell s...@canb.auug.org.au
wrote:
> Hi Mathieu,
>
> On Wed, 15 Nov 2017 01:22:04 + (UTC) Mathieu Desnoyers
> wrote:
>>
>> - On Nov 14, 2017, at 7:15 PM, Stephen Rothwell s...@canb.auug.org.au
>> wrote:
>>
>> > On Tue, 14 Nov 2017 23:54:0
On Tue, Nov 14, 2017 at 11:48 AM, Dan Carpenter
wrote:
> On Tue, Nov 14, 2017 at 11:33:20AM +0200, Gilad Ben-Yossef wrote:
>> On Mon, Nov 13, 2017 at 8:33 PM, Dan Carpenter
>> wrote:
>> > These cleanups look nice. Thanks.
>> >
>> > I hope you do a mass remove of likely/unlikely in a patch soon.
There is a regression of commit 4a646580f793 ("Input: ALPS - fix
two-finger scroll breakage"), ALPS device fails with log:
psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data 0xCE after
commit 4a646580f793, after restore the
- On Nov 14, 2017, at 11:12 PM, Andy Lutomirski l...@amacapital.net wrote:
>> On Nov 14, 2017, at 1:32 PM, Mathieu Desnoyers
>>
>> wrote:
>>
>> - On Nov 14, 2017, at 4:15 PM, Andy Lutomirski l...@amacapital.net wrote:
>>
>>
>> One thing I kept however that diverge from your recommendatio
On Tue, Nov 14, 2017 at 10:50:37AM +0100, Martin Kepplinger wrote:
> A few years ago the FSF moved and "59 Temple Place" is wrong. Having this
> still in our source files feels old and unmaintained.
>
> Let's take the license statement serious and not confuse users.
>
> As https://www.gnu.org/lic
On Tue, Nov 14, 2017 at 4:56 PM, Minchan Kim wrote:
> On Tue, Nov 14, 2017 at 06:37:42AM +0900, Tetsuo Handa wrote:
>> When shrinker_rwsem was introduced, it was assumed that
>> register_shrinker()/unregister_shrinker() are really unlikely paths
>> which are called during initialization and tear d
Kirill Tkhai writes:
> Curently mutex is used to protect pernet operations list. It makes
> cleanup_net() to execute ->exit methods of the same operations set,
> which was used on the time of ->init, even after net namespace is
> unlinked from net_namespace_list.
>
> But the problem is it's need
Add support for USB3 snooping by asserting bits
in register DWC3_GSBUSCFG0 for data and descriptor.
Signed-off-by: Changming Huang
Signed-off-by: Rajesh Bhagat
Signed-off-by: Ran Wang
---
drivers/usb/dwc3/core.c | 24
drivers/usb/dwc3/core.h | 10 ++
2 files ch
On Tue, 14 Nov 2017, Masahiro Yamada wrote:
> Hi Julia,
>
>
> 2017-11-14 18:07 GMT+09:00 Julia Lawall :
> >> coccicheck failed
> >> $ cat cocci-debug.txt
> >> /home/masahiro/bin/spatch -D report --no-show-diff --very-quiet
> >> --cocci-file scripts/coccinelle/null/badzero.cocci --dir . -I
> >> .
Hi, Brian,
thanks for your quick fix, as it is in merge window right now, I will
queue it for for next -rc2.
thanks,
rui
On Tue, 2017-11-14 at 10:50 -0700, Brian Bian wrote:
> I have submitted a patch to suppress such messages. The INT3400
> driver
> currently handles 0x83 thermal-relationship-t
On Sun 12 Nov 09:17 PST 2017, Randy Dunlap wrote:
> [44098.635339] qcom_glink_native: module license 'unspecified' taints kernel.
Thanks for reporting this.
Regards,
Bjorn
On 2017-11-08 16:04, Vasily Averin wrote:
> On 2017-11-08 15:09, Alexander Shishkin wrote:
>> On Mon, Nov 06, 2017 at 09:22:18AM +0300, Vasily Averin wrote:
>>> Fixes: commit e422267322cd ("perf: Add PERF_RECORD_NAMESPACES to include
>>> namespaces related info")
>>> Signed-off-by: Vasily Averin
Hi Dave,
Thanks for your effort to push this into upstream. While I have one
concern, please see the inline comments.
On 10/24/17 at 01:31pm, Dave Young wrote:
> Now crashkernel=X will fail if there's not enough memory at low region
> (below 896M) when trying to reserve large memory size. One ca
Hi all,
Please do not add any v4.16 material to your linux-next included trees
until v4.15-rc1 has been released.
Changes since 20171114:
New tree: rseq
Removed tree: vfs-jk at maintainers request
The rseq tree gained conflicts against Linus' and the powerpc trees.
Non-merge co
perf with --namespace key leaks various memory objects including namespaces
# uname -r
4.14.0+
# perf record -q --namespace unshare -n -U -p --fork true
# grep namespace /proc/slabinfo
pid_namespace 1 12 2568 128
user_namespace 1 39824 398
net_namesp
From: Elena Reshetova
Date: Fri, 20 Oct 2017 10:57:57 +0300
> atomic_t variables are currently used to implement reference
> counters with the following properties:
> - counter is initialized to 1 using atomic_set()
> - a resource is freed upon counter reaching zero
> - once counter reaches ze
From: Kees Cook
Date: Tue, 10 Oct 2017 15:07:27 -0700
> In preparation for unconditionally passing the struct timer_list pointer to
> all timer callbacks, switch to using the new timer_setup() and from_timer()
> to pass the timer pointer explicitly. Adds a static variable to hold timeout
> value.
On Tuesday 14 November 2017 09:23 PM, Josh Poimboeuf wrote:
On Tue, Nov 14, 2017 at 03:59:21PM +0530, Naveen N. Rao wrote:
Kamalesh Babulal wrote:
From: Josh Poimboeuf
When attempting to load a livepatch module, I got the following error:
module_64: patch_module: Expect noop after relocate
From: Vijay Kumar
Date: Wed, 11 Oct 2017 12:50:01 -0600
> SPARC provides lzcnt instruction (with VIS3) which can be used to
> optimize fls, __fls and fls64 functions. For the systems that supports
> lzcnt instruction, we now do boot time patching to use sparc
> optimized fls, __fls and fls64 func
From: "Gustavo A. R. Silva"
Date: Tue, 14 Nov 2017 14:26:16 -0600
> It seems that the intention of the code is to null check the value
> returned by function genlmsg_put. But the current code is null
> checking the address of the pointer that holds the value returned
> by genlmsg_put.
>
> Fix th
Hi all,
After merging the net-next tree, today's linux-next build (powerpc
allyesconfig) produced this warning:
In file included from drivers/net/ethernet/ibm/ibmvnic.c:52:0:
drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_open':
include/linux/dma-mapping.h:571:2: warning: 'dma_addr' may
Hi Mathieu,
On Wed, 15 Nov 2017 01:22:04 + (UTC) Mathieu Desnoyers
wrote:
>
> - On Nov 14, 2017, at 7:15 PM, Stephen Rothwell s...@canb.auug.org.au
> wrote:
>
> > On Tue, 14 Nov 2017 23:54:06 + (UTC) Mathieu Desnoyers
> > wrote:
> >>
> >> Would it be possible to add the "rseq" t
Hi Mathieu,
Today's linux-next merge of the rseq tree got a conflict in:
kernel/sched/core.c
between commit:
7863406143d8 ("sched/isolation: Move housekeeping related code to its own
file")
from Linus' tree and commit:
533bd7403b04 ("x86: Introduce sync_core_before_usermode (v2)")
fro
Hi Mathieu,
Today's linux-next merge of the rseq tree got a conflict in:
arch/powerpc/Kconfig
between commit:
32ce3862af3c ("powerpc/lib: Implement PMEM API")
from the powerpc tree and commit:
ba4b152f3f2f ("membarrier: powerpc: Skip memory barrier in switch_mm() (v7)")
from the rseq t
Hi Mathieu,
[I may regret adding the rseq tree ...]
Today's linux-next merge of the rseq tree got a conflict in:
arch/x86/entry/entry_64.S
between commits:
9da78ba6b47b ("x86/entry/64: Remove the restore_c_regs_and_iret label")
26c4ef9c49d8 ("x86/entry/64: Split the IRET-to-user and IRET
2017-11-15 11:03 GMT+08:00 Rik van Riel :
> On Wed, 2017-11-15 at 08:47 +0800, Wanpeng Li wrote:
>> 2017-11-15 5:54 GMT+08:00 :
>> > From: Rik van Riel
>> >
>> > Currently, every time a VCPU is scheduled out, the host kernel will
>> > first save the guest FPU/xstate context, then load the qemu
>>
On Tue, Nov 14, 2017 at 11:40:31PM +0100, Sebastian Gottschall wrote:
> > And anyway the end of life has been indicated on kernel.org for 18 months
> > and in every announce in 2017, so it cannot be a surprize anymore :-) At
> > least nobody seemed to complain for all this time!
>
> itsn no surpri
Commit 429f203eb712 ("arm64: dts: uniphier: route on-board device IRQ
to GPIO controller") missed to update this DTS. It becames a real
problem when arm and arm64 trees are merged together.
Signed-off-by: Masahiro Yamada
---
Arnd, Olof,
I think you are sending pull-requests for v4.15-rc1 short
> On Nov 14, 2017, at 1:32 PM, Mathieu Desnoyers
> wrote:
>
> - On Nov 14, 2017, at 4:15 PM, Andy Lutomirski l...@amacapital.net wrote:
>
>
> One thing I kept however that diverge from your recommendation is the
> "sign" parameter to the rseq syscall. I prefer this flexible
> approach to a ha
Hi Mel,
Your patch works good.
Here are the results of your patch.
- boot up without trace_buf_size boot option
When system boots up without trace_buf_size boot option, deferred_init_memmap()
runs after booting SMP configuration. There no change of boot sequence between
4.14.0 and 4.14.0 with y
On 2017年11月14日 22:32, Peter Ujfalusi wrote:
To avoid race with vchan_complete, use the race free way to terminate
running transfer.
Implement the device_synchronize callback to make sure that the terminated
descriptor is freed.
CC: Zhangfei Gao
Signed-off-by: Peter Ujfalusi
Thanks Peter.
>From: Ben Hutchings [mailto:ben.hutchi...@codethink.co.uk]
>Sent: Dienstag, 14. November 2017 16:45
>> 4.4-stable review patch. If anyone has any objections, please let me know.
>>
>> --
>>
>> From: Patrick Bruenn
>>
>>
>> [ Upstream commit 8b649e426336d7d4800ff9c82858328f4215ba0
> IMO, using the extern keyword on function prototypes in *.h files
> is superfluous, but, It doesn't matter for functionality. *extern*
> is default keywords.
>
> AFAIK, it's a code style problem. In x86 arch, we prefer to
> keep *extern* explicitly, so, let's keep it like before for
> code consis
Hi Pavel,
At 11/15/2017 05:46 AM, Pavel Tatashin wrote:
Hi Dou,
Great comments, my replies below:
static inline unsigned long long paravirt_sched_clock(void)
{
- return PVOP_CALL0(unsigned long long, pv_time_ops.sched_clock);
+ return PVOP_CALL0(unsigned long long,
pv_time_ops.a
On 11/15/2017 05:21 AM, Michael S. Tsirkin wrote:
On Tue, Nov 14, 2017 at 08:02:03PM +0800, Wei Wang wrote:
On 11/14/2017 01:32 AM, Michael S. Tsirkin wrote:
- guest2host_cmd: written by the guest to ACK to the host about the
commands that have been received. The host will clear the correspondi
On Mon, Nov 13, 2017 at 02:46:25PM -0800, Dave Hansen wrote:
> On 11/13/2017 02:20 PM, Dave Hansen wrote:
> > On 11/09/2017 05:09 PM, Tycho Andersen wrote:
> >> which I guess is from the additional flags in grow_dev_page() somewhere
> >> down
> >> the stack. Anyway... it seems this is a kernel all
On Wed, Oct 18, 2017 at 07:22:07AM -0400, Jiancheng Xue wrote:
> From: Younian Wang
>
> Add pinctrl nodes for hi3798cv200-poplar board
>
> Signed-off-by: Younian Wang
> Signed-off-by: Jiancheng Xue
> ---
> .../boot/dts/hisilicon/hi3798cv200-poplar.dts | 1 +
> arch/arm64/boot/dts/hisil
Kirill Tkhai writes:
> On 14.11.2017 21:39, Cong Wang wrote:
>> On Tue, Nov 14, 2017 at 5:53 AM, Kirill Tkhai wrote:
>>> @@ -406,7 +406,7 @@ struct net *copy_net_ns(unsigned long flags,
>>>
>>> get_user_ns(user_ns);
>>>
>>> - rv = mutex_lock_killable(&net_mutex);
>>> + rv = d
The current ksm is using memcmp to insert and search 'rb_tree'.
It does cause very expensive computation cost.
In order to reduce the time of this operation,
we have added a checksum to traverse.
Nearly all 'rb_node' in stable_tree_insert() function
can be inserted as a checksum, most of it is pos
On 2017年11月14日 15:44, Ingo Molnar wrote:
* Quan Xu wrote:
On 2017/11/13 23:08, Ingo Molnar wrote:
* Quan Xu wrote:
From: Quan Xu
To reduce the cost of poll, we introduce three sysctl to control the
poll time when running as a virtual machine with paravirt.
Signed-off-by: Yang Zhang
+Cc: Andrew, Michal, David
Are there any other comments on this patch series from Marc-André? Is anything
else needed to move forward?
I have reviewed the patches in the series. David Herrmann (the original
memfd_create/file sealing author) has also taken a look at the patches.
One outstanding
To operate EC from platform driver, this head file need able to be include
from anywhere. This patch just move ec_kb3310b.h to include dir and
clean up ec_kb3310b.h.
Signed-off-by: Jiaxun Yang
---
arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++
arch/mips/loongson64/
This patch just add pdev during boot to load the platform driver
Signed-off-by: Jiaxun Yang
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/platform.c | 27 +++
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 arch
Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536
chipset, and KB3310B controller.
This yeeloong_laptop module enables access to sensors, battery,
video camera switch, external video connector event, and some
additional buttons.
This driver was orginally from linux-loongson-commu
Since lemote-2f/marchtype.c need to get cmdline from loongson.h
this patch simply copy kernel command line from arcs_cmdline
to fix that issue.
Signed-off-by: Jiaxun Yang
---
arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++
arch/mips/loongson64/common/cmdline.c| 7 +++
From: Marcus Cooper
[ Upstream commit 70421257c068b91476e70cade15fca68045d0693 ]
As the SPDIF was rarely documented on the earlier Allwinner SoCs
it was assumed that it had a similar clock register to the one
described in the H3 User Manual.
However this is not the case and it looks to shares t
From: Shawn Guo
[ Upstream commit fc318d64f3d91e15babac00e08354b1beb650b57 ]
The zx_dma driver supports cyclic transfer mode. Let's set DMA_CYCLIC
cap_mask bit to make that clear, and avoid unnecessary failure when
clients request channel via dma_request_chan_by_mask() with DMA_CYCLIC
bit set i
From: Eric Biggers
[ Upstream commit dffd0cfa06d4ed83bb3ae8eb067989ceec5d18e1 ]
As part of an effort to clean up fscrypt-related error codes, make
FS_IOC_SET_ENCRYPTION_POLICY fail with ENOTDIR when the file descriptor
does not refer to a directory. This is more descriptive than EINVAL,
which w
From: Thomas Preisner
[ Upstream commit 6b6bbb5922a4b1d4b58125a572da91010295fba3 ]
In some cases the return value of a failing function is not being used
and the function typhoon_init_one() returns another negative error code
instead.
Signed-off-by: Thomas Preisner
Signed-off-by: Milan Stephan
From: Stanislaw Gruszka
[ Upstream commit a51b89698ccc93c7e274eb71377fae49c4593ab2 ]
Signed-off-by: Stanislaw Gruszka
Signed-off-by: Kalle Valo
Signed-off-by: Sasha Levin
---
drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Thomas Preisner
[ Upstream commit 107fded7bf616ad6f46823d98b8ed6405d7adf2d ]
In a few cases the err-variable is not set to a negative error code if a
function call in typhoon_init_one() fails and thus 0 is returned
instead.
It may be better to set err to the appropriate negative error
code
From: Daniel Vetter
[ Upstream commit 7357f89954b6d005df6ab8929759e78d7d9a80f9 ]
I reported the include issue for tracepoints a while ago, but nothing
seems to have happened. Now it bit us, since the drm_mm_print
conversion was broken for armada. Fix it, so I can re-enable armada
in the drm-misc
From: David Ahern
[ Upstream commit 7bb387c5ab12aeac3d5eea28686489ff46b53ca9 ]
IP_MULTICAST_IF fails if sk_bound_dev_if is already set and the new index
does not match it. e.g.,
ntpd[15381]: setsockopt IP_MULTICAST_IF 192.168.1.23 fails: Invalid argument
Relax the check in setsockopt to al
From: Amitkumar Karwar
[ Upstream commit 74c8719b8ee0922593a5cbec0bd6127d86d8a2f4 ]
If we have sdio work requests received when sdio card reset is
happening, we may end up accessing older save_adapter pointer
later which is already freed during card reset.
This patch solves the problem by cancel
From: Dan Carpenter
[ Upstream commit c705a6b3aa7804d7bc6660183f51e510c61dc807 ]
We accidentally return success when adm8211_alloc_rings() fails but we
should preserve the error code.
Fixes: cc0b88cf5ecf ("[PATCH] Add adm8211 802.11b wireless driver")
Signed-off-by: Dan Carpenter
Signed-off-by
From: Avinash Repaka
[ Upstream commit f9fb69adb6c7acca60977a4db5a5f95b8e66c041 ]
RDS support max message size as 1M but the code doesn't check this
in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size
and its enforced irrespective of underlying transport.
Signed-off-by: Avinash Rep
From: Ryan Hsu
[ Upstream commit 88407beb1b1462f706a1950a355fd086e1c450b6 ]
Ath10k reports the phy capability that supports P2P_DEVICE interface.
When we use the P2P supported wpa_supplicant to start connection, it'll
create two interfaces, one is wlan0 (vdev_id=0) and one is P2P_DEVICE
p2p-dev
From: Christian Lamparter
[ Upstream commit 097e46d2ae90265d1afe141ba6208ba598b79e01 ]
ath10k_wmi_tlv_op_pull_fw_stats() uses tb = ath10k_wmi_tlv_parse_alloc(...)
function, which allocates memory. If any of the three error-paths are
taken, this tb needs to be freed.
Signed-off-by: Christian Lam
From: Ryan Hsu
[ Upstream commit d2e202c06ca42d353d95df12437740921a6d05b5 ]
With command to get board_id from otp, in the case of following
boot get otp board id result 0x board_id 0 chip_id 0
boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=0"
...
failed to fetch board
Hi Rafael,
> -Original Message-
> From: Rafael J. Wysocki [mailto:r...@rjwysocki.net]
> Sent: Tuesday, October 03, 2017 4:44 AM
> To: Sakari Ailus
> Cc: Mani, Rajmohan ; linux-
> ker...@vger.kernel.org; linux-g...@vger.kernel.org; linux-
> a...@vger.kernel.org; Lee Jones ; Linus Walleij
>
From: Chris Wilson
[ Upstream commit 1618bdb89b5d8b47edf42d9c6ea96ecf001ad625 ]
Before we return the request back to the kmem_cache after a failed
i915_gem_request_alloc(), we should assert that it has not been added to
any global state tracking.
Signed-off-by: Chris Wilson
Reviewed-by: Joonas
On Thu, Nov 9, 2017 at 7:08 AM, Jesper Dangaard Brouer
wrote:
> On Wed, 08 Nov 2017 10:40:24 +0900 (KST)
> David Miller wrote:
>
>> From: Christina Jacob
>> Date: Sun, 5 Nov 2017 08:52:30 +0530
>>
>> > From: Christina Jacob
>> >
>> > Implements port to port forwarding with route table and arp
From: Masashi Honma
[ Upstream commit 11197d006bcfabf0173a7820a163fcaac420d10e ]
Previously, kernel sends NEW_PEER_CANDIDATE event to user land even if
the found peer does not have any room to accept other peer. This causes
continuous connection trials.
Signed-off-by: Masashi Honma
Signed-off-
1 - 100 of 938 matches
Mail list logo