| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following systems are affected:
- MPC8555CDS
- MPC8572DS
This overhaul covers the following major changes:
- All integrated peripherals drivers for Freescale MPC85XX SoC, which are
currently in the FreeBSD source tree are reworked and adjusted so they
derive config data out of the device tree blob (instead of hard coded /
tabelarized values).
- This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC,
QUICC, UART, CFI.
- Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire
ocpbus(4) driver, which was based on hard-coded config data.
Note that world for these platforms has to be built WITH_FDT.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=209908
|
|
|
|
| |
Notes:
svn path=/head/; revision=209907
|
|
|
|
|
|
|
|
| |
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=209906
|
|
|
|
| |
Notes:
svn path=/head/; revision=209905
|
|
|
|
| |
Notes:
svn path=/head/; revision=209904
|
|
|
|
| |
Notes:
svn path=/head/; revision=209903
|
|
|
|
|
|
|
|
|
|
|
|
| |
most one call to pmap_qremove(), and thus one TLB shootdown, instead of one
call and TLB shootdown per page.
Simplify the interface to vm_hold_free_pages().
MFC after: 3 weeks
Notes:
svn path=/head/; revision=209902
|
|
|
|
| |
Notes:
svn path=/head/; revision=209901
|
|
|
|
|
|
|
|
|
|
|
| |
was needed at preliminary version of the patch, where number of CPU ticks
was divided strictly on 16 seconds. Final code instead uses real interval
duration, so precise interval should not be important. Same time aliasing
issues around second boundary causes false positives, periodically logging
useless "t_delta ... too long/short" messages when HZ set below 256.
Notes:
svn path=/head/; revision=209900
|
|
|
|
|
|
|
| |
in arch/powerpc64 instead of the 64-bit one.
Notes:
svn path=/head/; revision=209893
|
|
|
|
|
|
|
|
|
|
|
| |
with NULL.
PR: kern/148473
Submitted by: Grzegorz Dabrowski <grzegorz.dabrowski at gmail dot com>
MFC after: 1 week
Notes:
svn path=/head/; revision=209892
|
|
|
|
|
|
|
| |
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209890
|
|
|
|
| |
Notes:
svn path=/head/; revision=209889
|
|
|
|
|
|
|
|
|
|
|
|
| |
start so we should adjust the mbuf if the driver is running in PIO mode.
Now it should work well with WPA authentication and association for LP
PHY devices.
Tested by: Warren Block <wblock at wonkity.com>
MFC after: 1 month
Notes:
svn path=/head/; revision=209888
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, teach pmap_qenter() to recognize the case when it is being
asked to replace a mapping with the very same mapping and not generate
a shootdown. Unfortunately, the buffer cache commonly passes an entire
buffer to pmap_qenter() when only a subset of the mappings are changing.
For the extension of buffers in allocbuf() this was resulting in
unnecessary shootdowns. The addition of new pages to the end of the
buffer need not and did not trigger a shootdown, but overwriting the
initial mappings with the very same mappings was seen as a change that
necessitated a shootdown. With this change, that is no longer so.
For a "buildworld" on amd64, this change eliminates 14-15% of the
pmap_invalidate_range() shootdowns, and about 4% of the overall
shootdowns.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=209887
|
|
|
|
|
|
|
|
| |
use the 32-bit atomic operations unmodified. Accomplish this by switching
some MACHINE_ARCH values to MACHINE_CPUARCH.
Notes:
svn path=/head/; revision=209886
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and symbol map are required to support various consequences of the dot
symbol scheme:
- Symbols beginning with a dot are reserved, so start private symbols with
an underscore.
- In order to set RTLD breakpoints, gdb must be able to locate the text
entry point, not the data section function descriptor, so add
.r_debug_state to the symbol map on powerpc64.
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209885
|
|
|
|
|
|
|
|
| |
channel as having no devices connected. This improves hot-unplug operation
on legacy-emulating SATA controllers.
Notes:
svn path=/head/; revision=209884
|
|
|
|
|
|
|
|
| |
in ATA_CAM mode if phy connect event arrive before CAM bus initialization
completed.
Notes:
svn path=/head/; revision=209883
|
|
|
|
|
|
|
|
| |
amd64, libstand apps for powerpc64 systems are 32-bit, due to 32-bit Open
Firmware implementations.
Notes:
svn path=/head/; revision=209882
|
|
|
|
| |
Notes:
svn path=/head/; revision=209881
|
|
|
|
| |
Notes:
svn path=/head/; revision=209880
|
|
|
|
|
|
|
| |
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209878
|
|
|
|
|
|
|
| |
code on both architectures.
Notes:
svn path=/head/; revision=209877
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quirks for weak-symbol handling. Text symbols require also marking weak
the special dot-symbol associated with the function, and data symbols
require that you not do that. To fix this, provide a hacked
__weak_reference for powerpc64, and define a new __weak_reference_data
for the single weak data symbol in base.
Revert after: binutils 2.17 import
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209876
|
|
|
|
| |
Notes:
svn path=/head/; revision=209875
|
|
|
|
|
|
|
|
| |
are identical to 32-bit relocations in meaning, name, and number, and I
have chosen not to duplicate those here.
Notes:
svn path=/head/; revision=209874
|
|
|
|
|
|
|
| |
MFC after: 1 month
Notes:
svn path=/head/; revision=209873
|
|
|
|
|
|
|
|
|
| |
also controller side cable checks. Make respective sysctl writable.
PR: kern/143462
Notes:
svn path=/head/; revision=209872
|
|
|
|
|
|
|
|
|
|
|
| |
to inflate, skip the rest of the fifolog reader code to avoid
hitting the assert about Z_OK a bit further down.
Approved by: phk
MFC after: 1 week
Notes:
svn path=/head/; revision=209871
|
|
|
|
|
|
|
| |
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209869
|
|
|
|
| |
Notes:
svn path=/head/; revision=209868
|
|
|
|
|
|
|
|
|
|
|
| |
a variety of bugs in binutils related to handling of 64-bit PPC ELF,
provides a GCC configuration for 64-bit PowerPC on FreeBSD, and
associated build systems tweaks.
Obtained from: projects/ppc64
Notes:
svn path=/head/; revision=209867
|
|
|
|
|
|
|
|
| |
Noted by: pgollucci
MFC after: 3 weeks
Notes:
svn path=/head/; revision=209866
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
checksum offloading is enabled. The frame has a valid checksum
value so payload might be modified during TX checksum calculation.
Disable TX checksum offloading but give users chance to enable it
when they know their controller works without problems with TX
checksum offloading.
Reported by: Andrzej Tobola <ato <> iem dot pw dot edu dot pl>
Notes:
svn path=/head/; revision=209865
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- change the type of pm_active to cpumask_t, which it is;
- in pmap_remove_pages(), compare with PCPU(curpmap), instead of
dereferencing the long chain of pointers [1].
For amd64 pmap, remove the unneeded checks for validity of curpmap
in pmap_activate(), since curpmap should be always valid after
r209789.
Submitted by: alc [1]
Reviewed by: alc
MFC after: 3 weeks
Notes:
svn path=/head/; revision=209862
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the maintenance of vm_pageout_deficit can be localized to just two places:
vm_page_alloc() and vm_pageout_scan().
This change also corrects an off-by-one error in the maintenance of
vm_pageout_deficit. Historically, the buffer cache functions, allocbuf()
and vm_hold_load_pages(), have not taken into account that vm_page_alloc()
already increments vm_pageout_deficit by one.
Reviewed by: kib
Notes:
svn path=/head/; revision=209861
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the resulting, unaligned mutex structure would trigger panic.
Submitted by: Tom Cough <tom.couch lsi.com>
Reported/Tested by: jhb
MFC after: 3 days
Notes:
svn path=/head/; revision=209860
|
|
|
|
|
|
|
|
|
| |
got lost along the way.
MFC: asap
Notes:
svn path=/head/; revision=209859
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=209853
|
|
|
|
|
|
|
| |
powerpc64.
Notes:
svn path=/head/; revision=209852
|
|
|
|
|
|
|
|
| |
Minor 64-bit-cleanliness upgrades and support for platform detection on
subtly-broken OF implementations like in the Mambo simulator.
Notes:
svn path=/head/; revision=209851
|
|
|
|
|
|
|
|
| |
Use longs instead of ints as the native word type in bcopy(). This will
expand nicely on 64-bit systems.
Notes:
svn path=/head/; revision=209850
|
|
|
|
|
|
|
|
| |
Check if devices are direct-mapped individually instead of just checking
the value of hw_direct_map.
Notes:
svn path=/head/; revision=209849
|
|
|
|
|
|
|
| |
final one.
Notes:
svn path=/head/; revision=209848
|
|
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=209847
|
|
|
|
|
|
|
| |
Prodded by: julian
Notes:
svn path=/head/; revision=209845
|
|
|
|
|
|
|
| |
Reported by: rstone
Notes:
svn path=/head/; revision=209844
|
|
|
|
| |
Notes:
svn path=/head/; revision=209842
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Run the adapter's tick at 1Hz and remove link state checks from it.
Instead, have each port check its link state. Delay the check so that
it takes place slightly after the driver is notified of a change in
link state. This is a cheap way to debounce these notifications if
many are received in rapid succession. POLL_LINK_1ST_TIME flag can
also be eliminated as a side effect of these changes.
- Do not reset the PHY when link goes down.
- Clear port's link_fault flag if the PHY indicates link is down.
- get_link_status_r should leave speed and duplex alone when link is down.
MFC after: 1 month
Notes:
svn path=/head/; revision=209841
|