barrelfish
2 years agoarmv8,psci: use hvc/smc according to the ACPI release2018-05-08
Adam Turowski [Thu, 22 Mar 2018 10:39:21 +0000]
armv8,psci: use hvc/smc according to the ACPI

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoarmv8: disable for now PMUSERENR_EL0 because QEMU version <2.6.0 doesn't support it
Adam Turowski [Wed, 21 Mar 2018 10:08:08 +0000]
armv8: disable for now PMUSERENR_EL0 because QEMU version <2.6.0 doesn't support it

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoarmv8: separating the fvp and qemu targets, adding QEMU/aarch64 to harness
Adam Turowski [Tue, 20 Mar 2018 12:50:09 +0000]
armv8: separating the fvp and qemu targets, adding QEMU/aarch64 to harness

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoharness: pass the kernel options to the armv8's cpu driver
Adam Turowski [Fri, 16 Mar 2018 08:49:46 +0000]
harness: pass the kernel options to the armv8's cpu driver

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoarmv8: fixing some debug output
Adam Turowski [Wed, 14 Mar 2018 09:21:09 +0000]
armv8: fixing some debug output

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoarmv8: adding a missing debug syscall
Adam Turowski [Tue, 13 Mar 2018 18:13:02 +0000]
armv8: adding a missing debug syscall

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoaarch64: fixing memory allocation
Adam Turowski [Tue, 13 Mar 2018 16:52:32 +0000]
aarch64: fixing memory allocation

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoharness: proc_mgmt_test: improve core selection for test runner
Simon Gerber [Wed, 21 Feb 2018 12:51:05 +0000]
harness: proc_mgmt_test: improve core selection for test runner

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agoharness: fix confusion about whether no kernel/boot driver args is None or an empty...
Simon Gerber [Wed, 21 Feb 2018 08:59:14 +0000]
harness: fix confusion about whether no kernel/boot driver args is None or an empty list

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agopmap: naming unification
Adam Turowski [Mon, 12 Mar 2018 13:12:32 +0000]
pmap: naming unification

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

2 years agoMerge branch 'pci_next'
Roni Häcki [Fri, 9 Mar 2018 13:04:24 +0000]
Merge branch 'pci_next'

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: added check if queue is full
Roni Häcki [Fri, 9 Mar 2018 12:55:42 +0000]
e1000: added check if queue is full

There were no checks if the queue is full when enqueueing
using de the device queue interface

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoskb: changed e1000 core hint to core 1
Roni Häcki [Fri, 9 Mar 2018 12:53:21 +0000]
skb: changed e1000 core hint to core 1

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: driver can detect I219
Roni Häcki [Fri, 9 Mar 2018 09:34:19 +0000]
e1000: driver can detect I219

Should be similar to I210 but needs testing

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agonet_sockets: ensure struct is zeroed
Roni Häcki [Fri, 9 Mar 2018 09:20:45 +0000]
net_sockets: ensure struct is zeroed

A function pointer might be != NULL otherwise and lead to problems
with the xeon phi test

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoharness: adding missing module to tftp test
Roni Häcki [Fri, 9 Mar 2018 07:55:05 +0000]
harness: adding missing module to tftp test

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agolibnet: parsing device, function, and bus from kalugas argumentsfor e10k
Roni Häcki [Wed, 7 Mar 2018 12:01:37 +0000]
libnet: parsing device, function, and bus from kalugas argumentsfor e10k

Similar as for e1000. Disable using VFs for now, since there are some
other dependencies to vtd etc.

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: fixed assertion that sometimes fails
Roni Häcki [Wed, 7 Mar 2018 11:58:45 +0000]
kaluga: fixed assertion that sometimes fails

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agonet: make old networking code compile
Roni Häcki [Wed, 7 Mar 2018 11:56:59 +0000]
net: make old networking code compile

Should clean this up at some point ...

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe10k: enabling virtual functions in driver and device queue backend
Roni Häcki [Wed, 7 Mar 2018 11:54:39 +0000]
e10k: enabling virtual functions in driver and device queue backend

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoPCI: enabling lookup of virtual functions for e10k.
Roni Häcki [Wed, 7 Mar 2018 11:49:16 +0000]
PCI: enabling lookup of virtual functions for e10k.

Hardcoded check to skip discovery if BARs of VFS removed.
E10k now works because since we use advanced descriptors

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe10k: devif backend working advanced descriptors
Roni Häcki [Wed, 7 Mar 2018 11:46:54 +0000]
e10k: devif backend working advanced descriptors

Advanced descriptors are needed for using VFs. As soon as
SR-IOV is enabled, the card no longer works with legacy
descriptors.

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe10k: fixed wrong mackarel register declaration
Roni Häcki [Wed, 7 Mar 2018 11:44:09 +0000]
e10k: fixed wrong mackarel register declaration

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: Use multi instance flag when creating driver domains
Lukas Humbel [Tue, 6 Mar 2018 10:02:04 +0000]
kaluga: Use multi instance flag when creating driver domains

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agocoreboot: fixing bug that tries to access global defined symbol 'end'
Reto Achermann [Mon, 5 Mar 2018 10:07:38 +0000]
coreboot: fixing bug that tries to access global defined symbol 'end'

Cleanup of unused benchmarking code, which references a linker symbol past the
last byte of the data section which may cause pagefaults when accessed.

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

2 years agopci: fixed SR-IOV
Roni Häcki [Wed, 28 Feb 2018 16:31:37 +0000]
pci: fixed SR-IOV

SR-IOV physical base address computation was wrong as the
values used were not the whole register read, but the
bits that make up the address part of the BAR (and then shifted).

Was already fixed a while in ago for non SR-IOV

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: compile for armv8
Roni Häcki [Wed, 28 Feb 2018 10:38:29 +0000]
kaluga: compile for armv8

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoFix kaluga compilation on armv7
Lukas Humbel [Wed, 28 Feb 2018 10:03:16 +0000]
Fix kaluga compilation on armv7

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agokaluga: also starts net_sockets_server correctly for mlx4 release2018-02-23
Roni Häcki [Wed, 21 Feb 2018 09:12:34 +0000]
kaluga: also starts net_sockets_server correctly for mlx4

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokernel,armv8: fix mapping code to use new mapping cap format
Simon Gerber [Tue, 20 Feb 2018 17:46:45 +0000]
kernel,armv8: fix mapping code to use new mapping cap format

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel,armv7: fix mapping code to use new mapping cap format
Simon Gerber [Tue, 20 Feb 2018 17:43:27 +0000]
kernel,armv7: fix mapping code to use new mapping cap format

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agolibbarrelfish,arm: add missing cap invocation wrapper for vnode_modify_flags
Simon Gerber [Tue, 20 Feb 2018 17:42:54 +0000]
libbarrelfish,arm: add missing cap invocation wrapper for vnode_modify_flags

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel: capabilities: mapping types: remove offset field and switch to ptable+entry
Simon Gerber [Mon, 11 Dec 2017 16:34:23 +0000]
kernel: capabilities: mapping types: remove offset field and switch to ptable+entry

To eliminate the need for looking up page table capabilities by address when
cleaning up mappings etc, we switch the mapping capability types to hold a
pointer to the page table capability and the entry in the capability instead
of just a pointer to the first page table entry which corresponds to the
mapping.

To make room for the additional two bytes, we remove the offset into the
mapped capability which was present in the mappings but never used.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel: cap_delete: cleanup_last: do unmap when deleting last copy of mapping
Simon Gerber [Thu, 21 Dec 2017 09:50:14 +0000]
kernel: cap_delete: cleanup_last: do unmap when deleting last copy of mapping

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agomonitor: capops: initialize delete stepping in BSP monitor before going into event...
Simon Gerber [Mon, 11 Dec 2017 16:27:04 +0000]
monitor: capops: initialize delete stepping in BSP monitor before going into event loop

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agolibbarrelfish: refill root slot allocator when two slots are free (up from one)
Simon Gerber [Mon, 11 Dec 2017 16:26:25 +0000]
libbarrelfish: refill root slot allocator when two slots are free (up from one)

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agolibvfs: vfs_fd: set errno to sensible value for more vfs_fd operations
Simon Gerber [Tue, 5 Dec 2017 16:43:57 +0000]
libvfs: vfs_fd: set errno to sensible value for more vfs_fd operations

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agolibbarrelfish,ram_alloc_fixed: fix assertion about amount of basecn caps
Simon Gerber [Tue, 5 Dec 2017 16:40:29 +0000]
libbarrelfish,ram_alloc_fixed: fix assertion about amount of basecn caps

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agohake: x86_64: remove verbose flag for linker
Simon Gerber [Tue, 5 Dec 2017 08:51:47 +0000]
hake: x86_64: remove verbose flag for linker

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel,x86_64: fix refactored modify_flags()
Simon Gerber [Mon, 4 Dec 2017 14:01:41 +0000]
kernel,x86_64: fix refactored modify_flags()

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agotwolevel slot alloc: resize rootcn when one slot left instead of when out of slots
Simon Gerber [Wed, 15 Mar 2017 10:11:17 +0000]
twolevel slot alloc: resize rootcn when one slot left instead of when out of slots

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agoT166: fix vnode_modify_flags
Simon Gerber [Wed, 7 Oct 2015 16:54:43 +0000]
T166: fix vnode_modify_flags

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agoT166: x86_64: implement vnode_modify_flags
Simon Gerber [Wed, 7 Oct 2015 03:49:57 +0000]
T166: x86_64: implement vnode_modify_flags

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agolibc: properly propagate errno values for open,read,write,close,lseek
Simon Gerber [Tue, 5 Dec 2017 16:43:26 +0000]
libc: properly propagate errno values for open,read,write,close,lseek

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel: paging_generic: remove declaration of non-existent function
Simon Gerber [Sat, 9 Dec 2017 16:44:00 +0000]
kernel: paging_generic: remove declaration of non-existent function

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokernel: paging_generic: fix create_mapping_cap() argument type to properly require...
Simon Gerber [Sat, 9 Dec 2017 16:42:45 +0000]
kernel: paging_generic: fix create_mapping_cap() argument type to properly require lpaddr of pte

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

2 years agokaluga: fixed oldstyle driver startup
Roni Häcki [Mon, 19 Feb 2018 16:09:25 +0000]
kaluga: fixed oldstyle driver startup

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoint_rout: disable debugging printfs
Roni Häcki [Mon, 19 Feb 2018 16:08:38 +0000]
int_rout: disable debugging printfs

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: removed unneeded debug statement
Roni Häcki [Mon, 19 Feb 2018 16:00:09 +0000]
kaluga: removed unneeded debug statement

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agosfn5122f: enabling interrupts in the driver again
Roni Häcki [Mon, 19 Feb 2018 13:32:18 +0000]
sfn5122f: enabling interrupts in the driver again

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: default start function for mlx4 added again
Roni Häcki [Mon, 19 Feb 2018 13:25:17 +0000]
kaluga: default start function for mlx4 added again

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: default use legacy interrupts except when unter test in qemu
Roni Häcki [Mon, 19 Feb 2018 13:24:36 +0000]
e1000: default use legacy interrupts except when unter test in qemu

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: fix compilation xeon phi
Roni Häcki [Mon, 19 Feb 2018 13:23:44 +0000]
kaluga: fix compilation xeon phi

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoharness: adapted networking test
Roni Häcki [Mon, 19 Feb 2018 09:16:59 +0000]
harness: adapted networking test

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: interrupt working with net_socket_server
Roni Häcki [Fri, 16 Feb 2018 15:15:33 +0000]
e1000: interrupt working with net_socket_server

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoFix annoying double pci_change events
Lukas Humbel [Wed, 7 Feb 2018 16:29:24 +0000]
Fix annoying double pci_change events

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoFix irqtest
Lukas Humbel [Wed, 7 Feb 2018 16:08:28 +0000]
Fix irqtest

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoCorrect irq delivery in int_route client
Lukas Humbel [Wed, 7 Feb 2018 13:41:42 +0000]
Correct irq delivery in int_route client

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoImplement pci controller driver
Lukas Humbel [Tue, 6 Feb 2018 09:58:26 +0000]
Implement pci controller driver

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoPass IRQ caps to e1k devif backend, add PCI int ctrl
Lukas Humbel [Mon, 5 Feb 2018 17:02:59 +0000]
Pass IRQ caps to e1k devif backend, add PCI int ctrl

We add a dedicated legacy PCI interrupt controller, that will
activate interrupts in the PCI conf space. It works analogous
to the MSIx case then. The controller driver is not yet implemented.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoe1000: setting up legacy/msi-x interrupts
Roni Häcki [Thu, 25 Jan 2018 12:42:56 +0000]
e1000: setting up legacy/msi-x interrupts

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: setup of MSI-X depending on mac type
Roni Häcki [Thu, 25 Jan 2018 10:19:34 +0000]
e1000: setup of MSI-X depending on mac type

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: added function to check if a e1000 type supports MSIX
Roni Häcki [Thu, 25 Jan 2018 10:17:44 +0000]
e1000: added function to check if a e1000 type supports MSIX

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: fixed compilation error
Roni Häcki [Thu, 25 Jan 2018 10:16:52 +0000]
e1000: fixed compilation error

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: change start function for e1000 and sfn5122f driver to new style
Roni Häcki [Wed, 24 Jan 2018 09:45:15 +0000]
kaluga: change start function for e1000 and sfn5122f driver to new style

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: fixed copying mac address on control message
Roni Häcki [Wed, 24 Jan 2018 09:43:45 +0000]
e1000: fixed copying mac address on control message

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agosolarflare: fixed bug with register cap
Roni Häcki [Wed, 24 Jan 2018 09:08:48 +0000]
solarflare: fixed bug with register cap

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: split driver into control and data plane parts
Roni Häcki [Tue, 23 Jan 2018 08:58:18 +0000]
e1000: split driver into control and data plane parts

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agodevif: move e1000 backend to usr/driver/e1000/
Roni Häcki [Tue, 23 Jan 2018 08:56:01 +0000]
devif: move e1000 backend to usr/driver/e1000/

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: driver startup hand over pci arguments in right manner
Roni Häcki [Tue, 23 Jan 2018 08:52:05 +0000]
kaluga: driver startup hand over pci arguments in right manner

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agohake: default menu.lst upated
Roni Häcki [Tue, 23 Jan 2018 08:48:13 +0000]
hake: default menu.lst upated

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: start e1000 using new driver model
Roni Häcki [Tue, 23 Jan 2018 08:47:03 +0000]
kaluga: start e1000 using new driver model

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agopci: add call to init interrupts using a cap
Roni Häcki [Tue, 23 Jan 2018 08:45:58 +0000]
pci: add call to init interrupts using a cap

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agolibnet: create queue use pci octet serialization functions
Roni Häcki [Fri, 19 Jan 2018 14:34:15 +0000]
libnet: create queue use pci octet serialization functions

kaluga uses the "marshalling" function of pci arguments so
net_queue should use the counterpart

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agolibnet: net_queue return error if e1000 could not be initalized
Roni Häcki [Fri, 19 Jan 2018 14:10:05 +0000]
libnet: net_queue return error if e1000 could not be initalized

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: simplified networking startup
Roni Häcki [Fri, 19 Jan 2018 14:09:03 +0000]
kaluga: simplified networking startup

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoskb: added interrupt model to e1000
Roni Häcki [Thu, 18 Jan 2018 15:07:53 +0000]
skb: added interrupt model to e1000

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agosolarflare: adapt to new pci driver interface
Roni Häcki [Thu, 18 Jan 2018 15:06:27 +0000]
solarflare: adapt to new pci driver interface

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: adapted to new pci driver interface
Roni Häcki [Thu, 18 Jan 2018 15:02:29 +0000]
e1000: adapted to new pci driver interface

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agopci: pci driver client simplified interface
Roni Häcki [Thu, 18 Jan 2018 15:00:46 +0000]
pci: pci driver client simplified interface

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: fixed bug in copying driver arguments
Roni Häcki [Thu, 18 Jan 2018 14:55:56 +0000]
kaluga: fixed bug in copying driver arguments

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoe1000: added driver domain application
Roni Häcki [Thu, 18 Jan 2018 10:08:20 +0000]
e1000: added driver domain application

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agokaluga: removed driver domain hacks for e1000
Roni Häcki [Thu, 18 Jan 2018 10:00:11 +0000]
kaluga: removed driver domain hacks for e1000

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoGetting the cap in pci_driver_client
Lukas Humbel [Thu, 18 Jan 2018 09:10:53 +0000]
Getting the cap in pci_driver_client

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agokaluga: added missing dependency
Roni Häcki [Thu, 18 Jan 2018 08:49:31 +0000]
kaluga: added missing dependency

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoSFN: solarflare driver with new driver framework
Roni Häcki [Thu, 18 Jan 2018 08:48:47 +0000]
SFN: solarflare driver with new driver framework

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoMerge branch 'master' into pci_next
Lukas Humbel [Wed, 17 Jan 2018 14:08:38 +0000]
Merge branch 'master' into pci_next

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoStart of pci driver client library.
Lukas Humbel [Fri, 12 Jan 2018 08:54:42 +0000]
Start of pci driver client library.

Starting to implement the pci_driver_client lib and adopting e1000
driverdriver to use it. This is the interface
that newstyle pci drivers should use.  This commit introduces a bug,
that kaluga gets a trigger twice for the same device, which confuses
kaluga.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoRemoving multiple caps per bar
Lukas Humbel [Tue, 9 Jan 2018 16:04:50 +0000]
Removing multiple caps per bar

Our capabilites now allow byte-granularity, therefore we can always
have one cap per PCI BAR.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoUnify use of struct pci_address, refactor kaluga driver startup
Lukas Humbel [Mon, 8 Jan 2018 16:41:15 +0000]
Unify use of struct pci_address, refactor kaluga driver startup

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoe1000 irqtest run in driverdomain, newstyle PCI startup
Lukas Humbel [Mon, 8 Jan 2018 13:57:51 +0000]
e1000 irqtest run in driverdomain, newstyle PCI startup

Kaluga starts PCI drivers in a newstyle driver domain. With this commit,
interrupts capabilities are passed to the init function. PCI bars and EP
not yet.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agolibnet: dhcp fixed bug in case of polling
Roni Häcki [Wed, 17 Jan 2018 11:56:13 +0000]
libnet: dhcp fixed bug in case of polling

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

2 years agoStart of pci driver client library.
Lukas Humbel [Fri, 12 Jan 2018 08:54:42 +0000]
Start of pci driver client library.

Starting to implement the pci_driver_client lib and adopting e1000
driverdriver to use it. This is the interface
that newstyle pci drivers should use.  This commit introduces a bug,
that kaluga gets a trigger twice for the same device, which confuses
kaluga.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoRemoving multiple caps per bar
Lukas Humbel [Tue, 9 Jan 2018 16:04:50 +0000]
Removing multiple caps per bar

Our capabilites now allow byte-granularity, therefore we can always
have one cap per PCI BAR.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoUnify use of struct pci_address, refactor kaluga driver startup
Lukas Humbel [Mon, 8 Jan 2018 16:41:15 +0000]
Unify use of struct pci_address, refactor kaluga driver startup

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoe1000 irqtest run in driverdomain, newstyle PCI startup
Lukas Humbel [Mon, 8 Jan 2018 13:57:51 +0000]
e1000 irqtest run in driverdomain, newstyle PCI startup

Kaluga starts PCI drivers in a newstyle driver domain. With this commit,
interrupts capabilities are passed to the init function. PCI bars and EP
not yet.

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoKaluga: Fix rebase instantiate_driver_domain
Lukas Humbel [Fri, 22 Dec 2017 15:37:37 +0000]
Kaluga: Fix rebase instantiate_driver_domain

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoKaluga: Make unified irq src caps work on armv7
Lukas Humbel [Fri, 22 Dec 2017 15:27:42 +0000]
Kaluga: Make unified irq src caps work on armv7

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agokaluga: Make sure start_decnet doesnt break x86
Lukas Humbel [Fri, 22 Dec 2017 14:38:01 +0000]
kaluga: Make sure start_decnet doesnt break x86

Also refactor irq src cap management int int_caps.c/h

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

2 years agoSockeye: enumerate node inputs, use it for interrupts
Lukas Humbel [Tue, 19 Dec 2017 18:03:27 +0000]
Sockeye: enumerate node inputs, use it for interrupts

Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>