Author: jhibbits
Date: Fri Mar 11 20:04:32 2016
New Revision: 296677
URL: https://svnweb.freebsd.org/changeset/base/296677
Log:
Add to CFLAGS, rather than replacing.
This allows additional CFLAGS, as set in bsd.cpu.mk, to go through.
Modified:
head/lib/libunbound/Makefile
On Thu, Mar 3, 2016 at 12:18 AM, Bruce Evans <b...@optusnet.com.au> wrote:
> On Thu, 3 Mar 2016, Justin Hibbits wrote:
>
>> Log:
>> Replace all resource occurrences of '0UL/~0UL' with '0/~0'.
>>
>> Summary:
>> The idea behind this is '~0ul'
Author: jhibbits
Date: Fri Mar 4 01:25:45 2016
New Revision: 296372
URL: https://svnweb.freebsd.org/changeset/base/296372
Log:
Remove default initializations for rman, a'la r296331
Modified:
head/sys/dev/acpica/acpi.c
Modified: head/sys/dev/acpica/acpi.c
Author: jhibbits
Date: Thu Mar 3 05:07:35 2016
New Revision: 296336
URL: https://svnweb.freebsd.org/changeset/base/296336
Log:
Replace all resource occurrences of '0UL/~0UL' with '0/~0'.
Summary:
The idea behind this is '~0ul' is well-defined, and casting to uintmax_t, on a
32-bit
Author: jhibbits
Date: Thu Mar 3 01:12:13 2016
New Revision: 296331
URL: https://svnweb.freebsd.org/changeset/base/296331
Log:
Let rman_init() initialize the default rman range.
If rm_start and rm_end are both 0 on input to rman_init(), rman_init()
pre-initializes them to the default
Author: jhibbits
Date: Thu Mar 3 01:09:00 2016
New Revision: 296330
URL: https://svnweb.freebsd.org/changeset/base/296330
Log:
Another convert to bus_alloc_resource_anywhere().
Depending on how cbus hands out resources, this could actually be
bus_alloc_resource_any() instead.
Modified:
Author: jhibbits
Date: Thu Mar 3 01:07:17 2016
New Revision: 296329
URL: https://svnweb.freebsd.org/changeset/base/296329
Log:
Allocate the PCI BAR resource with bus_alloc_resource_any()
We don't support allocating any other range with PCI BARs.
Modified:
Author: jhibbits
Date: Wed Mar 2 03:26:56 2016
New Revision: 296298
URL: https://svnweb.freebsd.org/changeset/base/296298
Log:
Replace some more default range checks with RMAN_IS_DEFAULT_RANGE().
This is a follow-on to r295832.
Modified:
head/sys/dev/bhnd/bhnd.c
Author: jhibbits
Date: Wed Mar 2 02:29:35 2016
New Revision: 296295
URL: https://svnweb.freebsd.org/changeset/base/296295
Log:
Use the m_extadd() function instead of deprecated MEXTADD().
Suggested by: glebius
Modified:
head/sys/dev/dpaa/if_dtsec_rm.c
Modified:
Author: jhibbits
Date: Wed Mar 2 02:27:53 2016
New Revision: 296294
URL: https://svnweb.freebsd.org/changeset/base/296294
Log:
Remove some debug printfs
Modified:
head/sys/dev/dpaa/bman_fdt.c
Modified: head/sys/dev/dpaa/bman_fdt.c
Author: jhibbits
Date: Wed Mar 2 00:18:05 2016
New Revision: 296287
URL: https://svnweb.freebsd.org/changeset/base/296287
Log:
Fix 2 bugs in the mpc85xx local bus controller driver.
1) Include opt_platform.h to get QORIQ_DPAA. Otherwise the definition of
OCP85XX_TGTIF_LBC is incorrect.
Author: jhibbits
Date: Tue Mar 1 03:41:48 2016
New Revision: 296251
URL: https://svnweb.freebsd.org/changeset/base/296251
Log:
Add another compatibility check for QorIQ GPIO driver.
Some MPC85xx GPIO controllers are compatible with QorIQ.
It may make more sense in the future to
Author: jhibbits
Date: Tue Mar 1 02:59:06 2016
New Revision: 296250
URL: https://svnweb.freebsd.org/changeset/base/296250
Log:
Correct the memory rman ranges to be to BUS_SPACE_MAXADDR
Summary:
As part of the migration of rman_res_t to be typed to uintmax_t, memory ranges
must be
Author: jhibbits
Date: Tue Mar 1 00:50:39 2016
New Revision: 296245
URL: https://svnweb.freebsd.org/changeset/base/296245
Log:
Add VM_MEMATTR_CACHEABLE support for AIM, for parity with Book-E.
Not used right now, but may be in the future anyway.
Modified:
head/sys/powerpc/aim/mmu_oea.c
added)
+++ head/share/man/man4/man4.powerpc/dtsec.4Mon Feb 29 03:38:00 2016
(r296177)
@@ -0,0 +1,120 @@
+.\"
+.\" Copyright (c) 2016 Justin Hibbits
+.\"
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.
Author: jhibbits
Date: Sat Feb 27 20:39:36 2016
New Revision: 296142
URL: https://svnweb.freebsd.org/changeset/base/296142
Log:
Implement pmap_change_attr() for PowerPC (Book-E only for now)
Summary:
Some drivers need special memory requirements. X86 solves this with a
Author: jhibbits
Date: Sat Feb 27 16:27:48 2016
New Revision: 296141
URL: https://svnweb.freebsd.org/changeset/base/296141
Log:
Move another range check to use RMAN_IS_DEFAULT_RANGE().
Modified:
head/sys/powerpc/mpc85xx/lbc.c
Modified: head/sys/powerpc/mpc85xx/lbc.c
Author: jhibbits
Date: Sat Feb 27 03:38:01 2016
New Revision: 296137
URL: https://svnweb.freebsd.org/changeset/base/296137
Log:
Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().
Most calls to bus_alloc_resource() use "anywhere" as the range, with a given
count.
Author: jhibbits
Date: Sat Feb 27 03:35:28 2016
New Revision: 296136
URL: https://svnweb.freebsd.org/changeset/base/296136
Log:
Add the bus_alloc_resource_anywhere() convenience function.
Summary:
Many instances of bus_alloc_resource() simply use 0 and ~0 for start and end
to
denote
Author: jhibbits
Date: Sat Feb 27 03:34:01 2016
New Revision: 296135
URL: https://svnweb.freebsd.org/changeset/base/296135
Log:
Replace several bus_alloc_resource() calls with bus_alloc_resource_any()
Most of these are BARs, and we allocate them in their entirety. The one
outlier
in
Author: jhibbits
Date: Thu Feb 25 04:32:17 2016
New Revision: 296023
URL: https://svnweb.freebsd.org/changeset/base/296023
Log:
Fix the build.
Pointy-hat to:jhibbits
Spotted by: bde
Modified:
head/sys/dev/cy/cy_pci.c
Modified: head/sys/dev/cy/cy_pci.c
Author: jhibbits
Date: Tue Feb 23 02:28:19 2016
New Revision: 295908
URL: https://svnweb.freebsd.org/changeset/base/295908
Log:
Allow the size argument for law_enable() to be non-power-of-2.
Although the local access windows are powers of 2 in size, allow arguments
that
aren't power of
>
> 2016-02-20 5:48 GMT+01:00 Justin Hibbits <jr...@alumni.cwru.edu>:
>> This was not tinderboxed. I'm getting build failures for powerpc and
>> sparc64. Please revert or fix.
>>
>> Least of which: sys/dev/ofw/ofw_pci.c conflicts with
>> sys/powerpc/ofw/
On 2/19/16, Bruce Evans <b...@optusnet.com.au> wrote:
> On Sat, 20 Feb 2016, Justin Hibbits wrote:
>
>> Log:
>> Fix the definition of RM_MAX_END.
>>
>> Even though casting from signed to unsigned is well-defined in C, it's
>> better to
>> fir
This was not tinderboxed. I'm getting build failures for powerpc and
sparc64. Please revert or fix.
Least of which: sys/dev/ofw/ofw_pci.c conflicts with
sys/powerpc/ofw/ofw_pci.c, which I mentioned in phabricator long ago.
Additionally, several files are missing includes of
Author: jhibbits
Date: Sat Feb 20 01:34:13 2016
New Revision: 295833
URL: https://svnweb.freebsd.org/changeset/base/295833
Log:
Fix the definition of RM_MAX_END.
Even though casting from signed to unsigned is well-defined in C, it's better
to
first cast to the larger unsigned type, then
Author: jhibbits
Date: Sat Feb 20 01:32:58 2016
New Revision: 295832
URL: https://svnweb.freebsd.org/changeset/base/295832
Log:
Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.
This simplifies checking for default resource range for bus_alloc_resource(),
and improves readability.
Author: jhibbits
Date: Fri Feb 19 03:37:56 2016
New Revision: 295790
URL: https://svnweb.freebsd.org/changeset/base/295790
Log:
Replace several bus_alloc_resource() calls using default arguments with
bus_alloc_resource_any()
Since these calls only use default arguments,
Author: jhibbits
Date: Tue Feb 16 23:47:52 2016
New Revision: 295682
URL: https://svnweb.freebsd.org/changeset/base/295682
Log:
Bump __FreeBSD_Version for u_long -> rman_res_t change (r294883).
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
Author: jhibbits
Date: Tue Feb 16 21:30:55 2016
New Revision: 295673
URL: https://svnweb.freebsd.org/changeset/base/295673
Log:
Another conversion u_long -> rman_res_t
Modified:
head/sys/powerpc/ps3/ps3bus.c
Modified: head/sys/powerpc/ps3/ps3bus.c
Author: jhibbits
Date: Tue Feb 16 17:55:10 2016
New Revision: 295664
URL: https://svnweb.freebsd.org/changeset/base/295664
Log:
Convert a few more long -> rman_res_t.
Modified:
head/sys/dev/ata/chipsets/ata-promise.c
head/sys/dev/pci/pci_pci.c
Modified:
Author: jhibbits
Date: Tue Feb 16 02:13:55 2016
New Revision: 295642
URL: https://svnweb.freebsd.org/changeset/base/295642
Log:
Fix a panic bug that cropped up in the PTE rewrite.
PTE was getting overwritten by just the flags.
Pointy-hat to:jhibbits
Modified:
Author: jhibbits
Date: Thu Feb 11 13:15:37 2016
New Revision: 295520
URL: https://svnweb.freebsd.org/changeset/base/295520
Log:
Migrate the PTE format for book-e to standardize on the 'indirect PTE' format
Summary:
The revised Book-E spec, adding the specification for the MMUv2 and
Author: jhibbits
Date: Wed Feb 3 01:29:06 2016
New Revision: 295183
URL: https://svnweb.freebsd.org/changeset/base/295183
Log:
Make lbc(4) the same driver pass as simplebus.
Device trees mark lbc as compatible with simplebus. Since simplebus is passed
first, it attaches first. When
Author: jhibbits
Date: Wed Feb 3 01:50:27 2016
New Revision: 295186
URL: https://svnweb.freebsd.org/changeset/base/295186
Log:
Align signal stack pointer to 16 bytes.
The stack must be aligned to 16 bytes at all times. Clang 3.8 is especially
adamant about this, and causes strange
Author: jhibbits
Date: Mon Feb 1 02:04:40 2016
New Revision: 295112
URL: https://svnweb.freebsd.org/changeset/base/295112
Log:
Use the correct type to pmap_mapdev() in nexus_activate_resource().
pmap_mapdev() takes vm_paddr_t, which may be sized differently from
vm_offset_t,
as it is
Author: jhibbits
Date: Wed Jan 27 03:51:24 2016
New Revision: 294885
URL: https://svnweb.freebsd.org/changeset/base/294885
Log:
Fix the build post-r294883.
Pointy-hat to:jhibbits
X-MFC with: r294883
Modified:
head/sys/sys/rman.h
Modified: head/sys/sys/rman.h
Author: jhibbits
Date: Wed Jan 27 02:23:54 2016
New Revision: 294883
URL: https://svnweb.freebsd.org/changeset/base/294883
Log:
Convert rman to use rman_res_t instead of u_long
Summary:
Migrate to using the semi-opaque type rman_res_t to specify rman resources.
For
now, this is still
Author: jhibbits
Date: Tue Jan 26 03:52:14 2016
New Revision: 294759
URL: https://svnweb.freebsd.org/changeset/base/294759
Log:
Fix a debug printf().
Somehow this printf() was missed in the conversion of vm_paddr_t to 64-bit,
and
made it through until now.
Sponsored by: Alex
Author: jhibbits
Date: Tue Jan 26 04:41:18 2016
New Revision: 294760
URL: https://svnweb.freebsd.org/changeset/base/294760
Log:
Older Book-E processors (e500v1/e500v2) don't support dcbzl.
The only difference between dcbzl and dcbz is dcbzl operates on native cache
line lengths
Author: jhibbits
Date: Tue Jan 19 23:35:12 2016
New Revision: 294363
URL: https://svnweb.freebsd.org/changeset/base/294363
Log:
Revert a printf change from r294307.
Caused build failures with MPC85XX.
Pointy-hat to:jhibbits
Modified:
head/sys/powerpc/booke/pmap.c
Modified:
On Jan 18, 2016, at 9:07 PM, Justin Hibbits wrote:
@@ -3237,7 +3249,11 @@ tlb1_mapin_region(vm_offset_t va, vm_pad
}
mapped = (va - base);
+#ifdef __powerpc64__
+ printf("mapped size 0x%016lx (wasted space 0x%16lx)\n",
+#else
printf("mapped size
Author: jhibbits
Date: Tue Jan 19 03:07:25 2016
New Revision: 294307
URL: https://svnweb.freebsd.org/changeset/base/294307
Log:
Hide most of the PTE initialization and management.
By confining the page table management to a handful of functions it'll be
easier to modify the page table
Author: jhibbits
Date: Sun Jan 17 23:03:21 2016
New Revision: 294237
URL: https://svnweb.freebsd.org/changeset/base/294237
Log:
Quick exit after setting the clock control register.
Discussed with: ian
Modified:
head/sys/arm/freescale/imx/imx_sdhci.c
Modified:
Author: jhibbits
Date: Sat Jan 16 21:24:12 2016
New Revision: 294195
URL: https://svnweb.freebsd.org/changeset/base/294195
Log:
Partially revert r294055.
This part was a botched revert of a test change.
Spotted by: alc
Modified:
head/sys/powerpc/include/vmparam.h
Modified:
Author: jhibbits
Date: Sun Jan 17 00:14:22 2016
New Revision: 294197
URL: https://svnweb.freebsd.org/changeset/base/294197
Log:
e5500 HWPMC is identical to e500mc, so add support check for it.
Modified:
head/sys/dev/hwpmc/hwpmc_e500.c
head/sys/dev/hwpmc/hwpmc_powerpc.c
Modified:
Author: jhibbits
Date: Thu Jan 14 23:22:43 2016
New Revision: 294055
URL: https://svnweb.freebsd.org/changeset/base/294055
Log:
Adjust VM_MAX_KERNEL_ADDRESS to the max address, not the minimum next.
VM_MAX_KERNEL_ADDERESS is the maximum KVA address. 0xf800 is the start of
device
On Sun, Jan 10, 2016 at 10:42 AM, Nathan Whitehorn
wrote:
> Author: nwhitehorn
> Date: Sun Jan 10 16:42:14 2016
> New Revision: 293636
> URL: https://svnweb.freebsd.org/changeset/base/293636
>
> Log:
> Use setjmp() instead of the
Author: jhibbits
Date: Mon Jan 4 02:20:14 2016
New Revision: 293129
URL: https://svnweb.freebsd.org/changeset/base/293129
Log:
Make arguments for booke_init() u_long, to match register width.
On powerpc64, pointers are 64 bits, so casting from uint32_t changes the
integer
width.
Author: jhibbits
Date: Mon Jan 4 01:33:07 2016
New Revision: 293128
URL: https://svnweb.freebsd.org/changeset/base/293128
Log:
Set the cacheline size before calling powerpc_init()
powerpc_init() initializes the mmu. Since this may clear pages via
pmap_zero_page(), set the cacheline
Author: jhibbits
Date: Sun Jan 3 15:35:01 2016
New Revision: 293107
URL: https://svnweb.freebsd.org/changeset/base/293107
Log:
Initialize the rid for input.
Left uninitialized, random rid causes the IRQ setup to fail, and the PCI
device
to not be attached.
Modified:
Author: jhibbits
Date: Sun Jan 3 15:24:57 2016
New Revision: 293106
URL: https://svnweb.freebsd.org/changeset/base/293106
Log:
Add error interrupt handler for Freescale PCI errors
This eliminates a 'interrupt storm' warning spam with the P5020.
Obtained from:Semihalf
On Sat, Jan 2, 2016 at 4:46 PM, Ian Lepore wrote:
> On Sat, 2016-01-02 at 22:20 +, Bjoern A. Zeeb wrote:
>> > On 02 Jan 2016, at 18:16 , Ian Lepore wrote:
>> >
>> > Author: ian
>> > Date: Sat Jan 2 18:16:24 2016
>> > New Revision: 293053
>> > URL:
Author: jhibbits
Date: Fri Jan 1 15:17:24 2016
New Revision: 293039
URL: https://svnweb.freebsd.org/changeset/base/293039
Log:
Fix a couple printf formats.
This was found when working on 64-bit PowerPC book-e support.
Modified:
head/sys/dev/sec/sec.c
head/sys/dev/tsec/if_tsec.c
Author: jhibbits
Date: Fri Jan 1 15:36:56 2016
New Revision: 293041
URL: https://svnweb.freebsd.org/changeset/base/293041
Log:
Use uint32_t for LBC block size.
LBC block size can only be up to 4GB. The existing code already clamps it,
but
mixes unsigned long and uint32_t. This works
On Fri, Jan 1, 2016 at 11:56 AM, Justin Hibbits <jhibb...@freebsd.org> wrote:
> Author: jhibbits
> Date: Fri Jan 1 17:56:52 2016
> New Revision: 293044
> URL: https://svnweb.freebsd.org/changeset/base/293044
>
> Log:
> Accidentally dropped the 0 padding.
>
&g
On Jan 1, 2016 11:30, "Conrad Meyer" <c...@freebsd.org> wrote:
>
> On Fri, Jan 1, 2016 at 7:17 AM, Justin Hibbits <jhibb...@freebsd.org>
wrote:
> > Author: jhibbits
> > Date: Fri Jan 1 15:17:24 2016
> > New Revision: 293039
> > URL: https://
Author: jhibbits
Date: Fri Jan 1 17:56:52 2016
New Revision: 293044
URL: https://svnweb.freebsd.org/changeset/base/293044
Log:
Accidentally dropped the 0 padding.
Pointed out by: cmeyer
Modified:
head/sys/dev/sec/sec.c
Modified: head/sys/dev/sec/sec.c
Author: jhibbits
Date: Fri Jan 1 02:47:40 2016
New Revision: 293030
URL: https://svnweb.freebsd.org/changeset/base/293030
Log:
Extend idle support for newer Book-E cores.
Newer Book-E cores (e500mc, e5500, e6500) do not support the WE bit in the
MSR,
and instead delegate CPU idling to
Author: jhibbits
Date: Wed Dec 30 02:26:04 2015
New Revision: 292901
URL: https://svnweb.freebsd.org/changeset/base/292901
Log:
Optimize zero_page for book-e mmu.
Instead of indirectly calling bzero() through mmu_booke_zero_page_area, zero
the
full page the same way as the AIM pmap
Author: jhibbits
Date: Wed Dec 30 02:23:14 2015
New Revision: 292900
URL: https://svnweb.freebsd.org/changeset/base/292900
Log:
Rewrite tid_flush() in C.
There's no need for it to be in asm. Also, by writing in C, and marking it
static in pmap.c, it saves a branch to the function
Author: jhibbits
Date: Wed Dec 30 03:43:25 2015
New Revision: 292903
URL: https://svnweb.freebsd.org/changeset/base/292903
Log:
Add platform support for QorIQ SoCs.
This includes the following changes:
* SMP kickoff for QorIQ (tested on P5020)
* Errata fixes for some silicon revisions
Author: jhibbits
Date: Tue Dec 29 03:31:06 2015
New Revision: 292858
URL: https://svnweb.freebsd.org/changeset/base/292858
Log:
Update capabilities of e500mc, e5500, e6500.
Modified:
head/sys/powerpc/powerpc/cpu.c
Modified: head/sys/powerpc/powerpc/cpu.c
On Dec 22, 2015, at 6:47 PM, NGie Cooper wrote:
On Dec 22, 2015, at 13:51, Ed Maste wrote:
On 19 December 2015 at 13:42, Alan Cox wrote:
Author: alc
Date: Sat Dec 19 18:42:50 2015
New Revision: 292469
URL:
Author: jhibbits
Date: Thu Dec 24 04:30:15 2015
New Revision: 292680
URL: https://svnweb.freebsd.org/changeset/base/292680
Log:
Extend Book-E to support >4GB RAM
Summary:
With some additional changes for AIM, that could also support much
larger physmem sizes. Given that 32-bit AIM is
On Dec 22, 2015 18:48, "NGie Cooper" wrote:
>
>
> > On Dec 22, 2015, at 13:51, Ed Maste wrote:
> >
> > On 19 December 2015 at 13:42, Alan Cox wrote:
> >> Author: alc
> >> Date: Sat Dec 19 18:42:50 2015
> >> New Revision: 292469
> >>
Author: jhibbits
Date: Fri Dec 11 01:23:18 2015
New Revision: 292071
URL: https://svnweb.freebsd.org/changeset/base/292071
Log:
Add more interrupts handled for booke.
e500mc, e5500, and e6500 all use the normal FPU, with the same behavior as AIM
hardware. e6500 also supports Altivec,
Author: jhibbits
Date: Fri Dec 11 01:30:20 2015
New Revision: 292072
URL: https://svnweb.freebsd.org/changeset/base/292072
Log:
Follow up to r292071. Actually handle the Altivec Assist for book-e.
Modified:
head/sys/powerpc/powerpc/trap.c
Modified: head/sys/powerpc/powerpc/trap.c
Author: jhibbits
Date: Fri Dec 11 01:34:13 2015
New Revision: 292073
URL: https://svnweb.freebsd.org/changeset/base/292073
Log:
No need to reset tlb1 here, it gets reset again after BSS is cleared in
powerpc_init().
Also fix a comment typo (0x45 == E, not e)
Modified:
Author: jhibbits
Date: Mon Nov 30 02:40:41 2015
New Revision: 291463
URL: https://svnweb.freebsd.org/changeset/base/291463
Log:
Print machine check address for Book-E.
Bits in mcsr indicate if the address is valid, and whether it's a physical
address or effective address.
Sponsored
@@
+/*-
+ * Copyright (c) 2015 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice
Author: jhibbits
Date: Sun Nov 22 01:16:43 2015
New Revision: 291151
URL: https://svnweb.freebsd.org/changeset/base/291151
Log:
Modernize mpc85xx PCI hostbridge driver.
Summary:
* Take advantage of NEW_PCIB to remove a lot of setup code.
* Fix some bugs related to multiple PCI bridges.
Author: jhibbits
Date: Sun Nov 22 01:20:36 2015
New Revision: 291152
URL: https://svnweb.freebsd.org/changeset/base/291152
Log:
Remove a debug panic that crept into r291151
Modified:
head/sys/powerpc/mpc85xx/pci_mpc85xx.c
Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c
Author: jhibbits
Date: Sat Nov 21 06:03:46 2015
New Revision: 291122
URL: https://svnweb.freebsd.org/changeset/base/291122
Log:
trunc_page() goes through unsigned long, which is too short.
sizeof(unsigned long) < sizeof(vm_paddr_t) on Book-E, which uses 36-bit
addressing. With this, a
Author: jhibbits
Date: Thu Nov 19 04:41:16 2015
New Revision: 291056
URL: https://svnweb.freebsd.org/changeset/base/291056
Log:
Revert r291009 until rman changes go in.
Pointy-hat to:jhibbits
Modified:
head/sys/powerpc/include/bus.h
Modified: head/sys/powerpc/include/bus.h
Author: jhibbits
Date: Wed Nov 18 01:54:19 2015
New Revision: 291008
URL: https://svnweb.freebsd.org/changeset/base/291008
Log:
Add support for new LAW registers in QorIQ SoCs.
QorIQ SoCs (e5500 core, P5 family) have 2 BARs for local access windows, while
MPC85XX, and P1/P2 families use
Author: jhibbits
Date: Wed Nov 18 02:18:14 2015
New Revision: 291009
URL: https://svnweb.freebsd.org/changeset/base/291009
Log:
Physical addresses for e500mc/e5500 are 36-bits, e6500 is 40-bits.
Increase BUS_SPACE_MAXADDR to allow for this.
Sponsored by: Alex Perez/Inertial Computing
On Tue, Nov 10, 2015 at 9:42 AM, Conrad Meyer wrote:
> On Tue, Nov 10, 2015 at 7:08 AM, Ian Lepore wrote:
>> On Tue, 2015-11-10 at 08:44 +0100, Hans Petter Selasky wrote:
>>> > -sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1,
>>> > intptr_t
Author: jhibbits
Date: Fri Nov 6 04:56:52 2015
New Revision: 290434
URL: https://svnweb.freebsd.org/changeset/base/290434
Log:
Write 2- and 4-byte aligned values as single writes in ddb(4)
On the mpc85xx SoC family, writes to any part of a word in the CCSR affect the
full word. This
Author: jhibbits
Date: Tue Nov 3 00:21:23 2015
New Revision: 290317
URL: https://svnweb.freebsd.org/changeset/base/290317
Log:
Use the correct space (PCI addresses) for the I/O and memory ranges.
PCIR_IOBASE/IOLIMIT/... all use PCI-space addresses, not host addresses.
Modified:
Author: jhibbits
Date: Tue Nov 3 00:54:14 2015
New Revision: 290319
URL: https://svnweb.freebsd.org/changeset/base/290319
Log:
Use 64-bit addresses for configuring inbound and outbound address windows.
This allows using the full host and PCI ranges in the controller
configuration.
On Oct 30, 2015, at 9:27 PM, Conrad Meyer wrote:
Comments inline.
On Fri, Oct 30, 2015 at 7:08 PM, Justin Hibbits
<jhibb...@freebsd.org> wrote:
Author: jhibbits
Date: Sat Oct 31 02:08:39 2015
New Revision: 290221
URL: https://svnweb.freebsd.org/changeset/base/290221
Log:
Print un
Author: jhibbits
Date: Sat Oct 31 02:08:39 2015
New Revision: 290221
URL: https://svnweb.freebsd.org/changeset/base/290221
Log:
Print unsigned memory sizes, to handle >2GB RAM on 32-bit powerpc.
Sponsored by: Alex Perez/Intertial Computing
Modified:
head/sys/powerpc/powerpc/machdep.c
Author: jhibbits
Date: Tue Oct 6 01:24:46 2015
New Revision: 288909
URL: https://svnweb.freebsd.org/changeset/base/288909
Log:
Save the link register in savectx().
Pointed out by: jhb
Modified:
head/sys/powerpc/powerpc/swtch32.S
head/sys/powerpc/powerpc/swtch64.S
Modified:
powerpc64 also defines __powerpc64__ in addition to __powerpc__. This is
likely because unlike amd64, the only major difference between 32-bit and
64-bit is the register size, so mips will likely be the same way.
-Justin
On Oct 1, 2015 2:51 PM, "John Baldwin" wrote:
> On
Author: jhibbits
Date: Wed Sep 9 03:15:25 2015
New Revision: 287586
URL: https://svnweb.freebsd.org/changeset/base/287586
Log:
Add PVR identifier for E6500, from the reference.
Modified:
head/sys/powerpc/include/spr.h
Modified: head/sys/powerpc/include/spr.h
Author: jhibbits
Date: Thu Sep 3 01:38:15 2015
New Revision: 287418
URL: https://svnweb.freebsd.org/changeset/base/287418
Log:
pmap_mapdev_attr() also takes a vm_paddr_t.
This was missed in r235936. With recent work for 36-bit paddr, this is now
needed.
Modified:
Author: jhibbits
Date: Sat Aug 29 06:52:14 2015
New Revision: 287276
URL: https://svnweb.freebsd.org/changeset/base/287276
Log:
The TLB1 TSIZE is a multiple of 4, not 2, so shift 2 bits, not 1.
Modified:
head/sys/powerpc/booke/pmap.c
Modified: head/sys/powerpc/booke/pmap.c
Author: jhibbits
Date: Fri Aug 28 03:03:09 2015
New Revision: 287240
URL: https://svnweb.freebsd.org/changeset/base/287240
Log:
Extend pmap to support e500mc and e5500.
As part of this, clean up tlb1_init(), since bootinfo is always NULL here just
eliminate the loop altogether.
Author: jhibbits
Date: Fri Aug 28 05:20:31 2015
New Revision: 287242
URL: https://svnweb.freebsd.org/changeset/base/287242
Log:
Fix text alignment. mcsr was indented one too many spaces.
Modified:
head/sys/powerpc/powerpc/trap.c
Modified: head/sys/powerpc/powerpc/trap.c
Author: jhibbits
Date: Thu Aug 27 03:44:06 2015
New Revision: 287188
URL: https://svnweb.freebsd.org/changeset/base/287188
Log:
Use the macro definition for EXC_PGM_TRAP, instead of the magic number.
Modified:
head/sys/powerpc/powerpc/trap.c
Modified: head/sys/powerpc/powerpc/trap.c
Author: jhibbits
Date: Thu Aug 27 03:47:56 2015
New Revision: 287189
URL: https://svnweb.freebsd.org/changeset/base/287189
Log:
Fix freescale sdhc driver, and add it to the files list.
Also, add it to the mmc DRIVER_MODULE attachment list.
Modified:
head/sys/conf/files.powerpc
Author: jhibbits
Date: Wed Aug 26 03:37:33 2015
New Revision: 287154
URL: https://svnweb.freebsd.org/changeset/base/287154
Log:
The Freescale qoriq PCIe controller is compatible with mpc85xx.
Add the compatible checks.
Obtained from:Semihalf (partial)
Sponsored by: Alex
Author: jhibbits
Date: Mon Aug 24 04:39:07 2015
New Revision: 287092
URL: https://svnweb.freebsd.org/changeset/base/287092
Log:
Fix static fdt support.
FDT_DTB_STATIC is defined in opt_platform.h, and fdt_static_dtb is in
fdt_common.h, so include those files.
Sponsored by: Alex
Author: jhibbits
Date: Sat Aug 22 07:20:03 2015
New Revision: 287014
URL: https://svnweb.freebsd.org/changeset/base/287014
Log:
Enhance book-e pmap for 36-bit physaddr
Summary:
This is (probably step 1) of enhancing the book-e pmap to support the full
36-bit physical address space on
Author: jhibbits
Date: Sat Aug 22 07:27:06 2015
New Revision: 287015
URL: https://svnweb.freebsd.org/changeset/base/287015
Log:
Follow up to r287014
Missed these files, from the original diff.
Sponsored by: Alex Perez/Inertial Computing
Differential Revision:
, because file is newly added)
+++ head/sys/powerpc/mikrotik/platform_rb.c Sat Aug 22 05:50:18 2015
(r287013)
@@ -0,0 +1,123 @@
+/*-
+ * Copyright (c) 2015 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: jhibbits
Date: Sat Aug 22 03:29:12 2015
New Revision: 287011
URL: https://svnweb.freebsd.org/changeset/base/287011
Log:
Make the mpc85xx platform a kobj base class.
Summary:
Some systems are based around mpc85xx, but need special initialization. By
making the mpc85xx platform
Author: jhibbits
Date: Fri Aug 21 02:41:35 2015
New Revision: 286977
URL: https://svnweb.freebsd.org/changeset/base/286977
Log:
Add initial boot support for e500mc and e5500.
* Since r257190 the kernel must actually be loaded at a 64MB boundary, not
16MB.
* Don't program HID1 register
Author: jhibbits
Date: Fri Aug 21 02:22:51 2015
New Revision: 286976
URL: https://svnweb.freebsd.org/changeset/base/286976
Log:
Simplify the PCI bus scanning logic.
Rather than special casing on PCIC_BRIDGE || PCIC_PROCESSOR, allow all
HDRTYPE_BRIDGE types.
Obtained from:
901 - 1000 of 1249 matches
Mail list logo