On Fri, 6 May 2016, Andi Kleen wrote:
> For SMT specific workarounds it is useful to know if SMT is active
> on any online CPU in the system. This currently requires a loop
> over all online CPUs.
>
> Add a global variable that is updated with the maximum number
> of smt threads on any CPU on
Commit-ID: 56402d63eefe22179f7311a51ff2094731420406
Gitweb: http://git.kernel.org/tip/56402d63eefe22179f7311a51ff2094731420406
Author: Thomas Gleixner
AuthorDate: Fri, 6 May 2016 20:48:16 +0200
Committer: Thomas Gleixner
CommitDate: Sat, 7 May 2016 10:06:55 +0200
x86/topology: Handle C
Hi,
On 07-05-16 07:30, Chen-Yu Tsai wrote:
Hi,
On Tue, Apr 12, 2016 at 9:38 AM, Chen-Yu Tsai wrote:
On Tue, Apr 12, 2016 at 3:23 AM, Florian Fainelli wrote:
On 04/04/16 09:22, Chen-Yu Tsai wrote:
The Allwinner H3 SoC incorporates an Ethernet PHY. This is enabled and
configured through a me
When testing f2fs with inline_dentry option, generic/342 reports:
VFS: Busy inodes after unmount of dm-0. Self-destruct in 5 seconds. Have a
nice day...
After rmmod f2fs module, kenrel shows following dmesg:
=
BUG f2fs
Preallocation operation in ->fallocate seems quite slow, since for all
new preallocated blocks, f2fs will update them one by one in direct nodes,
This patch introduces f2fs_reserve_blocks to make all preallocated blocks
belongs to one direct node updating in batch, so it can save a lot of
cpu cycl
Commit a4cdb556cae0 ("xen/gntdev: add ioctl for grant copy")
leads to a warning
xen/gntdev.c: In function ‘gntdev_ioctl_grant_copy’:
xen/gntdev.c:949:1: warning: the frame size of 1248 bytes
is larger than 1024 bytes [-Wframe-larger-than=]
This can be avoided by using kmalloc instead of the stack.
On Sat, 7 May 2016, changbin...@intel.com wrote:
Can you please fix your mail client. Every mail you send has:
Cc: .
"Du, Changbin" ,
Du
And that stray 'Du' is just broken.
> At last, I have a concern about the fixups that can it change the
> object which is in incorrect state on fi
Nothing critical, but a bit of kibitzing.
(That is slang in the Yiddish language for a person
who offers annoying and unwanted advice.)
> The binary GCD algorithm is based on the following facts:
> 1. If a and b are all evens, then gcd(a,b) = 2 * gcd(a/2, b/2)
> 2. If a is even and b i
On Fri, 6 May 2016, Darren Hart wrote:
> On Thu, May 05, 2016 at 08:44:04PM -, Thomas Gleixner wrote:
> > --- /dev/null
> > +++ b/include/linux/futex_types.h
> > @@ -0,0 +1,12 @@
> > +#ifndef _LINUX_FUTEX_TYPES_H
> > +#define _LINUX_FUTEX_TYPES_H
> > +
> > +struct futex_hash_bucket;
> > +
> > +
On Fri, 6 May 2016, Darren Hart wrote:
> It would be good to have a way to detect that the process private hash table
> was
> > successfully created. Perhaps a /proc/pid/ feature? This would allow us to
> > write
> > a functional futex test for tools/testing/selftests/futex
>
> I suppose we co
On Fri, 6 May 2016, Darren Hart wrote:
> On Thu, May 05, 2016 at 08:44:05PM -, Thomas Gleixner wrote:
> > From: Sebastian Siewior
> >
> > The per process hash is allocated on the fly at the first futex operation
> > of a
> > process. The size of the hash is determined by a system wide defaul
> >> >> >> I missed that Alexander already landed patches that reduce header
> >> >> >> size
> >> >> >> to 16 bytes.
> >> >> >> It is not OK to increase them again. Please leave state as bitfield
> >> >> >> and update it with CAS (if we introduce helper functions for state
> >> >> >> manipulation,
On Sun, May 01, 2016 at 11:20:25AM +0200, Mike Galbraith wrote:
> On Sun, 2016-05-01 at 10:53 +0200, Peter Zijlstra wrote:
> > On Sun, May 01, 2016 at 09:12:33AM +0200, Mike Galbraith wrote:
> > > On Sat, 2016-04-30 at 14:47 +0200, Peter Zijlstra wrote:
> >
> > > > Can you guys have a play with th
fix the error message printed when attempting and failing to create the
call path root incorrectly references the call return process.
this change fixes the message to properly reference the failure to create
the call path root.
Signed-off-by: Chris Phlipot
---
tools/perf/util/scripting-engines
This change introduces a fix to symbols__find, so that it is able to find
symbols of length zero (where start==end)
The current code has the following problem:
-The current implementation of symbols__find is unable to find any symbols
of length zero.
-The db-export framework explicitly creates ze
On Sat, May 07, 2016 at 10:23:52AM +0530, Alim Akhtar wrote:
> Hi Krzysztof,
>
> On Tue, May 3, 2016 at 11:22 PM, Krzysztof Kozlowski wrote:
> > Configure the pinctrl for MMC0 (eMMC) and MMC2 (microSD card).
> >
> > Signed-off-by: Krzysztof Kozlowski
> >
> > ---
> >
> > I am not sure about sd0_r
On Fri, May 6, 2016 at 9:45 PM, Noralf Trønnes wrote:
> In the discussion following the "no more fbdev drivers" call, someone
> pointed me to drm_panel. It had function hooks that I needed, so I built
> tinydrm around it. If this is misusing drm_panel, it shouldn't be too
> difficult to drop it.
>
On Fri, May 06, 2016 at 11:37:22PM -0700, tip-bot for Kees Cook wrote:
> Commit-ID: 3a94707d7a7bb1eb82acae5fbc035247dd1ba8a5
> Gitweb: http://git.kernel.org/tip/3a94707d7a7bb1eb82acae5fbc035247dd1ba8a5
> Author: Kees Cook
> AuthorDate: Fri, 6 May 2016 15:01:35 -0700
> Committer: Ingo Mol
> >> We can use per-header lock by setting status to KASAN_STATE_LOCKED. A
> >> thread can CAS any status to KASAN_STATE_LOCKED which means that it
> >> locked the header. If any thread tried to modify/read the status and
> >> the status is KASAN_STATE_LOCKED, then the thread waits.
> >
> > Thanks
On Fri, May 06, 2016 at 05:17:27PM +0530, Kuthonuzo Luruo wrote:
> Currently, KASAN may fail to detect concurrent deallocations of the same
> object due to a race in kasan_slab_free(). This patch makes double-free
> detection more reliable by serializing access to KASAN object metadata.
> New funct
"George Spelvin" writes:
> Your benchmark code doesn't have to have a separate code path if
> __x86_64__; rdtsc works on 32-bit code just as well.
Take a look at the CC: list.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Saturday, May 7, 2016 1:04
> To: Dexuan Cui
> Cc: gre...@linuxfoundation.org; net...@vger.kernel.org; linux-
> ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;
> a...@canonical.com; jasow...@redhat.com; cav...@redhat.co
Hi,
A bunch of fixes for things probably broken for long time (MFC, regulator
debugfs) or for stuff which will be broken in next releases (conversion
of max8997 to regmap).
Best regards,
Krzysztof
The following changes since commit a0a966b83873f33778710a4fc59240244b0734a5:
ARM: EXYNOS: Prop
On 2016/05/07 02:15PM, Michael Ellerman wrote:
> On Thu, 2016-05-05 at 15:23:19 UTC, "Naveen N. Rao" wrote:
> > Generalize existing macros to serve the purpose.
> >
> > Cc: Wang Nan
> > Cc: Arnaldo Carvalho de Melo
> > Cc: Masami Hiramatsu
> > Cc: Ian Munsie
> > Cc: Michael Ellerman
> > Signe
> diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
> index 57ffaf2..ca675ed 100644
> --- a/arch/sparc/Kconfig
> +++ b/arch/sparc/Kconfig
> @@ -42,6 +42,7 @@ config SPARC
> select ODD_RT_SIGACTION
> select OLD_SIGSUSPEND
> select ARCH_HAS_SG_CHAIN
> + select CPU_NO_EFFICIEN
On Sat, 7 May 2016, Thomas Gleixner wrote:
> On Fri, 6 May 2016, Darren Hart wrote:
> > > Note, that this call must be issued before the first futex operation in
> > > the
> > > process because that would automatically allocate the default sized hash.
> >
> > So this seems like it could be tricky
On Thu, May 05, 2016 at 05:03:31PM -0500, Rob Herring wrote:
> On Wed, May 04, 2016 at 01:54:17PM +0200, Niklas Cassel wrote:
> > From: Niklas Cassel
> >
> > This commit adds the Device Tree binding documentation that allows to
> > describe the PCIe controller found in the Axis ARTPEC-6 SoC.
> >
On Sat, 2016-05-07 at 01:18 +0200, Philippe Reynes wrote:
> The callback {get|set}_link_ksettings are often defined
> in a very close way. There are mainly two differences in
> those callback:
> - the name of the netdev private structure
> - the name of the struct phydev in the private structure
>
On Fri, 2016-05-06 at 16:12 -0700, Shrikrishna Khare wrote:
[...]
> +static int
> +vmxnet3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec)
> +{
[...]
> + switch (ec->rx_coalesce_usecs) {
> + case VMXNET3_COALESCE_DEFAULT:
> + case VMXNET3_COALESCE_DISABLED:
> +
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
tags/media/v4.6-5
For:
- deadlock fixes on driver probe at exynos4-is and s43-camif drivers;
- a build breakage if media controller is enabled and USB or PCI is
built as module.
Thanks!
Mauro
Den 07.05.2016 11:59, skrev Daniel Vetter:
On Fri, May 6, 2016 at 9:45 PM, Noralf Trønnes wrote:
In the discussion following the "no more fbdev drivers" call, someone
pointed me to drm_panel. It had function hooks that I needed, so I built
tinydrm around it. If this is misusing drm_panel, it s
On Sat, May 07, 2016 at 10:26:28AM +0200, Thomas Gleixner wrote:
> On Sat, 7 May 2016, changbin...@intel.com wrote:
>
> Can you please fix your mail client. Every mail you send has:
>
> Cc: .
> "Du, Changbin" ,
> Du
>
> And that stray 'Du' is just broken.
>
> > At last, I have a con
Em Thu, 10 Mar 2016 11:17:48 -0700
Shuah Khan escreveu:
> Add a common routine to invoke media device change_source handler.
>
> Signed-off-by: Shuah Khan
Shuah,
I'm marking this series of patches as superseded at patchwork, as I
intend that you'll be submitting it somewhere in the future,
to
Em Fri, 11 Mar 2016 11:13:01 +0300
Dan Carpenter escreveu:
> The code is checking for negative returns but it should be checking for
> zero.
>
> Fixes: aab3125c43d8 ('[media] em28xx: add support for registering multiple
> i2c buses')
> Signed-off-by: Dan Carpenter
> ---
> Is -EBUSY correct? -
Hi Soeren,
Em Sun, 7 Feb 2016 20:22:36 +0100
Soeren Moch escreveu:
> On 27.12.2015 21:41, Soeren Moch wrote:
> > Implement memory barriers according to Documentation/circular-buffers.txt:
> > - use smp_store_release() to update ringbuffer read/write pointers
> > - use smp_load_acquire() to load
Em Sat, 7 May 2016 10:22:35 -0300
Mauro Carvalho Chehab escreveu:
> Hi Soeren,
>
> Em Sun, 7 Feb 2016 20:22:36 +0100
> Soeren Moch escreveu:
>
> > On 27.12.2015 21:41, Soeren Moch wrote:
> > > Implement memory barriers according to Documentation/circular-buffers.txt:
> > > - use smp_store_rele
Hi Jon,
On Fri, May 6, 2016 at 10:32 AM, Jon Hunter wrote:
>> The "nvidia,tegra210-agic" string can be taken as describing any
>> Tegra-210 specific integration quirks, though I agree that's also not
>> fantastic for extending PM support beyond Tegra 210 and variants
>> thereof.
>>
>> So maybe th
This patch adds a watchdog which periodically reports number of memory
allocating tasks, dying tasks and OOM victim tasks when some task is
spending too long time inside __alloc_pages_slowpath().
I worked for three years at support center for troubleshooting RHEL
systems. I mainly had charge of tr
03.05.2016 20:31, Andy Lutomirski пишет:
If a signal stack is set up with SS_AUTODISARM, then the kernel
inherently avoids incorrectly resetting the signal stack if signals
recurse: the signal stack will be reset on the first signal
delivery. This means that we don't need check the stack pointer
03.05.2016 20:31, Andy Lutomirski пишет:
The handling for old kernels was wrong. Fix it.
Reported-by: Ingo Molnar
Cc: Stas Sergeev
Cc: Al Viro
Cc: Andrew Morton
Cc: Andy Lutomirski
Cc: Borislav Petkov
Cc: Brian Gerst
Cc: Denys Vlasenko
Cc: H. Peter Anvin
Cc: Linus Torvalds
Cc: Oleg Ne
03.05.2016 20:31, Andy Lutomirski пишет:
Using bit 4 divides the space of available bits strangely. Use bit
31 instead so that we have a better chance of keeping flag and mode
bits separate in the long run.
Cc: Stas Sergeev
Cc: Al Viro
Cc: Aleksa Sarai
Cc: Amanieu d'Antras
Cc: Andrea Arcang
Thank you for the review!
> > +
> > +/* acquire per-object lock for access to KASAN metadata. */
>
> I believe there's strong reason not to use standard spin_lock() or
> similar. I think it's proper place to explain it.
>
will do.
> > +void kasan_meta_lock(struct kasan_alloc_meta *alloc_info)
Convert driver to use PWM framework instead of calling dmtimer functions
directly for PWM timer. Remove paragraph about writing to the Free Software
Foundation's mailing address while at it.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 1 -
arch/arm/mach-oma
ir-rx51 is a driver for Nokia N900 IR transmitter. The current series
fixes the remaining problems in the driver:
- replace GP timer 9 with PWM framework usage
- replace pulse width timer dmtimer usage with hrtimer
- add DT support to the driver
- add driver to the board DTS
Pathes 2 and 5 ar
With the upcoming removal of legacy boot, lets add support to one of the
last N900 drivers remaining without it. As the driver still uses omap
dmtimer, add auxdata as well.
Signed-off-by: Ivaylo Dimitrov
---
.../devicetree/bindings/media/nokia,lirc-rx51 | 19 +++
arch/arm
Add the needed DT data to enable IR TX driver
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/boot/dts/omap3-n900.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b3c26a9..3d1e23e 100644
--- a/arch/arm/boo
OMAP GP timers can have different input clocks that allow different PWM
frequencies. However, there is no other way of setting the clock source but
through clocks or clock-names properties of the timer itself. This limits
PWM functionality to only the frequencies allowed by the particular clock
sou
Drop dmtimer usage for pulse timer in favor of hrtimer. That allows
removing PWM dmitimer platform data usage.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 4 -
arch/arm/mach-omap2/pdata-quirks.c | 3 -
drivers/media/rc/ir-rx51.c
From: Tony Lindgren
The ir-rx51 driver for n900 has been disabled since the multiarch
changes as plat include directory no longer is SoC specific.
Let's fix it with minimal changes to pass the dmtimer calls in
pdata. Then the following changes can be done while things can
be tested to be working
once omap_dm_timer_start() is called, which calls omap_dm_timer_enable()
and thus pm_runtime_get_sync(), it doesn't make sense to call PM runtime
functions again before omap_dm_timer_stop is called(). Otherwise PM runtime
functions called in omap_dm_timer_enable/disable lead to long and unneeded
de
On Fri, May 06, 2016 at 04:25:16PM +1000, Ross Green wrote:
> On Sun, Apr 3, 2016 at 6:18 PM, Paul E. McKenney
> wrote:
> > On Thu, Mar 31, 2016 at 08:42:55AM -0700, Paul E. McKenney wrote:
> >> On Wed, Mar 30, 2016 at 07:55:47AM -0700, Paul E. McKenney wrote:
> >> > On Tue, Mar 29, 2016 at 06:49:
Hi,
I have specific questions related to the problem I am facing in using
VFIO for MSIX interrupt.
My userspace program running on x86 talks to NIC connected via PCIe
interface. Current program works fine in poll mode with no VF and
SRIOV requirement. I am changing my app from poll mode to interr
More complex SMI requests can return data that exceeds the 4 32 byte
arguments that are traditionally part of a request.
To support more complex requests, the first input argument can be a
32 bit physical address with a buffer properly built in advance.
This helper function prepares the buffer as
System with Type-C ports have a feature to expose an auxiliary
persistent MAC address. This address is burned in at the
factory.
The intention of this address is to update the MAC address on
Type-C docks containing an ethernet adapter to match the
auxiliary address of the system connected to them
Fixes issues with the coding style checks.
Signed-off-by: Thimo Braker
---
drivers/staging/android/timed_gpio.c | 36 +-
drivers/staging/android/timed_gpio.h | 8
drivers/staging/android/timed_output.c | 16 +++
3 files changed, 30 insert
Drop this paranoia check from the old days.
If our MTD driver or the flash is so bad that we even cannot
trust it to write data we have bigger problems.
If one really does not trust the flash and wants write-verify
she can enable UBI io checks using debugfs.
Signed-off-by: Richard Weinberger
---
On Sat, May 07, 2016 at 10:56:37AM -0500, Thimo Braker wrote:
> Fixes issues with the coding style checks.
What issues? Always be specific, and describe what you are doing. Also
don't put more than one "thing" in a single patch (hint, "coding style
cleanups" are not one thing.)
>
> Signed-off-
From: Dexuan Cui
Date: Sat, 7 May 2016 10:49:25 +
> I should be able to make 'send', 'recv' here to pointers and use vmalloc()
> to allocate the memory for them. I will do this.
That's still unswappable kernel memory.
People can open N sockets, where N is something on the order of the FD
l
From: Ben Hutchings
Date: Sat, 07 May 2016 13:04:46 +0100
> On Fri, 2016-05-06 at 16:12 -0700, Shrikrishna Khare wrote:
> [...]
>> +static int
>> +vmxnet3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec)
>> +{
> [...]
>> +switch (ec->rx_coalesce_usecs) {
>> +case VMXNE
Hi Chao,
Good catch, but I've been already testing a patch which uses f2fs_map_blocks().
We don't need to add whole things redundantly. :)
>From b150a6e02785ea28a5139bd2d1a1debd8aad84e7 Mon Sep 17 00:00:00 2001
From: Jaegeuk Kim
Date: Fri, 6 May 2016 15:30:38 -0700
Subject: [PATCH] f2fs: falloca
The following changes since commit 02da2d72174c61988eb4456b53f405e3ebdebce4:
Linux 4.6-rc5 (2016-04-24 16:17:05 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.6-rc7
for you to fetch changes up to 9be427efc764464fbcbc1c
Previously f2fs_preallocate_blocks() tries to allocate unaligned blocks.
In f2fs_write_begin(), however, prepare_write_begin() does not skip its
allocation due to (len != 4KB).
So, it needs locking node page twice unexpectedly.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 4 ++--
1 file chang
This patch enables reading node blocks in advance when truncating large
data blocks.
> time rm $MNT/testfile (500GB) after drop_cachees
Before : 9.422 s
After : 4.821 s
Reported-by: Stephen Bates
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/file.c | 2 +-
fs/f2fs/node.c | 52 +
The following changes since commit c3b46c73264b03000d1e18b22f5caf63332547c9:
Linux 4.6-rc4 (2016-04-17 19:13:32 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/
tags/char-misc-4.6-rc7
for you to fetch changes up to d1306eb67
The following changes since commit bf16200689118d19de1b8d2a3c314fc21f5dc7bb:
Linux 4.6-rc3 (2016-04-10 17:58:30 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/
tags/staging-4.6-rc7
for you to fetch changes up to 2b86c4a84377b
On Fri, May 06, 2016 at 08:59:07AM +, He Kuang wrote:
> There's no need for dwarf support when perf recording with callchain.
>
> Signed-off-by: He Kuang
Acked-by: Jiri Olsa
thanks,
jirka
> ---
> tools/perf/util/util.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/perf
Thanks for the reply.
Will give that a check. :)
Got pointed to torvalds/linux-2.6 by some other guy.
Will have a look in the other repo.
Also, would you rather have me send a patch for every type (eg tabbing
fix, capital fix, spelling fix, 80-char fix, etc)? (Just to be sure I
properly underst
On Fri, May 06, 2016 at 08:59:08AM +, He Kuang wrote:
> When unwinding callchain on different machine, vdso info should be
> provided so the unwind process won't be interrupted if address fell
> into vdso region.
>
> Signed-off-by: He Kuang
> ---
> tools/perf/builtin-script.c | 2 ++
> tools
On Fri, May 06, 2016 at 08:59:09AM +, He Kuang wrote:
> Currently only test for local libunwind. We should check all supported
> platforms so we can use them to parse perf.data with callchain info on
> different machines.
>
> Signed-off-by: He Kuang
> ---
> tools/build/Makefile.feature
On Fri, May 06, 2016 at 08:59:10AM +, He Kuang wrote:
> Debug-frame for remote platforms is not related to the host platform,
> so we should test each platform separately.
SNIP
> diff --git a/tools/build/feature/test-libunwind-debug-frame.c
> b/tools/build/feature/test-libunwind-debug-frame.
On Fri, May 06, 2016 at 08:59:11AM +, He Kuang wrote:
> Currently, perf script uses host unwind methods to parse perf.data
> callchain info regardless of the target architecture. So we get wrong
> result and no promotion when unwinding callchains of x86(32bit) on
> x86(64bit) machine.
>
> This
Hi Eric,
Thank you for the review.
On Fri, May 06, 2016 at 09:31:02PM -0500, Eric Biggers wrote:
> Hi Jaegeuk,
>
> On Mon, Apr 25, 2016 at 05:15:36PM -0700, Jaegeuk Kim wrote:
> > This patch removes the most parts of internal crypto codes.
> > And then, it modifies and adds some ext4-specific cr
Chang log from v1:
- allow "ext4:" crypto prefix
- fix some parts pointed by Eric
This patch is made on top of below patch that I attached.
- fscrypto/f2fs: allow fs-specific key prefix for fs encryption
Thanks,
>From 593e56e680f962c5e9cc57afa19bda4c654bd841 Mon Sep 17 00:00:00 2001
From: Jae
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Sat, May 07, 2016 at 08:05:22PM +0200, Thimo Braker wrote:
> Thanks for the reply.
> Will give that a check. :)
> Got pointed to torvalds/linux-2.6 by some other guy.
>
> Will have a look in the ot
On Thu, May 05, 2016 at 04:04:03PM -0700, Andi Kleen wrote:
> From: Andi Kleen
>
> When the scaling factor is a full integer don't display fractional
> digits. This avoids unnecessary .00 output for topdown metrics
> with scale factors.
>
> v2: Remove redundant check.
> Signed-off-by: Andi Kleen
On Thu, May 05, 2016 at 04:04:04PM -0700, Andi Kleen wrote:
> From: Andi Kleen
>
> Scale values by unit before passing them to the metrics printing functions.
> This is needed for TopDown, because it needs to scale the slots correctly
> by pipeline width / SMTness.
>
> For existing metrics it sh
From: Dan Carpenter
Date: Thu, 5 May 2016 16:18:46 +0300
> My static checker complained that "v" can be used unintialized if
> netxen_rom_fast_read() returns -EIO. That function never actually
> returns -1.
>
> Signed-off-by: Dan Carpenter
Applied.
From: Dan Carpenter
Date: Thu, 5 May 2016 16:19:44 +0300
> My static checker complains that we are using "autoneg" without
> initializing it. The problem is the ->phy_read() condition is reversed
> so we only set this on error instead of success.
>
> Signed-off-by: Dan Carpenter
Applied.
From: Dan Carpenter
Date: Thu, 5 May 2016 16:20:20 +0300
> The error handling is broken here. netxen_rom_fast_read() returns zero
> on success and -EIO on error. It never returns -1.
>
> Signed-off-by: Dan Carpenter
Applied.
> > if (csv_output) {
> > - fmt = sc != 1.0 ? "%.2f%s" : "%.0f%s";
> > + fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s";
> > } else {
> > if (big_num)
> > - fmt = sc != 1.0 ? "%'18.2f%s" : "%'18.0f%s";
> > + fmt = floor(sc)
iaddr_array is unconditionally initialized to NULL in
befs_find_brun_dblindirect().
Signed-off-by: Salah Triki
---
fs/befs/datastream.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c
index 068f7be..4cbd4c2 100644
--- a/fs/befs/d
bh is reinitialized by befs_read_datastream() so no need to init it
with NULL in the beginning of befs_read_lsymlink().
Signed-off-by: Salah Triki
---
fs/befs/datastream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c
index aa3568
bh is reinitialized by befs_bread_iaddr() so no need to init it
with NULL in the beginning of befs_read_datastream().
Signed-off-by: Salah Triki
---
fs/befs/datastream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c
index ebd5071.
On Fri, May 06, 2016 at 10:49:23PM +0100, Colin Pitrat wrote:
> This fixes the issue descirbe in bug 117531.
> It's a regression introduced in linux 4.5 that causes a Oops at load of
> gpio_sch and prevents powering off the computer.
>
> The patch consist in reverting commit
> 737c8fccf1c5b2aae3
On Fri, May 06, 2016 at 08:59:11AM +, He Kuang wrote:
SNIP
> + if (machine)
> + root_dir = machine->root_dir;
> +
> + name = malloc(PATH_MAX);
> + if (!name)
> + return -1;
> +
> + kmod = dso->symtab_type == DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE ||
> +
This fixes the issue descirbe in bug 117531.
It's a regression introduced in linux 4.5 that causes a Oops at load of
gpio_sch and prevents powering off the computer.
The patch consist in reverting commit 737c8fccf1c5b2aae3c6d9a66dce17e35fc39b71
(a.k.a 'gpio: sch: use gpiochip data pointer') that
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned''
Signed-off-by: Clifton Barnes
---
drivers/input/misc/rotary_encoder.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/input/misc/rotary_encoder.c
b/drivers/input/misc/rotary_enc
Q: Should I include quotations after my reply?
Sorry about that, will do.
Look at the patches sent the driverdevel mailing list for examples of this.
Just subscribed to that mailing list, will keep an eye out for proper patch
mails.
Thanks,
Thimo B.
Fixes a checkpatch.pl warning about 'do not add new typedefs'
Signed-off-by: Thimo Braker
---
drivers/staging/android/uapi/ion.h | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/android/uapi/ion.h
b/drivers/staging/android/uapi/ion.h
index 0a8e40f..77a
Fixes indentation before variable names.
Signed-off-by: Thimo Braker
---
drivers/staging/android/uapi/ion.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/android/uapi/ion.h
b/drivers/staging/android/uapi/ion.h
index 77a46f0..ddb8174 100644
--- a/dri
Hi Andrew,
Andrew Lunn writes:
>> @@ -378,6 +385,7 @@ enum mv88e6xxx_cap {
>> #define MV88E6XXX_FLAG_EEPROM BIT(MV88E6XXX_CAP_EEPROM)
>> #define MV88E6XXX_FLAG_PPU BIT(MV88E6XXX_CAP_PPU)
>> #define MV88E6XXX_FLAG_SMI_PHY BIT(MV88E6XXX_CAP_SMI_PHY)
>> +#defi
> Take a look at the Cc: list.
Yes, I realized how long it was about half a second after hitting "send".
Although I didn't really think it through at the time, even now that I
do it's not entirely clear who should have been trimmed, either.
In general lkml tradition is to not drop people from th
Hi Andrew,
Andrew Lunn writes:
> On Fri, May 06, 2016 at 05:57:17PM -0400, Vivien Didelot wrote:
>> The 6131 switch models have a Core Tag Type register. Add a
>> MV88E6XXX_FLAG_CORE_TAG_TYPE flag and set the VLAN Ethertype to 0x8100
>> in the shared setup code if it is present.
>
> Do you have
Sam Ravnborg wrote:
> sparc64 have an efficient ffs implementation.
> We use run-time patching to use the proper version
> depending on the actual sparc cpu.
>
> As this is determinded at config time, then let the
> sparc cpu that has the efficient ffs benefit from this.
>
> In other words - sele
On 07/05/16 13:59, Ben Hutchings wrote:
On Sat, 2016-05-07 at 01:18 +0200, Philippe Reynes wrote:
The callback {get|set}_link_ksettings are often defined
in a very close way. There are mainly two differences in
those callback:
- the name of the netdev private structure
- the name of the struct p
On Tue, May 03, 2016 at 12:54:40AM -0500, Eric W. Biederman wrote:
> "Serge E. Hallyn" writes:
>
> > Quoting Andrew G. Morgan (mor...@kernel.org):
> >>
> >> I guess I'm confused how we have strayed so far that this isn't an obvious
> >> requirement. Uid=0 as being the root of privilege was the b
On Sun, 2016-05-08 at 00:56 +0200, Philippe Reynes wrote:
> On 07/05/16 13:59, Ben Hutchings wrote:
> >
> > On Sat, 2016-05-07 at 01:18 +0200, Philippe Reynes wrote:
> > >
> > > The callback {get|set}_link_ksettings are often defined
> > > in a very close way. There are mainly two differences in
2016-05-06 23:43 GMT+08:00 Tomasz Grabiec :
> Hi,
>
> System details:
>
> Kernel: 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> CPU: 2 sockets, 8 cores per socket, 2 threads per core
> CPU Model: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40G
Hi Nitin,
On Sat, 7 May 2016 21:09:09 +0530
Nitin Saxena wrote:
> Hi Alex,
>
> I have specific questions related to the problem I am facing in using VFIO
> for MSIX interrupt.
>
> My userspace program running on x86 talks to NIC connected via PCIe
> interface. Current program works fine in pol
fixed checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned'
Signed-off-by: Shyam Saini
---
drivers/staging/emxx_udc/emxx_udc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/emxx_udc/emxx_udc.c
b/drivers/staging/emxx_udc/emxx_udc.c
1 - 100 of 114 matches
Mail list logo