setting the interrupt type to "level" unconditionally,
since this was the only type supported previously.
Signed-off-by: Mischa Jonker
---
arch/arc/kernel/mcip.c | 60 +-
include/soc/arc/mcip.h | 11 +
2 files changed, 65 insert
This updates the documentation for supporting an optional extra interrupt
cell to specify edge vs level triggered.
Signed-off-by: Mischa Jonker
---
.../interrupt-controller/snps,archs-idu-intc.txt | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git
a
* Some lines exceeded 80 characters.
* Clarified statement about AUX register interface
Signed-off-by: Mischa Jonker
---
.../bindings/interrupt-controller/snps,archs-idu-intc.txt| 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git
a/Documentation/devicetree
This updates the documentation for supporting a optional extra interrupt
cell to specify edge vs level triggered.
Signed-off-by: Mischa Jonker
---
.../interrupt-controller/snps,archs-idu-intc.txt | 30 ++
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git
a
This adds support for an optional extra interrupt cell to specify edge
vs level triggered. It is backward compatible with dts files with only
one cell, and will default to level-triggered in such a case.
Signed-off-by: Mischa Jonker
---
arch/arc/kernel/mcip.c | 56
This is useful if you want to build a kernel without a ramfs, or
if you want to test the kernel build without having an initramfs
available at the hardcoded location.
Cc: Vineet Gupta
Signed-off-by: Mischa Jonker
---
arch/arc/configs/fpga_noramfs_defconfig | 64
.
Cc: Peter Zijlstra
Cc: Vineet Gupta
Signed-off-by: Mischa Jonker
---
arch/arc/kernel/perf_event.c |4
1 file changed, 4 insertions(+)
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c
index 759e5f3..e46d81f 100644
--- a/arch/arc/kernel/perf_event.c
+++ b/arch/arc
> Ah, so its one of those that cannot sample; you might want to fail when we
> try and create a sampling event.
Good suggestion, I'll create a separate patch for that!
> Also, you could consider running an (hr)timer to periodically update the
> events so that you don't miss a hardware counter wra
Hi Peter,
> > Please find v3 of my attempt to add support for perf for ARC700 PMU's.
> > If possible, it would be nice to get some feedback on the
> > implementation from non-ARC/Synopsys people familiar with the perf
> subsystem in Linux.
>
> Anything in particular you wanted feedback on? It loo
This adds basic perf support for ARC700 cores. Most PERF_COUNT_HW* events
are supported now.
Signed-off-by: Mischa Jonker
---
arch/arc/boot/dts/angel4.dts |4 +
arch/arc/include/asm/perf_event.h | 204 ++-
arch/arc/kernel/Makefile |1 +
arch/arc/kernel
Signed-off-by: Mischa Jonker
---
Documentation/devicetree/bindings/arc/pmu.txt | 24
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arc/pmu.txt
diff --git a/Documentation/devicetree/bindings/arc/pmu.txt
b/Documentation
arate patch
updated devicetree binding doc according to review comments
v2:
updated comments to kernel coding standards
renamed devicetree binding to snps,arc700-pmu
added devicetree binding doc
Mischa Jonker (2):
ARC: Add perf support for ARC700 cores
ARC
This adds basic perf support for ARC700 cores. Most PERF_COUNT_HW* events
are supported now.
Signed-off-by: Mischa Jonker
Cc: Vineet Gupta
Cc: Ingo Molnar
Cc: Peter Zijlstra
---
v2:
updated comments to kernel coding standards
renamed devicetree binding to snps,arc700-pmu
Even after fixing the issue, GCC 4.8 still complains with a warning,
but with the fix, I think it's a false positive. Therefore I have
also added a #pragma to ignore the warning.
Signed-off-by: Mischa Jonker
---
arch/arc/mm/tlb.c |9 -
1 file changed, 8 insertions(+), 1 del
If a load or store is the last instruction in a zero-overhead-loop, and
it's misaligned, the loop would execute only once.
This fixes that problem.
Signed-off-by: Mischa Jonker
---
arch/arc/kernel/unaligned.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arc/k
net
driver, due to a premature timeout.
Signed-off-by: Mischa Jonker
---
arch/arc/include/asm/delay.h |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arc/include/asm/delay.h b/arch/arc/include/asm/delay.h
index 442ce5d..43de302 100644
--- a/arch/arc/include/asm/del
This adds basic perf support for ARC. Most PERF_COUNT_HW* events are
supported now. Cache events and callchains are not (yet).
Signed-off-by: Mischa Jonker
---
arch/arc/boot/dts/angel4.dts |4 +
arch/arc/include/asm/perf_event.h | 190 +-
arch/arc/kernel/Makefile
Hello Joe,
> I don't see the loops_per_jiffy initial shift << 32.
loops_per_jiffy * HZ = loops_per_second
loops_per_jiffy * HZ = 1,000,000 * loops_per_us
loops_per_jiffy * HZ * 4295 = 4,295,000 * loops_per_us
loops_per_jiffy * HZ * 4294.967296 = 2^32 * loops_per_us
> > > > - loops = ((lon
bits falling off.
> >
> > Signed-off-by: Mischa Jonker
> > ---
> > arch/arc/include/asm/delay.h |4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arc/include/asm/delay.h
> > b/arch/arc/include/asm/delay.h ind
It causes crashes when enabled, and we don't have such a peripheral
anyway on ARC platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
Adapt Kconfig to include ARC in supported architectures
Signed-off-by: Mischa Jonker
---
drivers/mmc/host/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 8a4c066..6496d50 100644
--- a/drivers/mmc/host
It prevents kernel parameters such as 'loglevel' from doing their job.
Signed-off-by: Mischa Jonker
---
arch/arc/kernel/setup.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 6b08345..b011f8c 100644
--- a/arch/arc/kern
Some drivers require these, and ARC didn't had them yet.
Signed-off-by: Mischa Jonker
---
arch/arc/include/asm/io.h |4
1 file changed, 4 insertions(+)
diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h
index 473424d..334ce70 100644
--- a/arch/arc/include/asm
Make sure that usecs is casted to long long, to ensure that the
(usecs * 4295 * HZ) multiplication is 64 bit.
Initially, the (usecs * 4295 * HZ) part was done as a 32 bit
multiplication, with the result casted to 64 bit. This led to some bits
falling off.
Signed-off-by: Mischa Jonker
---
arch
Ignore the following files:
* devicetree .dtb, .dtb.S files
* vmlinux.lds
Signed-off-by: Mischa Jonker
---
arch/arc/boot/dts/.gitignore |2 ++
arch/arc/kernel/.gitignore |1 +
2 files changed, 3 insertions(+)
create mode 100644 arch/arc/boot/dts/.gitignore
create mode 100644 arch
It causes crashes when enabled, and we don't have such a peripheral
anyway on ARC platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
Commit-ID: 03d8e80beb7db78a13c192431205b9c83f7e0cd1
Gitweb: http://git.kernel.org/tip/03d8e80beb7db78a13c192431205b9c83f7e0cd1
Author: Mischa Jonker
AuthorDate: Tue, 4 Jun 2013 11:45:48 +0200
Committer: Ingo Molnar
CommitDate: Wed, 19 Jun 2013 12:50:23 +0200
perf: Add const qualifier
This allows us to use pdev->name for registering a PMU device.
IMO the name is not supposed to be changed anyway.
Signed-off-by: Mischa Jonker
---
arch/metag/kernel/perf/perf_event.c |2 +-
include/linux/perf_event.h |4 ++--
kernel/events/core.c|2 +-
Add match table for device tree binding and dts binding doc.
Signed-off-by: Mischa Jonker
---
.../devicetree/bindings/serio/snps-arc_ps2.txt | 16
drivers/input/serio/arc_ps2.c | 14 --
2 files changed, 28 insertions(+), 2 deletions
Hi Dmitry,
> > This adds support for the PS/2 block that is used in various ARC FPGA
> > platforms.
> Applied with minor edits, please take a look at my 'next' branch and holler
> if you see something wrong.
Looks good & works fine, thanks for applying!
> BTW, does the patch below work for y
This adds support for the PS/2 block that is used in various ARC FPGA
platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 280 +
3 files changed, 290
module_platform_driver macro
* disabling interrupt twice was unnecessary
New patch has been tested on our own architecture (ARC) and
builds cleanly on x86-64.
Mischa Jonker (1):
Input: serio - Add ARC PS/2 driver
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio
Hi Joe,
>> +while (1) {
>infinite loop with bad hardware?
>Perhaps a jiffies timeout?
What do you suggest? Add a counter and limit the maximum number of iterations
to an arbitrary number (say 1000)?
Mischa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the b
This adds support for the PS/2 block that is used in various ARC FPGA
platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 276 +
3 files changed, 286
architecture (ARC) and
builds cleanly on x86-64.
Mischa Jonker (1):
Input: serio - Add ARC PS/2 driver
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 275 +
3 files changed, 285 insertions
Hi Dmitry,
Thanks again for your quick reply.
>> +void *data, *status;
>These 2 should be annotated as __iomem. May I also suggest calling them
>data_addt and status_addr?
I assume you meant data_addr.
>> +dev_err(&pdev->dev, "memory allocation failed cannot get the
>> I/O add
on x86-64.
Mischa Jonker (1):
Input: serio - Add ARC PS/2 driver
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 275 +
3 files changed, 285 insertions(+), 0 deletions(-)
create mode
This adds support for the PS/2 block that is used in various ARC FPGA
platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 275 +
3 files changed, 285
This adds support for the PS/2 block that is used in various ARC FPGA
platforms.
Signed-off-by: Mischa Jonker
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile |1 +
drivers/input/serio/arc_ps2.c | 287 +
3 files changed, 297
This patch adds support for the ARC PS/2 block which is used in various
ARC FPGA platforms. It has been tested on the ARC Angel 4 platform and the
nSIM OSCI virtual model.
Mischa Jonker (1):
Input: serio - Add ARC PS/2 driver
drivers/input/serio/Kconfig |9 ++
drivers/input/serio
40 matches
Mail list logo