* Re: [PATCH] powerpc/mm/radix: Fix kernel crash when running subpage protect test
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Aneesh Kumar K.V, npiggin, paulus
Cc: Sachin Sant, Aneesh Kumar K.V, linuxppc-dev
In-Reply-To: <20190430075907.7701-1-aneesh.kumar@linux.ibm.com>
On Tue, 2019-04-30 at 07:59:07 UTC, "Aneesh Kumar K.V" wrote:
> This patch fixes the below crash by making sure we touch the subpage protection
> related structures only if we know they are allocated on the platform. With
> radix translation we don't allocate hash context at all and trying to access
> subpage_prot_table results in
>
> Faulting instruction address: 0xc00000000008bdb4
> Oops: Kernel access of bad area, sig: 11 [#1]
> LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV
> ....
> NIP [c00000000008bdb4] sys_subpage_prot+0x74/0x590
> LR [c00000000000b688] system_call+0x5c/0x70
> Call Trace:
> [c00020002c6b7d30] [c00020002c6b7d90] 0xc00020002c6b7d90 (unreliable)
> [c00020002c6b7e20] [c00000000000b688] system_call+0x5c/0x70
> Instruction dump:
> fb61ffd8 fb81ffe0 fba1ffe8 fbc1fff0 fbe1fff8 f821ff11 e92d1178 f9210068
> 39200000 e92d0968 ebe90630 e93f03e8 <eb891038> 60000000 3860fffe e9410068
>
> We also move the subpage_prot_table with mmp_sem held to avoid racec
> between two parallel subpage_prot syscall.
>
> Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
> Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com <mailto:sachinp@linux.vnet.ibm.com>>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/2c474c03505677cfd987d52e8bf42abe
cheers
^ permalink raw reply
* Re: [PATCH v3 01/16] powerpc/32: Refactor EXCEPTION entry macros for head_8xx.S and head_32.S
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
Nicholas Piggin
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <1103b2c9715bab90d680dcf78303619ff49debd0.1556627571.git.christophe.leroy@c-s.fr>
On Tue, 2019-04-30 at 12:38:50 UTC, Christophe Leroy wrote:
> EXCEPTION_PROLOG is similar in head_8xx.S and head_32.S
>
> This patch creates head_32.h and moves EXCEPTION_PROLOG macro
> into it. It also converts it from a GCC macro to a GAS macro
> in order to ease refactorisation with 40x later, since
> GAS macros allows the use of #ifdef/#else/#endif inside it.
> And it also has the advantage of not requiring the uggly "; \"
> at the end of each line.
>
> This patch also moves EXCEPTION() and EXC_XFER_XXXX() macros which
> are also similar while adding START_EXCEPTION() out of EXCEPTION().
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/8a23fdec3dbdc8bfde6f806d36e77323
cheers
^ permalink raw reply
* Re: [PATCH v3 1/3] powernv/mce: reduce mce console logs to lesser lines.
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Mahesh Salgaonkar, linuxppc-dev; +Cc: Nicholas Piggin
In-Reply-To: <155656174872.20636.6539465047019566013.stgit@jupiter>
On Mon, 2019-04-29 at 18:15:48 UTC, Mahesh Salgaonkar wrote:
> Also add cpu number while displaying mce log. This will help cleaner logs
> when mce hits on multiple cpus simultaneously.
>
> before the changes the mce o/p was:
>
> [ 127.223515] Severe Machine check interrupt [Recovered]
> [ 127.223530] NIP [d00000000ba80280]: insert_slb_entry.constprop.0+0x278/0x2c0 [mcetest_slb]
> [ 127.223539] Initiator: CPU
> [ 127.223544] Error type: SLB [Multihit]
> [ 127.223550] Effective address: d00000000ba80280
>
> After this patch series changes the mce o/p will be:
>
> [ 471.959843] MCE: CPU80: machine check (Warning) Host SLB Multihit [Recovered]
> [ 471.959870] MCE: CPU80: NIP: [d00000000b550280] insert_slb_entry.constprop.0+0x278/0x2c0 [mcetest_slb]
> [ 471.959892] MCE: CPU80: Probable software error (some chance of hardware cause)
>
> UE in host application:
>
> [ 1001.831517] MCE: CPU48: machine check (Severe) Host UE Load/Store DAR: 00007fffc6079a80 paddr: 0000000f8e260000 [Not recovered]
> [ 1001.831518] MCE: CPU48: PID: 4584 Comm: find NIP: [0000000010023368]
> [ 1001.831519] MCE: CPU48: Hardware error
>
> and for MCE in Guest:
>
> [ 1289.447571] MCE: CPU80: machine check (Warning) Guest SLB Multihit DAR: 000001001b6e0320 [Recovered]
> [ 1289.447615] MCE: CPU80: PID: 24765 Comm: qemu-system-ppc Guest NIP: [00007fffa309dc60]
> [ 1289.447634] MCE: CPU80: Probable software error (some chance of hardware cause)
>
> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d6e8a150850601277039a548ffcdddd1
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: Fix kobject memleak
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Tobin C. Harding, Benjamin Herrenschmidt, Paul Mackerras
Cc: Greg Kroah-Hartman, linuxppc-dev, Tobin C. Harding, linux-kernel
In-Reply-To: <20190430010923.17092-1-tobin@kernel.org>
On Tue, 2019-04-30 at 01:09:23 UTC, "Tobin C. Harding" wrote:
> Currently error return from kobject_init_and_add() is not followed by a
> call to kobject_put(). This means there is a memory leak.
>
> Add call to kobject_put() in error path of kobject_init_and_add().
>
> Signed-off-by: Tobin C. Harding <tobin@kernel.org>
> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7e8039795a80bdf1418964b9cabef616
cheers
^ permalink raw reply
* Re: [PATCH v3 1/3] powerpc/32s: drop Hash_end
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <809c41e209068baf1045edbf154cc8d25c520d1e.1556296364.git.christophe.leroy@c-s.fr>
On Fri, 2019-04-26 at 16:36:36 UTC, Christophe Leroy wrote:
> Hash_end has never been used, drop it.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/57e0491b58fa2a217029b69651149900
cheers
^ permalink raw reply
* Re: [PATCH v11 01/13] powerpc/32: Move early_init() in a separate file
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
Nicholas Piggin, Aneesh Kumar K.V, Andrey Ryabinin,
Alexander Potapenko, Dmitry Vyukov, Daniel Axtens
Cc: linux-mm, linuxppc-dev, linux-kernel, kasan-dev
In-Reply-To: <08b3159b2094581c71e002dec1865e99e08e2320.1556295459.git.christophe.leroy@c-s.fr>
On Fri, 2019-04-26 at 16:23:25 UTC, Christophe Leroy wrote:
> In preparation of KASAN, move early_init() into a separate
> file in order to allow deactivation of KASAN for that function.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d69ca6bab39e84a84781535b977c7e62
cheers
^ permalink raw reply
* Re: [PATCH v2 01/15] powerpc/mm: drop __bad_pte()
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
aneesh.kumar
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <e727e0a19c059566903745ee71a7bc5c46458dcb.1556293738.git.christophe.leroy@c-s.fr>
On Fri, 2019-04-26 at 15:57:59 UTC, Christophe Leroy wrote:
> This has never been called (since Kernel has been in git at least),
> drop it.
>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/447def3b06adab60b999417b316bd235
cheers
^ permalink raw reply
* Re: [PATCH v2 03/17] powerpc/book3e: drop mmu_get_tsize()
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
aneesh.kumar
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <11addb677de7449523fd0023a9ca43b8898c207a.1556258135.git.christophe.leroy@c-s.fr>
On Fri, 2019-04-26 at 05:59:38 UTC, Christophe Leroy wrote:
> This function is not used anymore, drop it.
>
> Fixes: b42279f0165c ("powerpc/mm/nohash: MM_SLICE is only used by book3s 64")
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Patches 3-17 applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a521c44c3ded9fe184c5de3eed3a442a
cheers
^ permalink raw reply
* Re: [PATCH v2 01/11] powerpc/mm: fix erroneous duplicate slb_addr_limit init
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
aneesh.kumar
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <3814377306ac3acdd404e2f23ff05dcf7e6bee26.1556202029.git.christophe.leroy@c-s.fr>
On Thu, 2019-04-25 at 14:29:27 UTC, Christophe Leroy wrote:
> Commit 67fda38f0d68 ("powerpc/mm: Move slb_addr_linit to
> early_init_mmu") moved slb_addr_limit init out of setup_arch().
>
> Commit 701101865f5d ("powerpc/mm: Reduce memory usage for mm_context_t
> for radix") brought it back into setup_arch() by error.
>
> This patch reverts that erroneous regress.
>
> Fixes: 701101865f5d ("powerpc/mm: Reduce memory usage for mm_context_t for radix")
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Patches 1-10 applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/5ba666d56c4ff9b011c1b029dcc689cf
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: vdso: drop unnecessary cc-ldoption
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Nick Desaulniers, benh, paulus
Cc: clang-built-linux, Nick Desaulniers, linux-kernel,
Nicholas Piggin, Masahiro Yamada, Andrew Donnellan, linuxppc-dev,
Dmitry Vyukov
In-Reply-To: <20190423211116.261111-1-ndesaulniers@google.com>
On Tue, 2019-04-23 at 21:11:14 UTC, Nick Desaulniers wrote:
> Towards the goal of removing cc-ldoption, it seems that --hash-style=
> was added to binutils 2.17.50.0.2 in 2006. The minimal required version
> of binutils for the kernel according to
> Documentation/process/changes.rst is 2.20.
>
> Link: https://gcc.gnu.org/ml/gcc/2007-01/msg01141.html
> Cc: clang-built-linux@googlegroups.com
> Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
> Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/33dda8c32714c1a8f318450af4d1f9f1
cheers
^ permalink raw reply
* Re: [PATCH][next] powerpc/mm: fix spelling mistake "Outisde" -> "Outside"
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Colin King, Benjamin Herrenschmidt, Paul Mackerras,
Aneesh Kumar K . V, linuxppc-dev
Cc: kernel-janitors, linux-kernel
In-Reply-To: <20190423151017.14429-1-colin.king@canonical.com>
On Tue, 2019-04-23 at 15:10:17 UTC, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are several identical spelling mistakes in warning messages,
> fix these.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/f341d89790b0b7f99ca7835e0cf7de10
cheers
^ permalink raw reply
* Re: [PATCH v4 1/5] powerpc/include: Add data structures and macros for IMC trace mode
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Anju T Sudhakar; +Cc: maddy, linuxppc-dev, linux-kernel, anju
In-Reply-To: <20190416094831.7264-2-anju@linux.vnet.ibm.com>
On Tue, 2019-04-16 at 09:48:27 UTC, Anju T Sudhakar wrote:
> Add the macros needed for IMC (In-Memory Collection Counters) trace-mode
> and data structure to hold the trace-imc record data.
> Also, add the new type "OPAL_IMC_COUNTERS_TRACE" in 'opal-api.h', since
> there is a new switch case added in the opal-calls for IMC.
>
> Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
> Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d1720adff3783a2ba7c128e304a385d1
cheers
^ permalink raw reply
* Re: [PATCH v4] powerpc/xmon: add read-only mode
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christopher M. Riedl, linuxppc-dev
Cc: Christopher M. Riedl, oohall, andrew.donnellan
In-Reply-To: <20190416032638.3588-1-cmr@informatik.wtf>
On Tue, 2019-04-16 at 03:26:38 UTC, "Christopher M. Riedl" wrote:
> Operations which write to memory and special purpose registers should be
> restricted on systems with integrity guarantees (such as Secure Boot)
> and, optionally, to avoid self-destructive behaviors.
>
> Add a config option, XMON_DEFAULT_RO_MODE, to set default xmon behavior.
> The kernel cmdline options xmon=ro and xmon=rw override this default.
>
> The following xmon operations are affected:
> memops:
> disable memmove
> disable memset
> disable memzcan
> memex:
> no-op'd mwrite
> super_regs:
> no-op'd write_spr
> bpt_cmds:
> disable
> proc_call:
> disable
>
> Signed-off-by: Christopher M. Riedl <cmr@informatik.wtf>
> Reviewed-by: Oliver O'Halloran <oohall@gmail.com>
> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/0acb5f64560a052fd66ab37b212a7296
cheers
^ permalink raw reply
* Re: [PATCH v2] powerpc/booke64: set RI in default MSR
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: laurentiu.tudor, linuxppc-dev, oss; +Cc: linux-kernel, stable, Laurentiu Tudor
In-Reply-To: <20190415115211.16374-1-laurentiu.tudor@nxp.com>
On Mon, 2019-04-15 at 11:52:11 UTC, laurentiu.tudor@nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
>
> Set RI in the default kernel's MSR so that the architected way of
> detecting unrecoverable machine check interrupts has a chance to work.
> This is inline with the MSR setup of the rest of booke powerpc
> architectures configured here.
>
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> Cc: stable@vger.kernel.org
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/5266e58d6cd90ac85c187d673093ad9c
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/security: Show powerpc_security_features in debugfs
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20190409131420.18842-1-mpe@ellerman.id.au>
On Tue, 2019-04-09 at 13:14:20 UTC, Michael Ellerman wrote:
> This can be helpful for debugging problems with the security feature
> flags, especially on guests where the flags come from the hypervisor
> via an hcall and so can't be observed in the device tree.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> Reviewed-by: Joel Stanley <joel@jms.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/398af571128fe75f07343f929975b26d
cheers
^ permalink raw reply
* Re: [PATCH kernel] powerpc/powernv/ioda: Handle failures correctly in pnv_pci_ioda_iommu_bypass_supported
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Alexey Kardashevskiy, linuxppc-dev
Cc: Alexey Kardashevskiy, Christoph Hellwig
In-Reply-To: <20190410064800.82221-1-aik@ozlabs.ru>
On Wed, 2019-04-10 at 06:48:00 UTC, Alexey Kardashevskiy wrote:
> When the return value type was changed from int to bool, few places were
> left unchanged, this fixes them. We did not hit these failures as
> the first one is not happening at all and the second one is little more
> likely to happen if the user switches a 33..58bit DMA capable device
> between the VFIO and vendor drivers and there are not so many of these.
>
> Fixes: 2d6ad41b2c21 ("powerpc/powernv: use the generic iommu bypass code", 2019-02-13)
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b511cdd1c12d1e450baeba5373dd3a88
cheers
^ permalink raw reply
* Re: [PATCH 2/2] powerpc/perf: Add generic compat mode pmu driver
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Madhavan Srinivasan; +Cc: Madhavan Srinivasan, linuxppc-dev
In-Reply-To: <1554378890-31851-2-git-send-email-maddy@linux.vnet.ibm.com>
On Thu, 2019-04-04 at 11:54:50 UTC, Madhavan Srinivasan wrote:
> Most of the power processor generation performance monitoring
> unit (PMU) driver code is bundled in the kernel and one of those
> is enabled/registered based on the oprofile_cpu_type check at
> the boot.
>
> But things get little tricky incase of "compat" mode boot.
> IBM POWER System Server based processors has a compactibility
> mode feature, which simpily put is, Nth generation processor
> (lets say POWER8) will act and appear in a mode consistent
> with an earlier generation (N-1) processor (that is POWER7).
> And in this "compat" mode boot, kernel modify the
> "oprofile_cpu_type" to be Nth generation (POWER8). If Nth
> generation pmu driver is bundled (POWER8), it gets registered.
>
> Key dependency here is to have distro support for latest
> processor performance monitoring support. Patch here adds
> a generic "compat-mode" performance monitoring driver to
> be register in absence of powernv platform specific pmu driver.
>
> Driver supports only "cycles" and "instruction" events.
> "0x0001e" used as event code for "cycles" and "0x00002"
> used as event code for "instruction" events. New file
> called "generic-compat-pmu.c" is created to contain the driver
> specific code. And base raw event code format modeled
> on PPMU_ARCH_207S.
>
> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/be80e758d0c2ec87eceac7676f08c761
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: config: skiroot: Add (back) MLX5 ethernet support
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Joel Stanley, linuxppc-dev; +Cc: Carol L Soto, Stewart Smith
In-Reply-To: <20190403004926.6702-1-joel@jms.id.au>
On Wed, 2019-04-03 at 00:49:26 UTC, Joel Stanley wrote:
> It turns out that some defconfig changes and kernel config option
> changes meant we accidentally dropped Ethernet support for Mellanox CLX5
> cards.
>
> Reported-by: Carol L Soto <clsoto@us.ibm.com>
> Suggested-by: Carol L Soto <clsoto@us.ibm.com>
> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e1619e89c96c596d72e66f15a0794f50
cheers
^ permalink raw reply
* Re: [PATCH v2] powerpc/watchdog: Use hrtimers for per-CPU heartbeat
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Nicholas Piggin, linuxppc-dev
Cc: Gautham R . Shenoy, Ravikumar Bangoria, Nicholas Piggin
In-Reply-To: <20190409044005.26446-1-npiggin@gmail.com>
On Tue, 2019-04-09 at 04:40:05 UTC, Nicholas Piggin wrote:
> Using a jiffies timer creates a dependency on the tick_do_timer_cpu
> incrementing jiffies. If that CPU has locked up and jiffies is not
> incrementing, the watchdog heartbeat timer for all CPUs stops and
> creates false positives and confusing warnings on local CPUs, and
> also causes the SMP detector to stop, so the root cause is never
> detected.
>
> Fix this by using hrtimer based timers for the watchdog heartbeat,
> like the generic kernel hardlockup detector.
>
> Cc: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
> Reported-by: Ravikumar Bangoria <ravi.bangoria@in.ibm.com>
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
> Tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
> Reported-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
> Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7ae3f6e130e8dc6188b59e3b4ebc2f16
cheers
^ permalink raw reply
* Re: [PATCH v2 1/2] powerpc/perf: init pmu from core-book3s
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Madhavan Srinivasan; +Cc: Madhavan Srinivasan, linuxppc-dev
In-Reply-To: <1554378890-31851-1-git-send-email-maddy@linux.vnet.ibm.com>
On Thu, 2019-04-04 at 11:54:49 UTC, Madhavan Srinivasan wrote:
> Currenty pmu driver file for each ppc64 generation processor
> has a __init call in itself. Refactor the code by moving the
> __init call to core-books.c. This also clean's up compat mode
> pmu driver registration.
>
> Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/708597daf23486ea6f889ca29cc88389
cheers
^ permalink raw reply
* Re: [PATCH 4/9] powerpc/prom_init: get rid of PROM_SCRATCH_SIZE
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
danielwa
Cc: linux-arch, linuxppc-dev, linux-kernel
In-Reply-To: <5ad9ed13155f55e1715274561354aa7ab57973fc.1554195798.git.christophe.leroy@c-s.fr>
On Tue, 2019-04-02 at 09:08:38 UTC, Christophe Leroy wrote:
> PROM_SCRATCH_SIZE is same as sizeof(prom_scratch)
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d7fbe2a0439ce6f20917a65990a78c9e
cheers
^ permalink raw reply
* Re: [PATCH v1 1/4] powerpc/mm: change #include "mmu_decl.h" to <mm/mmu_decl.h>
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <1c8eb7526ed327c3317053d57ac34e8c652b5449.1553853405.git.christophe.leroy@c-s.fr>
On Fri, 2019-03-29 at 09:59:59 UTC, Christophe Leroy wrote:
> This patch make inclusion of mmu_decl.h independant of the location
> of the file including it.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9d9f2cccde952126185e3336af0d4dc6
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/perf: Remove PM_BR_CMPL_ALT from power9 event list
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Madhavan Srinivasan; +Cc: Madhavan Srinivasan, linuxppc-dev
In-Reply-To: <1554099639-11442-1-git-send-email-maddy@linux.vnet.ibm.com>
On Mon, 2019-04-01 at 06:20:39 UTC, Madhavan Srinivasan wrote:
> PM_BR_CMPL_ALT event is not supported and remove from the power9 event list
>
> Fixes: 24bedcb7c811 ('powerpc/perf: Fix branch event code for power9')
> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/659a6e38db0b422c63fd68ca7e78a8da
cheers
^ permalink raw reply
* Re: [PATCH] Documentation: powerpc: Expand the DAWR acronym
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Joel Stanley, Michael Neuling, linuxppc-dev; +Cc: linux-doc
In-Reply-To: <20190401061156.31366-1-joel@jms.id.au>
On Mon, 2019-04-01 at 06:11:56 UTC, Joel Stanley wrote:
> Those not of us not drowning in POWER might not know what this means.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> Acked-by: Michael Neuling <mikey@neuling.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/29b861ea7742e571c1940366944eabc2
cheers
^ permalink raw reply
* Re: [PATCH -next] ocxl: remove set but not used variables 'tid' and 'lpid'
From: Michael Ellerman @ 2019-05-03 6:59 UTC (permalink / raw)
To: Yue Haibing, fbarrat, andrew.donnellan, arnd, gregkh
Cc: linuxppc-dev, YueHaibing, linux-kernel
In-Reply-To: <20190329154456.27152-1-yuehaibing@huawei.com>
On Fri, 2019-03-29 at 15:44:56 UTC, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/misc/ocxl/link.c: In function 'xsl_fault_handler':
> drivers/misc/ocxl/link.c:187:17: warning: variable 'tid' set but not used [-Wunused-but-set-variable]
> drivers/misc/ocxl/link.c:187:6: warning: variable 'lpid' set but not used [-Wunused-but-set-variable]
>
> They are never used and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/32eeb5614d3bf166e84fe69bb5f3a51a
cheers
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox