| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sintrcnt/sintrnames which are symbols containing the size of the 2
tables.
- For amd64/i386 remove the storage of intr* stuff from assembly files.
This area can be widely improved by applying the same to other
architectures and likely finding an unified approach among them and
move the whole code to be MI. More work in this area is expected to
happen fairly soon.
No MFC is previewed for this patch.
Tested by: pluknet
Reviewed by: jhb
Approved by: re (kib)
|
|
|
|
|
| |
bug on PowerPC was resolved by r223485, and it appears to run stably at this
point.
|
|
|
|
|
|
|
| |
packets. It turns out that all firmware versions insert it, whether or not
they support VLAN tagging.
Submitted by: glevand <geoffrey.levand at mail dot ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.
Remove them and replace their usage with custom pc_cpuid magic (as,
atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and
pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).
This change is not targeted for MFC because of struct pcpu members
removal and dependency by cpumask_t retirement.
MD review by: marcel, marius, alc
Tested by: pluknet
MD testing by: marcel, marius, gonzo, andreast
|
|
|
|
|
|
|
| |
machine checks (e.g. invalid PCI configuration cycles), but these can
be caught and recovered from. This change also the RTAS PCI driver to
work without modification as a replacement for the Grackle driver on
Grackle-based Powermacs.
|
|
|
|
| |
some manifestations of the bug actually fixed in r223485.
|
|
|
|
|
|
|
| |
smell that caused me to turn this up was due to a failed fan burning, not
a CPU (plus a healthy dose of paranoia).
Submitted by: Paul Mather <paul at gromit dot dlib dot vt dot edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of a PCPU field for curthread. This averts a race on SMP systems
with a high interrupt rate where the thread looking up the value of
curthread could be preempted and migrated between obtaining the PCPU
pointer and reading the value of pc_curthread, resulting in curthread being
observed to be the current thread on the thread's original CPU. This played
merry havoc with the system, in particular with mutexes. Many thanks to
jhb for helping me work this one out.
Note that Book-E is in principle susceptible to the same problem, but has
not been modified yet due to lack of Book-E hardware.
MFC after: 2 weeks
|
|
|
|
|
|
| |
some interesting bugs (mostly on SMP systems) with atomic operations
silently failing in interrupt heavy situations, especially when using
overflow pages.
|
| |
|
| |
|
|
|
|
|
|
| |
(obvious in retrospect) in which interrupts on one CPU that are temporarily
masked can end up permanently masked when a handler on another CPU clobbers
the interrupt mask register with an old copy.
|
|
|
|
| |
internally.
|
|
|
|
| |
differently.
|
| |
|
|
|
|
| |
set up, but must not use it.
|
| |
|
|
|
|
| |
Partially inspired by a patch from glevand (geoffrey.levand@mail.ru).
|
|
|
|
| |
from us by not registering them as disks.
|
|
|
|
|
| |
both to the parent ps3bus was in r223313. This driver itself comes from the
ps3 project branch.
|
|
|
|
|
|
|
|
| |
the future, but presents a set of simple block devices for now. With
(forthcoming) boot loader support or vfs.root.mountfrom, allows booting
PS3s from disk.
Submitted by: glevand <geoffrey.levand@mail.ru>
|
|
|
|
| |
to PowerPC GENERIC (along with a small rearrangement).
|
|\ |
|
| |
| |
| |
| |
| |
| | |
by Justin Hibbits.
Approved by: nwhitehorn (mentor)
|
| |
| |
| |
| |
| |
| | |
- Add retry loops for the i2c read/write functions.
Approved by: nwhitehorn (mentor)
|
| |
| |
| |
| |
| | |
after some minor tweaks and an increase in the early-boot stack space in
r222632.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pmap_sync_icache() to sync random (possibly uncached or nonexisting!)
memory, causing kernel page faults or machine checks, most easily
triggered by using GDB. While here, add an additional safeguard to only
sync cacheable memory.
MFC after: 2 days
|
| |
| |
| |
| |
| |
| | |
- Fix the printing of the temperature when we exceed the critical value.
Approved by: nwhitehorn (mentor)
|
|\ \
| |/ |
|
| |
| |
| |
| | |
ppc32, so make the early stack correspondingly twice as big.
|
| |
| |
| |
| |
| | |
map. They cause non-understood boot failures on some Apple machines with
more than 2 GB of RAM (like my work desktop).
|
| |
| |
| |
| |
| |
| | |
64-bit PowerPC CPUs. Add infrastructure to support variable numbers of
SLB slots and move the user slot from 63 to 0, so that it is always
available.
|
| |
| |
| |
| |
| | |
unknown CPU types, instead relying on the hypervisor to have given us a
reasonable environment.
|
| | |
|
| |
| |
| |
| |
| | |
access to modules and loader metadata when started from real mode, but
without a direct map.
|
| |
| |
| |
| | |
handled in mtmsr() and mem_regions(), respectively.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Renovate and improve the AIM Open Firmware support:
- Add RTAS (Run-Time Abstraction Services) support, found on all IBM systems
and some Apple ones
- Improve support for 32-bit real mode Open Firmware systems
- Pull some more OF bits over from the AIM directory
- Fix memory detection on IBM LPARs and systems with more than one /memory
node (by andreast@)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
be brought up in the order they are enumerated in the device tree (in
particular, that thread 0 on each core be brought up first). The SLIST
through which we loop to start the CPUs has all of its entries added with
SLIST_INSERT_HEAD(), which means it is in reverse order of enumeration
and so AP startup would always fail in such situations (causing a machine
check or RTAS failure). Fix this by changing the SLIST into an STAILQ,
and inserting new CPUs at the end.
Reviewed by: jhb
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
systems with no manageable thermal control devices.
|
| |
| |
| |
| |
| |
| |
| | |
Kelvin temperature, which is impossible except for some contrived magnetic
spin systems), use the previous measurement from that sensor instead of
corrupting everything and randomly changing the fans or shutting off the
machine.
|
| |
| |
| |
| | |
converting the reporting format from degrees C to 0.1 degree K.
|
| | |
|
| |
| |
| |
| |
| | |
thermal control module. This provides automatic fan management on all G5
PowerMacs and Xserves.
|
| |
| |
| |
| |
| |
| | |
PowerMac's.
Approved by: nwhitehorn (mentor)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o In bare_probe(), change the logic that determines the maximum
number of processors/cores into a switch statement and take
advantage of the fact that bit 3 of the SVR value indicates
whether we're running on a security enabled version. Since we
don't care about that here, mask the bit. All -E versions
are taken care of automatically.
|
| | |
|
|\ \
| |/ |
|