[linux-yocto] v4.18.x - stable updates comprising v4.18.24

2019-01-12 Thread Paul Gortmaker
Bruce, Yocto kernel folks:

Here is the next 4.18.x stable update "extension" primarily created
for the Yocto project, continuing from the previous v4.18.23 release.

There are about 230 commits here, based on commits chosen from what
was used in existing 4.19.12 to 4.19.14 (inclusive) stable releases.

Things seem to remain "normal" -- with just basically one commit per
each issue.  No one subsystem or arch or CVE with lots of changes.

I've put this 4.18.x queue through the usual testing; build testing
on x86-64/32, ARM-64/32, PPC and MIPS, plus some static analysis
and finally some sanity runtime tests on x86-64.

I did the signed tag just as per the previously released versions.
Please find a signed v4.18.24 tag using this key:

http://pgp.mit.edu/pks/lookup?op=vindex&search=0xEBCE84042C07D1D6

in the repo in the kernel.org directory here:

   https://git.kernel.org/cgit/linux/kernel/git/paulg/linux-4.18.y.git/
   git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.18.y.git

for merge to standard/base in linux-yocto-4.18 and then out from there
into the other base and BSP branches.

For those who are interested, the evolution of the commits is here:

   https://git.kernel.org/cgit/linux/kernel/git/paulg/longterm-queue-4.18.git/

This repo isn't needed for anything; it just exists for transparency and
so people can see the evolution of the raw commits that were originally
selected to create this 4.18.x release.

Paul.
-- 
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache][PATCH] qemuriscv64: Initial support for 64-bit QEMU RISC-V

2019-01-12 Thread Bruce Ashfield

On 2019-01-11 6:40 p.m., Alistair Francis wrote:

On Wed, Jan 9, 2019 at 9:34 AM Bruce Ashfield
 wrote:


On 2019-01-09 12:21 p.m., Alistair Francis wrote:

On Wed, Jan 9, 2019 at 9:18 AM Bruce Ashfield
 wrote:


On 2019-01-09 12:16 p.m., Alistair Francis wrote:

On Wed, Jan 9, 2019 at 8:34 AM Bruce Ashfield
 wrote:


Looks fine to me. This is on the 4.19 and master branches
of the kernel-cache.


Thanks Bruce!



I'll send SRCREV bumps for those kernel versions shortly.


Do you mind if I do it? I have a patch ready now to bump the SHA and
add qemuriscv64 as a supported machine.


I have it queued with a number of other changes, so it needs to
come along with that SRCREV bump.


Ah, no worries then.





Otherwise if you do can you add qemuriscv64 as compatible.



I'd have to test it first before I could add that. What would be
the steps to do that ? Is everything else in oe-core ?


We would also need to add the qemuriscv64 machine in order to build it.

The only thing we are missing after that is the bootloader, which
isn't in oe-core. We are working on a improved boot flow for RISC-V so
the current boot loader will probably never go into oe-core.


Gotcha.

I'm just tidying up the other changes. I do expect to have them
out today. So the wait won't be too long!


Any update on the SRCREV changes?


I just sent them a few minutes ago!

Bruce



Alistair



Bruce



Alistair



Bruce


Alistair



Cheers,

Bruce

On 2019-01-07 7:54 p.m., Alistair Francis wrote:

Signed-off-by: Alistair Francis 
---
 arch/riscv/riscv.cfg |  8 ++
 arch/riscv/riscv.scc |  4 +++
 bsp/qemuriscv64/qemuriscv64-standard.scc |  8 ++
 bsp/qemuriscv64/qemuriscv64.cfg  | 34 
 bsp/qemuriscv64/qemuriscv64.scc  |  1 +
 5 files changed, 55 insertions(+)
 create mode 100644 arch/riscv/riscv.cfg
 create mode 100644 arch/riscv/riscv.scc
 create mode 100644 bsp/qemuriscv64/qemuriscv64-standard.scc
 create mode 100644 bsp/qemuriscv64/qemuriscv64.cfg
 create mode 100644 bsp/qemuriscv64/qemuriscv64.scc

diff --git a/arch/riscv/riscv.cfg b/arch/riscv/riscv.cfg
new file mode 100644
index ..e19a967e
--- /dev/null
+++ b/arch/riscv/riscv.cfg
@@ -0,0 +1,8 @@
+
+CONFIG_RISCV=y
+CONFIG_RISCV_ISA_C=y
+CONFIG_RISCV_ISA_A=y
+
+CONFIG_RISCV_TIMER=y
+
+CONFIG_MMU=y
diff --git a/arch/riscv/riscv.scc b/arch/riscv/riscv.scc
new file mode 100644
index ..a792680a
--- /dev/null
+++ b/arch/riscv/riscv.scc
@@ -0,0 +1,4 @@
+if [ "$KARCH" = "riscv" ]; then
+ kconf hardware riscv.cfg
+ include cfg/timer/hz_100.scc
+fi
diff --git a/bsp/qemuriscv64/qemuriscv64-standard.scc 
b/bsp/qemuriscv64/qemuriscv64-standard.scc
new file mode 100644
index ..1725c4fa
--- /dev/null
+++ b/bsp/qemuriscv64/qemuriscv64-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE qemuriscv64
+define KTYPE standard
+define KARCH riscv64
+
+include ktypes/standard/standard.scc
+
+include cfg/virtio.scc
+include qemuriscv64.scc
diff --git a/bsp/qemuriscv64/qemuriscv64.cfg b/bsp/qemuriscv64/qemuriscv64.cfg
new file mode 100644
index ..3e51db56
--- /dev/null
+++ b/bsp/qemuriscv64/qemuriscv64.cfg
@@ -0,0 +1,34 @@
+#
+# RISC-V 64-bit
+#
+CONFIG_ARCH_RV64I=y
+CONFIG_64BIT=y
+
+#
+# Platform type
+#
+CONFIG_MAXPHYSMEM_128GB=y
+CONFIG_SMP=y
+CONFIG_NR_CPUS=8
+CONFIG_TUNE_GENERIC=y
+
+#
+# Bus support
+#
+CONFIG_PCI=y
+CONFIG_PCI_ECAM=y
+CONFIG_PCI_HOST_COMMON=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCIEPORTBUS=y
+
+#
+# Non-8250 serial port support
+#
+CONFIG_HVC_DRIVER=y
+CONFIG_HVC_RISCV_SBI=y
+CONFIG_VIRTIO_CONSOLE=y
+
+#
+# IRQ chip support
+#
+CONFIG_SIFIVE_PLIC=y
diff --git a/bsp/qemuriscv64/qemuriscv64.scc b/bsp/qemuriscv64/qemuriscv64.scc
new file mode 100644
index ..527a2878
--- /dev/null
+++ b/bsp/qemuriscv64/qemuriscv64.scc
@@ -0,0 +1 @@
+kconf hardware qemuriscv64.cfg









--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto