On Fri, 2015-02-27 at 18:36 +0100, Oleg Nesterov wrote:
> On 02/26, Cyrill Gorcunov wrote:
> >
> > On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote:
> > > We currently use the mmap_sem to serialize the mm exe_file.
> > > This is atrocious and a clear example of the misuses this
> >
On Fri, Feb 27, 2015 at 06:25:25PM +, Pranith Kumar wrote:
> On Fri, Feb 27, 2015 at 5:06 AM, Will Deacon wrote:
> > On Fri, Feb 27, 2015 at 05:46:55AM +, Pranith Kumar wrote:
> >> In cmpxchg(), we do a load exclusive on an address and upon a comparison
> >> fail,
> >> we skip the store
Looks sane,
On Fri, Feb 27, 2015 at 9:40 AM, Jiri Slaby wrote:
> Cc: Linus Torvalds
Acked-by: Linus Torvalds
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Use timer API functions setup_timer and mod_timer instead
of structure assignments as they are standard way to set
the timer and to update the expire field of an active timer
respectively.
This is done using Coccinelle and semantic patch used for
this is as follows:
//
@@
expression x,y,z,a,b;
Assuming it's compile tested, can't really test that here. :)
Reviewed-by: Maarten Lankhorst
I can't review the second or third patch, I don't understand rt mutexes well
enough.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Using THP, programs can access memory faster, by having the
kernel collapse small pages into large pages. The parameter
max_ptes_none specifies how many extra small pages (that are
not already mapped) can be allocated when collapsing a group
of small pages into one large page.
A larger value of
> When CR4.MCE=0b and an MCE happens, it will shutdown the system, at
> least on Intel, according to Tony
I checked with the architects ... and I was right. If you clear CR4.MCE you'll
still
see the machine check - and you'll pull the big system reset lever.
If you think the other cpus can
On Fri, Feb 27, 2015 at 5:06 AM, Will Deacon wrote:
> On Fri, Feb 27, 2015 at 05:46:55AM +, Pranith Kumar wrote:
>> In cmpxchg(), we do a load exclusive on an address and upon a comparison
>> fail,
>> we skip the store exclusive instruction. This can result in the exclusive bit
>> still set.
On Fri, 2015-02-27 at 14:15 +0200, David Weinehall wrote:
> On Thu, Feb 26, 2015 at 09:01:27PM +0100, Daniel Vetter wrote:
> > On Thu, Feb 26, 2015 at 08:50:48PM +0200, Imre Deak wrote:
>
> [snip]
> > >
> > > The problem seems to be that after the kernel puts the device into D3
> > > the BIOS
Use timer API functions setup_timer and mod_timer instead
of structure assignments as they are standard way to set
the timer and to update the expire field of an active timer
respectively.
This is done using Coccinelle and semantic patch used for
this is as follows:
//
@@
expression x,y,z,a,b;
From: Matteo Semenzato
This patch fixes the following error:
ERROR: do not use C99 // comments
Signed-off-by: Matteo Semenzato
---
drivers/staging/vt6655/key.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vt6655/key.h b/drivers/staging/vt6655/key.h
index
From: Vitaly Kuznetsov
We need to destroy hv_vmbus_con on module shutdown, otherwise the following
crash is sometimes observed:
[ 76.569845] hv_vmbus: Hyper-V Host Build:9600-6.3-17-0.17039; Vmbus
version:3.0
[ 82.598859] BUG: unable to handle kernel paging request at a0003480
[
NetworkDirect is a service that supports guest RDMA.
Define the GUID for this service.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c |2 ++
include/linux/hyperv.h| 10 ++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/channel_mgmt.c
On Fri, Feb 27, 2015 at 05:09:24PM +, Stathis Voukelatos wrote:
> To summarize (and confirm my understanding) your suggestion is for the
> sniffer to be configured to match PTP packets and (similarly to the
> dp83640) return the Message Type and Sequence Id fields that will allow
> them to be
From: Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of t from int to unsigned long.
Signed-off-by: Nicholas Mc Guire
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c |3 ++-
1 files changed, 2
From: Dexuan Cui
Without this patch, the state is put to CHANNEL_OPENING_STATE, and when
the driver is loaded next time, vmbus_open() will fail immediately due to
newchannel->state != CHANNEL_OPEN_STATE.
CC: "K. Y. Srinivasan"
Signed-off-by: Dexuan Cui
Reviewed-by: Jason Wang
Signed-off-by:
From: Vitaly Kuznetsov
It looks like clockevents_unbind is being exported by mistake as:
- it is static;
- it is not listed in include/linux/clockchips.h;
- EXPORT_SYMBOL_GPL(clockevents_unbind) follows clockevents_unbind_device()
implementation.
I think clockevents_unbind_device should be
From: Vitaly Kuznetsov
When an SMP Hyper-V guest is running on top of 2012R2 Server and secondary
cpus are sent offline (with echo 0 > /sys/devices/system/cpu/cpu$cpu/online)
the system freeze is observed. This happens due to the fact that on newer
hypervisors (Win8, WS2012R2, ...) vmbus channel
Correctly rollback state if the failure occurs after we have handed over
the ownership of the buffer to the host.
Signed-off-by: K. Y. Srinivasan
Cc: sta...@vger.kernel.org
---
drivers/hv/channel.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git
From: Vitaly Kuznetsov
Newly introduced clockevent devices made it impossible to unload hv_vmbus
module as clockevents_config_and_register() takes additional reverence to
the module. To make it possible again we do the following:
- avoid setting dev->owner for clockevent devices;
- implement
From: Matteo Semenzato
This patch fixes the following error:
ERROR: do not use C99 // comments
Signed-off-by: Matteo Semenzato
---
drivers/staging/vt6655/device_main.c | 35 ++-
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git
From: Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of t from int to unsigned long.
Signed-off-by: Nicholas Mc Guire
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel.c |3 ++-
1 files changed, 2 insertions(+), 1
From: Vitaly Kuznetsov
On driver shutdown device_obj is being freed twice:
1) In vmbus_free_channels()
2) vmbus_device_release() (which is being triggered by device_unregister() in
vmbus_device_unregister().
This double kfree leads to the following sporadic crash on driver unload:
[
From: Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of t from int to unsigned long.
Signed-off-by: Nicholas Mc Guire
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c |3 ++-
1 files changed, 2 insertions(+),
From: Dexuan Cui
I got HV_STATUS_INVALID_CONNECTION_ID on Hyper-V 2008 R2 when keeping running
"rmmod hv_netvsc; modprobe hv_netvsc; rmmod hv_utils; modprobe hv_utils"
in a Linux guest. Looks the host has some kind of throttling mechanism if
some kinds of hypercalls are sent too frequently.
From: Dexuan Cui
Before the line vmbus_open() returns, srv->util_cb can be already running
and the variables, like util_fw_version, are needed by the srv->util_cb.
So we have to make sure the variables are initialized before the vmbus_open().
CC: "K. Y. Srinivasan"
Reviewed-by: Vitaly
From: Vitaly Kuznetsov
SynIC has to be switched off when we unload the module, otherwise registered
memory pages can get corrupted after (as Hyper-V host still writes there) and
we see the following crashes for random processes:
[ 89.116774] BUG: Bad page map in process sh pte:4989c716
From: Vitaly Kuznetsov
All channel work queues are named 'hv_vmbus_ctl', this makes them
indistinguishable in ps output and makes it hard to link to the corresponding
vmbus device. Rename them to hv_vmbus_ctl/N and make vmbus device names match,
e.g. now vmbus_1 device is served by
Windows hosts starting with Ws2012 R2 permit re-establishing the vmbus
connection from the guest. This patch-set includes patches from Vitaly
to cleanup the VMBUS unload path so we can potentially reload the driver.
Also included here are some bug fixes from Dexuan and me.
Dexuan Cui (3):
hv:
Use timer API functions setup_timer and mod_timer instead
of structure assignments as they are standard way to set
the timer and to update the expire field of an active timer
respectively.
This is done using Coccinelle and semantic patch used for
this is as follows:
//
@@
expression x,y,z,a,b;
On Fri, Feb 27, 2015 at 9:44 AM, Andrey Ryabinin wrote:
> binder_update_page_range() initializes only addr and size
> fields in 'struct vm_struct tmp_area;' and passes it to
> map_vm_area().
>
> Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
> this was because
On Fri, Feb 27, 2015 at 12:45:03PM -0500, Tejun Heo wrote:
> If your complaint is that this is taking too long, I hear you, and
> there's a certain amount of validity in arguing that upstreaming a
> temporary measure is the better trade-off, but the rationale for nproc
> (or nfds, or virtual
On Fri, Feb 27, 2015 at 08:58:29AM +0100, Peter Zijlstra wrote:
> On Mon, Feb 23, 2015 at 09:44:48AM -0800, Andi Kleen wrote:
> > On Mon, Feb 23, 2015 at 05:49:57PM +0100, Peter Zijlstra wrote:
> > > On Mon, Feb 23, 2015 at 03:43:41AM +, kan.li...@intel.com wrote:
> > > > From: Kan Liang
> >
Hello!
On Feb 27, 2015, at 6:46 AM, Rusty Russell wrote:
> gr...@linuxhacker.ru writes:
>> From: Oleg Drokin
>>
>> I just got a report today from Tyson Whitehead
>> that Lustre crashes when CPUMASK_OFFSTACK is enabled.
>>
>> A little investigation revealed that this code:
>>cpumask_t
Running my test suite on 4.0-rc1, my i386 run of my tests crashed with
the following:
Initializing CPU#1
invalid opcode: [#1] SMP
Modules linked in: ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6
ip6table_filter ip6_tables ipv6 ppdev parport_pc microcode r8169 parport
CPU: 1
The perf core PMU driver has functions to dump the PMU, and also
reset it when something goes wrong. These code paths hadn't quite
keep up with newer PMU features.
This patchkit fixes various issues.
Shouldn't make a difference unless something goes wrong with
the PMU.
-Andi
--
To unsubscribe
From: Andi Kleen
The PMU reset code didn't quite keep up with newer PMU features.
Improve it a bit to really reset a modern PMU:
- Clear all overflow status
- Clear LBRs and freezing state
- Disable fixed counters too
Signed-off-by: Andi Kleen
---
arch/x86/kernel/cpu/perf_event_intel.c | 11
From: Andi Kleen
Technically PEBS_ENABLED is only guaranteed to exist when we
detected PEBS. So add a check for this to the PMU dump function.
I don't think it can happen on a real CPU, but could in a VM.
Signed-off-by: Andi Kleen
---
arch/x86/kernel/cpu/perf_event.c | 6 --
1 file
From: Andi Kleen
LBRs and LBR freezing are controlled through DEBUGCTL. So
dump the state of DEBUGCTL too when dumping the PMU state.
Signed-off-by: Andi Kleen
---
arch/x86/kernel/cpu/perf_event.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
On Thu, Feb 26, 2015 at 11:49:36AM +0900, Jaewon Kim wrote:
> Hi Dmitry,
>
> On 26/02/2015 10:23, Dmitry Torokhov wrote:
> >Hi Jaewon,
> >
> >On Tue, Feb 24, 2015 at 10:29:07AM +0900, Jaewon Kim wrote:
> >>+static void max77843_haptic_play_work(struct work_struct *work)
> >>+{
> >>+ struct
binder_update_page_range() initializes only addr and size
fields in 'struct vm_struct tmp_area;' and passes it to
map_vm_area().
Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
this was because map_vm_area() didn't use any other fields
in vm_struct except addr and
On Fri, Feb 27, 2015 at 11:11 PM, David Miller wrote:
>
> I'm not applying these patches.
>
> Your Subject lines need adjusting. You have to say what specific
> thing you are touching in each change.
>
> All of your changes say "net: " therefore someone scanning the
> "git shortlog" can't tell
On Fri, Feb 27, 2015 at 09:25:10AM -0800, Tim Hockin wrote:
> > In general, I'm pretty strongly against adding controllers for things
> > which aren't fundamental resources in the system. What's next? Open
> > files? Pipe buffer? Number of flocks? Number of session leaders or
> > program
On 02/26/15 19:08, Stephen Rothwell wrote:
> Hi Mike,
>
> After merging the clk tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from include/trace/define_trace.h:90:0,
> from include/trace/events/clk.h:198,
> from
On Thu, Feb 26, 2015 at 9:16 PM, Wang Nan wrote:
> On 2015/2/27 2:31, Andy Lutomirski wrote:
>> On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook wrote:
>>> On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski
>>> wrote:
On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote:
> The reason why mapping
I'm not applying these patches.
Your Subject lines need adjusting. You have to say what specific
thing you are touching in each change.
All of your changes say "net: " therefore someone scanning the
"git shortlog" can't tell what might be difference in one of
these changes vs. another.
--
To
On 27/02/15 06:27, Jaedon Shin wrote:
> This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce
> the interrupt load and send xmit in upper network stack on time.
>
> The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18
> descriptors is to late reclaiming
On 02/27/2015 08:26 PM, John Stultz wrote:
> On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin
> wrote:
>> binder_update_page_range() initializes only addr and size
>> fields in 'struct vm_struct tmp_area;' and passes it to
>> map_vm_area().
>>
>> Before 71394fe50146 ("mm: vmalloc: add flag
From: Peter Zijlstra
The existing wait queue support has support for custom wake up call
backs, wake flags, wake key (passed to call back) and exclusive
flags that allow wakers to be tagged as exclusive, for limiting
the number of wakers.
In a lot of cases, none of these features are used, and
On 02/26, Cyrill Gorcunov wrote:
>
> On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote:
> > We currently use the mmap_sem to serialize the mm exe_file.
> > This is atrocious and a clear example of the misuses this
> > lock has all over the place, making any significant changes
> > to
Change 'mutliple' to 'multiple'
Change 'Firmare' to 'Firmware'
Signed-off-by: Yannick Guerrini
---
drivers/net/ethernet/qlogic/netxen/netxen_nic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h
This problem was taken care of three times already in
* b0de59b5733d18b0d1974a060860a8b5c1b36a2e (TTY: do not update
atime/mtime on read/write),
* 37b7f3c76595e23257f61bd80b223de8658617ee (TTY: fix atime/mtime
regression), and
* b0b885657b6c8ef63a46bc9299b2a7715d19acde (tty: fix up atime/mtime
security/trusted/user/osx setxattr did the same
xattr_name initialization. Move that operation in hfsplus_setxattr().
Tested with security/trusted/user getfattr/setfattr
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/hfsplus/xattr.c | 37
security/trusted/user/osx getxattr did the same
xattr_name initialization. Move that operation in hfsplus_getxattr().
Tested with security/trusted/user getfattr/setfattr
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/hfsplus/xattr.c | 38
Hi Jiri,
>>> gcc5 warns about passing a const array to hci_test_bit which takes a
>>> non-const pointer:
>>> net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’:
>>> net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of
>>> ‘hci_test_bit’ discards ‘const’ qualifier from pointer
Hi Jiri,
> gcc5 warns about passing a const array to hci_test_bit which takes a
> non-const pointer:
> net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’:
> net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’
> discards ‘const’ qualifier from pointer target type
On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin wrote:
> binder_update_page_range() initializes only addr and size
> fields in 'struct vm_struct tmp_area;' and passes it to
> map_vm_area().
>
> Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
> this was because
On Fri, Feb 27, 2015 at 9:06 AM, Tejun Heo wrote:
> Hello,
>
> On Fri, Feb 27, 2015 at 11:42:10AM -0500, Austin S Hemmelgarn wrote:
>> Kernel memory consumption isn't the only valid reason to want to limit the
>> number of processes in a cgroup. Limiting the number of processes is very
>> useful
Hi Richard,
On 25/02/15 17:30, Richard Cochran wrote:
I need some more time to study your other suggestions regarding the
PHY timestamping framework.
From my (limited) understanding of your HW device, I should think that
it will work. The PHY time stamping subsystem is not the most obvious
On Thu, Feb 26, 2015 at 10:04:24PM +, Eduardo Valentin wrote:
> On Thu, Feb 26, 2015 at 05:30:00PM -0400, Eduardo Valentin wrote:
> > On Thu, Feb 26, 2015 at 07:00:33PM +, Javi Merino wrote:
> > > It's useful for tuning to be able to edit thermal_zone_parameters from
> > > userspace.
On Fri, 2015-02-27 at 23:27 +0900, Jaedon Shin wrote:
> This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce
> the interrupt load and send xmit in upper network stack on time.
>
> The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18
> descriptors is to late
On Fri, Feb 27, 2015 at 09:12:45AM -0800, Tim Hockin wrote:
> I was told that the plan was to use kmemcg - but I was told that YEARS
> AGO. In the mean time we all either do our own thing or we do nothing
> and suffer.
Wasn't it like a year ago? Yeah, it's taking longer than everybody
hoped but
* Dave Gerlach [150227 09:04]:
> Tony,
> On 02/26/2015 04:08 PM, Tony Lindgren wrote:
> > * Dave Gerlach [150226 12:05]:
> >> Tony,
> >> On 01/05/2015 04:51 PM, Tony Lindgren wrote:
> >>> * Dave Gerlach [150105 14:51]:
> Felipe,
> On 01/02/2015 02:16 PM, Felipe Balbi wrote:
> > On
On Fri, Feb 27, 2015 at 8:42 AM, Austin S Hemmelgarn
wrote:
> On 2015-02-27 06:49, Tejun Heo wrote:
>>
>> Hello,
>>
>> On Mon, Feb 23, 2015 at 02:08:09PM +1100, Aleksa Sarai wrote:
>>>
>>> The current state of resource limitation for the number of open
>>> processes (as well as the number of open
Change 'Firmare' to 'Firmware'
Signed-off-by: Yannick Guerrini
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
index fa43176..f221126
Document the subtly changed relationship between cpusets and isolcpus.
Turns out the old documentation did not quite match the code...
Signed-off-by: Rik van Riel
Suggested-by: Peter Zijlstra
---
Documentation/cgroups/cpusets.txt | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
Hello,
On Fri, Feb 27, 2015 at 11:42:10AM -0500, Austin S Hemmelgarn wrote:
> Kernel memory consumption isn't the only valid reason to want to limit the
> number of processes in a cgroup. Limiting the number of processes is very
> useful to ensure that a program is working correctly (for
On -RT we use struct rt_mutex instead of struct mutex for a regular "mutex".
And since people use GPUs there, too we needed a port of ww_mutex based
rtmutex. I snipped the implementaton out of -RT tried to fit on mainline
and not breaking too much. It doesn't look that bad now :)
#1 is here to
This patch adds act8600 support to the act8865 driver.
VBUS and USB charger supported by this chip can be added later
Tested on MIPS Creator CI20
Signed-off-by: Zubair Lutfullah Kakakhel
---
I've tried to be least intrusive.
But can't use the macro because of differences in SUDCDC and
On 02/27/2015 01:07 AM, Andy Lutomirski wrote:
> This will make modifying the semantics of kernel_stack easier.
>
> Cc: Konrad Rzeszutek Wilk
> Cc: Boris Ostrovsky
> Cc: Rusty Russell
> Signed-off-by: Andy Lutomirski
> ---
> arch/x86/include/asm/thread_info.h | 3 +--
>
Tony,
On 02/26/2015 04:08 PM, Tony Lindgren wrote:
> * Dave Gerlach [150226 12:05]:
>> Tony,
>> On 01/05/2015 04:51 PM, Tony Lindgren wrote:
>>> * Dave Gerlach [150105 14:51]:
Felipe,
On 01/02/2015 02:16 PM, Felipe Balbi wrote:
> On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave
This patch makes it possible to replace the base mutex by a rt_mutex. In
general one would not do this. In -RT we use rt_mutex instead of the
mutex by default and this means we need the ww_mutex functionality based
on rt_mutex.
This patch includes a slightly modified version of what we have in the
From: Andy Gross
This patch adds DMA capabilities to the spi-qup driver. If DMA channels are
present, the QUP will use DMA instead of block mode for transfers to/from SPI
peripherals for transactions larger than the length of a block.
Signed-off-by: Andy Gross
Signed-off-by: Stanimir Varbanov
* Pali Rohár [150227 08:05]:
> On Friday 27 February 2015 16:43:20 Tony Lindgren wrote:
> > * Pali Rohár [150226 05:54]:
> > > Harmattan system on Nokia N9 and N950 devices uses omap
> > > crypto support. Bootloader on those devices is known that
> > > it enables HW crypto support. This patch
On 02/27/2015 10:44 AM, Matteo Semenzato wrote:
From: Matteo Semenzato
This patch fixes the following errors:
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: switch and case should be at the same indent
Signed-off-by: Matteo Semenzato
* Murali Karicheri [150224 13:31]:
> Keystone netcp driver re-uses davinci mdio driver. So enable it
> by default for keystone netcp driver.
>
> Signed-off-by: Murali Karicheri
> ---
> drivers/net/ethernet/ti/Kconfig |1 +
> 1 file changed, 1 insertion(+)
>
> diff --git
The "usual" path is:
- rt_mutex_slowlock()
- set_current_state()
- task_blocks_on_rt_mutex() (ret 0)
- __rt_mutex_slowlock()
- sleep or not but do return with __set_current_state(TASK_RUNNING)
- back to caller.
In the early error case where task_blocks_on_rt_mutex() return -EDEADLK
we
This level of indirection is one step towards replacing the "mutex" with
a different kind of locking mechanism.
The new functions of the form "__.*_lock" provide access to whatever is
hidden behind the "base" member in ww-mutex's struct
Signed-off-by: Sebastian Andrzej Siewior
---
* Murali Karicheri [150224 13:32]:
> From: Grygorii Strashko
>
> Historically Davinci MDIO driver was created with assumption that
> MDIO is standalone device, but for Keystone 2 it's a part
> of NETCP module and now NETCP driver requests IO range which
> includes MDIO IO range too. This
On Fri, Feb 27, 2015 at 05:44:09PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato
>
> This patch fixes the following errors:
> ERROR: space prohibited before that ',' (ctx:WxW)
> ERROR: space prohibited before that ',' (ctx:WxW)
> ERROR: switch and case should be at the same indent
On Fri, Feb 27, 2015 at 05:49:15PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato
>
> This patch fixes the following errors:
> ERROR: code indent should use tabs where possible
> ERROR: space prohibited before that
Again, multiple things means multiple patches.
--
To unsubscribe from
From: Matteo Semenzato
This patch fixes the following errors:
ERROR: code indent should use tabs where possible
ERROR: space prohibited before that
Signed-off-by: Matteo Semenzato
---
drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 4 ++--
drivers/staging/rtl8188eu/hal/odm.c
From: Matteo Semenzato
This patch fixes the following errors:
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: switch and case should be at the same indent
Signed-off-by: Matteo Semenzato
---
drivers/staging/rtl8188eu/core/rtw_efuse.c
On 2015-02-27 06:49, Tejun Heo wrote:
Hello,
On Mon, Feb 23, 2015 at 02:08:09PM +1100, Aleksa Sarai wrote:
The current state of resource limitation for the number of open
processes (as well as the number of open file descriptors) requires you
to use setrlimit(2), which means that you are
Em Fri, Feb 27, 2015 at 05:58:44PM +0800, He Kuang escreveu:
> ping..
Thanks, applied to perf/core.
- Arnaldo
> 在 2015/2/15 10:33, He Kuang 写道:
> >When perf.data file be abtained by using 'perf record -b', perf report
> >should use branch stack mode to generate output. But this function is
>
binder_update_page_range() initializes only addr and size
fields in 'struct vm_struct tmp_area;' and passes it to
map_vm_area().
Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
this was because map_vm_area() didn't use any other fields
in vm_struct except addr and
Building with the attached random configuration file,
drivers/rtc/rtc-abx805.c: In function 'abx805_read_multiple_regs':
drivers/rtc/rtc-abx805.c:55:2: error: implicit declaration of function
'i2c_transfer' [-Werror=implicit-function-declaration]
if ((i2c_transfer(client->adapter, [0], 2)) !=
On 02/19/2015, 05:10 PM, Marcel Holtmann wrote:
> Hi Jiri,
>
>> gcc5 warns about passing a const array to hci_test_bit which takes a
>> non-const pointer:
>> net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’:
>> net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of
>>
Userspace/kernel communication via netlink has a number of issues:
- It is hard for userspace to figure out if the kernel part was loaded or not
and this fact can change as there is a way to enable/disable the service from
host side. Racy daemon startup is also a problem.
- When the userspace
This tool allows to construct and concat multiple I2C messages into one
single transfer. Its aim is to test I2C master controllers, and so there
is no SMBus fallback.
Signed-off-by: Wolfram Sang
---
I've been missing such a tool a number of times now, so I finally got around to
writing it
Userspace/kernel communication via netlink has a number of issues:
- It is hard for userspace to figure out if the kernel part was loaded or not
and this fact can change as there is a way to enable/disable the service from
host side. Racy daemon startup is also a problem.
- When the userspace
Commit 740c7f31c094703c ("sh_eth: Ensure DMA engines are stopped before
freeing buffers") added a call to sh_eth_reset() to the
sh_eth_set_ringparam() and sh_eth_close() paths.
However, setting the software reset bit(s) in the EDMR register resets
the MAC Address Registers to zero. Hence after
Re-implement fcopy in a consistent with "Drivers: hv: vss/kvp: convert
userspace/kernel communication to using char device" way.
In particular:
- Implement "state machine" for the driver instead of 3 separate syncronization
variables ('fcopy_transaction.active', 'fcopy_transaction.read_sema',
This series converts kvp/vss daemons to use misc char devices instead of
netlink for userspace/kernel communication and then updates fcopy to be
consistent with kvp/vss.
Userspace/kernel communication via netlink has a number of issues:
- It is hard for userspace to figure out if the kernel part
On 02/27/2015 01:07 AM, Andy Lutomirski wrote:
> This will make modifying the semantics of kernel_stack easier.
>
> Cc: Konrad Rzeszutek Wilk
> Cc: Boris Ostrovsky
> Cc: Rusty Russell
> Signed-off-by: Andy Lutomirski
> ---
> arch/x86/include/asm/thread_info.h | 3 +--
>
On Thu, Feb 26, 2015 at 08:36:16PM +, Eduardo Valentin wrote:
> Javi,
>
> Replying in v2.
>
> On Thu, Feb 26, 2015 at 07:00:30PM +, Javi Merino wrote:
>
>
>
> > +
> > +/**
> > + * divvy_up_power() - divvy the allocated power between the actors
> > + * @req_power: each actor's
> -Original Message-
> From: Andrew Schwartzmeyer [mailto:and...@schwartzmeyer.com]
> Sent: Thursday, February 26, 2015 7:27 PM
> To: Haiyang Zhang
> Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org; hall5...@vandals.uidaho.edu;
>
Reading of analog input channels by the `INSN_READ` comedi instruction
is broken for all except channel 0. `pci171x_ai_insn_read()` calls
`pci171x_ai_read_sample()` with the wrong value for the third parameter.
It is supposed to be the current index in a channel list (which is
always of length 1
On Fri, Feb 27, 2015 at 4:52 PM, Masanari Iida wrote:
> This patch fix spelling typo in printk messages.
>
Can you split by subsystems / drivers under question?
> Signed-off-by: Masanari Iida
> ---
> arch/arc/kernel/unwind.c | 2 +-
> arch/powerpc/kernel/prom.c
On 12/09/2014, 09:52 AM, Dan Carpenter wrote:
> Hi Jiri, I hate to bother you with this, but you're the TTY expert. I'm
> getting the following static checker warning:
>
> drivers/tty/synclink.c:4057 save_tx_buffer_request()
> error: 'BufferSize' from user is not capped properly
>
>
301 - 400 of 1370 matches
Mail list logo