Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 12:58:34 -0500 Steven Rostedt wrote: > I think the better answer is to move it into trace_functions_graph.c. I take that back. I think the better answer is to not call that function if the profiler is not set, nor have that option even available. Because it has no meaning wit

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-23 Thread Guenter Roeck
bled > > > and fails to boot (or display anything on the console) with this patch > > > applied. > > > > Thanks for trying, can you either share or provide a link to the mpc85xx > > and ml507 qemu command lines that you use? I spent a good chunk of my > >

RE: [PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-23 Thread Eric Saint Etienne
> > + /* > > +* When using -ffunction-sections, only .text gets loaded by > > +* map_groups__find() into al->map. Consequently al->map address > > +* range encompass the whole code. > > +* > > +* But map__load() has just loaded m

Re: [RFC][PATCH 07/14] fgraph: Add new fgraph_ops structure to enable function graph hooks

2018-11-23 Thread Steven Rostedt
On Thu, 22 Nov 2018 18:59:46 -0800 Joel Fernandes wrote: > > static struct ftrace_ops ftrace_profile_ops __read_mostly = { > > diff --git a/kernel/trace/trace_functions_graph.c > > b/kernel/trace/trace_functions_graph.c > > index 0e0ff08357cf..7c7fd13d2373 100644 > > --- a/kernel/trace/trace_fu

Re: [PATCH] KVM: VMX: re-add ple_gap module parameter

2018-11-23 Thread Luiz Capitulino
On Fri, 23 Nov 2018 19:42:53 +0200 Liran Alon wrote: > > On 23 Nov 2018, at 19:02, Luiz Capitulino wrote: > > > > > > Apparently, the ple_gap parameter was accidentally removed > > by commit c8e88717cfc6b36bedea22368d97667446318291. Add it > > back. > > > > Signed-off-by: Luiz Capitulino >

Re: [RFC PATCH v2] gen/irq: Change the way to differentiate between managed and unmanaged interrupts by bitmap

2018-11-23 Thread Thomas Gleixner
Dou, On Sat, 10 Nov 2018, Dou Liyang wrote: sorry for late reply. Travel, conferences > --- a/drivers/pci/msi.c > +++ b/drivers/pci/msi.c > @@ -673,14 +674,17 @@ static int msix_setup_entries(struct pci_dev *dev, void > __iomem *base, > const struct irq_affinity

Re: [PATCH 1/2] scripts/decodecode: Set ARCH when running natively on arm/arm64

2018-11-23 Thread Will Deacon
On Thu, Nov 22, 2018 at 12:14:39PM +, Marc Zyngier wrote: > When running decodecode natively on arm64, ARCH is likely not to be set, > and we end-up with .4byte instead of .inst when generating the disassembly. > > Similar effects would occur if running natively on a 32bit ARM platform, > alth

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Sasha Levin
On Fri, Nov 23, 2018 at 12:12:53PM -0500, Steven Rostedt wrote: On Fri, 23 Nov 2018 10:06:05 +0100 Helge Deller wrote: > How should we proceed with this patch? My suggestion, although I didn't looked too much on it: Apply it to v4.9 and higher only. I think I started fixing trace functionali

Re: [PATCH 2/2] ARM: module: Fix function kallsyms on Thumb-2

2018-11-23 Thread Dave Martin
On Mon, Nov 19, 2018 at 05:25:13PM +0100, Vincent Whitchurch wrote: > Thumb-2 functions have the lowest bit set in the symbol value in the > symtab. When kallsyms are generated for the vmlinux, the kallsyms are > generated from the output of nm, and nm clears the lowest bit. > > $ arm-linux-gnue

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Rich Felker
On Fri, Nov 23, 2018 at 12:52:21PM -0500, Mathieu Desnoyers wrote: > - On Nov 23, 2018, at 12:30 PM, Rich Felker dal...@libc.org wrote: > > > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: > >> - On Nov 23, 2018, at 9:28 AM, Rich Felker dal...@libc.org wrote: > >> [...]

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Andy Lutomirski
> On Nov 23, 2018, at 10:42 AM, Linus Torvalds > wrote: > > On Fri, Nov 23, 2018 at 8:36 AM Linus Torvalds > wrote: >> >> Let me write a generic routine in lib/iomap_copy.c (which already does >> the "user specifies chunk size" cases), and hook it up for x86. > > Something like this? > >

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Linus Torvalds
On Fri, Nov 23, 2018 at 10:39 AM Andy Lutomirski wrote: > > What is memcpy_to_io even supposed to do? I’m guessing it’s defined as > something like “copy this data to IO space using at most long-sized writes, > all aligned, and writing each byte exactly once, in order.” That sounds... > dubio

[GIT PULL] Ceph fix for 4.20-rc4

2018-11-23 Thread Ilya Dryomov
Hi Linus, The following changes since commit 9ff01193a20d391e8dbce4403dd5ef87c7eaaca6: Linux 4.20-rc3 (2018-11-18 13:33:44 -0800) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.20-rc4 for you to fetch changes up to 7e241f647dc7087a0401418a18

Re: [GIT PULL] MMC fixes for v4.20-rc4

2018-11-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 08:25:18 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v4.20-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dcd3aa31dcdd6d8eae8d4771c44aeb3b1fec995a Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] GPIO fixes for the v4.20 series

2018-11-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 09:12:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git > tags/gpio-v4.20-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e6005d3c42336074de3745718ac85807dd6e1e6a Thank you! -- Deet-doot-d

Re: [PATCH for v4.14] zram: close udev startup race condition as default groups

2018-11-23 Thread Sasha Levin
On Fri, Nov 23, 2018 at 03:25:50PM +0900, Minchan Kim wrote: commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Aaro Koskinen
Hi, On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > On 22/11/2018 17.12, Russell King - ARM Linux wrote: > > I'm also not sure about this: > > > > if (cpu_is_omap15xx()) > > end++; > > > > in dma_dest_len() - is that missing from the omap-dma driver? It

Re: [GIT PULL] ACPI fix for v4.20-rc4

2018-11-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 11:12:02 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git > acpi-4.20-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a03bac580ae743d5900af626ac63f7f8cd85def9 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] Power management fixes for v4.20-rc4

2018-11-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 11:10:58 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-4.20-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b88af994872418f0a98db6f4a9bae849315a99b0 Thank you! -- Deet-doot-dot, I am a

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-23 Thread Casey Schaufler
On 11/22/2018 7:49 AM, Roberto Sassu wrote: > Although rootfs (tmpfs) supports xattrs, they are not set due to the > limitation of the cpio format. A new format called 'newcx' was proposed to > overcome this limitation. > > However, it looks like that adding a new format is not simple: 15 kernel >

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Andy Lutomirski
> On Nov 23, 2018, at 11:44 AM, Linus Torvalds > wrote: > >> On Fri, Nov 23, 2018 at 10:39 AM Andy Lutomirski wrote: >> >> What is memcpy_to_io even supposed to do? I’m guessing it’s defined as >> something like “copy this data to IO space using at most long-sized writes, >> all aligned,

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-23 Thread Dave Hansen
On 11/22/18 10:42 PM, Anshuman Khandual wrote: > Are we willing to go in the direction for inclusion of a new system > call, subset of it appears on sysfs etc ? My primary concern is not > how the attribute information appears on the sysfs but lack of it's > completeness. A new system call makes t

Re: [RFC][PATCH 09/14] function_graph: Move ftrace_graph_get_addr() to fgraph.c

2018-11-23 Thread Steven Rostedt
On Thu, 22 Nov 2018 19:13:38 -0800 Joel Fernandes wrote: > On Wed, Nov 21, 2018 at 08:27:17PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Move the function function_graph_get_addr() to fgraph.c, as the management > > of the curr_ret_stack is going to change, and all

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 13:34:15 -0500 Sasha Levin wrote: > Does this mean that someone (Steve) will send a backport of this to all > relevant stable trees? Right now it looks like the series will randomly > apply on a mix of trees, which can't be good. Nope. I stated that in my 0 patch. -- Steve

Re: [GIT PULL] Ceph fix for 4.20-rc4

2018-11-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 19:49:19 +0100: > https://github.com/ceph/ceph-client.git tags/ceph-for-4.20-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7c98a42618271210c60b79128b220107d35938d9 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-23 Thread Mimi Zohar
On Fri, 2018-11-23 at 11:03 -0800, Casey Schaufler wrote: > On 11/22/2018 7:49 AM, Roberto Sassu wrote: > > Although rootfs (tmpfs) supports xattrs, they are not set due to the > > limitation of the cpio format. A new format called 'newcx' was proposed to > > overcome this limitation. > > > > Howev

Re: [PATCH v2 0/2] clocksource/meson6_timer: implement ARM delay timer

2018-11-23 Thread Martin Blumenstingl
On Fri, Nov 23, 2018 at 7:15 AM Daniel Lezcano wrote: > > On 22/11/2018 23:12, Martin Blumenstingl wrote: > > Hi Daniel, > > > > On Sun, Nov 18, 2018 at 2:27 AM Daniel Lezcano > > wrote: > >> > >> On 15/11/2018 23:46, Martin Blumenstingl wrote: > >>> While trying to add support for the ARM TWD Ti

Re: [PATCH v2 0/4] Meson8b: add the CPU clock post-dividers

2018-11-23 Thread Martin Blumenstingl
On Fri, Nov 23, 2018 at 3:40 PM Neil Armstrong wrote: > > On 22/11/2018 22:40, Martin Blumenstingl wrote: > > This is the successor to my previous series "meson8b: add the CPU_DIV16 > > clock for the ARM TWD" from [0]. I decided to not send this as v2 of > > the original series because the PERIPH

[PATCH 2/6] ARM: dts: meson: group the Cortex-A5 / Cortex-A9 peripherals

2018-11-23 Thread Martin Blumenstingl
The public Meson8b (S805) datasheet describes a memory region called "A9 Periph base" which starts at 0xC430 and ends at 0xC430. Add a simple-bus node and move all peripherals that are part of this memory region. This makes the .dts a bit easier to read. No functional changes. Signed-off-b

[PATCH 3/6] ARM: dts: meson8: add the ARM TWD timer

2018-11-23 Thread Martin Blumenstingl
The Meson8 and Meson8m2 SoC are using four ARM Cortex-A9 cores which come with a "TWD" (Timer-Watchdog) based timer. This adds support for the ARM TWD Timer on these two SoCs. Suggested-by: Carlo Caione [ rebased patch from Carlo, use IRQ_TYPE_EDGE_RISING instead of IRQ_TYPE_LEVEL_LOW to preven

[PATCH 0/6] 32-bit Meson: add the ARM TWD and Global Timers

2018-11-23 Thread Martin Blumenstingl
The 32-bit Meson SoCs use Cortex-A9 or Cortex-A5 cores. These come with the ARM TWD ("Timer Watchdog") which contains a timer and a watchdog as well as the ARM Global Timer. This enables the corresponding configs for the 32-bit Meson target. Additionally this adds and enables the ARM TWD timer. Th

[PATCH 4/6] ARM: dts: meson8: add the Cortex-A9 global timer

2018-11-23 Thread Martin Blumenstingl
The Meson8 and Meson8m2 SoCs are using four Cortex-A9 cores. These come with an ARM global timer. This adds the Cortex-A9 global timer but keeps it disabled for now. The timer is clocked by the "PERIPH" clock whose rate can change during runtime (when changing the frequency of the CPU clock). Unfor

[PATCH 1/6] ARM: meson: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER

2018-11-23 Thread Martin Blumenstingl
The 32-bit Meson SoCs use multiple Cortex-A9 (Meson8 and Meson8m2) or Cortex-A5 (Meson8b) CPU cores. These come with the "ARM global timer" and "Timer-Watchdog" (aka TWD, which provides both a per-cpu local timer and watchdog). Selecting ARM_GLOBAL_TIMER and HAVE_ARM_TWD allows us to add the timer

[PATCH 5/6] ARM: dts: meson8b: add the ARM TWD timer

2018-11-23 Thread Martin Blumenstingl
The Meson8B SoC is using four ARM Cortex-A5 cores which come with a "TWD" (Timer-Watchdog) based timer. This adds support for the ARM TWD Timer on this SoC. Suggested-by: Carlo Caione [ rebased patch from Carlo, use IRQ_TYPE_EDGE_RISING instead of IRQ_TYPE_LEVEL_LOW to prevent "GIC: PPI13 is se

[PATCH 6/6] ARM: dts: meson8b: add the Cortex-A5 global timer

2018-11-23 Thread Martin Blumenstingl
The Meson8b SoC is using four Cortex-A5 cores. These come with an ARM global timer. This adds the Cortex-A5 global timer but keeps it disabled for now. The timer is clocked by the "PERIPH" clock whose rate can change during runtime (when changing the frequency of the CPU clock). Unfortunately the a

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Sasha Levin
On Fri, Nov 23, 2018 at 02:26:17PM -0500, Steven Rostedt wrote: On Fri, 23 Nov 2018 13:34:15 -0500 Sasha Levin wrote: Does this mean that someone (Steve) will send a backport of this to all relevant stable trees? Right now it looks like the series will randomly apply on a mix of trees, which c

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread Guenter Roeck
quot;ecx"); > + > + return EAX_EDX_VAL(val, low, high); > } > This patch results in a crash with certain qemu emulations. [0.756869] hpet0: 3 comparators, 64-bit 100.00 MHz counter [0.762233] invalid opcode: [#1] PTI [0.762435] CPU: 0 PID: 1 Comm: swapp

Re: [PATCH v3] mm: use swp_offset as key in shmem_replace_page()

2018-11-23 Thread Hugh Dickins
On Wed, 21 Nov 2018, Andrew Morton wrote: > On Wed, 21 Nov 2018 14:54:42 -0700 Yu Zhao wrote: > > > We changed key of swap cache tree from swp_entry_t.val to > > swp_offset. Need to do so in shmem_replace_page() as well. > > What are the user-visible effects of this change? Sorry, I don't know;

Re: Official Linux system wrapper library?

2018-11-23 Thread Daniel Colascione
On Fri, Nov 23, 2018 at 5:34 AM Florian Weimer wrote: > > * Daniel Colascione: > > > On Mon, Nov 12, 2018 at 12:11 AM, Florian Weimer wrote: > >> * Daniel Colascione: > >> > >>> If the kernel provides a system call, libc should provide a C wrapper > >>> for it, even if in the opinion of the libc

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-23 Thread Rob Landley
On 11/22/18 9:49 AM, Roberto Sassu wrote: > Although rootfs (tmpfs) supports xattrs, they are not set due to the > limitation of the cpio format. A new format called 'newcx' was proposed to > overcome this limitation. I got email about that format the day before you posted this, by the way. > How

Re: [RFC PATCH 3/3] mm, fault_around: do not take a reference to a locked page

2018-11-23 Thread Hugh Dickins
On Thu, 22 Nov 2018, Michal Hocko wrote: > > If you want some update to the comment in this function or to the > changelog, I am open of course. Right now I have > +* Check for a locked page first, as a speculative > +* reference may adversely influence page migrati

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread hpa
"lfence; rdtsc", X86_FEATURE_LFENCE_RDTSC, >> + "rdtscp", X86_FEATURE_RDTSCP) >> +: EAX_EDX_RET(val, low, high) >> +/* RDTSCP clobbers ECX with MSR_TSC_AUX. */ >>

[PATCH 2/9] staging: rtl8188eu: remove unnecessary parentheses in rtw_mlme.c

2018-11-23 Thread Michael Straube
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 120 -- 1 file changed, 63 insertions(+), 57 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu

[PATCH 7/9] staging: rtl8188eu: remove return from void function

2018-11-23 Thread Michael Straube
Remove return from a void function to clear a checkpatch warning. WARNING: void function return statements are not generally useful Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw

[PATCH 5/9] staging: rtl8188eu: cleanup declarations in rtw_mlme.c

2018-11-23 Thread Michael Straube
Replace tabs with spaces, remove spaces, remove blank lines and break lines appropriatly in declarations. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 130 +++--- 1 file changed, 64 insertions(+), 66 deletions(-) diff --git a/drivers/staging/rtl

[PATCH 6/9] staging: rtl8188eu: refactor if else statement

2018-11-23 Thread Michael Straube
Refactor if else statement to clear checkpatch warnings. WARNING: else is not generally useful after a break or return WARNING: line over 80 characters Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) dif

[PATCH 8/9] staging: rtl8188eu: correct indentation

2018-11-23 Thread Michael Straube
Correct indentation to clear a checkpatch warning. WARNING: suspect code indent for conditional statements (8, 24) Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_m

[PATCH 9/9] staging: rtl8188eu: cleanup lines over 80 characters

2018-11-23 Thread Michael Straube
Cleanup lines over 80 characters by replacing tabs with spaces or adding appropriate line breaks. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme

[PATCH 4/9] staging: rtl8188eu: remove rtw_android_set_block()

2018-11-23 Thread Michael Straube
The function rtw_android_set_block() just returns zero. The only user is the function rtw_android_priv_cmd(). The variable bytes_written is initialized to zero and not changed before the use of rtw_android_set_block(). Remove rtw_android_set_block() and it's only use. Signed-off-by: Michael Straub

[PATCH 1/9] staging: rtl8188eu: cleanup remaining comparsions to true

2018-11-23 Thread Michael Straube
Cleanup remaining comparsions to true. if (x == true) -> if (x) if (x != true) -> if (!x) if (!x == true) -> if (!x) Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_ap.c | 4 +-- drivers/staging/rtl8188eu/core/rtw_cmd.c | 10 +++--- drivers/staging/rtl8188eu/cor

[PATCH 3/9] staging: rtl8188eu: use __func__ in rtw_mlme.c

2018-11-23 Thread Michael Straube
Use __func__ instead of hardcoded function names. Reported by checkpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 48 +-- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/driver

Re: [PATCH rdma-next 0/3] RDMA/hns: Updates for reset process of roce device in hip08

2018-11-23 Thread Jason Gunthorpe
On Fri, Nov 23, 2018 at 11:14:22PM +0800, Wei Hu (Xavier) wrote: > Hi, Doug and Janson > > This series mainly include updates for reset process of roce device > in hip08. > One patch adds support for reset and loading or unloading driver occur > simultaneously to ensure work normally, one stops se

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread Thomas Gleixner
On Fri, 23 Nov 2018, h...@zytor.com wrote: > On November 23, 2018 12:03:07 PM PST, Guenter Roeck > wrote: > ># first bad commit: [2e94061096c5c3aa6c3fe3ec2bec176c1f9c1b07] x86/TSC: > >Use RDTSCP > > Right, because that cpu predates RDTSCP, so it needs to use a fallback. Well, that's not the pro

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread Borislav Petkov
On Fri, Nov 23, 2018 at 12:03:07PM -0800, Guenter Roeck wrote: > [0.762832] EIP: read_tsc+0x4/0x10 > [0.762832] Code: 00 01 00 eb 89 90 55 89 e5 5d c3 90 90 90 90 90 90 90 90 > 90 90 90 55 a1 44 5a 8b c5 89 e5 5d c3 8d b6 00 00 00 00 55 89 e5 57 <0f> ae > f0b Where does that 'b' in f0b c

Re: [PATCH rdma-next 3/3] RDMA/hns: Modify hns RoCE device's name

2018-11-23 Thread Jason Gunthorpe
On Fri, Nov 23, 2018 at 11:14:25PM +0800, Wei Hu (Xavier) wrote: > This patch modifies the name of hns RoCE device's name in order > to ensure that the name is consistent before and after reset. > > Signed-off-by: Wei Hu (Xavier) > drivers/infiniband/hw/hns/hns_roce_device.h | 1 + > drivers/inf

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread Guenter Roeck
On 11/23/18 12:44 PM, Borislav Petkov wrote: On Fri, Nov 23, 2018 at 12:03:07PM -0800, Guenter Roeck wrote: [0.762832] EIP: read_tsc+0x4/0x10 [0.762832] Code: 00 01 00 eb 89 90 55 89 e5 5d c3 90 90 90 90 90 90 90 90 90 90 90 55 a1 44 5a 8b c5 89 e5 5d c3 8d b6 00 00 00 00 55 89 e5 57 <0

Re: [PATCH] x86/TSC: Use RDTSCP

2018-11-23 Thread Borislav Petkov
On Fri, Nov 23, 2018 at 01:03:25PM -0800, Guenter Roeck wrote: > It is a cut off screen log. x86 boots change xterm configuration from > wrap to non-wrap, and I did a cut-and-paste instead of copying the log > to a file. Sorry for that. No worries. It was a head-scratcher though because look what

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Mathieu Desnoyers
- On Nov 23, 2018, at 1:35 PM, Rich Felker dal...@libc.org wrote: > On Fri, Nov 23, 2018 at 12:52:21PM -0500, Mathieu Desnoyers wrote: >> - On Nov 23, 2018, at 12:30 PM, Rich Felker dal...@libc.org wrote: >> >> > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: >> >> ---

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-23 Thread Dan Williams
On Fri, Nov 23, 2018 at 11:21 AM Dave Hansen wrote: > > On 11/22/18 10:42 PM, Anshuman Khandual wrote: > > Are we willing to go in the direction for inclusion of a new system > > call, subset of it appears on sysfs etc ? My primary concern is not > > how the attribute information appears on the sy

unclaimed/abandoned fund

2018-11-23 Thread James Brown
From Desk of James Brown Accountant officer Wema bank Of Nigeria Hello My Dear , My name is James Brown I have decided to seek a confidential co-operation with you in the execution of the deal described here-under for our both mutual benefit and I hope you will keep it a top secret because o

Re: [PATCH] debugobjects: call debug_objects_mem_init eariler

2018-11-23 Thread Thomas Gleixner
On Thu, 22 Nov 2018, Waiman Long wrote: > On 11/22/2018 11:31 PM, Qian Cai wrote: > > The current value of the early boot static pool size, 1024 is not big > > enough for systems with large number of CPUs with timer or/and workqueue > > objects selected. As the results, systems have 60+ CPUs with b

Re: [PATCH v3 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-23 Thread Pavel Machek
HI! > > > > > > > You have general-purpose LED, yet you are treating it as > > > > > > > "something > > > > > > > special". That means ugly code (quoted above) and lack of > > > > > > > flexibility. > > > > > > > > > > > > > > For example, if my notebook lacks HDD LED, I can use scrollock > > >

Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c

2018-11-23 Thread Joel Fernandes
On Fri, Nov 23, 2018 at 01:11:38PM -0500, Steven Rostedt wrote: > On Fri, 23 Nov 2018 12:58:34 -0500 > Steven Rostedt wrote: > > > I think the better answer is to move it into trace_functions_graph.c. > > I take that back. I think the better answer is to not call that > function if the profiler

[PATCH] drivers/base/memory.c: remove an unnecessary check on NR_MEM_SECTIONS

2018-11-23 Thread Wei Yang
In commit cb5e39b8038b ("drivers: base: refactor add_memory_section() to add_memory_block()"), add_memory_block() is introduced, which is only invoked in memory_dev_init(). When combine these two loops in memory_dev_init() and add_memory_block(), they looks like this: for (i = 0; i < NR_MEM_S

Re: [PATCH] locking/atomics: build atomic headers as required

2018-11-23 Thread Andrew Morton
On Fri, 23 Nov 2018 15:33:21 + Mark Rutland wrote: > Andrew and Ingo report that the check-atomics.sh script is simply too > slow to run for every kernel build, and it's impractical to make it > faster without rewriting it in something other than shell. > > Rather than committing the generat

Please i need your help

2018-11-23 Thread Aisha Gaddafi
-- Hello Dear , I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall compensate

Re: Official Linux system wrapper library?

2018-11-23 Thread Dmitry V. Levin
On Fri, Nov 23, 2018 at 12:15:39PM -0800, Daniel Colascione wrote: > On Fri, Nov 23, 2018 at 5:34 AM Florian Weimer wrote: > > > On Mon, Nov 12, 2018 at 12:11 AM, Florian Weimer wrote: > > >> > > >>> If the kernel provides a system call, libc should provide a C wrapper > > >>> for it, even if in th

Re: [PATCH v2 1/2] power: supply: add input voltage limit property.

2018-11-23 Thread Pavel Machek
Hi! > We have a problem with USBPD chargers which under certain conditions > can result in system overheating if the voltage provided by the USBPD > port is too high. While the preferred means to control this would be > through devicetree or ACPI settings, this is not always possible, and > we nee

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Russell King - ARM Linux
On Fri, Nov 23, 2018 at 04:16:59PM +, Russell King - ARM Linux wrote: > Hi Peter, > > Here's the patch, which should now support IN as well as OUT. > Completely untested, as mentioned before. Now compile tested... drivers/usb/gadget/udc/omap_udc.c | 291 ++---

Re: [PATCH v2 1/5] autofs - improve ioctl sbi checks

2018-11-23 Thread Andrew Morton
On Fri, 23 Nov 2018 18:41:50 +0800 Ian Kent wrote: > Al Viro made some suggestions to improve the implementation > of commit 0633da48f0 "fix autofs_sbi() does not check super > block type". > > The check is unnessesary in all cases except for ioctl usage > so placing the check in the super block

Re: [PATCH v3 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-23 Thread Pavel Machek
Hi! > > > > > > > You have general-purpose LED, yet you are treating it as > > > > > > > "something > > > > > > > special". That means ugly code (quoted above) and lack of > > > > > > > flexibility. > > > > > > > > > I'd prefer this to be normal LED and "mic muted" to become normal > > trigger.

[PATCH] staging: iio: ad5933: finalized device-tree support

2018-11-23 Thread Marcelo Schmitt
Added a of_device_id struct variable and subsequent call to MODULE_DEVICE_TABLE macro to complete device-tree support for this driver. Signed-off-by: Marcelo Schmitt --- drivers/staging/iio/impedance-analyzer/ad5933.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/i

Re: [RFC PATCH 1/5] mm: print more information about mapping in __dump_page

2018-11-23 Thread Andrew Morton
On Wed, 7 Nov 2018 11:18:26 +0100 Michal Hocko wrote: > From: Michal Hocko > > __dump_page prints the mapping pointer but that is quite unhelpful > for many reports because the pointer itself only helps to distinguish > anon/ksm mappings from other ones (because of lowest bits > set). Sometime

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Aaro Koskinen
Hi, On Fri, Nov 23, 2018 at 01:45:46PM +0200, Peter Ujfalusi wrote: > On 23/11/2018 0.01, Aaro Koskinen wrote: > > With that reverted, the DMA works OK (and I can also now confirm that > > OMAP_DMA_LCH_2D works). I haven't yet checked if we actually need that > > quirk in OMAP UDC, > > The omap_u

[PATCH v3 2/7] staging:iio:ad2s90: Remove spi setup that should be done via dt

2018-11-23 Thread Matheus Tavares
The ad2s90 driver currently sets some spi settings (max_speed_hz and mode) at ad2s90_probe. Since the maximum frequency is a required element in DT binding for spi slave devices and because the spi mode for the device can be either (0,0) or (1,1), these settings should be handled via device tree, n

[PATCH v3 5/7] staging:iio:ad2s90: Replace license text w/ SPDX identifier

2018-11-23 Thread Matheus Tavares
This patch removes the license boilerplate text at the top of ad2s90.c and, instead, adds the SPDX GPL-2.0 license identifier, which solves the checkpatch.pl warning: "WARNING: Missing or malformed SPDX-License-Identifier tag in line 1". Signed-off-by: Matheus Tavares --- Changes in v3: - none

[PATCH v3 6/7] staging:iio:ad2s90: Add comment to device state mutex

2018-11-23 Thread Matheus Tavares
From: Victor Colombo Fix the checkpatch.pl issue: "CHECK: struct mutex definition without comment". Signed-off-by: Victor Colombo Signed-off-by: Matheus Tavares --- Changes in v3: - none Changes in v2: - Patch added in v2 drivers/staging/iio/resolver/ad2s90.c | 2 +- 1 file changed, 1 ins

[PATCH v3 4/7] dt-bindings:iio:resolver: Add docs for ad2s90

2018-11-23 Thread Matheus Tavares
This patch adds the device tree binding documentation for the ad2s90 resolver-to-digital converter. Signed-off-by: Matheus Tavares --- Changes in v3: - Added reference to spi-bus documentation after spi properties, as suggested by Alexandru Ardelean. Changes in v2: - Rewritten 'spi-cpol and s

[PATCH v3 3/7] staging:iio:ad2s90: Add max frequency check at probe

2018-11-23 Thread Matheus Tavares
From: Alexandru Ardelean This patch adds a max frequency check at the beginning of ad2s90_probe function so that when it is set to a value above 0.83Mhz, dev_err is called with an appropriate message and -EINVAL is returned. The defined limit is 0.83Mhz instead of 2Mhz, which is the chip's max f

[PATCH v3 1/7] staging:iio:ad2s90: Add device tree support

2018-11-23 Thread Matheus Tavares
This patch adds device tree support to ad2s90 with standard device tree id table. Signed-off-by: Matheus Tavares --- Changes in v3: - Removed of_patch_ptr from of_match_table assignment Changes in v2: - none drivers/staging/iio/resolver/ad2s90.c | 7 +++ 1 file changed, 7 insertions(+)

[PATCH v3 0/7] staging:iio:ad2s90: Add dt support and move out of staging

2018-11-23 Thread Matheus Tavares
This series adds device tree support to ad2s90, adds the respective dt-binding documentation, solves all remaining codestyle problems for ad2s90 and move it out of staging. This patch set completes all the remaining itens listed to be done before moving the driver out of staging, enumerated in thi

[PATCH v3 7/7] staging:iio:ad2s90: Move out of staging

2018-11-23 Thread Matheus Tavares
Move ad2s90 resolver driver out of staging to the main tree. Signed-off-by: Matheus Tavares Signed-off-by: Victor Colombo --- Changes in v3: - none Changes in v2: - Disabled git move detection, to see the whole code, as Jonathan suggested drivers/iio/resolver/Kconfig | 10 ++ dri

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-23 Thread Tetsuo Handa
On 2018/11/24 0:56, Steven Rostedt wrote: > On Fri, 23 Nov 2018 13:46:47 +0100 > Petr Mladek wrote: > >> Steven told me on Plumbers conference that even few initial >> characters saved him a day few times. > > Yes, and that has happened more than once. I would reboot and retest > code that is cr

Re: [PATCH] staging: iio: ad5933: finalized device-tree support

2018-11-23 Thread Rodrigo Siqueira
Hi Marcelo, I believe that a proper commit message for this patch could be something like "Add device tree support". On 11/23, Marcelo Schmitt wrote: > Added a of_device_id struct variable and subsequent call to > MODULE_DEVICE_TABLE macro to complete device-tree support for this > driver. > > S

Re: [PATCH] hfs: do not free node before using

2018-11-23 Thread Viacheslav Dubeyko
On Fri, 2018-11-23 at 17:04 +0800, Pan Bian wrote: > The function hfs_bmap_free frees node via hfs_bnode_put(node). > However, > it then reads node->this when dumping error message on an error path, > which may result in a use-after-free bug. This patch frees node only > when it is never used. > >

Re: [PATCH] hfs: do not free node before using

2018-11-23 Thread PanBian
On Fri, Nov 23, 2018 at 04:51:49PM -0800, Viacheslav Dubeyko wrote: > On Fri, 2018-11-23 at 17:04 +0800, Pan Bian wrote: > > The function hfs_bmap_free frees node via hfs_bnode_put(node). > > However, > > it then reads node->this when dumping error message on an error path, > > which may result in

Re: [RFC PATCH v2 07/14] m68k: atari: Convert to clocksource API

2018-11-23 Thread Michael Schmitz
Am 20.11.2018 um 23:02 schrieb Andreas Schwab: On Nov 20 2018, Linus Walleij wrote: Yes you already see the same as I see: this chip MK68901 has no less than four timers. I bet the kernel is just using one of them, out of habit. Note that not all timers can be used freely. Some of them ar

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-23 Thread Casey Schaufler
On 11/23/2018 11:30 AM, Mimi Zohar wrote: > On Fri, 2018-11-23 at 11:03 -0800, Casey Schaufler wrote: >> On 11/22/2018 7:49 AM, Roberto Sassu wrote: >>> Although rootfs (tmpfs) supports xattrs, they are not set due to the >>> limitation of the cpio format. A new format called 'newcx' was proposed t

[PATCH V2] hfs: do not free node before using

2018-11-23 Thread Pan Bian
The function hfs_bmap_free frees node via hfs_bnode_put(node). However, it then reads node->this when dumping error message on an error path, which may result in a use-after-free bug. This patch frees node only when it is never used. Fixes: a1185ffa2fc("HFS rewrite") Signed-off-by: Pan Bian ---

Re: [PATCH] debugobjects: call debug_objects_mem_init eariler

2018-11-23 Thread Qian Cai
> On Nov 23, 2018, at 4:46 PM, Thomas Gleixner wrote: > > On Thu, 22 Nov 2018, Waiman Long wrote: >> On 11/22/2018 11:31 PM, Qian Cai wrote: >>> The current value of the early boot static pool size, 1024 is not big >>> enough for systems with large number of CPUs with timer or/and workqueue >>

Re: [PATCH v4] debugobjects: scale the static pool size

2018-11-23 Thread Qian Cai
> On Nov 22, 2018, at 4:56 PM, Thomas Gleixner wrote: > > On Tue, 20 Nov 2018, Qian Cai wrote: > > Looking deeper at that. > >> diff --git a/lib/debugobjects.c b/lib/debugobjects.c >> index 70935ed91125..140571aa483c 100644 >> --- a/lib/debugobjects.c >> +++ b/lib/debugobjects.c >> @@ -23,9

Re: [RFC PATCH v2 07/14] m68k: atari: Convert to clocksource API

2018-11-23 Thread Finn Thain
On Sat, 24 Nov 2018, Michael Schmitz wrote: > > Am 20.11.2018 um 23:02 schrieb Andreas Schwab: > > On Nov 20 2018, Linus Walleij wrote: > > > > > Yes you already see the same as I see: this chip MK68901 has no less > > > than four timers. I bet the kernel is just using one of them, out of > >

[RFC PATCH v3 10/14] m68k: mac: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij Tested-by: Stan Johnson --- Changed since v2: - Drop unneeded 'clk_offset' variable. Changed since v1: - Moved clk_total access to within the irq lock. -

[RFC PATCH v3 14/14] m68k: mvme16x: Handle timer counter overflow

2018-11-23 Thread Finn Thain
Reading the timer counter races with timer overflow (and the corresponding interrupt). This is resolved by reading the overflow register and taking this value into account. The interrupt handler must clear the overflow register when it eventually executes. Suggested-by: Thomas Gleixner Signed-off

[RFC PATCH v3 13/14] m68k: mvme16x: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- Changed since v1: - Moved clk_total access to within the irq lock. --- arch/m68k/mvme16x/config.c | 37 +++-- 1 file chan

[RFC PATCH v3 08/14] m68k: hp300: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- Changed since v1: - Moved clk_total access to within the irq lock. - Use type u32 for tick counter. --- arch/m68k/hp300/time.c | 37

[RFC PATCH v3 11/14] m68k: mvme147: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- Changed since v1: - Moved clk_total access to within the irq lock. - Use type u32 for tick counter. --- arch/m68k/include/asm/mvme147hw.h | 1 - arch/m

[RFC PATCH v3 04/14] m68k: Drop ARCH_USES_GETTIMEOFFSET

2018-11-23 Thread Finn Thain
The functions that implement arch_gettimeoffset are re-used by new clocksource drivers in subsequent patches. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- arch/m68k/Kconfig | 1 - arch/m68k/amiga/config.c| 3 --- arch/m68k/atari/config.c| 2 -- arch/m68k/bvme6000/conf

[RFC PATCH v3 05/14] m68k: amiga: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- Changed since v2: - Don't check for timer interrupt in amiga_read_clk() when the timer is about to be reloaded. Changed since v1: - Moved clk_total acce

[RFC PATCH v3 07/14] m68k: bvme6000: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij --- Changed since v2: - Don't check for timer interrupt in bvme6000_read_clk() when the timer is about to be reloaded. Changed since v1: - Moved clk_total a

<    1   2   3   4   5   >