Commit graph

10793 commits

Author SHA1 Message Date
Ori Bernstein
95077e876a gefs: clean up blk logging code 2024-05-23 02:30:00 +00:00
Ori Bernstein
d7b6319891 gefs: add lock assertion for paranoia 2024-05-23 02:29:48 +00:00
Ori Bernstein
e6fa5a21f9 fs: acquire mutation lock around ORCLOSE upsert
only one upsert can go at once.
2024-05-23 01:51:11 +00:00
Jacob Moody
d76c9642e0 inst: add option to use esp as 9fat
Currently we place efi boot binaries on to the 9fat and hope that the
firmware will look in more places than just the esp.  Based on user
reports we've found that it is quite common for firmware to only
search the esp.
2024-05-22 01:49:46 +00:00
Keegan Saunders
5b13dcf68d boot: add honeycomb 2024-05-22 01:20:23 +00:00
Keegan Saunders
8e03baff8b add honeycomb kernel
This is a kernel for the NXP LX2160A, specifically the SolidRun
Honeycomb board which is available for sale on the SolidRun
website.

It currently boots on U-Boot. UEFI support is planned. Build or
download the U-Boot firmware from the SolidRun site and then write
it to the on-board SD card. Then, plug in a USB with the honeycomb
image and proceed to install as normal. Only NVMe or USB storage
is supported (SATA is planned).

This kernel supports PCIe and USB. On-board ethernet and SFP are
not supported (yet). It uses 2GB of memory by default, but that
can be increased using *maxmem depending on how much RAM you have
in the system. As well, SMP is currently disabled until an
uncommon deadlock issue is fixed (could be a hardware issue, unknown
at this point).
2024-05-21 23:54:48 +00:00
Ori Bernstein
5e34f6ae06 gefs: dump set of directory entry attributes 2024-05-21 14:17:59 +00:00
Jacob Moody
5ed2ea3310 mp(2): typos (thanks sirjofri) 2024-05-21 04:42:03 +00:00
Jacob Moody
a9d09ee1f1 webfs(4): typo around connection close (thanks halfwit) 2024-05-21 04:28:08 +00:00
Jacob Moody
5994b10942 /sys/src/cmd/test: enable zones.rc test (thanks unobe) 2024-05-21 04:27:27 +00:00
Ori Bernstein
796e4078d2 gefs: remove unused blk field 2024-05-21 01:34:43 +00:00
Sigrid Solveig Haflínudóttir
93da12e8aa nusb/audio: use correct buffer size for d2h requests, else some devices stalls 2024-05-20 22:26:42 +00:00
Sigrid Solveig Haflínudóttir
078d7a0281 nusb/audio: don't add a control if getvalues errored 2024-05-20 17:14:31 +00:00
Ori Bernstein
b2518fd92a fs: correct mode check for other group
we copied and pasted the structure of this from
cwfs, but they lay out the bits differently. We
fixed this for the other cases, but forgot this
one, which lead to exec being permitted when it
shouldn't have been.
2024-05-20 00:38:55 +00:00
Jacob Moody
17f7f6be4e /sys/src: cleanup power64 assembly 2024-05-19 20:57:04 +00:00
mia soweli
01140dbe17 gefs: convert to atomic instructions
8[al] now support the required atomics, so let's
stop using byte constants.
2024-05-19 15:35:55 +00:00
mia soweli
1b09060f46 8[al]: support XADD 2024-05-19 15:31:32 +00:00
mia soweli
1c7e58e75b 8[al]: support CMPXCHG and CMPXCHG8B 2024-05-19 14:54:06 +00:00
Ori Bernstein
61c6a24d35 gefs(8): small formatting fixes (thanks kvik) 2024-05-18 19:00:16 +00:00
Ori Bernstein
020b9bdd65 upas/smtp: add -C flag to disable thumbprint verification (thanks sirjofri) 2024-05-18 18:47:36 +00:00
Igor Böhm
6cd07cf340 gefs.ms: Minor fixes and improvements. 2024-05-16 22:16:45 +00:00
Ori Bernstein
037bc7b432 gefs: make it impossible for clunkfid to error
in out of memory situations, clunkfid could run
out of memory and error; preallocating moves the
error to fscreate/fsopen, which are prepared to
handle them.
2024-05-18 18:28:17 +00:00
Ori Bernstein
b2cd4959fe gefs: check name lengths before packing them 2024-05-18 18:26:38 +00:00
Jacob Moody
b37238edb8 vdiff: show filename instead of "/dev/null" when removing entire file 2024-05-18 18:07:46 +00:00
Jacob Moody
96c4dbca89 /sys/src/cmd: ?[cl] mkfile consistency 2024-05-18 17:21:43 +00:00
Ori Bernstein
8be7f27b75 inst: add hidden 'gefs' file system type option
one day it will graduate to experimental
2024-05-18 16:35:09 +00:00
Sigrid Solveig Haflínudóttir
9c5fc1ce37 /sys/doc/mkfile: gefs 2024-05-17 13:12:20 +00:00
Ori Bernstein
b1e897ae44 gefs.ms: sycer => syncer (thanks sigrid) 2024-05-16 21:01:48 +00:00
Ori Bernstein
da1daf3012 gefs: initial import 2024-05-16 20:47:43 +00:00
sl
9fdbc87b8e /lib/theo: If we can't do it right, we don't do it until we figure out a way to do it right. 2024-05-15 02:00:21 +00:00
Jacob Moody
94c69c4f68 9[acl], libmach: L?AR/ST?CCC 2024-05-14 18:26:29 +00:00
Jacob Moody
178cd4d113 9[acl], libmach: LWSYNC/CMPW/CMPWU 2024-05-14 01:54:07 +00:00
Sigrid Solveig Haflínudóttir
2734fa8545 riow(1): mention having to put the rc pipeline into its own script 2024-05-13 20:28:18 +00:00
rodri
ff6a0f490a tmdate(2): fix two little typos in the examples 2024-05-13 13:37:22 +00:00
cinap_lenrek
a74c7ca5ea ipconfig(8): document loopback and null media 2024-05-12 13:50:52 +00:00
cinap_lenrek
c76cc12a17 ip/ipconfig: add "null" verb to bind nullmedium
Example usage:

ip/ipconfig null /dev/mordor 8.8.8.8 /128
2024-05-12 13:42:26 +00:00
cinap_lenrek
0a7279b3af devip: make "null" medium bindable
It can actually be usefull to bind this dummy
"null" medium to an address, which gives a way to
divert packets towards it that should be discarded.
2024-05-12 13:39:58 +00:00
cinap_lenrek
11fa01778a devip: increase MTU to 64k for loopback medium
We should ever attempt fragmenting packets
towards the loopback medium.
2024-05-12 13:35:03 +00:00
Jacob Moody
b0a0595371 power64: refactor va_arg in u.h to fix warnings
Bring over conventions from other archs.
This issue shows up when you don't put va_end,
which our systemcall handlers are guilty of.
2024-05-12 00:26:37 +00:00
phil9
025a2d172e vdiff: exit if diff is empty
currently vdiff will display an empty window if there is no diff.
	Print a message and exit early instead.
2024-05-09 17:18:45 +00:00
rodri
039015ad71 vdiff: fix scrolling and mouse button handling.
vertical scrolling now works in a line-wise manner,
just like in rio(1), sam(1) and friends. horizontal
scrolling showed problems with some line widths
where they got cut before showing the last
characters.

finally, pressing LMB or RMB and swiping while going
through any of the blocks caused a storm of plumbs
and visibility toggling (when over the expander line).
this doesn't happen anymore.
2024-05-09 11:49:09 +00:00
Jacob Moody
92d5d58784 flambe: pass correct name to initdraw() 2024-05-08 23:24:55 +00:00
Jacob Moody
88faa807aa flambe: flame graphs for prof(1) data 2024-05-08 18:01:08 +00:00
Jacob Moody
c8544c91d9 prof: increase precision of measurements
Currently we use millisecond ticks for time spent in each function.
This is not good enough for modern machines where fast functions could
be completed in a handful of nanoseconds.  Instead let us just use the
raw ticks and store the cyclecfreq in the output prof data.  This
requires that we enlargen the time section in the data to 8 bytes,
which broke the assumptions for struct allignment and required a
slight refactor of the code used to read it in prof(1).  Since this is
a breaking change, we've devised a small format to communicate the
version for future revision of this format and this patch includes a
modification to file(1) for recognizing this format.  Additionally
some minor improvements were made across the board.
2024-05-08 17:20:22 +00:00
phil9
0fcab2a6e8 vcrop: fix image panning 2024-05-07 10:43:36 +00:00
phil9
d11ca3b545 vcrop - graphical image cropping tool
vcrop is a graphical version of crop(1).
2024-05-06 16:24:25 +00:00
Jacob Moody
bd1305a0b9 libc: compress directly recursive functions while profiling
When a function calls itself, the execution slot of its child is now
just added to its own time.  This makes conceptual sense and also
reduces a big cause of depth inflation.
2024-05-05 01:57:22 +00:00
Jacob Moody
15d1425b27 libc: increase default allocation for profiling
Current profiling size was 128k, and causes more frustration than it
is worth as demand paging makes this cheap.  Assuming 64 bytes at
worst per Plink this will use ~16M of virtual address space on 64bit
systems.
2024-05-05 01:34:22 +00:00
Jacob Moody
f3216125de limbach: remove unused 9c subdirectory 2024-05-04 19:45:01 +00:00
cinap_lenrek
7aceac32e8 eqn: fix silly mkfile
prevy.tab.h not used at all, dependency between
y.tab.c and y.tab.h is just *WRONG*.
2024-05-04 19:38:39 +00:00