Re: GIT kernel with the PowerPC updates 5.11-1 doesn't boot on a FSL P5040 board and in a virtual e5500 QEMU machine

2020-12-18 Thread Christophe Leroy
Le 18/12/2020 à 23:49, Christian Zigotzky a écrit : On 18 December 2020 at 10:25pm, Denis Kirjanov wrote: > > > On Friday, December 18, 2020, Christian Zigotzky wrote: > > Hello, > > I compiled the latest Git kernel with the new PowerPC updates 5.11-1 [1] today. Unfortunately

Re: GIT kernel with the PowerPC updates 5.11-1 doesn't boot on a FSL P5040 board and in a virtual e5500 QEMU machine

2020-12-18 Thread Christian Zigotzky
On 18 December 2020 at 11:49pm, Christian Zigotzky wrote: On 18 December 2020 at 10:25pm, Denis Kirjanov wrote: > > > On Friday, December 18, 2020, Christian Zigotzky wrote: > > Hello, > > I compiled the latest Git kernel with the new PowerPC updates 5.11-1 [1] today. Unfortunately th

[PATCH 0/5] ibmvfc: MQ preparatory locking work

2020-12-18 Thread Tyrel Datwyler
The ibmvfc driver in its current form relies heavily on the host_lock. This patchset introduces a genric queue with its own queue lock and sent/free event list locks. This generic queue allows the driver to decouple the primary queue and future subordinate queues from the host lock reducing lock co

[PATCH 5/5] ibmvfc: relax locking around ibmvfc_queuecommand

2020-12-18 Thread Tyrel Datwyler
The drivers queuecommand routine is still wrapped to hold the host lock for the duration of the call. This will become problematic when moving to multiple queues due to the lock contention preventing asynchronous submissions to mulitple queues. There is no real legatimate reason to hold the host lo

[PATCH 4/5] ibmvfc: complete commands outside the host/queue lock

2020-12-18 Thread Tyrel Datwyler
Drain the command queue and place all commands on a completion list. Perform command completion on that list outside the host/queue locks. Further, move purged command compeletions outside the host_lock as well. Signed-off-by: Tyrel Datwyler Reviewed-by: Brian King --- drivers/scsi/ibmvscsi/ibm

[PATCH 1/5] ibmvfc: define generic queue structure for CRQs

2020-12-18 Thread Tyrel Datwyler
The primary and async CRQs are nearly identical outside of the format and length of each message entry in the dma mapped page that represents the queue data. These queues can be represented with a generic queue structure that uses a union to differentiate between message format of the mapped page.

[PATCH 3/5] ibmvfc: define per-queue state/list locks

2020-12-18 Thread Tyrel Datwyler
Define per-queue locks for protecting queue state and event pool sent/free lists. The evt list lock is initially redundant but it allows the driver to be modified in the follow-up patches to relax the queue locking around submissions and completions. Signed-off-by: Tyrel Datwyler Reviewed-by: Bri

[PATCH 2/5] ibmvfc: make command event pool queue specific

2020-12-18 Thread Tyrel Datwyler
There is currently a single command event pool per host. In anticipation of providing multiple queues add a per-queue event pool definition and reimplement the existing CRQ to use its queue defined event pool for command submission and completion. Signed-off-by: Tyrel Datwyler Reviewed-by: Brian

Re: GIT kernel with the PowerPC updates 5.11-1 doesn't boot on a FSL P5040 board and in a virtual e5500 QEMU machine

2020-12-18 Thread Christian Zigotzky
On 18 December 2020 at 10:25pm, Denis Kirjanov wrote: > > > On Friday, December 18, 2020, Christian Zigotzky wrote: > > Hello, > > I compiled the latest Git kernel with the new PowerPC updates 5.11-1 [1] today. Unfortunately this kernel doesn't boot on my FSL P5040 board [2] and in a

Re: GIT kernel with the PowerPC updates 5.11-1 doesn't boot on a FSL P5040 board and in a virtual e5500 QEMU machine

2020-12-18 Thread Denis Kirjanov
On Friday, December 18, 2020, Christian Zigotzky wrote: > Hello, > > I compiled the latest Git kernel with the new PowerPC updates 5.11-1 [1] > today. Unfortunately this kernel doesn't boot on my FSL P5040 board [2] and > in a virtual e5500 QEMU machine [3]. > > I was able to revert the new Power

Re: [PATCH] powerpc: fix alignment bug whithin the init sections

2020-12-18 Thread ariel marcovitch
On Fri, Dec 18, 2020 at 5:39 PM Christophe Leroy < christophe.le...@csgroup.eu> wrote: > It can cause, or it causes ? Did you encounter the issue ? > Yes, in configs that result in the section layout I described, the crush is consistent. > > > The init sections are ordered like this: > > .i

Re: [PATCH] powerpc: fix alignment bug whithin the init sections

2020-12-18 Thread ariel marcovitch
On Fri, Dec 18, 2020 at 5:39 PM Christophe Leroy < christophe.le...@csgroup.eu> wrote: > It can cause, or it causes ? Did you encounter the issue ? > Yes, in configs that result in the section layout I described, the crush is consistent. > > > The init sections are ordered like this: > > .i

Re: [RFC PATCH v1 7/7] powerpc/bpf: Implement extended BPF on PPC32

2020-12-18 Thread Andrii Nakryiko
On Thu, Dec 17, 2020 at 1:54 AM Christophe Leroy wrote: > > > > Le 17/12/2020 à 07:11, Alexei Starovoitov a écrit : > > On Wed, Dec 16, 2020 at 10:07:37AM +, Christophe Leroy wrote: > >> Implement Extended Berkeley Packet Filter on Powerpc 32 > >> > >> Test result with test_bpf module: > >> >

GIT kernel with the PowerPC updates 5.11-1 doesn't boot on a FSL P5040 board and in a virtual e5500 QEMU machine

2020-12-18 Thread Christian Zigotzky
Hello, I compiled the latest Git kernel with the new PowerPC updates 5.11-1 [1] today. Unfortunately this kernel doesn't boot on my FSL P5040 board [2] and in a virtual e5500 QEMU machine [3]. I was able to revert the new PowerPC updates 5.11-1 [4] and after a new compiling, the kernel boots

Re: [PATCH 01/23] kernel: irq: irqdescs: warn on spurious IRQ

2020-12-18 Thread Andy Shevchenko
On Fri, Dec 18, 2020 at 4:37 PM Enrico Weigelt, metux IT consult wrote: > + if (printk_ratelimit()) > + pr_warn("spurious IRQ: irq=%d hwirq=%d nr_irqs=%d\n", > + irq, hwirq, nr_irqs); Perhaps you missed pr_warn_ratelimit() macro w

Re: [PATCH] powerpc: fix alignment bug whithin the init sections

2020-12-18 Thread Christophe Leroy
Le 13/12/2020 à 19:35, Ariel Marcovitch a écrit : This is a bug that can cause early crashes in configurations with a .exit.text section smaller than a page and a .init.text section that ends in the beginning of a physical page (this is kinda random, which might explain why this wasn't really

[PATCH 06/23] arch: mips: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 09/23] arch: s390: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 17/23] arch: arm: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/arm/include/asm/hardirq.h | 2 +- arch/arm/include/asm/hw_irq.h | 6 -- arch/arm/kernel/irq.c

[PATCH 18/23] arch: arm64: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/arm64/include/asm/hardirq.h | 9 ++--- arch/arm64/kernel/smp.c | 6 ++ 2 files chang

[PATCH 19/23] arch: c6x: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/c6x/include/asm/hardirq.h | 3 --- arch/c6x/include/asm/irq.h | 2 -- arch/c6x/kernel/irq.c

[PATCH 15/23] arch: mips: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/mips/include/asm/hw_irq.h | 4 arch/mips/kernel/irq-gt641xx.c | 3 ++- arch/mips/kernel/irq.c

[PATCH 16/23] arch: alpha: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/alpha/include/asm/hardirq.h | 3 --- arch/alpha/include/asm/hw_irq.h | 2 -- arch/alpha/kernel/irq

[PATCH 13/23] arch: generic: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 11/23] arch: sparc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 14/23] kernel: generic counter for interrupt errors

2020-12-18 Thread Enrico Weigelt, metux IT consult
We currently have counters for spurious interrupt spread over all the individual architectures. Mostly done in the arch's ack_bad_irq(), sometimes also in arch specific drivers. It's time to consolidate this code duplication: * introduce a global counter and inlined accessors * increase the c

[PATCH 08/23] arch: powerpc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 04/23] arch: c6x: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 12/23] arch: x86: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 10/23] arch: sh: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 07/23] arch: parisc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 01/23] kernel: irq: irqdescs: warn on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
Add a warning on spurious IRQs to __handle_domain_irq(), also telling the linux IRQ number (if any), the hw IRQ number and the max nr of IRQs. That's far more informative than the warnings in (some of) the individual arch's ack_bad_irq()'s. These aren't really helpful since either the other caller

[PATCH 05/23] arch: ia64: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o "0x" prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it

[PATCH 03/23] arch: arm: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

(repost) cleaning up handling of bad IRQs

2020-12-18 Thread Enrico Weigelt, metux IT consult
Hello friends, << reposting, since first queue didn't go through completely, due to mailer problem >> here's a patch queue for cleaning up the IRQ handling. Inspired by a discussion we had on a previous patch of mine: "arch: fix 'unexpected IRQ trap at vector' warnings" https://www.spi

[PATCH 02/23] arch: alpha: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 19/23] arch: c6x: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/c6x/include/asm/hardirq.h | 3 --- arch/c6x/include/asm/irq.h | 2 -- arch/c6x/kernel/irq.c

[PATCH 14/23] kernel: generic counter for interrupt errors

2020-12-18 Thread Enrico Weigelt, metux IT consult
We currently have counters for spurious interrupt spread over all the individual architectures. Mostly done in the arch's ack_bad_irq(), sometimes also in arch specific drivers. It's time to consolidate this code duplication: * introduce a global counter and inlined accessors * increase the c

[PATCH 16/23] arch: alpha: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/alpha/include/asm/hardirq.h | 3 --- arch/alpha/include/asm/hw_irq.h | 2 -- arch/alpha/kernel/irq

[PATCH 12/23] arch: x86: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 03/23] arch: arm: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 17/23] arch: arm: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/arm/include/asm/hardirq.h | 2 +- arch/arm/include/asm/hw_irq.h | 6 -- arch/arm/kernel/irq.c

[PATCH 18/23] arch: arm64: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/arm64/include/asm/hardirq.h | 9 ++--- arch/arm64/kernel/smp.c | 6 ++ 2 files chang

[PATCH 10/23] arch: sh: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 13/23] arch: generic: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 09/23] arch: s390: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 08/23] arch: powerpc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 15/23] arch: mips: use generic irq error counter

2020-12-18 Thread Enrico Weigelt, metux IT consult
Use the newly introduced irq error counter, that's already maintained by all callers of ack_bad_irq(), in order to remove duplicate code. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/mips/include/asm/hw_irq.h | 4 arch/mips/kernel/irq-gt641xx.c | 3 ++- arch/mips/kernel/irq.c

[PATCH 07/23] arch: parisc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 01/23] kernel: irq: irqdescs: warn on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
Add a warning on spurious IRQs to __handle_domain_irq(), also telling the linux IRQ number (if any), the hw IRQ number and the max nr of IRQs. That's far more informative than the warnings in (some of) the individual arch's ack_bad_irq()'s. These aren't really helpful since either the other caller

[PATCH 11/23] arch: sparc: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 04/23] arch: c6x: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 06/23] arch: mips: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH 05/23] arch: ia64: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o "0x" prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it

cleanup handling of bad IRQs

2020-12-18 Thread Enrico Weigelt, metux IT consult
Hello friends, here's a patch queue for cleaning up the IRQ handling. Inspired by a discussion we had on a previous patch of mine: "arch: fix 'unexpected IRQ trap at vector' warnings" https://www.spinics.net/lists/kernel/msg3763137.html Turned out that the whole message, as it is right

[PATCH 02/23] arch: alpha: drop misleading warning on spurious IRQ

2020-12-18 Thread Enrico Weigelt, metux IT consult
The warning in ack_bad_irq() is misleading in several ways: * the term "vector" isn't quite correct * the printing format isn't consistent across the archs: some print decimal, some hex, some hex w/o 0x prefix. * the printed linux irq isn't meaningful in all cases - we actually would want it to

[PATCH] mm: Remove arch_remap() and mm-arch-hooks.h

2020-12-18 Thread Christophe Leroy
powerpc was the last provider of arch_remap() and the last user of mm-arch-hooks.h. Since commit 526a9c4a7234 ("powerpc/vdso: Provide vdso_remap()"), arch_remap() hence mm-arch-hooks.h are not used anymore. Remove them. Signed-off-by: Christophe Leroy --- arch/um/include/asm/Kbuild |

[PATCH 3/3] powerpc/vdso: Fix DOTSYM for 32-bit LE VDSO

2020-12-18 Thread Michael Ellerman
Skirmisher reported on IRC that the 32-bit LE VDSO was hanging. This turned out to be due to a branch to self in eg. __kernel_gettimeofday. Looking at the disassembly with objdump -dR shows why: 0528 <__kernel_gettimeofday>: 528: f0 ff 21 94 stwur1,-16(r1) 52c: a6 02 08 7c

[PATCH 2/3] powerpc/vdso: Don't pass 64-bit ABI cflags to 32-bit VDSO

2020-12-18 Thread Michael Ellerman
When building the 32-bit VDSO, we are building 32-bit code as part of a 64-bit kernel build. That requires us to tweak the cflags to trick the compiler into building 32-bit code for us. The main way we do that is by passing -m32, but there are other options that affect code generation and ABI selec

[PATCH 1/3] powerpc/vdso: Block R_PPC_REL24 relocations

2020-12-18 Thread Michael Ellerman
Add R_PPC_REL24 relocations to the list of relocations we do NOT support in the VDSO. These are generated in some cases and we do not support relocating them at runtime, so if they appear then the VDSO will not work at runtime, therefore it's preferable to break the build if we see them. Fixes: a

[PATCH v2] powerpc/perf/hv-24x7: Dont create sysfs event files for dummy events

2020-12-18 Thread Kajol Jain
hv_24x7 performance monitoring unit creates list of supported events from the event catalog obtained via HCALL. hv_24x7 catalog could also contain invalid or dummy events (with names like FREE_* or CPM_FREE_* and RESERVED*). These events do not have any hardware counters backing them. So patch adds