]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
5 years agoupas/fs: remove read timeout via alarm(2) in pop3resp
Alex Musolino [Mon, 20 May 2019 05:30:14 +0000 (15:00 +0930)]
upas/fs: remove read timeout via alarm(2) in pop3resp

The alarm note is not handled by upas/fs, so if and when it did fire,
the pop3 client process would terminate rendering the entire fs
unresponsive.

5 years agovmx: handle build arch exclude in /sys/src/cmd/mkfile
cinap_lenrek [Sun, 19 May 2019 15:11:57 +0000 (17:11 +0200)]
vmx: handle build arch exclude in /sys/src/cmd/mkfile

5 years agobcm, bcm64: fix cache operations for dma and emmc
cinap_lenrek [Sun, 19 May 2019 14:54:50 +0000 (16:54 +0200)]
bcm, bcm64: fix cache operations for dma and emmc

always clean AND invalidate caches before dma read,
never just invalidate as the buffer might not be
aligned to cache lines...

we have to invalidate caches again *AFTER* the dma
read has completed. the processor can bring in data
speculatively into the cache while the dma in in
flight.

5 years agosshnet(4): ... and incoming TCP calls
cinap_lenrek [Sat, 18 May 2019 10:45:57 +0000 (12:45 +0200)]
sshnet(4): ... and incoming TCP calls

5 years agomerge
cinap_lenrek [Fri, 17 May 2019 17:01:14 +0000 (19:01 +0200)]
merge

5 years agobcm64: remove unneccesary tlb flush on mmuidmap()
cinap_lenrek [Fri, 17 May 2019 16:57:05 +0000 (18:57 +0200)]
bcm64: remove unneccesary tlb flush on mmuidmap()

5 years agobcm64: no need to flush instruction cache when switching TTBR0
cinap_lenrek [Fri, 17 May 2019 16:56:34 +0000 (18:56 +0200)]
bcm64: no need to flush instruction cache when switching TTBR0

5 years agobcm64: switch to 64k page size
cinap_lenrek [Fri, 17 May 2019 16:35:14 +0000 (18:35 +0200)]
bcm64: switch to 64k page size

5 years ago7l: don't hardcode 4k pagesize, use INITRND
cinap_lenrek [Fri, 17 May 2019 16:14:10 +0000 (18:14 +0200)]
7l: don't hardcode 4k pagesize, use INITRND

5 years agomerge
cinap_lenrek [Thu, 16 May 2019 23:53:27 +0000 (01:53 +0200)]
merge

5 years agomkone: fix man target (thanks Amavect)
cinap_lenrek [Thu, 16 May 2019 23:51:28 +0000 (01:51 +0200)]
mkone: fix man target (thanks Amavect)

Amavect wrote:
> mkone and mkmany have backwards targets for installing man pages.
> This patch makes 'mk man' actually work for mkfiles that include mkone.
> mkmany is not easily fixed without breaking changes.
> It may go without saying that external repos should write their own mkfiles.

5 years agodraw(3): memlorigin
23hiro [Wed, 15 May 2019 18:24:39 +0000 (20:24 +0200)]
draw(3): memlorigin

5 years agobcm64: generalize mmu code
cinap_lenrek [Wed, 15 May 2019 14:19:20 +0000 (16:19 +0200)]
bcm64: generalize mmu code

make user page table list heads arrays so we can
index into the right level avoiding the special
cases for differen PTLEVELS.

5 years agobcm64: fix mmu0clear() mistake from previous commit
cinap_lenrek [Wed, 15 May 2019 11:24:34 +0000 (13:24 +0200)]
bcm64: fix mmu0clear() mistake from previous commit

5 years agonusb(2): remove startdevs() reference, document getdev() (thanks BurnZeZ)
cinap_lenrek [Tue, 14 May 2019 07:06:09 +0000 (09:06 +0200)]
nusb(2): remove startdevs() reference, document getdev() (thanks BurnZeZ)

5 years agobcm: add cache invalidate before accessing prop buffer
cinap_lenrek [Mon, 13 May 2019 17:21:14 +0000 (19:21 +0200)]
bcm: add cache invalidate before accessing prop buffer

5 years agobcm64: implement reboot support
cinap_lenrek [Mon, 13 May 2019 17:20:21 +0000 (19:20 +0200)]
bcm64: implement reboot support

5 years agobcm, bcm64: preserve memsize across reboots, avoid trashing atags while parsing cmdline
cinap_lenrek [Mon, 13 May 2019 17:12:41 +0000 (19:12 +0200)]
bcm, bcm64: preserve memsize across reboots, avoid trashing atags while parsing cmdline

we override atag memory on reboot, so preserve
the memsize learned from atag as *maxmem plan9
variable. the global memsize variable is not
needed anymore.

avoid trashing the following atag when zero
terminating the cmdline string.

zero memory after plan9.ini variables.

5 years agodevip: do not lock selftab in ipselftabread(), remove unused fields from Ipself
cinap_lenrek [Sat, 11 May 2019 23:20:21 +0000 (01:20 +0200)]
devip: do not lock selftab in ipselftabread(), remove unused fields from Ipself

the Ipselftab is designed to not require locking on read
operation. locking the selftab in ipselftabread() risks
deadlock when accessing the user buffer creates a fault.

remove unused fields from the Ipself struct.

5 years agomemdraw(2): remove references to iprint()
BurnZeZ [Sat, 11 May 2019 15:28:18 +0000 (15:28 +0000)]
memdraw(2): remove references to iprint()

5 years agodevip: reset speed and delay on bind, adjust burst on mtu change, ifc->m nil check...
cinap_lenrek [Sat, 11 May 2019 15:22:33 +0000 (17:22 +0200)]
devip: reset speed and delay on bind, adjust burst on mtu change, ifc->m nil check, consistent error strings

initialize the rate limits when the device gets
bound, not when it is created. so that the
rate limtis get reset to default when the ifc
is reused.

adjust the burst delay when the mtu is changed.
this is to make sure that we allow at least one
full sized packet burst.

make a local copy of ifc->m before doing nil
check as it can change under us when we do
not have the ifc locked.

specify Ebound[] and Eunbound[] error strings
and use them consistently.

5 years agodevip: make sure ifc is bound in add6 ctl command
cinap_lenrek [Sat, 11 May 2019 12:54:10 +0000 (14:54 +0200)]
devip: make sure ifc is bound in add6 ctl command

5 years agodevip: remove unused c->car qlock, avoid potential deadlock in ipifcregisterproxy()
cinap_lenrek [Sat, 11 May 2019 12:01:26 +0000 (14:01 +0200)]
devip: remove unused c->car qlock, avoid potential deadlock in ipifcregisterproxy()

remove references to the unused Conv.car qlock.

ipifcregisterproxy() is called with the proxy
ifc wlock'd, which means we cannot acquire the
rwlock of the interfaces that will proxy for us
because it is allowed to rlock() multiple ifc's
in any order. to get arround this, we use canrlock()
and skip the interface when we cannot acquire the
lock.

the ifc should get wlock'd only when we are about
to modify the ifc or its lifc chain. that is when
adding or removing addresses. wlock is not required
when we addresses to the selfcache, which has its
own qlock.

5 years agodevip: avoid media bind/unbind kproc reader startup race, simplify etherbind
cinap_lenrek [Sat, 11 May 2019 05:22:34 +0000 (07:22 +0200)]
devip: avoid media bind/unbind kproc reader startup race, simplify etherbind

mark reader process pointers with (void*)-1 to mean
not started yet. this avoids the race condition when
media unbind happens before the kproc has set its
Proc* pointer. then we would not post the note and
the reader would continue running after unbind.

etherbind can be simplified by reading the #lX/addr
file to get the mac address, avoiding the temporary
buffer.

5 years agotimezones: add India (thanks joe9)
23hiro [Fri, 10 May 2019 23:23:59 +0000 (01:23 +0200)]
timezones: add India (thanks joe9)

5 years agobcm64: use exclusive monitor on nrdy to wake up idlehands()
cinap_lenrek [Fri, 10 May 2019 12:05:04 +0000 (14:05 +0200)]
bcm64: use exclusive monitor on nrdy to wake up idlehands()

when the exclusive monitor is cleared, a event is generated
which we can use to wake up idlehands. that way we do not
need to wait for the next timer interrupt until a cpu takes
work from the run queue.

5 years agoape: fix malloc to deal with more than 4GB of memory on 64 bit systems
cinap_lenrek [Fri, 10 May 2019 10:10:02 +0000 (12:10 +0200)]
ape: fix malloc to deal with more than 4GB of memory on 64 bit systems

5 years agolibc: fix return value for arm64 memset() and memove()
cinap_lenrek [Thu, 9 May 2019 10:40:03 +0000 (12:40 +0200)]
libc: fix return value for arm64 memset() and memove()

5 years agolibc: use MOVP instruction for arm64 memmove() and memset()
cinap_lenrek [Thu, 9 May 2019 09:40:54 +0000 (11:40 +0200)]
libc: use MOVP instruction for arm64 memmove() and memset()

5 years agobcm64: use MOVP instruction for saving and restoring registers
cinap_lenrek [Thu, 9 May 2019 09:11:45 +0000 (11:11 +0200)]
bcm64: use MOVP instruction for saving and restoring registers

5 years agolibmach: remove newline
cinap_lenrek [Thu, 9 May 2019 08:27:17 +0000 (10:27 +0200)]
libmach: remove newline

5 years agolibmach: support for MOVP instruction disassembly for arm64
cinap_lenrek [Thu, 9 May 2019 08:24:37 +0000 (10:24 +0200)]
libmach: support for MOVP instruction disassembly for arm64

5 years ago7l: implement MOVP instruction
cinap_lenrek [Thu, 9 May 2019 08:23:23 +0000 (10:23 +0200)]
7l: implement MOVP instruction

5 years agolibc: provide arm64 assembly versions for memmove() and memset()
cinap_lenrek [Thu, 9 May 2019 00:32:09 +0000 (02:32 +0200)]
libc: provide arm64 assembly versions for memmove() and memset()

just a first approximation, uses unaligned 8 byte loads and stores.
MOVP not yet implemented by the linker. no ZVA cache magic yet.

5 years agobcm64: map framebuffer write-through to allow unaligned access
cinap_lenrek [Thu, 9 May 2019 00:17:50 +0000 (02:17 +0200)]
bcm64: map framebuffer write-through to allow unaligned access

5 years agowadfs: avoid comma operator after PBIT32() macros
cinap_lenrek [Tue, 7 May 2019 19:49:49 +0000 (21:49 +0200)]
wadfs: avoid comma operator after PBIT32() macros

5 years agoplan9.ini(8), boot(8): clarify the use of $rootdir and $rootspec
cinap_lenrek [Tue, 7 May 2019 09:41:33 +0000 (11:41 +0200)]
plan9.ini(8), boot(8): clarify the use of $rootdir and $rootspec

5 years agonusb/usbd: work around devices that ignore the high byte of wLength in control transf...
cinap_lenrek [Tue, 7 May 2019 07:19:53 +0000 (09:19 +0200)]
nusb/usbd: work around devices that ignore the high byte of wLength in control transfer reads

there appear to be devices out there such as Realtek RTL2838UHIDIR
SDR that do not process control transfers correctly, ignoring the
high byte of the wLength field. to work around this, we specify an
odd number of bytes for read sizes >= 256 which keeps the low byte
0xFF.

5 years agoSand edges down on GBIT64()/PBIT64() macros.
Ori Bernstein [Tue, 7 May 2019 00:26:38 +0000 (17:26 -0700)]
Sand edges down on GBIT64()/PBIT64() macros.

Now, you can safely use them in unbraced if statements, and
with char*s.

5 years agomerge
cinap_lenrek [Mon, 6 May 2019 16:31:39 +0000 (18:31 +0200)]
merge

5 years agodist/mkfile: add *.pi3.img target for ARM64 raspberry pi3
cinap_lenrek [Mon, 6 May 2019 16:29:09 +0000 (18:29 +0200)]
dist/mkfile: add *.pi3.img target for ARM64 raspberry pi3

5 years agolib: update pci database
mischief [Sun, 5 May 2019 21:36:11 +0000 (14:36 -0700)]
lib: update pci database

5 years agobootrc: fix $rootdir and $rootspec handling (thanks lucio)
cinap_lenrek [Sun, 5 May 2019 15:02:37 +0000 (17:02 +0200)]
bootrc: fix $rootdir and $rootspec handling (thanks lucio)

we did not interpret the $rootdir and $rootspec environment
variables right. $rootdir is what gets bound to / (usually /root)
and $rootspec is the mountspec of /root.

5 years agobcm: make sure fiq is on enabled on cpu0
cinap_lenrek [Sun, 5 May 2019 12:04:27 +0000 (14:04 +0200)]
bcm: make sure fiq is on enabled on cpu0

5 years agobcm64: provide idlehands() function
cinap_lenrek [Sun, 5 May 2019 11:59:03 +0000 (13:59 +0200)]
bcm64: provide idlehands() function

5 years agobcm64: get rid of usb workaround delay
cinap_lenrek [Sun, 5 May 2019 11:57:48 +0000 (13:57 +0200)]
bcm64: get rid of usb workaround delay

5 years agousbdwc: enable Slowbuilkin workarround, improve split transaction timing, handle...
cinap_lenrek [Sun, 5 May 2019 11:34:02 +0000 (13:34 +0200)]
usbdwc: enable Slowbuilkin workarround, improve split transaction timing, handle erroring sleep(), debugging

i'v been seeing the error condition described above in the
Slowbulkin comment. so i'm enabling the work arround which
seems to fix the lockup.

in the split transaction case where we want to start the
transaction at frame start, acquire the ctlr lock *before*
checking if we are in the right frame number. so the start
will happen atomically. checking the software ctlr->sofchan
instead of checking the interrupt mask register seems to
be quicker.

setting the haint mask bit for the chan under ctlr lock
in chanio() instead of chanwait() avoids needing to acquire
the ctlr lock twice.

mask wakechan bits with busychan bitmap in interrupt handlers
so we will not try to wake up released chans by accident.

sleep() and tsleep() might get interrupted so we have to
release the split qlock in the split transaction case and
in all cases, make sure to halt the channel before release.

add some common debug functions to dump channel and controller
registers.

5 years agolibc: fix NaN check precedence bug in modf() (thanks BurnZeZ)
cinap_lenrek [Sat, 4 May 2019 22:26:17 +0000 (00:26 +0200)]
libc: fix NaN check precedence bug in modf() (thanks BurnZeZ)

5 years agoacid: add arm64 support
cinap_lenrek [Sat, 4 May 2019 01:06:10 +0000 (03:06 +0200)]
acid: add arm64 support

5 years agorootstub: add /sys/lib/dist/ndb/dhcp/
cinap_lenrek [Fri, 3 May 2019 21:59:27 +0000 (23:59 +0200)]
rootstub: add /sys/lib/dist/ndb/dhcp/

5 years agopc kernel: remove countpagerefs() (thanks BurnZeZ)
cinap_lenrek [Fri, 3 May 2019 21:52:49 +0000 (23:52 +0200)]
pc kernel: remove countpagerefs() (thanks BurnZeZ)

forgot to commit this...

5 years agokernel: exec support for arm64 binaries
cinap_lenrek [Fri, 3 May 2019 21:15:42 +0000 (23:15 +0200)]
kernel: exec support for arm64 binaries

5 years agobcm64: add experimental work in progress arm64 kernel for raspberry pi 3
cinap_lenrek [Fri, 3 May 2019 21:14:57 +0000 (23:14 +0200)]
bcm64: add experimental work in progress arm64 kernel for raspberry pi 3

5 years agobcm: don't call nil on PADDR() in dmaaddr(), return busdram dummy address
cinap_lenrek [Fri, 3 May 2019 20:53:09 +0000 (22:53 +0200)]
bcm: don't call nil on PADDR() in dmaaddr(), return busdram dummy address

5 years agobcm: move fiq saved pc adjust into lexception.s so it can be shared with arm64
cinap_lenrek [Fri, 3 May 2019 20:02:07 +0000 (22:02 +0200)]
bcm: move fiq saved pc adjust into lexception.s so it can be shared with arm64

5 years agouartpl011: dont touch line control while uart is enabled
cinap_lenrek [Fri, 3 May 2019 19:34:20 +0000 (21:34 +0200)]
uartpl011: dont touch line control while uart is enabled

5 years agoktrace: arm64 support
cinap_lenrek [Fri, 3 May 2019 19:16:23 +0000 (21:16 +0200)]
ktrace: arm64 support

5 years agoarm64: add mkfile
cinap_lenrek [Fri, 3 May 2019 19:12:31 +0000 (21:12 +0200)]
arm64: add mkfile

5 years agopython: arm64 support
cinap_lenrek [Fri, 3 May 2019 19:11:17 +0000 (21:11 +0200)]
python: arm64 support

5 years agogs: arm64 support
cinap_lenrek [Fri, 3 May 2019 19:10:45 +0000 (21:10 +0200)]
gs: arm64 support

5 years agogs: avoid stupid shifts by casting to uint64_t
cinap_lenrek [Fri, 3 May 2019 19:10:01 +0000 (21:10 +0200)]
gs: avoid stupid shifts by casting to uint64_t

5 years agoape: initial support for arm64
cinap_lenrek [Fri, 3 May 2019 19:06:46 +0000 (21:06 +0200)]
ape: initial support for arm64

5 years agolibthread: initial support for arm64
cinap_lenrek [Fri, 3 May 2019 19:03:12 +0000 (21:03 +0200)]
libthread: initial support for arm64

5 years agolibmp: add dummy mkfile for arm64
cinap_lenrek [Fri, 3 May 2019 19:02:13 +0000 (21:02 +0200)]
libmp: add dummy mkfile for arm64

5 years agolibsec: dummy mkfile for arm64
cinap_lenrek [Fri, 3 May 2019 19:01:29 +0000 (21:01 +0200)]
libsec: dummy mkfile for arm64

5 years agolibmach: initial arm64 support
cinap_lenrek [Fri, 3 May 2019 19:00:17 +0000 (21:00 +0200)]
libmach: initial arm64 support

5 years agolibc: initial arm64 support
cinap_lenrek [Fri, 3 May 2019 18:57:30 +0000 (20:57 +0200)]
libc: initial arm64 support

5 years ago7l: add missing AFMOVD with EXT/AUTO/LOREG operands to optab
cinap_lenrek [Wed, 1 May 2019 11:11:20 +0000 (13:11 +0200)]
7l: add missing AFMOVD with EXT/AUTO/LOREG operands to optab

5 years agokernel: get rid of checkpagerefs() debugging
cinap_lenrek [Wed, 1 May 2019 10:40:27 +0000 (12:40 +0200)]
kernel: get rid of checkpagerefs() debugging

was only implemented by the pc kernel. does not
account pages used by the mount cache.

5 years agokernel: export freepages() function so it can be used in mmurelease()
cinap_lenrek [Wed, 1 May 2019 08:07:39 +0000 (10:07 +0200)]
kernel: export freepages() function so it can be used in mmurelease()

5 years agokernel: include lock pointer in error report, stop spamming lockloop prints when...
cinap_lenrek [Wed, 1 May 2019 07:39:02 +0000 (09:39 +0200)]
kernel: include lock pointer in error report, stop spamming lockloop prints when we are panicing

5 years agokernel: insert memory barrier in the scheduler before setting up->mach = nil
cinap_lenrek [Wed, 1 May 2019 07:35:51 +0000 (09:35 +0200)]
kernel: insert memory barrier in the scheduler before setting up->mach = nil

we have to ensure that all stores saving the process state
have completed before setting up->mach = nil in the scheduler.
otherwise, another cpu could observe up->mach == nil while
the stores such as the processes p->sched label have not finnished.

5 years ago[5678vq]c: fix .safe node type for *FUNC() = *FUNC() sugen
cinap_lenrek [Wed, 1 May 2019 06:55:24 +0000 (08:55 +0200)]
[5678vq]c: fix .safe node type for *FUNC() = *FUNC() sugen

5 years agovmx: build vmx only for 386 or amd64
cinap_lenrek [Wed, 1 May 2019 06:19:29 +0000 (08:19 +0200)]
vmx: build vmx only for 386 or amd64

vmx uses non portable word unpacking macros, breaking
the build for arm64. vmx only works on a pc anyway.
this forces objtype to 386 on these machines, similar
to what the kernel mkfiles do.

5 years agoether8169: fix thinkpad A485 ethernet (thanks mischief)
cinap_lenrek [Sat, 27 Apr 2019 19:55:16 +0000 (21:55 +0200)]
ether8169: fix thinkpad A485 ethernet (thanks mischief)

attached is a patch to fix receive in the 8169 chip on my thinkpad
A485. i'm not sure why, but the same thing was done in 3d56a0fc4645
for Macv45.

nick

5 years ago7c: don't emit SXTW for non-register source operand
cinap_lenrek [Thu, 25 Apr 2019 17:44:16 +0000 (19:44 +0200)]
7c: don't emit SXTW for non-register source operand

5 years agodistproto: add /lib/news/ (thanks lyndon)
cinap_lenrek [Tue, 23 Apr 2019 13:15:26 +0000 (15:15 +0200)]
distproto: add /lib/news/ (thanks lyndon)

5 years ago7l: there is no BIC* $bimm variant
cinap_lenrek [Mon, 22 Apr 2019 01:05:51 +0000 (03:05 +0200)]
7l: there is no BIC* $bimm variant

5 years agousbxhci: make stuck usb transactions interruptable.
cinap_lenrek [Fri, 19 Apr 2019 21:39:47 +0000 (23:39 +0200)]
usbxhci: make stuck usb transactions interruptable.

some control transactions can confuse the xhci controller so
much that it even fails to respond to command abort or STOPEP
control command. with no way for us to abort the transaction
but a full controller reset.

we give the controller 5 seconds to abort our initial
transaction and if that fails we wake the recover process
to reset the controller.

thanks mischief for testing.

5 years agodistproto: add /lib/ndb/dhcp/ directory (thanks lyndon)
cinap_lenrek [Fri, 19 Apr 2019 21:31:24 +0000 (23:31 +0200)]
distproto: add /lib/ndb/dhcp/ directory (thanks lyndon)

5 years agonusb/usbd: stop sending port enable commands
mischief [Thu, 18 Apr 2019 09:48:35 +0000 (02:48 -0700)]
nusb/usbd: stop sending port enable commands

from what i can tell, sending port enable is a spec violation.

this fixes a hang during hub enumeration in the ASMedia
xhci controller when i plug in my IBM UltraNav SK-8845.

also, send unsuspend when port is suspended instead of enable.

from the USB 2 specification:

11.24.2.7.1.2 PORT_ENABLE
...
This bit may be set only as a result of a SetPortFeature(PORT_ENABLE).
...
The hub response to a SetPortFeature(PORT_ENABLE) request is not specified.

5 years ago7l: deal with huge (negative or > 24bit) register offsets, fix LACON, avoid DWORD...
cinap_lenrek [Wed, 17 Apr 2019 21:43:59 +0000 (23:43 +0200)]
7l: deal with huge (negative or > 24bit) register offsets, fix LACON, avoid DWORD in constant pool when we can sign extend

5 years ago7c: fix long to vlong/pointer conversion, avoid negative immediate offsets
cinap_lenrek [Wed, 17 Apr 2019 21:38:00 +0000 (23:38 +0200)]
7c: fix long to vlong/pointer conversion, avoid negative immediate offsets

we have to explicitely convert to vlong by sign or
zero extending as not every operation leaves a proper
zero/sign extended result in the register. for example
NEGW will zero extend, breaking negative int offsets
on pointers.

we explicitely insert SXTW or MOVWU instructions which
the peephole optimizer takes out again when it is safe
todo so.

when promoting constant offsets to immediate offsets,
make sure the offset will be in range. otherwise the
linker will produce not so optimal pointer arithmetic
instructions to calculate the offset.

5 years agodevsd: fix sddelpart() AGAIN
cinap_lenrek [Tue, 16 Apr 2019 14:25:33 +0000 (16:25 +0200)]
devsd: fix sddelpart() AGAIN

the previous "fix" missed to advance pp so after
we hit a invalid partition all following partitions
would be ignored.

5 years agoawk: fix nextfile crash (thanks leetspete)
cinap_lenrek [Tue, 16 Apr 2019 14:13:30 +0000 (16:13 +0200)]
awk: fix nextfile crash (thanks leetspete)

to reproduce the bug:

term% awk 'BEGIN{nextfile; nextfile;}'
sys: trap: fault read addr=0x10 pc=0x00019a3a
awk 6584: suicide: sys: trap: fault read addr=0x10 pc=0x00019a3a

5 years agodevsd: fix panic when using "delpart" to remove a partition that was already removed
BurnZeZ [Mon, 15 Apr 2019 19:48:03 +0000 (19:48 +0000)]
devsd: fix panic when using "delpart" to remove a partition that was already removed

5 years agopc: audiohda: recognize AMD Family 17h hd audio controller
mischief [Sun, 14 Apr 2019 06:11:19 +0000 (23:11 -0700)]
pc: audiohda: recognize AMD Family 17h hd audio controller

5 years agopc: devarch: recognize AMD Ryzen model
mischief [Sun, 14 Apr 2019 06:08:26 +0000 (23:08 -0700)]
pc: devarch: recognize AMD Ryzen model

5 years agopc: pci: add AMD FCH LPC bridge to southbridges
mischief [Sun, 14 Apr 2019 06:07:57 +0000 (23:07 -0700)]
pc: pci: add AMD FCH LPC bridge to southbridges

5 years agonusb/usbd: fix dump %U formatter
mischief [Sun, 14 Apr 2019 05:37:52 +0000 (22:37 -0700)]
nusb/usbd: fix dump %U formatter

5 years agoip(3): document TCP ctl close command
BurnZeZ [Sun, 14 Apr 2019 04:50:55 +0000 (04:50 +0000)]
ip(3): document TCP ctl close command

5 years agodevip: reject bad numeric ports (such as 9fs -> 9)
cinap_lenrek [Sun, 14 Apr 2019 01:22:05 +0000 (03:22 +0200)]
devip: reject bad numeric ports (such as 9fs -> 9)

5 years agobcm: move CONFADDR parsing into bootargs.c, simplify initcode start() args handling
cinap_lenrek [Thu, 11 Apr 2019 17:10:47 +0000 (19:10 +0200)]
bcm: move CONFADDR parsing into bootargs.c, simplify initcode start() args handling

5 years agobcm: don't use PADDR() to convert bus address to physical in vcore
cinap_lenrek [Thu, 11 Apr 2019 15:12:20 +0000 (17:12 +0200)]
bcm: don't use PADDR() to convert bus address to physical in vcore

5 years agokernel: get rid of KSTKSIZE alias for KSTACK
cinap_lenrek [Thu, 11 Apr 2019 12:05:23 +0000 (14:05 +0200)]
kernel: get rid of KSTKSIZE alias for KSTACK

5 years agomerge
cinap_lenrek [Thu, 11 Apr 2019 11:54:03 +0000 (13:54 +0200)]
merge

5 years agokernel: get rid of PTR2UINT() and UINT2PTR() macros
cinap_lenrek [Thu, 11 Apr 2019 11:51:38 +0000 (13:51 +0200)]
kernel: get rid of PTR2UINT() and UINT2PTR() macros

5 years agobcm: dont assume PHYSDRAM 0 in dmaaddr(), fix dmaioaddr()
cinap_lenrek [Thu, 11 Apr 2019 11:49:41 +0000 (13:49 +0200)]
bcm: dont assume PHYSDRAM 0 in dmaaddr(), fix dmaioaddr()

5 years agobcm: add pl011 uart driver
cinap_lenrek [Thu, 11 Apr 2019 11:21:06 +0000 (13:21 +0200)]
bcm: add pl011 uart driver

the raspi has two uarts, the pl011 and the mini. only one
can be used at a time due to pin muxing. the bcm kernel
uses the mini by default.

5 years agobcm: move okay() from uartmini.c to devarch.c
cinap_lenrek [Wed, 10 Apr 2019 13:06:56 +0000 (15:06 +0200)]
bcm: move okay() from uartmini.c to devarch.c