CC (hypervisor) console folks
On Wed, Jun 7, 2017 at 1:00 AM, Palmer Dabbelt wrote:
> This patch adds a new driver for the console availiable via the RISC-V
> SBI. This console is specified to be used for early boot messages, and
> is designed to be a very simple (albiet somewhat slow) console t
Michael Neuling writes:
> Bits 48:51 in the PVR for POWER9 represent different chip types (scale
> up vs out and 12 vs 24 core). Current chips have 0 here, but could be
> non-zero in the future.
>
> This changes the POWER9 DD1 mask to correctly ignore these bits 48:51.
>
> Signed-off-by: Michael
On Wed, Jun 7, 2017 at 9:15 AM, Geert Uytterhoeven wrote:
> CC (hypervisor) console folks
>
> On Wed, Jun 7, 2017 at 1:00 AM, Palmer Dabbelt wrote:
>> This patch adds a new driver for the console availiable via the RISC-V
>> SBI. This console is specified to be used for early boot messages, and
On Thu, 2017-06-01 at 16:33 -0500, Reza Arbab wrote:
> On Thu, Jun 01, 2017 at 07:36:31PM +1000, Michael Ellerman wrote:
> > I don't think that's what the patch does. It just marks 32 (!?) nodes
> > as online. Or if you're talking about reverting 3af229f2071f that
> > leaves you with 256 possible
From: Greg Kroah-Hartman
The dev_attrs field has long been "depreciated" and is finally being
removed, so move the driver to use the "correct" dev_groups field
instead for struct bus_type.
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
Cc: Vineet Gupta
Cc: Bart Van Assche
On Monday 05 June 2017 02:23 PM, Jisheng Zhang wrote:
> The dw_pcie_host_ops structures are never modified. Constify these
> structures such that these can be write-protected.
>
> Signed-off-by: Jisheng Zhang
Acked-by: Kishon Vijay Abraham I
> ---
> drivers/pci/dwc/pci-dra7xx.c | 2
On Wed, Jun 07, 2017 at 11:40:12AM +1000, Michael Ellerman wrote:
> Greg KH writes:
>
> > From: Greg Kroah-Hartman
> >
> > There was only 2 remaining users of CLASS_ATTR() so let's finally get
> > rid of them and force everyone to use the correct RW/RO/WO versions
> > instead.
> >
> > Cc: Benjam
Daniel Micay writes:
> Rather than doing this, the base should just be split for an ELF
> interpreter like PaX.
I don't quite parse that, I think you mean PaX uses a different base for
an ELF interpreter vs a regular ET_DYN?
That would be cool. How do you know that it's an ELF interpreter you'r
On Wed, Jun 07, 2017 at 05:29:55AM +, Chris Packham wrote:
> What do you think?
Just send me a fix ontop, moving the edac_op_state assignment before the
platform_register_drivers() call and write in the commit message why
we're doing that.
Thanks.
--
Regards/Gruss,
Boris.
Good mailing
On Tue, Jun 06, 2017 at 09:22:13PM +0200, Greg Kroah-Hartman wrote:
> The dev_attrs field has long been "depreciated" and is finally being
> removed, so move the driver to use the "correct" dev_groups field
> instead for struct bus_type.
>
> Cc: Geoff Levand
> Cc: Benjamin Herrenschmidt
> Cc: Pa
Hi Balbir
Le 04/06/2017 à 01:45, kbuild test robot a écrit :
Hi Balbir,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12-rc3 next-20170602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0da
On Wed, Jun 7, 2017 at 2:59 PM, Michael Ellerman wrote:
> Daniel Micay writes:
>
>> Rather than doing this, the base should just be split for an ELF
>> interpreter like PaX.
>
> I don't quite parse that, I think you mean PaX uses a different base for
> an ELF interpreter vs a regular ET_DYN?
I a
On Wednesday 07 June 2017 11:14 AM, Anju T Sudhakar wrote:
Hi Thomas,
On Tuesday 06 June 2017 03:39 PM, Thomas Gleixner wrote:
On Mon, 5 Jun 2017, Anju T Sudhakar wrote:
+static void cleanup_all_core_imc_memory(struct imc_pmu *pmu_ptr)
+{
+struct imc_mem_info *ptr = pmu_ptr->mem_info;
+
Murilo Opsfelder Araujo writes:
> When CONFIG_EEH=y and CONFIG_VFIO_SPAPR_EEH=n, build fails with the
> following:
>
> drivers/vfio/pci/vfio_pci.o: In function `.vfio_pci_release':
> vfio_pci.c:(.text+0xa98): undefined reference to
> `.vfio_spapr_pci_eeh_release'
> drivers/vfio/pci/v
On Wed, Jun 7, 2017 at 8:25 PM, Christophe LEROY
wrote:
> Hi Balbir
>
> Le 04/06/2017 à 01:45, kbuild test robot a écrit :
>>
>> Hi Balbir,
>>
>> [auto build test ERROR on powerpc/next]
>> [also build test ERROR on v4.12-rc3 next-20170602]
>> [if your patch is applied to the wrong git tree, please
Balbir Singh writes:
> On Fri, Jun 2, 2017 at 3:14 PM, Michael Ellerman wrote:
>> diff --git a/arch/powerpc/include/asm/topology.h
>> b/arch/powerpc/include/asm/topology.h
>> index 8b3b46b7b0f2..8f3b2ec09b9e 100644
>> --- a/arch/powerpc/include/asm/topology.h
>> +++ b/arch/powerpc/include/asm/to
Frederic Barrat writes:
> Le 06/06/2017 à 11:20, Michael Ellerman a écrit :
>> Frederic Barrat writes:
>>
>>> Fix error path if we can't copy user structure on
>>> CXL_IOCTL_START_WORK ioctl.
>>
>> To be clear the error is that returning via the out label will unlock
>> cxl->status_mutex, whic
Balbir Singh writes:
> On Wed, Jun 7, 2017 at 8:25 PM, Christophe LEROY
> wrote:
>> Le 04/06/2017 à 01:45, kbuild test robot a écrit :
>>> [auto build test ERROR on powerpc/next]
>>> [also build test ERROR on v4.12-rc3 next-20170602]
>>> [if your patch is applied to the wrong git tree, please dro
Reza Arbab writes:
> On Thu, Jun 01, 2017 at 07:36:31PM +1000, Michael Ellerman wrote:
>>I don't think that's what the patch does. It just marks 32 (!?) nodes
>>as online. Or if you're talking about reverting 3af229f2071f that
>>leaves you with 256 possible nodes. Both of which are wasteful.
>
Michael Bringmann writes:
> On 06/06/2017 04:48 AM, Michael Ellerman wrote:
>> Michael Bringmann writes:
>>> On 06/01/2017 04:36 AM, Michael Ellerman wrote:
Do you actually see mention of nodes 0 and 8 in the dmesg?
>>>
>>> When the 'numa.c' code is built with debug messages, and the system
On 2017/06/07 03:46PM, Balbir Singh wrote:
> On Wed, 2017-06-07 at 00:42 +0530, Naveen N. Rao wrote:
> > On 2017/06/06 02:29PM, Balbir Singh wrote:
> > > With text moving to read-only migrate optprobes to using
> > > the patch_instruction infrastructure. Without this optprobes
> > > will fail and c
* ?? <1363017...@qq.com> [2017-06-06 19:59:24]:
> I use ipmitool measuring power server power consumption, getting the
> following results without total power consumption as the following picture,
> do I add all power values as total power consumption? I am eager to receive
> someone's
Hi Murilo,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc4 next-20170607]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Murilo-Opsfelder-Araujo/include-linux-vfio-h
On Sun, 28 May 2017 10:55:40 -0700
Dmitry Torokhov wrote:
> On Sun, May 28, 2017 at 11:47:58AM +0200, Michal Suchanek wrote:
> > On Tue, 9 May 2017 17:43:27 -0700
> > Dmitry Torokhov wrote:
> >
> > > Hi Michal,
> > >
> > > On Tue, May 09, 2017 at 09:14:18PM +0200, Michal Suchanek wrote:
>
On Wed, Jun 07, 2017 at 06:53:51PM +0200, Michal Suchánek wrote:
> On Sun, 28 May 2017 10:55:40 -0700
> Dmitry Torokhov wrote:
>
> > On Sun, May 28, 2017 at 11:47:58AM +0200, Michal Suchanek wrote:
> > > On Tue, 9 May 2017 17:43:27 -0700
> > > Dmitry Torokhov wrote:
> > >
> > > > Hi Michal,
>
Here is the information from 2 different kernels. I have not been able to
retrieve
the information matching yesterday's attachments, yet, as those dumps were
acquired in April.
Attached please find 2 dumps of similar material from kernels running with my
current patches (Linux 4.4, Linux 4.12)
On Wed, Jun 7, 2017 at 2:29 AM, Michael Ellerman wrote:
> Daniel Micay writes:
>
>> Rather than doing this, the base should just be split for an ELF
>> interpreter like PaX.
>
> I don't quite parse that, I think you mean PaX uses a different base for
> an ELF interpreter vs a regular ET_DYN?
>
>
On Wed, 7 Jun 2017 10:16:22 -0700
Dmitry Torokhov wrote:
> On Wed, Jun 07, 2017 at 06:53:51PM +0200, Michal Suchánek wrote:
> > On Sun, 28 May 2017 10:55:40 -0700
> > Dmitry Torokhov wrote:
> >
> > > On Sun, May 28, 2017 at 11:47:58AM +0200, Michal Suchanek wrote:
> > > > On Tue, 9 May 2017
Here is the information from 2 different kernels. I have not been able to retrieve
the information matching yesterday's attachments, yet, as those dumps were
acquired in April.
Attached please find 2 dumps of similar material from kernels running with my
current patches (Linux 4.4, Linux 4.12).
>From a peer.. Rafael Peria de Sene...
At Unicamp we developed a power monitor based on IPMI output to monitor our
Minsky usage.
Take a look at http://177.220.10.134/powergraph
On Wed, Jun 7, 2017 at 11:00 AM, Vaidyanathan Srinivasan <
sva...@linux.vnet.ibm.com> wrote:
> * ?? <136
On Fri, Jun 02, 2017 at 02:38:48PM +0200, Geert Uytterhoeven wrote:
> Fixes: 8cceda5349377e30 ("dt-bindings: Add bindings for the Amlogic Meson
> dw-hdmi extension")
> Signed-off-by: Geert Uytterhoeven
> ---
> v3:
> - New.
> ---
> Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi
On Fri, Jun 02, 2017 at 02:38:49PM +0200, Geert Uytterhoeven wrote:
> Fixes: fd913ef7ce619467 ("Bluetooth: btusb: Add out-of-band wakeup support")
> Signed-off-by: Geert Uytterhoeven
> ---
> v3:
> - New.
> ---
> Documentation/devicetree/bindings/net/btusb.txt | 2 +-
> 1 file changed, 1 inserti
From: Larry Finger
commit 8ae679c4bc2ea2d16d92620da8e3e9332fa4039f upstream.
I am getting the following warning when I build kernel 4.9-git on my
PowerBook G4 with a 32-bit PPC processor:
AS arch/powerpc/kernel/misc_32.o
arch/powerpc/kernel/misc_32.S:299:7: warning: "CONFIG_FSL_BOOKE
On Wed, Jun 07, 2017 at 09:17:37PM +0200, Michal Suchánek wrote:
> On Wed, 7 Jun 2017 10:16:22 -0700
> Dmitry Torokhov wrote:
>
> > On Wed, Jun 07, 2017 at 06:53:51PM +0200, Michal Suchánek wrote:
> > > On Sun, 28 May 2017 10:55:40 -0700
> > > Dmitry Torokhov wrote:
> > >
> > > > On Sun, May
When CONFIG_EEH=y and CONFIG_VFIO_SPAPR_EEH=n, build fails with the
following:
drivers/vfio/pci/vfio_pci.o: In function `.vfio_pci_release':
vfio_pci.c:(.text+0xa98): undefined reference to
`.vfio_spapr_pci_eeh_release'
drivers/vfio/pci/vfio_pci.o: In function `.vfio_pci_open':
vf
On Wed, 2017-06-07 at 17:24 +1000, Michael Ellerman wrote:
> Michael Neuling writes:
>
> > Bits 48:51 in the PVR for POWER9 represent different chip types (scale
> > up vs out and 12 vs 24 core). Current chips have 0 here, but could be
> > non-zero in the future.
> >
> > This changes the POWER9
Hi Nicholas,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12-rc4 next-20170607]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-powernv-Rework
On the OpenPOWER platform, secure boot and trusted boot are being
implemented using IMA for taking measurements and verifying signatures.
Since the kernel image on Power servers is an ELF binary, kernels are
signed using the scripts/sign-file tool and thus use the same signature
format as signed ke
If the func_tokens array uses the same indices as enum ima_hooks,
policy_func_show can be a lot simpler, and the func_* enum becomes
unnecessary.
Also, if we use the same macro trick used by kernel_read_file_id_str we can
use one hooks list for both the enum and the string array, making sure they
If the file doesn't have an xattr, ima_appraise_measurement sets cause to
"missing-hash" while if there's an xattr but it's a digest instead of a
signature it sets cause to "IMA-signature-required".
Fix it by setting cause to "IMA-signature-required" in both cases.
Signed-off-by: Thiago Jung Baue
Even though struct evm_ima_xattr_data includes a fixed-size array to hold a
SHA1 digest, most of the code ignores the array and uses the struct to mean
"type indicator followed by data of unspecified size" and tracks the real
size of what the struct represents in a separate length variable.
The on
IMA will use the module_signature format for append signatures, so export
the relevant definitions and factor out the code which verifies that the
appended signature trailer is valid.
Also, add function verify_pkcs7_message_signature which takes a struct
pkcs7_message for verification isntead of t
This patch introduces the modsig keyword to the IMA policy syntax to
specify that a given hook should expect the file to have the IMA signature
appended to it. Here is how it can be used in a rule:
appraise func=KEXEC_KERNEL_CHECK appraise_type=modsig|imasig
With this rule, IMA will accept either
These changes are too small to warrant their own patches:
The keyid and sig_size members of struct signature_v2_hdr are in BE format,
so use a type that makes this assumption explicit. Also, use beXX_to_cpu
instead of __beXX_to_cpu to read them.
Change integrity_kernel_read to take a void * buffe
On Mon, 2017-06-05 at 11:43 +0530, Shilpasri G Bhat wrote:
> In P9, OCC (On-Chip-Controller) supports shared memory based
> commad-response interface. Within the shared memory there is an OPAL
> command buffer and OCC response buffer that can be used to send
> inband commands to OCC. This patch add
Michael Neuling writes:
> On Wed, 2017-06-07 at 17:24 +1000, Michael Ellerman wrote:
>> Michael Neuling writes:
>>
>> > Bits 48:51 in the PVR for POWER9 represent different chip types (scale
>> > up vs out and 12 vs 24 core). Current chips have 0 here, but could be
>> > non-zero in the future.
On Fri, 2017-05-26 at 08:08:27 UTC, Madhavan Srinivasan wrote:
> Commit 8d911904f3ce4 ('powerpc/perf: Add restrictions to PMC5 in power9 DD1')
> was added to restrict the use of PMC5 in Power9 DD1. Intend is to diable
> the use of PMC5 using raw event code. Commit instead of updating
> "power9_isa
On Fri, 2017-06-02 at 16:56:48 UTC, Vaibhav Jain wrote:
> During an eeh call to cxl_remove can result in double free_irq of
> psl,slice interrupts. This can happen if perst_reloads_same_image == 1
> and call to cxl_configure_adapter() fails during slot_reset
> callback. In such a case we see a kern
On Fri, 2017-06-02 at 21:43:30 UTC, Breno Leitao wrote:
> Currently tsk->thread->load_vec and load_fp are not initialized during a
> task creation, which set garbage to these variables (non-zero value).
>
> These variables will be checked later at restore_math() to validate if the
> FP and vectors
On Mon, 2017-06-05 at 14:40:59 UTC, Breno Leitao wrote:
> Currently tsk->thread.load_tm is not initialized in the task creation
> and can contain garbage on a new task.
>
> This is an undesired behaviour, since it affects the timing to enable
> and disable the transactional memory laziness (disabl
On Tue, 2017-06-06 at 10:23:57 UTC, Michael Ellerman wrote:
> In commit 8c272261194d ("powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID"), we
> switched to the generic implementation of cpu_to_node(), which uses a percpu
> variable to hold the NUMA node for each CPU.
>
> Unfortunately we neglected to
On Tue, 2017-05-02 at 05:17:04 UTC, Balbir Singh wrote:
> Introduce a helper pgtable_gfp_flags() which
> just returns the current gfp flags and adds
> __GFP_ACCOUNT to account for page table allocation.
> The generic helper is added to include/asm/pgalloc.h
> and has two variants - WARNING ugly bit
On Fri, 2017-05-05 at 05:34:58 UTC, Dan Carpenter wrote:
> We should unlock if get_cxl_adapter() fails.
>
> Fixes: 594ff7d067ca ("cxl: Support to flash a new image on the adapter from a
> guest")
> Signed-off-by: Dan Carpenter
> Acked-by: Frederic Barrat
Applied to powerpc next, thanks.
https
On Thu, 2017-05-25 at 07:28:32 UTC, Balbir Singh wrote:
> Do the checks that __flush_tlb_pending() does and check if
> a local flush will do when batch->active is false inside of
> hpte_need_flush(). I've checked the changes with tlbie tracing,
> I see local flushes as applicable now and I've also
On Mon, 2017-05-29 at 06:26:44 UTC, Nicholas Piggin wrote:
> The i-side 0111b case was missed by 7b9f71f974 ("powerpc/64s: POWER9
> machine check handler").
>
> It is possible to trigger this exception by branching to a foreign real
> address (bits [8:12] != 0) with instruction relocation off, and
On Mon, 2017-05-29 at 15:31:56 UTC, Christophe Leroy wrote:
> Signed-off-by: Christophe Leroy
> Acked-by: Balbir Singh
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/4386c096c2ffa1b3232d701e9d7ff8
cheers
On Fri, 2017-06-02 at 23:20:22 UTC, Yang Li wrote:
> Add myself as the maintainer for drivers/fsl/soc/ and fix the scope for
> device tree bindings.
>
> Signed-off-by: Li Yang
> Acked-by: Scott Wood
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c67ec7010132a4d948686eeab8a23
On Fri, 2017-06-02 at 23:20:23 UTC, Yang Li wrote:
> Signed-off-by: Li Yang
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/64d09f5ecb237974bc824800e5e501
cheers
On Sun, 2017-06-04 at 12:06:22 UTC, Nicholas Piggin wrote:
> This reduces overhead of mutex locking and increases context switch
> rate significantly (which helps to measure and profile the context
> switch path).
>
> Signed-off-by: Nicholas Piggin
Applied to powerpc next, thanks.
https://git.k
The analog joystick driver spits a warning at us:
drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer
not defined for this architecture.
PPC has get_cycles() so use that.
Signed-off-by: Michael Ellerman
---
drivers/input/joystick/analog.c | 2 +-
1 file changed, 1 insert
Hi,
How did you manage to have CONFIG_EEH=y and CONFIG_VFIO_SPAPR_EEH=n? "make
oldconfig" fixes this to CONFIG_VFIO_SPAPR_EEH=y.
On 08/06/17 02:31, kbuild test robot wrote:
> Hi Murilo,
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.12-rc4 nex
e error below, what am I missing here?
>
>
>
> On 08/06/17 02:31, kbuild test robot wrote:
>> Hi Murilo,
>>
>> [auto build test ERROR on linus/master]
>> [also build test ERROR on v4.12-rc4 next-20170607]
>> [if your patch is applied to the wrong
Hi Fred,
Thanks for addressing the review comments.
Frederic Barrat writes:
> Fix error path if we can't copy user structure on CXL_IOCTL_START_WORK
> ioctl. We shouldn't unlock the context status mutex as it was not
> locked (yet).
>
> Signed-off-by: Frederic Barrat
> Cc: sta...@vger.kernel.o
Hugh Dickins writes:
> On Fri, 2 Jun 2017, Michael Ellerman wrote:
>> Hugh Dickins writes:
>> > On Thu, 1 Jun 2017, Christoph Lameter wrote:
>> >>
>> >> Ok so debugging was off but the slab cache has a ctor callback which
>> >> mandates that the free pointer cannot use the free object space when
Christoph Lameter writes:
> On Thu, 1 Jun 2017, Hugh Dickins wrote:
>
>> Thanks a lot for working that out. Makes sense, fully understood now,
>> nothing to worry about (though makes one wonder whether it's efficient
>> to use ctors on high-alignment caches; or whether an internal "zero-me"
>> c
Reviewed-by: Andrew Donnellan
On 06/06/17 19:43, Frederic Barrat wrote:
Fix error path if we can't copy user structure on CXL_IOCTL_START_WORK
ioctl. We shouldn't unlock the context status mutex as it was not
locked (yet).
Signed-off-by: Frederic Barrat
Cc: sta...@vger.kernel.org
Fixes: 0712d
The PPC_DT_CPU_FTRs is a bit misplaced in menuconfig, it shows up with
other general kernel options. It's really more at home in the "Platform
Support" section, so move it there.
Also enable it by default, for Book3s 64. It does mostly nothing unless
the device tree properties are found, and we wi
67 matches
Mail list logo