We know total bandwidth of a disk and can calculate cgroup's bandwidth
percentage against disk bandwidth according to its weight. We can easily
calculate cgroup bandwidth.
Signed-off-by: Shaohua Li
---
block/blk-throttle.c | 135 ++-
1 file changed
If a cgroup is inactive for some time, it should be excluded from
bandwidth calculation.
Signed-off-by: Shaohua Li
---
block/blk-throttle.c | 71 +---
1 file changed, 67 insertions(+), 4 deletions(-)
diff --git a/block/blk-throttle.c b/block/blk-t
Hi,
Currently we have 2 iocontrollers. blk-throttling is bandwidth based. CFQ is
weight based. It would be great there is a unified iocontroller for the two.
And blk-mq doesn't support ioscheduler, leaving blk-throttling the only option
for blk-mq. It's time to have a scalable iocontroller support
Andreas Kemnade writes:
> On Wed, 20 Jan 2016 14:42:47 +0200
> Kalle Valo wrote:
>
>> Andreas Kemnade writes:
>>
>> > Enables auto deep sleep whenever the interface is up and
>> > power managament is enabled, so there is also power management
>> > when there is no connection
>> > That reduces
On 01/20/2016 06:35 PM, Dave Hansen wrote:
> Here's another revision taking Vlastimil's suggestions about
> keeping __get_user_pages_unlocked() as-is in to account.
> This does, indeed, look nicer. Now, all the "__" variants
> take a full tsk/mm and flags.
>
> He also noted that the two sites whe
On Wed, 20 Jan 2016, Daniel Lezcano wrote:
> +#ifdef CONFIG_IRQ_TIMINGS
> +/**
> + * struct irqt_ops - structure to be used by the subsystem to track
> + * irq timings
> + * @alloc:called when an irqdesc is allocated
> + * @free: called when an irqdesc is free
> + * @setup
On Wed, Jan 20, 2016 at 9:42 AM, Thomas Gleixner wrote:
> On Wed, 20 Jan 2016, John Stultz wrote:
>> Ehrm. A more productive route in solving this might be to cap the
>> cycle delta we return from timekeeping_get_delta().
>>
>> We already do this in the CONFIG_DEBUG_TIMEKEEPING, but adding a
>> s
Am 20.01.2016 um 18:46 schrieb One Thousand Gnomes :
>> The problem is that *I* have no control over user space. But I also don't
>> want
>> to say to my users "that is not my problem - get it solved yourself". This
>> does
>> not help them.
>
> Stuffing things into the kernel because the user
Hello Andi,
On Tue, Jan 12, 2016 at 7:11 AM, Andi Shyti wrote:
> In some architectures the L2 cache controller is integrated in the
> processor's block itself and it doesn't use any external cache
> controller. This means that an entry in the board's dtb related
> to the l2c is not necessary.
>
>
On 1/20/16, John Stultz wrote:
> On Wed, Jan 20, 2016 at 9:42 AM, Thomas Gleixner
> wrote:
>> On Wed, 20 Jan 2016, John Stultz wrote:
>>> Ehrm. A more productive route in solving this might be to cap the
>>> cycle delta we return from timekeeping_get_delta().
>>>
>>> We already do this in the CO
On Wed, Jan 20, 2016 at 05:05:39PM +, Ben Hutchings wrote:
> On Tue, 2016-01-19 at 09:54 -0800, Greg KH wrote:
> > On Tue, Jan 19, 2016 at 04:32:08PM +, Ben Hutchings wrote:
> > > As for USB descriptors, I'm somewhat more hopeful about hardening. At
> > > the same time, it seems like it sh
This adds support for the secondary interrupt controller used in Sigma
Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
Changes from v3:
- use of_address_to_resource() rather accessing "reg" property directly
Boot tested on SMP8643 (tango3) and SMP8759 (tango4)
---
drivers/ir
This adds a binding for the secondary interrupt controller in
Sigma Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
Changes:
- not included in v3
---
.../interrupt-controller/sigma,smp8642-intc.txt| 49 ++
1 file changed, 49 insertions(+)
create mode
Hi,
On Wed, Jan 20, 2016 at 11:56:34AM +0100, Arnd Bergmann wrote:
> The phy-am335x driver accidentally selects 'USB_COMMON', which is
> not correct as that symbol should indicate whether USB host or
> target mode is enabled, but it might not:
>
> warning: (AM335X_PHY_USB) selects USB_COMMON whic
The WinSystems WS16C48 device provides 48 lines of digital I/O. In
addition, the first 24 lines may be used for interrupt-handled edge
detection; rising edge detection and falling edge detection are
supported.
This driver provides GPIO and IRQ support for these 48 channels of
digital I/O. The base
Marc Gonzalez writes:
> On 20/01/2016 17:38, Måns Rullgård wrote:
>
>> Marc Gonzalez writes:
>>
>>> On 20/01/2016 17:25, Måns Rullgård wrote:
>>>
Marc Zyngier writes:
> On 20/01/16 16:10, Måns Rullgård wrote:
>
>> Marc Zyngier writes:
>>
+ if (of_proper
The problem was caused by the RDMA_NL_LS_OP_RESOLVE request (not response)
packet sent by the user application, which falls through the netlink_dump path
and eventually calls ib_nl_handle_resp() with a new skb with uninitialized
control block. Checking the NETLINK_CB(skb).sk before calling netli
When working with huge page pmds in general is not valid to directly
use pte functions like pte_present() because the hardware bit layout
of pmds and ptes can be different. This is the case on s390. Therefore
we have to convert the pmds first into a valid pte encoding with
huge_ptep_get(). So add t
If the irq_mask member has a value of 0, then interrupts are disabled on
the device. Therefore, IRQ_NONE should be returned if the irq_mask
member is 0.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idio-16.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpio/g
On Wed, Jan 20, 2016 at 06:21:07PM +0100, Frederic Weisbecker wrote:
> You mean a periodic call to the above from the housekeepers?
>
> I didn't think about doing that because you nacked that approach with
> scheduler_tick(). This isn't much different.
This does _one_ thing, namely load accounti
2016-01-20 Maarten Lankhorst :
> Op 20-01-16 om 15:32 schreef Gustavo Padovan:
> > 2016-01-20 Maarten Lankhorst :
> >
> >> Hey,
> >>
> >> Op 15-01-16 om 15:55 schreef Gustavo Padovan:
> >>> From: Gustavo Padovan
> >>>
> >>> This patch series de-stage the sync framework, and in order to accomplish
On Tue, Jan 12, 2016 at 07:29:49PM +0800, Andy Yan wrote:
> add device tree binding document for reboot-mode driver
>
> Signed-off-by: Andy Yan
>
> ---
>
> Changes in v2: None
> Changes in v1: None
>
> .../bindings/power/reset/reboot-mode.txt | 41 +
> .../bindings/p
Please ignore this patch.
This device cannot differentiate between its own and other devices'
interrupt requests. IRQ should not be shared with this device.
William Breathitt Gray
On Wed, Jan 20, 2016 at 12:46:48PM -0500, Nicolas Pitre wrote:
> > +struct stats {
> > + u64 sum; /* sum of values */
> > + u32 values[STATS_NR_VALUES]; /* array of values */
> > + unsigned char w_ptr; /* current window pointer */
>
>
The WinSystems WS16C48 device provides 48 lines of digital I/O. In
addition, the first 24 lines may be used for interrupt-handled edge
detection; rising edge detection and falling edge detection are
supported.
This driver provides GPIO and IRQ support for these 48 channels of
digital I/O. The base
On Wed, Jan 20, 2016 at 10:28 AM, Rob Herring wrote:
> On Tue, Jan 12, 2016 at 07:29:49PM +0800, Andy Yan wrote:
>> add device tree binding document for reboot-mode driver
>>
>> Signed-off-by: Andy Yan
>>
>> ---
>>
>> Changes in v2: None
>> Changes in v1: None
>>
>> .../bindings/power/reset/rebo
This patch series addresses checkpatch.pl warnings in lustre driver.
Bhumika Goyal (2):
Staging:lustre:obdclass:linux:remove unnecessary braces
Staging:lustre:obdclass:linux:simplify NULL comparison
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 12 +---
1 file change
On 01/20/2016 09:56 AM, Vlastimil Babka wrote:
> On 01/20/2016 06:35 PM, Dave Hansen wrote:
>> This also switches get_user_pages_(un)locked() over to be like
>> get_user_pages() and not take a tsk/mm. There is no
>> get_user_pages_foreign_(un)locked(). If someone wants that
>> behavior they just
Remove explicit NULL comparision and replace it with a simpier form.
Detected using checkpatch.pl.
Signed-off-by: Bhumika Goyal
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/
Fixed 'braces {} are not necessary for single statement blocks'
checkpatch.pl warning.
Signed-off-by: Bhumika Goyal
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/lin
The ACCES 104-DIO-48E device provides 48 lines digital I/O via two
Programmable Peripheral Interface (PPI) chips of type 82C55. Bit C3 at
each 24-bit Group can be used as an external interrupt, triggered by a
rising edge.
This driver provides GPIO and IRQ support for these 48 channels of
digital I
Andy Shevchenko writes:
>> Tested on AVR32 (DMA driver) and Sigma SMP8642 (SATA driver).
>>
>> Code here:
>> https://bitbucket.org/mansr/linux-dwc/branch/dwc-sata
>
> Thanks for testing!
Have you had time to look any more at these patches?
--
Måns Rullgård
Le 19/01/2016 05:37, James Hogan a écrit :
> When a header file is removed from generic-y (often accompanied by the
> addition of an arch specific header), the generated wrapper file will
> persist, and in some cases may still take precedence over the new arch
> header.
>
> For example commit f1fe
The ACCES 104-IDI-48 can differentiate between its own and other
devices' interrupt requests. Therefore, IRQ sharing is possible and
should be permitted.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idi-48.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
On Tue, 2016-01-19 at 11:30 +, David Howells wrote:
> Here's a set of patches that changes how certificates/keys are determined
> to be trusted. That's currently a two-step process:
>
> (1) Up until recently, when an X.509 certificate was parsed - no matter
> the source - it was judged
On Tue, 2016-01-19 at 11:30 +, David Howells wrote:
> Add KEY_ALLOC_BUILT_IN to convey that a key should have KEY_FLAG_BUILTIN
> set rather than setting it after the fact.
>
> Signed-off-by: David Howells
Acked-by: Mimi Zohar
> ---
>
> certs/system_keyring.c |4 ++--
> include/linux/
On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> +static void sched_irq_timing_handler(unsigned int irq, ktime_t timestamp,
> void *dev_id)
> +{
> + u32 diff;
> + unsigned int cpu = raw_smp_processor_id();
> + struct wakeup *w = per_cpu(wakeups[irq], cpu);
> +
> +
On Wed, Jan 20, 2016 at 09:49:16AM -0800, Shaohua Li wrote:
> Hi,
>
> Currently we have 2 iocontrollers. blk-throttling is bandwidth based. CFQ is
> weight based. It would be great there is a unified iocontroller for the two.
> And blk-mq doesn't support ioscheduler, leaving blk-throttling the onl
On Thu, 2016-01-21 at 00:17 +0530, Bhumika Goyal wrote:
> Fixed 'braces {} are not necessary for single statement blocks'
> checkpatch.pl warning.
[]
> diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
> b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
[]
> @@ -
On Wed, Jan 20, 2016 at 05:00:32PM +0100, Daniel Lezcano wrote:
> +++ b/kernel/irq/handle.c
> @@ -165,6 +165,7 @@ irqreturn_t handle_irq_event_percpu(struct irq_desc *desc)
> /* Fall through to add to randomness */
> case IRQ_HANDLED:
> flag
On Wed, Jan 20, 2016 at 1:05 AM, Ard Biesheuvel
wrote:
> This enables the newly introduced text-relative kallsyms support when
> building 64-bit targets. This cuts the size of the kallsyms address
> table in half, reducing the memory footprint of the kernel .rodata
> section by about 400 KB for a
On Wed, Jan 20, 2016 at 1:05 AM, Ard Biesheuvel
wrote:
> Similar to how relative extables are implemented, it is possible to emit
> the kallsyms table in such a way that it contains offsets relative to some
> anchor point in the kernel image rather than absolute addresses. The benefit
> is that su
Fix build after API changes.
Reported-by: Kamal Mostafa
Signed-off-by: Michael S. Tsirkin
---
tools/virtio/asm/barrier.h| 22 +-
tools/virtio/linux/compiler.h | 9 +
tools/virtio/linux/kernel.h | 1 +
3 files changed, 23 insertions(+), 9 deletions(-)
create
On Wed, 20 Jan 2016, Peter Zijlstra wrote:
> On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> > +static void sched_irq_timing_handler(unsigned int irq, ktime_t timestamp,
> > void *dev_id)
> > +{
> > + u32 diff;
> > + unsigned int cpu = raw_smp_processor_id();
> > + struct
When we print values, such as @size, we have to understand that it's derived
from [begin .. end] as:
size = end - begin + 1
On the opposite the @end is derived from the rest as:
end = begin + size - 1
Correct the IMR code to print values correctly.
Note that @__end_rodata actua
On Wed, 2016-01-20 at 18:50 +, Måns Rullgård wrote:
> Andy Shevchenko writes:
>
> > > Tested on AVR32 (DMA driver) and Sigma SMP8642 (SATA driver).
> > >
> > > Code here:
> > > https://bitbucket.org/mansr/linux-dwc/branch/dwc-sata
> >
> > Thanks for testing!
>
> Have you had time to look a
Andy Shevchenko writes:
> On Wed, 2016-01-20 at 18:50 +, Måns Rullgård wrote:
>> Andy Shevchenko writes:
>>
>> > > Tested on AVR32 (DMA driver) and Sigma SMP8642 (SATA driver).
>> > >
>> > > Code here:
>> > > https://bitbucket.org/mansr/linux-dwc/branch/dwc-sata
>> >
>> > Thanks for testi
From: Alan Tull
Add bindings documentation for Altera SOCFPGA bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
* lwhps2fpga
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
Signed-off-by: Dinh Nguyen
---
v2: separate into 2 documents for the 2 drivers
v12: bump version to line up with
On Wed, Jan 20, 2016 at 02:17:57PM -0500, Nicolas Pitre wrote:
> > It is also a friggin pointless /1000. The cpuidle code also loves to do
> > this, and its silly, u64 add/sub are _way_ cheaper than u64 / 1000.
>
> For the purpose of this code, nanoseconds simply provides too many bits
> for what
On 01/20/2016 06:35 PM, Dave Hansen wrote:
> Here's another revision taking Vlastimil's suggestions about
> keeping __get_user_pages_unlocked() as-is in to account.
> This does, indeed, look nicer. Now, all the "__" variants
> take a full tsk/mm and flags.
>
> He also noted that the two sites whe
On Tue, 2016-01-19 at 11:30 +, David Howells wrote:
> Add the following:
>
> (1) A new system keyring that is used to store information about
> blacklisted certificates and signatures.
>
> (2) A new key type (called 'blacklist') that is used to store a
> blacklisted hash in its de
Hi Michael,
[auto build test ERROR on next-20160120]
[cannot apply to v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Michael-Holzheu/numa-fix-proc-pid
On Thu, Jan 14, 2016 at 09:38:04AM +0800, Kefeng Wang wrote:
> Hi paul,
>
> On 2016/1/14 0:27, Paul E. McKenney wrote:
> > On Wed, Jan 13, 2016 at 10:06:22AM +0800, Kefeng Wang wrote:
> >> Insmod locktorture with torture_type=mutex will lead to crash,
> >>
> >> Unable to handle kernel NULL pointer
On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> + variance = stats_variance(&w->stats, mean);
> + /*
> + * We want to check the last interval is:
> + *
> + * mean - stddev < interval < mean + stddev
> + *
On Wed, Jan 20, 2016 at 02:05:35PM -0500, Vivek Goyal wrote:
> On Wed, Jan 20, 2016 at 09:49:16AM -0800, Shaohua Li wrote:
> > Hi,
> >
> > Currently we have 2 iocontrollers. blk-throttling is bandwidth based. CFQ is
> > weight based. It would be great there is a unified iocontroller for the two.
>
Jeff,
On Wed, 20 Jan 2016, Jeff Merkey wrote:
> Thomas, so far the only thing I've gotten from you are whining
> diatribes about email ettiquette and today is the FIRST time you have
> responded to me with any arguments that have technical merit and
> actually address the problem.That's what I
On Wed, Jan 20, 2016 at 05:00:32PM +0100, Daniel Lezcano wrote:
> +++ b/kernel/irq/handle.c
> @@ -165,6 +165,7 @@ irqreturn_t handle_irq_event_percpu(struct irq_desc *desc)
> /* Fall through to add to randomness */
> case IRQ_HANDLED:
> flag
On Wed, Jan 20, 2016 at 9:24 PM, Måns Rullgård wrote:
> Andy Shevchenko writes:
>
>> On Wed, 2016-01-20 at 18:50 +, Måns Rullgård wrote:
>>> Andy Shevchenko writes:
>>>
>>> > > Tested on AVR32 (DMA driver) and Sigma SMP8642 (SATA driver).
>>> > >
>>> > > Code here:
>>> > > https://bitbucket.
On Fri, Jan 15, 2016 at 11:34 PM, Vostrikov Andrey
wrote:
>
> Yes, such implementation will help. There is a need for interface like UART
> BUS that will probe devices without user space.
> Serial I/O for input subsystem defines new type of bus and uses dedicated
> line discipline, but it still
On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> +static inline u32 stats_mean(struct stats *s)
> +{
> + /*
> + * gcc is smart enough to convert to a bits shift when the
> + * divisor is constant and multiple of 2^x.
> + *
> + * The number of values could ha
From: Alan Tull
FPGA Area and FPGA Bus support programming FPGA under control of
the Device Tree.
A FPGA Bus contains the devices necessary for programming an
FPGA.
When a Device Tree Overlay containing a FPGA Area is
applied, the FPGA Area will be probed and will:
* check to see if there is a
From: Alan Tull
This framework adds API functions for enabling/
disabling FPGA bridges under kernel control.
This allows the Linux kernel to disable FPGA bridges
during FPGA reprogramming and to enable FPGA bridges
when FPGA reprogramming is done. This framework is
be manufacturer-agnostic, all
From: Alan Tull
New bindings document for FPGA Area for reprogramming
FPGA's under Device Tree control
Signed-off-by: Alan Tull
---
v9: initial version added to this patchset
v10: s/fpga/FPGA/g
replace DT overlay example with slightly more complicated example
move to staging/simple-f
From: Alan Tull
For v15, I'm not using the FPGA Manager as the bus. I'm adding a FPGA Bus;
the FPGA Manager and bridges go below it.
I've gotten enough feedback that my proposals are Altera specific that I am
going with that and changing the bindings to include an 'altr,' prefix.
I've combined
On Wed, Jan 20, 2016 at 02:40:13PM -0500, Vivek Goyal wrote:
> On Wed, Jan 20, 2016 at 11:34:48AM -0800, Shaohua Li wrote:
> > On Wed, Jan 20, 2016 at 02:05:35PM -0500, Vivek Goyal wrote:
> > > On Wed, Jan 20, 2016 at 09:49:16AM -0800, Shaohua Li wrote:
> > > > Hi,
> > > >
> > > > Currently we hav
Andy Shevchenko writes:
> On Wed, Jan 20, 2016 at 9:24 PM, Måns Rullgård wrote:
>> Andy Shevchenko writes:
>>
>>> On Wed, 2016-01-20 at 18:50 +, Måns Rullgård wrote:
Andy Shevchenko writes:
> > Tested on AVR32 (DMA driver) and Sigma SMP8642 (SATA driver).
> >
> > C
On Wed, 20 Jan 2016 12:49:48 +
Marc Zyngier wrote:
> On Tue, 17 Nov 2015 20:34:56 +0100
> Alban Bedel wrote:
>
> > Signed-off-by: Alban Bedel
> > ---
> > arch/mips/ath79/irq.c| 81
> > ++ arch/mips/include/asm/mach-ath79/ath79.h
> > | 1 + driver
On Wed, Jan 20, 2016 at 11:34:48AM -0800, Shaohua Li wrote:
> On Wed, Jan 20, 2016 at 02:05:35PM -0500, Vivek Goyal wrote:
> > On Wed, Jan 20, 2016 at 09:49:16AM -0800, Shaohua Li wrote:
> > > Hi,
> > >
> > > Currently we have 2 iocontrollers. blk-throttling is bandwidth based. CFQ
> > > is
> > >
Update the SCSI hosts module to use ida to manage its
host_no index instead of an ATOMIC integer. This means
that the SCSI host number will now be reclaimable.
Use the ida "simple" mechanism, since there should be no
need for a separate spin lock current usage. Ida was chosen
over idr because the
On Wed, 20 Jan 2016, Daniel Lezcano wrote:
> +/*
> + * Per cpu and irq statistics. Each cpu receives interrupts and those
> + * ones can be distributed following an irq chip specific
> + * algorithm. Random irq distribution is the worst case to predict
> + * interruption behavior but usually that d
On Wed, Jan 20, 2016 at 9:46 PM, Måns Rullgård wrote:
One comment still regarding to lli types. We can avoid warnings by
using (__force u32) in macros.
>>>
>>> But that won't give the benefits of having the types checked.
>>
>> You mean if we access the lli->field directly? I didn't qui
On Wed, 20 Jan 2016 12:38:41 +
Marc Zyngier wrote:
> On Tue, 17 Nov 2015 20:34:54 +0100
> Alban Bedel wrote:
>
> Hi Alban,
>
> > The driver stays the same but the initialization changes a bit.
> > For OF boards we now get the memory map from the OF node and use
> > a linear mapping instead
On 01/05/2016 03:53 PM, Martin K. Petersen wrote:
"Lee" == Lee Duncan writes:
Lee> Do you need me to resubmit this patch now that it's accepted?
Please resend.
Thanks!
Done, submitted against scsi tree, misc branch.
--
Lee Duncan
On Wed, Jan 20, 2016 at 12:47 PM, John Stultz wrote:
> On Wed, Jan 20, 2016 at 10:28 AM, Rob Herring wrote:
>> On Tue, Jan 12, 2016 at 07:29:49PM +0800, Andy Yan wrote:
>>> add device tree binding document for reboot-mode driver
>>>
>>> Signed-off-by: Andy Yan
>>>
>>> ---
>>>
>>> Changes in v2:
On Tue, 19 Jan 2016, Bueso wrote:
/*
* Private mappings are handled in a simple way.
*
+* If the futex key is stored on an anonymous page, then the associated
+* object is the mm which is implicitly pinned by the calling process.
+*
* NOT
On Wed, Jan 20, 2016 at 11:43:27AM -0800, Shaohua Li wrote:
> On Wed, Jan 20, 2016 at 02:40:13PM -0500, Vivek Goyal wrote:
> > On Wed, Jan 20, 2016 at 11:34:48AM -0800, Shaohua Li wrote:
> > > On Wed, Jan 20, 2016 at 02:05:35PM -0500, Vivek Goyal wrote:
> > > > On Wed, Jan 20, 2016 at 09:49:16AM -0
On Wed, 20 Jan 2016, Peter Zijlstra wrote:
> On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> > +static inline u32 stats_mean(struct stats *s)
> > +{
> > + /*
> > +* gcc is smart enough to convert to a bits shift when the
> > +* divisor is constant and multiple of 2^x.
>
On Wed, 20 Jan 2016, Peter Zijlstra wrote:
> On Wed, Jan 20, 2016 at 05:00:32PM +0100, Daniel Lezcano wrote:
> > +++ b/kernel/irq/handle.c
> > @@ -165,6 +165,7 @@ irqreturn_t handle_irq_event_percpu(struct irq_desc
> > *desc)
> > /* Fall through to add to randomness */
> >
From: Alan Tull
Supports Altera SOCFPGA bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
* lwhps2fpga
Allows enabling/disabling the bridges through the FPGA
Bridge Framework API functions.
The fpga2sdram driver only supports enabling and disabling
of the ports that been configured early on. Thi
On 1/20/16, Thomas Gleixner wrote:
> Jeff,
>
> On Wed, 20 Jan 2016, Jeff Merkey wrote:
>> Thomas, so far the only thing I've gotten from you are whining
>> diatribes about email ettiquette and today is the FIRST time you have
>> responded to me with any arguments that have technical merit and
>> a
From: Alan Tull
Add documentation for new FPGA bridge class's sysfs interface.
Signed-off-by: Alan Tull
--
v15: Document added in v15 of patch set
---
Documentation/ABI/testing/sysfs-class-fpga-bridge | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/ABI/te
On Tue, Jan 19, 2016 at 07:59:35PM -0800, Linus Torvalds wrote:
> On Fri, Jan 15, 2016 at 12:21 PM, Benjamin LaHaise wrote:
> >>
> >> I'll have to think about this some more.
> >
> > Any further thoughts on this after a few days worth of pondering?
>
> Sorry about the delay, with the merge window
Replace &foo[0] with foo,to follow Linux coding style.
Signed-off-by: Bhumika Goyal
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
b/drivers/s
My PowerBook G4 Aluminum with a 32-bit PPC processor fails to boot for the
4.4-git series. The problem was bisected to commit 21266be. It took a while to
figure out why a commit that only rearranges the Kconfig files could cause the
problem.
The answer came when I read the commit message for 9
On Wed, 20 Jan 2016, Davidlohr Bueso wrote:
> On Tue, 19 Jan 2016, Bueso wrote:
> > +
> > + /* Should be impossible but lets be paranoid for now */
> > + BUG_ON(inode->i_mapping != mapping);
>
> Hmm, do we want to transform this into an if and do rcu unlock and then just
> call
On Wed, 20 Jan 2016, Thomas Gleixner wrote:
> On Wed, 20 Jan 2016, Peter Zijlstra wrote:
>
> > On Wed, Jan 20, 2016 at 05:00:32PM +0100, Daniel Lezcano wrote:
> > > +++ b/kernel/irq/handle.c
> > > @@ -165,6 +165,7 @@ irqreturn_t handle_irq_event_percpu(struct irq_desc
> > > *desc)
> > >
Andy Shevchenko writes:
> On Wed, Jan 20, 2016 at 9:46 PM, Måns Rullgård wrote:
>
> One comment still regarding to lli types. We can avoid warnings by
> using (__force u32) in macros.
But that won't give the benefits of having the types checked.
>>>
>>> You mean if we access th
On Wed, Jan 20, 2016 at 12:01 PM, Larry Finger
wrote:
> My PowerBook G4 Aluminum with a 32-bit PPC processor fails to boot for the
> 4.4-git series. The problem was bisected to commit 21266be. It took a while
> to figure out why a commit that only rearranges the Kconfig files could
> cause the pro
Hi, Dmitry.
> On Fri, Jan 15, 2016 at 11:34 PM, Vostrikov Andrey
> wrote:
>>
>> Yes, such implementation will help. There is a need for interface like UART
>> BUS that will probe devices without user space.
>> Serial I/O for input subsystem defines new type of bus and uses dedicated
>> line dis
On Tue, Jan 19, 2016 at 04:47:32PM -0600, Eric W. Biederman wrote:
> Dan Carpenter writes:
>
> > I like to look back over old CVEs to see how we could do better. Here
> > is the list from 2015. I got most of this information from the Ubuntu
> > CVE tracker. Thanks Ubuntu!. If it doesn't have a
Hi Andy,
[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.4 next-20160120]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Andy-Shevchenko/x86-platform-quark-Print
On Wed, 20 Jan 2016, Daniel Lezcano wrote:
[...]
One more comment:
> + /*
> + * If the mean value is null, just ignore this wakeup
> + * source.
> + */
> + mean = stats_mean(&w->stats);
> + if (!mean)
> +
On Wed, Jan 20, 2016 at 12:08 PM, Dan Williams wrote:
> On Wed, Jan 20, 2016 at 12:01 PM, Larry Finger
> wrote:
>> My PowerBook G4 Aluminum with a 32-bit PPC processor fails to boot for the
>> 4.4-git series. The problem was bisected to commit 21266be. It took a while
>> to figure out why a commi
On Wed, Jan 20, 2016 at 08:57:06PM +0100, Thomas Gleixner wrote:
> > Here too, ktime_get() is daft.
>
> What's the problem? ktime_xxx() itself or just the clock monotonic variant?
>
> On 99.% of the platforms ktime_get_mono_fast/raw_fast is not any slower
> than sched_clock(). The only case w
On Wed, 20 Jan 2016, Thomas Gleixner wrote:
On Wed, 20 Jan 2016, Davidlohr Bueso wrote:
On Tue, 19 Jan 2016, Bueso wrote:
> +
> + /* Should be impossible but lets be paranoid for now */
> + BUG_ON(inode->i_mapping != mapping);
Hmm, do we want to transform this into an if and
When we print values, such as @size, we have to understand that it's derived
from [begin .. end] as:
size = end - begin + 1
On the opposite the @end is derived from the rest as:
end = begin + size - 1
Correct the IMR code to print values correctly.
Note that @__end_rodata actua
Hi Herbert,
On 01/18/2016 04:34 PM, Herbert Xu wrote:
>> My understanding is that the sock_kmalloc is mainly used for allocations
>> > of the user provided data, because it keeps tracks of how much memory
>> > is allocated by a socket, and makes sure that is will not exceed the
>> > sysctl_optmem_
* Grygorii Strashko | 2016-01-15 16:20:47 [+0200]:
>--- a/arch/arm/mm/highmem.c
>+++ b/arch/arm/mm/highmem.c
>@@ -175,7 +180,7 @@ void switch_kmaps(struct task_struct *prev_p, struct
>task_struct *next_p)
>* Restore @next_p's kmap_atomic mappings
>*/
> for (i = 0; i < next_p
On Wed, Jan 20, 2016 at 02:57:07PM -0500, Nicolas Pitre wrote:
> On Wed, 20 Jan 2016, Peter Zijlstra wrote:
>
> > On Wed, Jan 20, 2016 at 05:00:33PM +0100, Daniel Lezcano wrote:
> > > +static inline u32 stats_mean(struct stats *s)
> > > +{
> > > + /*
> > > + * gcc is smart enough to convert to a
On Wed, 20 Jan 2016, Peter Zijlstra wrote:
> On Wed, Jan 20, 2016 at 08:57:06PM +0100, Thomas Gleixner wrote:
> > > Here too, ktime_get() is daft.
> >
> > What's the problem? ktime_xxx() itself or just the clock monotonic variant?
> >
> > On 99.% of the platforms ktime_get_mono_fast/raw_fast
1 - 100 of 747 matches
Mail list logo