Re: [PATCH 4/4] pci: don't hide hard to understand sanity check in size calculation

2018-04-15 Thread Uwe Kleine-König
Hello Andrey, On Sat, Apr 14, 2018 at 09:25:59AM -0700, Andrey Smirnov wrote: > On Fri, Apr 13, 2018 at 4:30 PM, Uwe Kleine-König > wrote: > > + /* > > +* if maxbase isn't in the form 0b1...10...0 there is > > something > > +

[PATCH 05/10] RISC-V: erizo: add DEBUG_LL support

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig| 1 + arch/riscv/mach-erizo/include/mach/debug_ll.h | 37 +++ 2 files changed, 38 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index

[PATCH 10/10] Documentation: add RISC-V docs

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/riscv.rst | 106 + 1 file changed, 106 insertions(+) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst new file mode 100644 index 00..0cde02305e ---

[PATCH 01/10] Add initial RISC-V architecture support

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 62 +++ arch/riscv/Makefile | 72 ++ arch/riscv/boot/Makefile | 2 + arch/riscv/boot/main_entry.c | 40 +

[PATCH 04/10] RISC-V: add nmon nano-monitor

2018-04-15 Thread Antony Pavlov
nmon is a tiny (<1024 bytes) monitor program for the RV32I processors. It can operate with NO working RAM at all! It uses only the processor registers and NS16550-compatible UART port for operation, so it can be used for a memory controller setup code debugging. Signed-off-by: Antony Pavlov

[PATCH 02/10] RISC-V: add Erizo SoC support

2018-04-15 Thread Antony Pavlov
Erizo is an opensource hardware SoC for FPGA. Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 11 ++ arch/riscv/Makefile| 3 ++ arch/riscv/boards/erizo-generic/.gitignore | 1 +

[PATCH 00/10] Add initial RISC-V architecture support

2018-04-15 Thread Antony Pavlov
This patchseries adds initial RISC-V architecture support for barebox. See Documentation/boards/riscv.rst for instructions. You can obtain this patchseries from github: $ git clone -b 20180415.riscv https://github.com/frantony/barebox Changes since RFC v4 (20170927) (http

[PATCH 09/10] scripts: add nmon-loader

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- scripts/nmon-loader | 31 +++ 1 file changed, 31 insertions(+) diff --git a/scripts/nmon-loader b/scripts/nmon-loader new file mode 100755 index 00..d80a53097a --- /dev/null +++ b/scripts/nmon-loader

[PATCH 03/10] RISC-V: add low-level debug macros for ns16550

2018-04-15 Thread Antony Pavlov
This patch adds macros for ns16550 port initialization and single char output. The macros can be used in MIPS asm pbl code. Signed-off-by: Antony Pavlov --- arch/riscv/include/asm/debug_ll_ns16550.h | 186 ++ 1 file changed, 186 insertions(+) diff

[PATCH 06/10] RISC-V: erizo: enable NMON

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index ff3e6b96ab..915294c9cd 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -25,6 +25,7 @@ choice config

[PATCH 08/10] RISC-V: add erizo_generic_defconfig

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/configs/erizo_generic_defconfig | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/riscv/configs/erizo_generic_defconfig b/arch/riscv/configs/erizo_generic_defconfig new file mode 100644 index