Age | Commit message (Collapse) | Author |
|
|
|
some other comments.
|
|
|
|
processor in order to give other strands a chance to run. Use it in
__mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for
the kernel or scheduler locks. This is instruction is patched in, just like
we already do for the sleep instruction on SPARC64 VI processors. We look
at the hwcap-list property of the cpu nodes in the machine description to
decide whether the pause instruction is available.
|
|
command in urndis_ctrl_set(). Seems many RNDIS hardware doesn't care about
the overwritten fields, but the SunMicro Virtual Eth Device found in newer
Oracle SPARC hardware does.
ok armani@
|
|
Also transformed some complicated code that was setting EFER into something
much simpler.
Tested on a variety of real machines, emulators/VMs, MP, UP, zzz, ZZZ,
NX on, NX off ...
ok deraadt@
|
|
|
|
read only bit.
Also fix some comments describing EFER bits that were obviously wrong.
ok deraadt@
|
|
|
|
ok sf@
|
|
ok deraadt
|
|
|
|
|
|
is a bit of a guess, but it is the only PCIe Gen3 part listed on their
website that has enough lanes/ports.
|
|
in there. It explicitly changes the mapping of that memory to RX, but this
only works if the maximum protection of the mapping includes PROT_EXEC.
ok miod@, deraadt@
|
|
Undo the code rearrangement in rev. 1.108 but keep the sparc64-specific code
dealing with non-prefetchable 64-bit BARs.
Found out the hard way by stsp@
|
|
that may have had it disabled in BIOS.
ok deraadt@
|
|
unused TSO code.
ok mikeb@
|
|
ok mikeb@
|
|
additional register was erroneously added in the MAC register set
such that 7 TX statistics counters were wrong.
From FreeBSD
ok mikeb@
|
|
still unset when at this point, and some MD variants of pci_intr_establish(9)
make a copy of the string instead of storing a pointer.
Makes vmstat -i properly print the device name on sparc64.
ok mikeb@, deraadt@
|
|
|
|
|
|
sparc64 machines should now be able to boot from softraid raid1 and crypto.
Tested on sun blade100, sunfire v240, and sun t1000 ldom guests.
Lots of encouragement from deraadt@
|
|
This can be used to pass boot parameters to the kernel which can't be passed
safely via the Open Firmware interface, such as softraid volume IDs and keys.
The kernel already reads the arguments if available but ofwboot won't provide
them until further changes are committed there.
With support from deraadt, kettenis and matthew.
ok deraadt@
|
|
Written with use of the forth by jedi jsing@
For now this only supports 'a' RAID partitions, no other partition letters.
|
|
Not hooked to the build yet.
ok kettenis@
|
|
Will be needed soon.
ok kettenis@
|
|
address in their EEPROM. Use the MAC address given by the "local-mac-address"
Open Firmware property instead.
ok mikeb@, deraadt@
|
|
non-prefetchable BARs of the onboard mpii(4) behind a prefetchable memory
range on the bridge it sists behind. Since we rely on the formware to program
BARs for us on sparc64, add a workaround to avoid whacking these BARs and
make the machine panic later when it tries to access the registers.
ok miod@, deraadt@
|
|
|
|
|
|
ok mikeb@
|
|
- protect pv lists with splvm.
- try to return as soon as possible from pmap_rmproc().
- correctly maintain wired pages statistics.
- invoke pmap_remove_pcb() at splsched to avoid racing the scheduler.
|
|
|
|
of your system, put it on a diet and kill the superfluous logic.
ok mikeb@
|
|
longer take such argument.
|
|
any good to our network stack.
The most visible effect is the maze of #ifdef's and casts. But the
real problem is the very fragile way of checking if a (cached) route
entry is still valid or not. What should we do if the route jumped
to another ifaddr or if its gateway has been changed?
This change start the dance of "struct route" & friends removal by
sending the completly useless "struct route_enc" to the bucket.
Tweak & ok claudio@
|
|
|
|
While here, use the direct map for pmap_copy_page() and remove the now
unused stolen page addresses.
No objection from the usual suspects, "it works, commit" deraadt@
|
|
|
|
ok mpi@
|
|
we change the order of the xxx_setvalidand xxx_setstate hypervisor calls
things actually work.
|
|
on the SPARC T5-2. Make error messages a bit more consistent while there.
|
|
bus on a dual-scsi controller abstraction, while walking the KL component
tree.
|
|
Actual BARs that have the upper 32-bits set seen in the wild now on a
SPARC T5-2 system.
Tested by many.
|
|
queue.
|
|
As explained in section 4.11.7 it should be used when a device is
allowed to supply less data than the provided buffer space.
|
|
a different index value for a chained TRB and a freed one.
|
|
shouldn't link it into the table.
|