Alexander Boettcher
1592e78387
pci: handle 'class' alias correctly
...
Fixes #1541
2015-05-27 11:38:54 +02:00
Alexander Boettcher
6133acb179
pci: use per pci session a separate device_pd
...
Fixes #1539
2015-05-27 11:37:18 +02:00
Alexander Boettcher
3a021c4c29
pci: deny access to registers used by pci driver
...
Fixes #1532
2015-05-27 11:28:06 +02:00
Norman Feske
bf031b174a
demo.run: start scout at startup
...
To be consistent with the documentation, we have to start scout instead
of launchpad right at the start of the default demo scenario.
2015-05-26 09:40:05 +02:00
Christian Prochaska
918895a4f4
vfs: increment 'seek_offset' in block file system
...
Fixes #1535
2015-05-26 09:40:04 +02:00
Emery Hemingway
5fc8ed3e6b
file system servers must not use null tx buffers
...
Fixes #1534
2015-05-26 09:40:04 +02:00
Stefan Kalkowski
73c3a81e0b
base: make PD session upgradeable
...
Ref #1443
2015-05-26 09:40:02 +02:00
Christian Helmuth
140ecb1238
linux: prevent hybrid-mode compiler warnings
2015-05-26 09:39:53 +02:00
Christian Helmuth
97889935cf
pci: fix compiler warning
2015-05-26 09:39:52 +02:00
Alexander Boettcher
869fac8f76
pci: print irq/msi vector when a device gets used
2015-05-26 09:39:52 +02:00
Alexander Boettcher
dd7ddae0e9
pci: add readme to pci_drv, adjust acpi_drv README
2015-05-26 09:39:52 +02:00
Alexander Boettcher
51b79d7da6
pci: support disabling msis
2015-05-26 09:39:52 +02:00
Christian Helmuth
7d39304050
rpi: fix response initialization in platform_drv
...
GCC 4.9 legitimately whines that const members of responses must be
initialized on construction.
2015-05-26 09:39:51 +02:00
Christian Helmuth
4dad09203a
input_merger: fix compiler warning
2015-05-26 09:39:51 +02:00
Norman Feske
e2fe071871
Minor comment refinements for the manual
2015-05-26 09:39:50 +02:00
Alexander Boettcher
8fa802815d
pci: fix wrong warning about multiple usage
...
Issue #1487
2015-05-26 09:39:48 +02:00
Sebastian Sumpf
8eb2286f60
part_blk: propagate back end information
...
Propagate supported device operations and read/write errors from back end to
client.
2015-05-26 09:39:46 +02:00
Sebastian Sumpf
9d4f410988
test: block benchmarking
2015-05-20 17:52:58 +02:00
Sebastian Sumpf
ff12ea01d5
blk_cli: add support for test size
...
'test_size' can be set as parameter in <config> node.
2015-05-20 17:52:58 +02:00
Sebastian Sumpf
7910b5146f
ahci: new AHCI driver implementation
...
Supports native command queueing and multiple ports.
2015-05-20 17:52:58 +02:00
Sebastian Sumpf
33bc63e7c3
os: rename 'bswap' to 'host_to_big_endian'
2015-05-20 17:52:58 +02:00
Alexander Boettcher
a312d440c8
acpi: use local irq service for pci slave
...
Fixes base-foc issue on qemu caused by wrong set irq polarity and trigger mode.
Bug introduced in #1471
Issue #1216
2015-05-20 17:52:57 +02:00
Alexander Boettcher
2ceecd44f9
pci: assign device during pci config cmd write
...
Issue #1216
2015-05-20 17:52:57 +02:00
Alexander Boettcher
3eed3ad329
ahci: use MSIs on x86
...
- remove code for disabling MSIs
Issue #1216
2015-05-20 17:52:57 +02:00
Alexander Boettcher
ecc9007e84
pci: add msi support to platform driver
...
Fixes #1216
2015-05-20 17:52:56 +02:00
Alexander Boettcher
d998df3b7f
base: extend irq session to support MSIs
...
Works on base-nova and base-foc, the other kernels have no MSI support.
Issue #1216
2015-05-20 17:39:14 +02:00
Josef Söntgen
df04b17594
os: show played times in Audio_out test
...
The message may be used by a run script to signal successfull testing.
Issue #1498 .
2015-05-06 16:18:31 +02:00
Josef Söntgen
4b687f4b1a
pci: add AUDIO to alias list
...
Strictly speaking we make AUDIO an alias for PCI_CLASS_MULTIMEDIA
and ignore any sub class.
Issue #1498 .
2015-05-06 16:18:20 +02:00
Christian Prochaska
1001a04883
usb_drv improvements
...
- send a 'state_change' signal on session creation if the device is
already attached
- evaluate the status code of a finished asynchronous operation
- return the number of actually transferred bytes for control transfers,
too
Fixes #1490
2015-05-06 12:01:30 +02:00
Alexander Boettcher
b7f2b92dbc
pci: restrict usage of pci config space
...
White list access to ports we actually need for our drivers so far and
deny everything else by default. The extend pci config space dataspace is
currently not used and exposes a potential risk (BAR rewrite) - so deny.
Related to #1487
2015-05-06 10:55:22 +02:00
Alexander Boettcher
729ae0a838
pci: track usage of pci devices by drivers
...
Warn about if more than one driver uses the same device.
Issue #1487
2015-05-06 10:55:22 +02:00
Alexander Boettcher
65a3be856f
pci: provide io mem via device interface
...
Fixes #1487
2015-05-06 10:55:21 +02:00
Alexander Boettcher
f265b64d6d
ps2: use io port via device interface
...
Issue #1487
2015-05-06 10:55:21 +02:00
Alexander Boettcher
b7ca04ddde
dde_kit: use io ports via device interface
...
Issue #1487
2015-05-06 10:55:21 +02:00
Alexander Boettcher
c84817dd7b
pci_device:: add convenience phys to virt bar method
2015-05-06 10:55:21 +02:00
Alexander Boettcher
1006571c85
pci: provide io_ports via device interface
...
Issue #1487
2015-05-06 10:55:20 +02:00
Alexander Boettcher
6fa85dfd45
ahci: upgrade memory
2015-05-06 10:55:20 +02:00
Alexander Boettcher
0cf8d75346
dde_kit: upgrade ram support for device iteration
...
Issue #755
2015-05-06 10:55:20 +02:00
Alexander Boettcher
06e7c947bc
pci: use ram quota upgrade mechanism
...
Fixes #755
2015-05-06 10:55:19 +02:00
Alexander Boettcher
df50d1b29d
run: adjust autopilot run scripts to pci changes
...
Issue #1486
2015-05-06 10:55:19 +02:00
Alexander Boettcher
18b36fb339
acpi: provide pci policy to pci driver
...
Issue #1486
2015-05-06 10:55:19 +02:00
Alexander Boettcher
e527f6e5ac
ps2: use irqs via device interface
...
Issue #1486 and #1471
2015-05-06 10:55:19 +02:00
Alexander Boettcher
7770a0fbbe
pci: enforce policy on device discovery
...
Fixes #1486
2015-05-06 10:55:19 +02:00
Alexander Boettcher
8743575dcf
pci: support discovery of non pci devices
...
Issue #1486
2015-05-06 10:55:19 +02:00
Alexander Boettcher
e4d663cf41
pci: remove device_cap from dma calls
...
Issue #1486
2015-05-06 10:55:18 +02:00
Alexander Boettcher
6dd9d349fc
pci: support shared irqs (x86)
...
Step to move shared irq handling out of core in the long run. So, use
irq_proxy implementation from base in os and implement shared irq handling
in platform driver of x86 (pci_drv).
Fixes #1471
2015-05-06 10:55:18 +02:00
Alexander Boettcher
31faee3b5c
pci: provide irq capability via device interface
...
Issue #1471
2015-05-06 10:55:17 +02:00
Emery Hemingway
55c0a947e4
Move generic fs helpers to os/include/file_system
...
Fixes #1488
2015-05-06 10:55:17 +02:00
Christian Helmuth
eee0bf5ab2
init: abort request on invalid route
...
Fixes #1423
2015-05-06 10:55:16 +02:00
Martin Stein
c9272937e7
CPU session: apply quota via relative weightings
...
Physical CPU quota was previously given to a thread on construction only
by directly specifying a percentage of the quota of the according CPU
session. Now, a new thread is given a weighting that can be any value.
The physical counter-value of such a weighting depends on the weightings
of the other threads at the CPU session. Thus, the physical quota of all
threads of a CPU session must be updated when a weighting is added or
removed. This is each time the session creates or destroys a thread.
This commit also adapts the "cpu_quota" test in base-hw accordingly.
Ref #1464
2015-05-06 10:55:16 +02:00