RE: [PATCH 1/2 v4] tpm: cmd_ready command can be issued only after granting locality

2018-02-25 Thread Winkler, Tomas
> > On Sat, Feb 24, 2018 at 05:43:16PM +0200, Tomas Winkler wrote: > > The correct sequence is to first request locality and only after that > > perform cmd_ready handshake, otherwise the hardware will drop the > > subsequent message as from the device point of view the cmd_ready > > handshake

Re: Linux 3.18.96

2018-02-25 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt b/Documentation/devicetree/bindings/dma/snps-dma.txt index d58675ea1abf..f4bdc9d62130 100644 --- a/Documentation/devicetree/bindings/dma/snps-dma.txt +++ b/Documentation/devicetree/bindings/dma/snps-dma.txt @@ -58,6 +58,6 @@ Example:

Linux 4.9.84

2018-02-25 Thread Greg KH
I'm announcing the release of the 4.9.84 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.118

2018-02-25 Thread Greg KH
I'm announcing the release of the 4.4.118 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.22

2018-02-25 Thread Greg KH
I'm announcing the release of the 4.14.22 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

[PATCH v2] drivers/virt: vm_gen_counter: initial driver implementation

2018-02-25 Thread Or Idgar
From: Or Idgar This patch is a driver which expose the Virtual Machine Generation ID via sysfs. The ID is a UUID value used to differentiate between virtual machines. The VM-Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?LinkId=260709)

Re: [PATCH] auxdisplay: img-ascii-lcd: add MODULE_LICENSE("GPL")

2018-02-25 Thread Miguel Ojeda
On Sat, Feb 24, 2018 at 4:08 PM, Daniel Axtens wrote: > Miguel Ojeda writes: > >> Hi Daniel, >> >> On Sun, Nov 26, 2017 at 3:53 AM, Daniel Axtens wrote: >>> This matches the header at the top of the file and squashes: >>> >>>

[BUGFIX PATCH v2 2/2] arm: kprobes: Prohibit kprobes on get_user functions

2018-02-25 Thread Masami Hiramatsu
Since do_undefinstr() uses get_user to get the undefined instruction, it can be called before kprobes processes recursive check. This can cause an infinit recursive exception. Prohibit probing on get_user functions. Fixes: 24ba613c9d6c ("ARM kprobes: core code") Signed-off-by: Masami Hiramatsu

[BUGFIX PATCH v2 1/2] arm: kprobes: Prohibit kprobes on do_undefinstr

2018-02-25 Thread Masami Hiramatsu
Prohibit kprobes on do_undefinstr because kprobes on arm is implemented by undefined instruction. This means if we probe do_undefinstr(), it can cause infinit recursive exception. Fixes: 24ba613c9d6c ("ARM kprobes: core code") Signed-off-by: Masami Hiramatsu ---

[RFC PATCH v2] ptr_ring: linked list fallback

2018-02-25 Thread Michael S. Tsirkin
So pointer rings work fine, but they have a problem: make them too small and not enough entries fit. Make them too large and you start flushing your cache and running out of memory. This is a new idea of mine: a ring backed by a linked list. Once you run out of ring entries, instead of a drop

Re: [PATCH 00/17] Add kexec_file_load support to s390

2018-02-25 Thread AKASHI Takahiro
On Sat, Feb 24, 2018 at 09:59:56AM +0800, Dave Young wrote: > On 02/23/18 at 11:01am, Philipp Rudo wrote: > > Hi Dave > > > > On Fri, 23 Feb 2018 16:34:05 +0800 > > Dave Young wrote: > > > > > On 02/14/18 at 10:54am, Philipp Rudo wrote: > > > > Hi Dave, > > > > > > > > I

Re: [V9fs-developer] [PATCH] fs/9p: don't set SB_NOATIME by default

2018-02-25 Thread jiangyiwen
On 2018/2/24 10:47, jiangyiwen wrote: > On 2018/2/9 14:13, jiangyiwen wrote: >> User use some syscall, for example mmap(v9fs_file_mmap), it will not >> update atime even if user's mnt_flags have MNT_NOATIME, because >> v9fs default set SB_NOATIME in v9fs_set_super. >> >> For supporting access time

Re: [alsa-devel] [PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-25 Thread kbuild test robot
Hi Sebastian, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-02-25 Thread Baolin Wang
Hi, On 24 February 2018 at 21:06, kbuild test robot wrote: > Hi Baolin, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on power-supply/for-next] > [also build test ERROR on v4.16-rc2 next-20180223] > [if your patch is applied to the wrong git

Re: [PATCH v3 15/18] tracing: probeevent: Add array type support

2018-02-25 Thread Namhyung Kim
On Sat, Feb 24, 2018 at 02:35:40PM +0900, Masami Hiramatsu wrote: > Add array type support for probe events. > This allows user to get arraied types from memory address. > The array type syntax is > > TYPE[N] > > Where TYPE is one of types (u8/16/32/64,s8/16/32/64, > x8/16/32/64, symbol,

The white man : Who he is. A Discussion

2018-02-25 Thread thetruthbeforeus
Alot of folks have been wondering: why are things they way that they are? Many have been pondering this notion. All things have roots: you, me, we all do, but when we are cut from those roots we feel adrift in this world. Like this world is not our own. In the past many of us have been

Re: [PATCH 4/4] leaking_addresses: add scan_once array

2018-02-25 Thread Tobin C. Harding
On Sun, Feb 25, 2018 at 06:09:53PM -0700, Tycho Andersen wrote: > Hi Tobin, > > On Mon, Feb 19, 2018 at 01:50:49PM +1100, Tobin C. Harding wrote: > > +sub already_scanned > > +{ > > + my ($filename) = @_; > > + state %seen; > > + > > + foreach (@once_only) { > > + if

Re: [PATCH 2/4] leaking_addresses: simplify path skipping

2018-02-25 Thread Tobin C. Harding
On Sun, Feb 25, 2018 at 06:26:31PM -0700, Tycho Andersen wrote: > Hi Tobin, > > On Mon, Feb 19, 2018 at 01:50:47PM +1100, Tobin C. Harding wrote: > > -# Do not parse these files under any subdirectory. > > -my @skip_parse_files_any = ('0', > > - '1', > > -

Re: [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property

2018-02-25 Thread Jaehoon Chung
On 02/24/2018 01:16 AM, Andy Shevchenko wrote: > On Fri, Feb 23, 2018 at 4:19 PM, Shawn Lin wrote: >> On 2018/2/23 21:27, Andy Shevchenko wrote: >>> On Fri, Feb 23, 2018 at 8:41 AM, Jaehoon Chung >>> wrote: 'clock-freq-min-max' property

Re: [DNG] Japanese Linux Kernel Programmers - Why do you like anime. Whites say you are pedos.

2018-02-25 Thread thetruthbeforeus
I dun kno what the fucc yall is saying. Vacume cleaners on skin n WT. Skin lightening creams are bullshit japanese use to white wash them. On 2018-02-26 00:46, Arnt Karlsen wrote: On Sun, 25 Feb 2018 16:13:05 +, thetruthstandsb...@firemail.cc wrote in message

Re: [DNG] Whitelisting?

2018-02-25 Thread thetruthbeforeus
How about you white folks stop trying to silence any that have something other than your whitewashed opinions. Your culture sterile. Truth: https://www.liveleak.com/view?i=c34_1519605684 On 2018-02-25 22:24, Antony Stone wrote: On Sunday 25 February 2018 at 23:17:40, info at smallinnovations

Re: [DNG] Real talk: Not laywer bullshit, or programmer babble.

2018-02-25 Thread thetruthbeforeus
There's real men and then there's you mther fuckers. Men don't talk in lawyer bullshit or programmer babble. Real men fuck real women. You lawyers and programmers don't do none of it. White fag bullshit. On 2018-02-25 21:43, taii...@gmx.com wrote: Looks like someone took the brown acid.

[PATCH 1/6] of: unittest: clean up changeset test

2018-02-25 Thread frowand . list
From: Frank Rowand In preparation for fixing __of_node_dup(), clean up the unittest function that calls it. Devicetree nodes created from a flattened device tree have a name property. Follow this convention for nodes added by a changeset. For node added by changeset,

[PATCH 4/6] of: remove kbasename(of->full_name) from kobj.c

2018-02-25 Thread frowand . list
From: Frank Rowand struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name. Signed-off-by: Frank Rowand --- drivers/of/kobj.c | 2 +- 1

linux-next: manual merge of the kvms390 tree with the nds32 tree

2018-02-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: drivers/video/console/Kconfig between commit: 2312dbf7462b ("drivers/video/concole: add negative dependency for VGA_CONSOLE on nds32") from the nds32 tree and commits: 8da93aca3729 ("Kconfig : Remove HAS_IOMEM

[PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device

2018-02-25 Thread minyard
From: Corey Minyard Realtek has some sort of "Virtual" IPMI device on the PCI bus as a KCS controller, but whatever it is, it's not one. Ignore it if seen. Reported-by: Chris Chiu Signed-off-by: Corey Minyard --- I haven't heard

Re: [PATCH v2 3/3] gpio: Add Spreadtrum PMIC EIC driver support

2018-02-25 Thread Baolin Wang
Hi Andy, On 25 February 2018 at 20:19, Andy Shevchenko wrote: > On Sat, Feb 24, 2018 at 12:44 PM, Baolin Wang wrote: >> The Spreadtrum PMIC EIC controller contains only one bank of debounce EIC, >> and this bank contains 16 EICs. Each EIC can

Linux 4.16-rc3

2018-02-25 Thread Linus Torvalds
We're on the normal schedule for 4.16 and everything still looks very regular. rc3 is larger than rc2 was, but as mentioned last week, that's expected - rc2 really was tiny. People have started finding things to fix, but there's nothing that really stands out as particularly scary here. "Small

Re: [RFC PATCH v2] ptr_ring: linked list fallback

2018-02-25 Thread Jason Wang
On 2018年02月26日 09:17, Michael S. Tsirkin wrote: So pointer rings work fine, but they have a problem: make them too small and not enough entries fit. Make them too large and you start flushing your cache and running out of memory. This is a new idea of mine: a ring backed by a linked list.

[PATCH] ASoC: sun4i-i2s: Fix offset tune for SUN8I

2018-02-25 Thread Yong Deng
SUN8I_I2S_TX_CHAN_OFFSET_MASK should be GENMASK(13, 12). And offset tune of RX should also be updated. Fixes: 7d2993811a1e ("ASoC: sun4i-i2s: Add support for H3") Signed-off-by: Yong Deng --- sound/soc/sunxi/sun4i-i2s.c | 8 +++- 1 file changed, 7 insertions(+), 1

[PATCH v5 0/9] watchdog/hpwdt: Update driver to use watchdog core.

2018-02-25 Thread Jerry Hoemann
== v5 == Patch numbers changing due to squash and reorder. Using Prior (v4) Patch number noting *new* patch numbers as bullet item. Patch 0001 & 0004 Merged into: Update-Module-info-and-copyright 1) New Patch 0001 Patch 0002 Remove legacy NMI sourcing 1) Unmodified Patch 0003 Update nmi_panic

[PATCH v5 2/9] watchdog/hpwdt: Remove legacy NMI sourcing.

2018-02-25 Thread Jerry Hoemann
Gen8 and prior Proliant systems supported the "CRU" interface to firmware. This interfaces allows linux to "call back" into firmware to source the cause of an NMI. This feature isn't fully utilized as the actual source of the NMI isn't printed, the driver only indicates that the source couldn't

[PATCH v5 8/9] watchdog/hpwdt: Add dynamic debug

2018-02-25 Thread Jerry Hoemann
Add a few dynamic debug messages to aid in module level debug. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index b8205c6e61c1..b82bbeed0e43

[PATCH v5 6/9] watchdog/hpwdt: remove allow_kdump module parameter.

2018-02-25 Thread Jerry Hoemann
The intent of this parameter is unclear and it sets up a race between the reset of the system by ASR and crashdump. The length of time between receipt of the pretimeout NMI and the ASR reset of the system is fixed by hardware. Turning the parameter off doesn't necessairly prevent a crash dump.

[PATCH v5 9/9] watchdog/hpwdt: Update driver version.

2018-02-25 Thread Jerry Hoemann
Update driver version number to reflect changes. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index b82bbeed0e43..a43ab2cecca2 100644 ---

[PATCH v5 7/9] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-25 Thread Jerry Hoemann
Make whether or not the hpwdt watchdog delivers a pretimeout NMI programable by the user. The underlying iLO hardware is programmable as to whether or not a pre-timeout NMI is delivered to the system before the iLO resets the system. However, the iLO does not allow for programming the length of

[PATCH v5 3/9] watchdog/hpwdt: Update nmi_panic message.

2018-02-25 Thread Jerry Hoemann
Include the nmistat in the nmi_panic message to give support an indication why the NMI was called (e.g. a timeout or generate nmi button.) Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 20 1 file changed, 12 insertions(+), 8 deletions(-)

[PATCH v5 4/9] watchdog/hpwdt: Modify to use watchdog core.

2018-02-25 Thread Jerry Hoemann
Follow Documentation/watchdog/convert_drivers_to_kernel_api.txt to convert hpwdt from legacy watchdog driver to use the watchdog core. Removed functions: hpwdt_open, hpwdt_release, hpwdt_write, hpwdt_ioctl Removed data structures: hpwdt_fops, hpwdt_miscdev, watchdog_device Modified functions:

[PATCH v5 1/9] watchdog/hpwdt: Update Module info and copyright.

2018-02-25 Thread Jerry Hoemann
Update Copyright and Module description to reflect branding changes. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index

[GIT pull] core updates for 4.16

2018-02-25 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus A single commit removing a bunch of bogus double semicolons all over the tree. Thanks, tglx --> Ingo Molnar (1):

Re: [PATCH 01/21] powerpc: Remove warning on array size when empty

2018-02-25 Thread Segher Boessenkool
Hi! On Sun, Feb 25, 2018 at 06:22:16PM +0100, Mathieu Malaterre wrote: > When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the > array feature_properties is defined as an empty array, which in turn > triggers the following warning (treated as error on W=1): > - for (i =

Re: [PATCH] auxdisplay: arm-charlcd: Fix struct charlcd doc line

2018-02-25 Thread Miguel Ojeda
On Sun, Feb 25, 2018 at 7:13 PM, Randy Dunlap wrote: > On 02/25/2018 04:46 AM, Miguel Ojeda wrote: >> There was a missing first line and a missing member, >> which gave a warning under W=1: >> >> CC drivers/auxdisplay/arm-charlcd.o >>

Re: [PATCH 04/11] signal/parisc: Document a conflict with SI_USER with SIGFPE

2018-02-25 Thread Helge Deller
On 23.02.2018 01:15, Eric W. Biederman wrote: > Helge Deller writes: > >> * Eric W. Biederman : >>> Setting si_code to 0 results in a userspace seeing an si_code of 0. >>> This is the same si_code as SI_USER. Posix and common sense requires >>> that SI_USER

[PATCH] rtc: m41t80: fix race conditions

2018-02-25 Thread Alexandre Belloni
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler, leading to: Unable to handle kernel NULL pointer dereference at virtual address 017c pgd = a38a2f9b [017c] *pgd= Internal error: Oops: 5 [#1] ARM Modules linked in:

Re: [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression

2018-02-25 Thread Linus Torvalds
On Sun, Feb 25, 2018 at 7:05 AM, kernel test robot wrote: > > FYI, we noticed a -18.0% regression of aim7.jobs-per-min due to commit: > > commit: c0cef30e4ff0dc025f4a1660b8f0ba43ed58426e ("iversion: make > inode_cmp_iversion{+raw} return bool instead of s64") That looks

Re: [PATCH v3 2/2] x86/apic: Replace common tools with new ones

2018-02-25 Thread Dou Liyang
Hi Andy, At 02/23/2018 08:40 PM, Andy Shevchenko wrote: On Fri, Feb 23, 2018 at 9:54 AM, Dou Liyang wrote: The pending interrupt check code is old, update the following code. -Replace for() with for_each_set_bit() - for (j = 31; j >= 0;

RE: [PATCH v5 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2018-02-25 Thread Yasunari.Takiguchi
Hi, all I sent the patch series of Sony CXD2880 DVB-T2/T tuner + demodulator driver version 5 on 18th/Jan. I'd like to get better understanding of current review status for our drivers. Are there any comments, advices and review results for them? Thanks, Takiguchi

Re: [RFC PATCH] ptr_ring: linked list fallback

2018-02-25 Thread Michael S. Tsirkin
On Fri, Feb 16, 2018 at 04:32:05PM -0500, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Fri, 16 Feb 2018 09:40:54 +0200 > > > So pointer rings work fine, but they have a problem: > > make them too small and not enough entries fit. > > Make them too large and you start

Re: [PATCH 4/4] leaking_addresses: add scan_once array

2018-02-25 Thread Tycho Andersen
Hi Tobin, On Mon, Feb 19, 2018 at 01:50:49PM +1100, Tobin C. Harding wrote: > +sub already_scanned > +{ > + my ($filename) = @_; > + state %seen; > + > + foreach (@once_only) { > + if (/^$filename$/) { > + if ($seen{$_} == 1) { This should be something

[PATCH bpf-next v2] samples/bpf: Add program for CPU state statistics

2018-02-25 Thread Leo Yan
CPU is active when have running tasks on it and CPUFreq governor can select different operating points (OPP) according to different workload; we use 'pstate' to present CPU state which have running tasks with one specific OPP. On the other hand, CPU is idle which only idle task on it, CPUIdle

Re: [PATCH 2/4] leaking_addresses: simplify path skipping

2018-02-25 Thread Tycho Andersen
Hi Tobin, On Mon, Feb 19, 2018 at 01:50:47PM +1100, Tobin C. Harding wrote: > -# Do not parse these files under any subdirectory. > -my @skip_parse_files_any = ('0', > - '1', > - '2', > - 'pagemap', > -

Re: The white man : Who he is. A Discussion

2018-02-25 Thread thetruthbeforeus
BTW. This is truth so you best much less listen. On 2018-02-26 01:56, thetruthbefor...@firemail.cc wrote: Alot of folks have been wondering: why are things they way that they are? Many have been pondering this notion. All things have roots: you, me, we all do, but when we are cut from those

Re: [DNG] Whitelisting?

2018-02-25 Thread thetruthbeforeus
Media don't care none about the truth about white people. They befriend and protect them. That's how it is. Millions of black men in jail. Media don't give a shit. http://www.liveleak.com/view?i=c34_1519605684 On 2018-02-26 00:46, Bruce Perens wrote: GNU Mailman should be able to exclude

Re: [PATCH v3 5/5] linux/const.h: move BIT(_ULL) to linux/const.h for use in assembly

2018-02-25 Thread Masahiro Yamada
Hi test robot, 2018-02-24 14:00 GMT+09:00 kbuild test robot : > Hi Masahiro, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.16-rc2 next-20180223] > [if your patch is applied to the wrong git

[PATCH v4] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-02-25 Thread Baolin Wang
On Spreadtrum platform, we need power off system through external SC27xx series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. Thus this patch adds SC27xx series PMICs power-off support. Signed-off-by: Baolin Wang --- Changes since v3: - Add

[PATCH 2/6] of: remove kbasename(of->full_name) from overlay related code

2018-02-25 Thread frowand . list
From: Frank Rowand Struct device_node full_name no longer includes the full path name. The overlay node creation code was not modified to reflect this change. Fix the node names generate by overlay code to contain only the basename. Unittests call an overlay internal

[PATCH 6/6] of: remove kbasename(of->full_name) from platform.c

2018-02-25 Thread frowand . list
From: Frank Rowand struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name. Signed-off-by: Frank Rowand --- drivers/of/platform.c | 2

[PATCH 3/6] of: remove kbasename(of->full_name) from base.c

2018-02-25 Thread frowand . list
From: Frank Rowand struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name. Signed-off-by: Frank Rowand --- drivers/of/base.c | 4 ++--

[PATCH 0/6] of: remove kbasename() from core

2018-02-25 Thread frowand . list
From: Frank Rowand Struct device_node full_name no longer includes the full path name. Fix some broken overlay code that was not updated to reflect this. Clean up the unittest changeset test that calls into this overlay code. kbasename(->full_name) is no longer needed,

[PATCH 5/6] of: remove kbasename(of->full_name) from of_reserved_mem.c

2018-02-25 Thread frowand . list
From: Frank Rowand struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name. Signed-off-by: Frank Rowand ---

[RFC PATCH] e1000e: Fix link check race condition.

2018-02-25 Thread Benjamin Poirier
Alex reported the following race condition: /* link goes up... interrupt... schedule watchdog */ \ e1000_watchdog_task \ e1000e_has_link \ hw->mac.ops.check_for_link() === e1000e_check_for_copper_link \ e1000e_phy_has_link_generic(..., )

[PATCH v4 1/2] x86/apic: Move pending intr check code into it's own function

2018-02-25 Thread Dou Liyang
the pending interrupt check code is mixed with the local APIC setup code, that looks messy. Extract the related code, move it into a new function named apic_pending_intr_clear(). Signed-off-by: Dou Liyang --- arch/x86/kernel/apic/apic.c | 98

[PATCH v4 2/2] x86/apic: Replace common tools with new ones

2018-02-25 Thread Dou Liyang
The pending interrupt check code is old, update the following. -Replace for-if pair with for_each_set_bit() -Replace printk() with pr_err() Also merge the printk's code in one line and make curly braces balanced Signed-off-by: Dou Liyang --- changlog: v3 --> v4:

Re: [PATCH v8 0/6] vfs: Use dlock list for SB's s_inodes list

2018-02-25 Thread Dave Chinner
Hi Waiman, What's happened to this patchset? Any plans to repost a more recent version? FYI, I just ran a workload that hit 60% CPU usage on sb inode list lock contention - a multithreaded bulkstat scan of an XFS filesystem with millions of inodes on SSDs. last time I ran this (about 18 months

[PATCH] ASoC: sun4i-i2s: Fix RX slot number of SUN8I

2018-02-25 Thread Yong Deng
I2S's RX slot number of SUN8I should be shifted 4 bit to left. Fixes: 7d2993811a1e ("ASoC: sun4i-i2s: Add support for H3") Signed-off-by: Yong Deng --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] ASoC: sun4i-i2s: Fix RX slot number of SUN8I

2018-02-25 Thread Chen-Yu Tsai
On Mon, Feb 26, 2018 at 10:43 AM, Yong Deng wrote: > I2S's RX slot number of SUN8I should be shifted 4 bit to left. > > Fixes: 7d2993811a1e ("ASoC: sun4i-i2s: Add support for H3") > > Signed-off-by: Yong Deng Reviewed-by: Chen-Yu Tsai

Re: [lkp-robot] [mm, mlock, vmscan] 9c4e6b1a70: stress-ng.hdd.ops_per_sec -7.9% regression

2018-02-25 Thread Ye Xiaolong
Hi, Shakeel On 02/25, Shakeel Butt wrote: >On Sun, Feb 25, 2018 at 6:44 AM, kernel test robot > wrote: >> >> Greeting, >> >> FYI, we noticed a -7.9% regression of stress-ng.hdd.ops_per_sec due to >> commit: >> >> >> commit: 9c4e6b1a7027f102990c0395296015a812525f4d ("mm,

[PATCH v2] f2fs: allocate buffer for decrypting filename to avoid panic

2018-02-25 Thread Yunlong Song
In some platforms (such as arm), high memory is used, then the decrypting filename will cause panic, the reason see commit 569cf1876a32e574ba8a7fb825cd91bafd003882 ("f2fs crypto: allocate buffer for decrypting filename"): We got dentry pages from high_mem, and its address space directly goes

Re: [PATCH] f2fs: allocate buffer for decrypting filename to avoid panic

2018-02-25 Thread Yunlong Song
Hi, Eric, Thanks for your review, I have removed the symlink part and use kmemdup instead. As for directory pages restricted to lowmem, I am not sure whether it is proper for f2fs, since the directory structures of f2fs are different from ext4. So I just keep its old kmap. On 2018/2/25 2:32,

[PATCH v5] perf/core: Fix installing arbitrary cgroup event into cpu

2018-02-25 Thread linxiulei
From: "leilei.lin" Do not install cgroup event into the CPU context and schedule it if the cgroup is not running on this CPU While there is no task of cgroup running specified CPU, current kernel still install cgroup event into CPU context that causes another cgroup

[RFC PATCH V3] virtio_pci: Add SR-IOV support

2018-02-25 Thread Mark Rustad
Hardware-realized virtio-pci devices can implement SR-IOV, so this patch enables its use. The device in question is an upcoming Intel NIC that implements both a virtio-net PF and virtio-net VFs. These are hardware realizations of what has been up to now been a software interface. The device in

Re: [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property -- You wokr with japanese after they fucked you

2018-02-25 Thread thetruthbeforeus
You all know that you're working with white and japanese mthr fuckers right? you just fine with that? After what they did to your people? Ok then. You be you. You be you. Here's some real talk about the while mother fuckers: https://www.liveleak.com/view?i=c34_1519605684 On 2018-02-26 02:07,

[PATCH v5 5/9] watchdog/hpwdt: condition early return of NMI handler on iLO5

2018-02-25 Thread Jerry Hoemann
Modify prior change to not claim an NMI unless originated from iLO to apply only to iLO5 and later going forward. This restores hpwdt traditional behavior of calling panic if the NMI is NMI_IO_CHECK, NMI_SERR, or NMI_UNKNOWN for legacy hardware. Signed-off-by: Jerry Hoemann

Real talk: Not laywer bullshit, or programmer babble

2018-02-25 Thread truth4life
You know you are hitting something when white people, like you linux kernel programmers, attack and constanly squelch and masking-tape and silence your words. It means these are words of truth. Harsh, real, unvarnished truth. Real talk. Not some lawyer bullshit or programmer babble. Real talk

Re: [PATCH tip/core/rcu 06/10] trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()

2018-02-25 Thread Paul E. McKenney
On Sun, Feb 25, 2018 at 10:17:30AM -0800, Paul E. McKenney wrote: > On Sun, Feb 25, 2018 at 09:49:27AM -0800, Paul E. McKenney wrote: > > On Sat, Feb 24, 2018 at 03:12:40PM -0500, Steven Rostedt wrote: > > > On Fri, 1 Dec 2017 11:21:40 -0800 > > > "Paul E. McKenney"

[PATCH v3 1/3] HID: add driver for Valve Steam Controller

2018-02-25 Thread Rodrigo Rivas Costa
There are two ways to connect the Steam Controller: directly to the USB or with the USB wireless adapter. Both methods are similar, but the wireless adapter can connect up to 4 devices at the same time. The wired device will appear as 3 interfaces: a virtual mouse, a virtual keyboard and a

[PATCH v3 2/3] HID: steam: add serial number information.

2018-02-25 Thread Rodrigo Rivas Costa
This device has a feature report to send and receive commands. Use it to get the serial number and set the device's uniq value. Signed-off-by: Rodrigo Rivas Costa --- drivers/hid/hid-steam.c | 105 ++-- 1 file changed, 102

[PATCH v3 3/3] HID: steam: add battery device.

2018-02-25 Thread Rodrigo Rivas Costa
The wireless Steam Controller is battery operated, so add the battery device and power information. Signed-off-by: Rodrigo Rivas Costa --- drivers/hid/hid-steam.c | 141 +++- 1 file changed, 140 insertions(+), 1

Re: [PATCH v2 01/12] drivers: base: Unified device connection lookup

2018-02-25 Thread Randy Dunlap
On 02/25/2018 07:24 AM, Hans de Goede wrote: > From: Heikki Krogerus > > Several frameworks - clk, gpio, phy, pmw, etc. - maintain > lookup tables for describing connections and provide custom > API for handling them. This introduces a single generic > lookup

Re: [PATCH v2 03/12] usb: typec: API for controlling USB Type-C Multiplexers

2018-02-25 Thread Randy Dunlap
On 02/25/2018 07:25 AM, Hans de Goede wrote: > From: Heikki Krogerus > > --- > Documentation/driver-api/usb/typec.rst | 73 +++-- > drivers/usb/typec/Makefile | 1 + > drivers/usb/typec/{typec.c => class.c} | 70 >

Re: [PATCH] i2c: imx: Fix PM device usage count

2018-02-25 Thread Uwe Kleine-König
On Sat, Feb 24, 2018 at 11:43:28PM +0100, Tobias Jordan wrote: > pm_runtime_get_sync() increases the device's usage count even when > reporting an error, so add a call to pm_runtime_put_noidle() in the > related error branches. > > Fixes: 588eb93ea49f ("i2c: imx: add runtime pm support to improve

Re: [PATCH] x86: mce: fix kernel panic when check_interval is changed

2018-02-25 Thread Seunghun Han
Hello, Greg. 2018-02-23 19:52 GMT+09:00 Greg Kroah-Hartman : > On Fri, Feb 23, 2018 at 07:13:50PM +0900, Seunghun Han wrote: >> I am Seunghun Han and a senior security researcher at National Security >> Research Institute of South Korea. >> >> I found a critical

Re: Removing architectures without upstream gcc support

2018-02-25 Thread Alan Cox
> FWIW, alpha and m68k are known boot with qemu (even though m68k > generates a warning traceback with the mainline kernel). M68K works - people actively use it. Crazy people true 8). Alpha I believe one or two people boot. I just need to track down some discs for my Alpha 8) Alan

[PATCH v4 02/10] watchdog/hpwdt: Remove legacy NMI sourcing.

2018-02-25 Thread Jerry Hoemann
Gen8 and prior Proliant systems supported the "CRU" interface to firmware. This interfaces allows linux to "call back" into firmware to source the cause of an NMI. This feature isn't fully utilized as the actual source of the NMI isn't printed, the driver only indicates that the source couldn't

[PATCH v4 00/10] watchdog/hpwdt: Update driver to use watchdog core.

2018-02-25 Thread Jerry Hoemann
== v4 == Modifications from prior version: Manual merging and patch reordering has caused minor white space and diff changes. Such change shouldn't have effected the logic and are omitted below: Patch 001 Remove legacy NMI sourcing. 1) Updated patch documentation to reflect Spectre concerns.

[PATCH v4 09/10] watchdog/hpwdt: Add dynamic debug

2018-02-25 Thread Jerry Hoemann
Add a few dynamic debug messages to aid in module level debug. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index be7b3edac56c..b5fb2663c2a1

[PATCH v4 04/10] watchdog/hpwdt: Update Module info.

2018-02-25 Thread Jerry Hoemann
Update Module description to reflect branding changes. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 2a6f3be22c98..44c3038cc531 100644

[PATCH v4 03/10] watchdog/hpwdt: Update nmi_panic message.

2018-02-25 Thread Jerry Hoemann
Include the nmistat in the nmi_panic message to give support an indication why the NMI was called (e.g. a timeout or generate nmi button.) Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 20 1 file changed, 12 insertions(+), 8 deletions(-)

Re: [PATCH v2 06/12] usb: typec: tcpm: Use new Type-C switch/mux and usb-role-switch functions

2018-02-25 Thread Guenter Roeck
On 02/25/2018 07:25 AM, Hans de Goede wrote: Remove the unused (not implemented anywhere) tcpc_mux_dev abstraction and replace it with calling the new typec_set_orientation, usb_role_switch_set and typec_set_mode functions. Reviewed-by: Heikki Krogerus

Re: [PATCH tip/core/rcu 06/10] trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()

2018-02-25 Thread Paul E. McKenney
On Sun, Feb 25, 2018 at 09:49:27AM -0800, Paul E. McKenney wrote: > On Sat, Feb 24, 2018 at 03:12:40PM -0500, Steven Rostedt wrote: > > On Fri, 1 Dec 2017 11:21:40 -0800 > > "Paul E. McKenney" wrote: > > > > > Now that cond_resched() also provides RCU quiescent

[PATCH 3/3] mm: kernel-doc: add missing parameter descriptions

2018-02-25 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- mm/cma.c| 5 + mm/compaction.c | 1 + mm/kmemleak.c | 10 ++ mm/memory_hotplug.c | 6 ++ mm/oom_kill.c | 2 ++ mm/pagewalk.c | 3 +++ mm/rmap.c | 1 + mm/zsmalloc.c |

[PATCH 1/3] mm/nommu: remove description of alloc_vm_area

2018-02-25 Thread Mike Rapoport
The alloc_mm_area in nommu is a stub, but it's description states it allocates kernel address space. Remove the description to make the code and the documentation agree. Signed-off-by: Mike Rapoport --- mm/nommu.c | 12 1 file changed, 12 deletions(-) diff

[PATCH 0/3] mm: docs: more trivial updates

2018-02-25 Thread Mike Rapoport
Hi, Here's another set of (mostly) trivial updates for kernel-doc descriptions in the mm code. Mike Rapoport (3): mm/nommu: remove description of alloc_vm_area mm/swap: remove @cold parameter description for release_pages mm: kernel-doc: add missing parameter descriptions mm/cma.c

[PATCH 2/3] mm/swap: remove @cold parameter description for release_pages

2018-02-25 Thread Mike Rapoport
The 'cold' parameter was removed from release_pages function by the commit c6f92f9fbe7db ("mm: remove cold parameter for release_pages"). Update the description to match the code. Signed-off-by: Mike Rapoport --- mm/swap.c | 1 - 1 file changed, 1 deletion(-) diff

[GIT pull] locking fixes for 4.16

2018-02-25 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus Three patches to fix memory ordering issues on ALPHA and a comment to clarify the usage scope of a mutex internal function. Thanks,

[GIT pull] perf fix for 4.16

2018-02-25 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus A single commit which shuts up a bogus GCC-8 warning. Thanks, tglx --> Arnd Bergmann (1): x86/oprofile: Fix

[GIT pull] x86 fixes for 4.16

2018-02-25 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A small set of fixes: - UAPI data type correction for hyperv - Correct the cpu cores field in /proc/cpuinfo on CPU hotplug - Return

[PATCH v4 08/10] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-25 Thread Jerry Hoemann
Make whether or not the hpwdt watchdog delivers a pretimeout NMI programable by the user. The underlying iLO hardware is programmable as to whether or not a pre-timeout NMI is delivered to the system before the iLO resets the system. However, the iLO does not allow for programming the length of

Re: [PATCH v2 05/12] usb: typec: tcpm: Set USB role switch to device mode when configured as such

2018-02-25 Thread Guenter Roeck
On 02/25/2018 07:25 AM, Hans de Goede wrote: Setting the mux to MUX_NONE and the switch to USB_SWITCH_DISCONNECT when the data-role is device is not correct. Plenty of devices support operating as USB device through a (separate) USB device controller. We really need 2 different versions of

[PATCH v4 07/10] watchdog/hpwdt: remove allow_kdump module parameter.

2018-02-25 Thread Jerry Hoemann
The intent of this parameter is unclear and it sets up a race between the reset of the system by ASR and crashdump. The length of time between receipt of the pretimeout NMI and the ASR reset of the system is fixed by hardware. Turning the parameter off doesn't necessairly prevent a crash dump.

  1   2   3   4   5   6   7   >