svn commit: r203637 - head/sys/arm/arm

2010-02-07 Thread Rafal Jaworowski
Author: raj Date: Sun Feb 7 20:48:57 2010 New Revision: 203637 URL: http://svn.freebsd.org/changeset/base/203637 Log: Improve checking whether an ARM VA has a valid mapping before performing cache sync. VIPT/PIPT caches need valid VA-PA mapping in PTE for a cache operation to succeed (

svn commit: r208278 - head/sys/powerpc/include

2010-05-18 Thread Rafal Jaworowski
Author: raj Date: Tue May 18 21:23:51 2010 New Revision: 208278 URL: http://svn.freebsd.org/changeset/base/208278 Log: Provide missing members for Book-E pmap (and fix build). Modified: head/sys/powerpc/include/pmap.h Modified: head/sys/powerpc/include/pmap.h

svn commit: r208534 - in head/sys/boot/uboot: common lib

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 09:59:53 2010 New Revision: 208534 URL: http://svn.freebsd.org/changeset/base/208534 Log: Use loader devices only when they initialized properly. Modified: head/sys/boot/uboot/common/main.c head/sys/boot/uboot/lib/disk.c Modified: head/sys/boot/uboot/common/mai

svn commit: r208535 - head/sys/boot/uboot/lib

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 10:15:30 2010 New Revision: 208535 URL: http://svn.freebsd.org/changeset/base/208535 Log: Mostly revert r200691. U-Boot syscall() entry point returns 1 on success. Modified: head/sys/boot/uboot/lib/glue.c Modified: head/sys/boot/uboot/lib/glue.c =

svn commit: r208536 - head/gnu/usr.bin/dtc

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 13:27:55 2010 New Revision: 208536 URL: http://svn.freebsd.org/changeset/base/208536 Log: Correct dtc version header autogen location. While there unify brackets usage. Modified: head/gnu/usr.bin/dtc/Makefile Modified: head/gnu/usr.bin/dtc/Makefile =

svn commit: r208537 - in head: share/mk tools/build/options

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 15:12:21 2010 New Revision: 208537 URL: http://svn.freebsd.org/changeset/base/208537 Log: Introduce a new build knob for Flattened Device Tree support. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/tools/build/options/WITH_FDT (conten

svn commit: r208538 - in head/sys: arm/include boot/arm/uboot boot/fdt boot/powerpc/uboot boot/uboot/common boot/uboot/lib powerpc/include

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 15:21:39 2010 New Revision: 208538 URL: http://svn.freebsd.org/changeset/base/208538 Log: Initial loader(8) support for Flattened Device Tree. o This is disabled by default for now, and can be enabled using WITH_FDT at build time. o Tested with ARM and

svn commit: r208539 - head/sys/boot

2010-05-25 Thread Rafal Jaworowski
Author: raj Date: Tue May 25 15:32:07 2010 New Revision: 208539 URL: http://svn.freebsd.org/changeset/base/208539 Log: Bring a missing FDT piece (omitted in the previous commit). Modified: head/sys/boot/Makefile Modified: head/sys/boot/Makefile ===

svn commit: r208559 - head/share/mk

2010-05-26 Thread Rafal Jaworowski
Author: raj Date: Wed May 26 09:23:51 2010 New Revision: 208559 URL: http://svn.freebsd.org/changeset/base/208559 Log: Use MACHINE_ARCH instead of TARGET_ARCH. Pointed out by: imp Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ===

svn commit: r208560 - head/sys/boot/fdt/dts

2010-05-26 Thread Rafal Jaworowski
Author: raj Date: Wed May 26 09:34:02 2010 New Revision: 208560 URL: http://svn.freebsd.org/changeset/base/208560 Log: Import device tree source (DTS) files for PowerPC MPC8555CDS and MPC8572DS development systems. Special thanks to Phil Brownfield for help with BSD-style relicensing of

svn commit: r208561 - head/sys/boot/fdt/dts

2010-05-26 Thread Rafal Jaworowski
Author: raj Date: Wed May 26 09:50:09 2010 New Revision: 208561 URL: http://svn.freebsd.org/changeset/base/208561 Log: Initial device tree source (DTS) files for Marvell ARM systems: o DB-88F5182 o DB-88F5281 o DB-88F6281 o DB-78100 o SheevaPlug This also includes dev

svn commit: r208613 - head/sys/conf

2010-05-28 Thread Rafal Jaworowski
Author: raj Date: Fri May 28 10:35:44 2010 New Revision: 208613 URL: http://svn.freebsd.org/changeset/base/208613 Log: Introduce kernel build options for the Flattened Device Tree support. Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/options Modified:

svn commit: r208614 - in head/sys: dev/ofw powerpc/ofw

2010-05-28 Thread Rafal Jaworowski
Author: raj Date: Fri May 28 10:43:56 2010 New Revision: 208614 URL: http://svn.freebsd.org/changeset/base/208614 Log: Prepare and extend OFW layer for FDT support. o Let OFW_INIT() and OF_init() return status value. o Provide helper routines for 'compatible' property handling. o

svn commit: r208615 - head/sys/dev/ofw

2010-05-28 Thread Rafal Jaworowski
Author: raj Date: Fri May 28 10:51:44 2010 New Revision: 208615 URL: http://svn.freebsd.org/changeset/base/208615 Log: Initial implementation of the OFW i/f methods for FDT back-end. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/sys/dev/ofw/ofw_fdt.c (contents, p

svn commit: r208747 - head/sys/dev/fdt

2010-06-02 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 2 17:17:45 2010 New Revision: 208747 URL: http://svn.freebsd.org/changeset/base/208747 Log: Import the common Flattened Device Tree infrastructure. o fdtbus(4) - the main abstract bus driver for all FDT-compliant systems. This is a direct replacement for the m

svn commit: r208748 - head/sys/dev/uart

2010-06-02 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 2 17:20:00 2010 New Revision: 208748 URL: http://svn.freebsd.org/changeset/base/208748 Log: FDT (simplebus) compatible attachment for uart(4). This will be a single uart(4) attachment code shared by all FDT-enabled platforms. Reviewed by: imp Sponsored b

svn commit: r208749 - head/sys/tools/fdt

2010-06-02 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 2 17:22:38 2010 New Revision: 208749 URL: http://svn.freebsd.org/changeset/base/208749 Log: Flattened Device Tree helper scripts. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/sys/tools/fdt/ head/sys/tools/fdt/embed_dtb.sh (contents,

svn commit: r208750 - head/sys/contrib/libfdt

2010-06-02 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 2 17:24:41 2010 New Revision: 208750 URL: http://svn.freebsd.org/changeset/base/208750 Log: Provide kernel level headers for the libfdt code. Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/sys/contrib/libfdt/libfdt_env.h Modified: head

svn commit: r208751 - in head/sys: libkern sys

2010-06-02 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 2 17:27:23 2010 New Revision: 208751 URL: http://svn.freebsd.org/changeset/base/208751 Log: Provide memchr() in the libkern. This is required by libfdt and will be compiled in conditionally only for FDT-enabled platforms. Reviewed by: imp Sponsored by: T

Re: svn commit: r208747 - head/sys/dev/fdt

2010-06-03 Thread Rafal Jaworowski
On 2010-06-02, at 20:58, Doug Barton wrote: > On 06/02/10 10:17, Rafal Jaworowski wrote: >> o simplebus(4) - bus driver representing ePAPR > > Do we write on it with eINK? Hm, it's been eAPPROVED already (http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v

Re: svn commit: r208964 - in head: . etc/mtree lib share/mk usr.bin

2010-06-12 Thread Rafal Jaworowski
On 2010-06-10, at 17:25, M. Warner Losh wrote: > In message: <201006091957.o59jvkbu025...@svn.freebsd.org> >Roman Divacky writes: > : Modified: head/share/mk/bsd.own.mk > : > == > : --- head/share/mk/bsd.own

svn commit: r209125 - in head/sys/boot: arm/uboot powerpc/uboot uboot/common

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:46:32 2010 New Revision: 209125 URL: http://svn.freebsd.org/changeset/base/209125 Log: Fix conditional FDT support in loader(8). Modified: head/sys/boot/arm/uboot/Makefile head/sys/boot/powerpc/uboot/Makefile head/sys/boot/uboot/common/metadata.c Modified:

svn commit: r209126 - head/share/mk

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:53:44 2010 New Revision: 209126 URL: http://svn.freebsd.org/changeset/base/209126 Log: Do not set WITH_FDT by default based on arch, as this does not work for a bootstrap stage tool. FDT-enabled platforms will have to specify WITH_FDT explicitly at buildwor

svn commit: r209127 - head/sys/dev/fdt

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:58:31 2010 New Revision: 209127 URL: http://svn.freebsd.org/changeset/base/209127 Log: Provide identify method for the fdtbus(4). Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/fdt/fdtbus.c Modified: head/sys/dev/fdt/fdtbu

svn commit: r209128 - in head: . gnu/usr.bin sys/conf

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:02:43 2010 New Revision: 209128 URL: http://svn.freebsd.org/changeset/base/209128 Log: Connect FDT infrastructure to the build system. Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/Makefile head/Makefile.inc1 head/gnu/usr.bin/

svn commit: r209129 - head/sys/arm/arm

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:08:23 2010 New Revision: 209129 URL: http://svn.freebsd.org/changeset/base/209129 Log: Improve style. Modified: head/sys/arm/arm/nexus.c Modified: head/sys/arm/arm/nexus.c == --- head/

svn commit: r209130 - in head/sys: arm/include dev/fdt

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:12:52 2010 New Revision: 209130 URL: http://svn.freebsd.org/changeset/base/209130 Log: Initial FDT infrastructure elements for ARM. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/sys/arm/include/fdt.h (contents, props changed) hea

svn commit: r209131 - in head/sys: arm/conf arm/include arm/mv arm/mv/discovery arm/mv/kirkwood arm/mv/orion conf dev/mge dev/uart dev/usb/controller

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:28:53 2010 New Revision: 209131 URL: http://svn.freebsd.org/changeset/base/209131 Log: Convert Marvell ARM platforms to FDT convention. The following systems are involved: - DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug

svn commit: r209132 - head/usr.sbin

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:30:26 2010 New Revision: 209132 URL: http://svn.freebsd.org/changeset/base/209132 Log: Enable ofwdump(8) on ARM as this is a useful tool to inspect a flattened device tree. Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile ===

svn commit: r209161 - head/sys/arm/include

2010-06-14 Thread Rafal Jaworowski
Author: raj Date: Mon Jun 14 16:05:21 2010 New Revision: 209161 URL: http://svn.freebsd.org/changeset/base/209161 Log: Temporarily bring back the ARM bootinfo (and make tinderbox happy). BI will be eliminated for good when powerpc transition to FDT is complete. Added: - copied unchang

Re: svn commit: r209130 - in head/sys: arm/include dev/fdt

2010-06-15 Thread Rafal Jaworowski
On 2010-06-14, at 00:43, Andrew Turner wrote: > On Sun, 13 Jun 2010 13:12:52 + (UTC) > Rafal Jaworowski wrote: > >> Author: raj >> Date: Sun Jun 13 13:12:52 2010 >> New Revision: 209130 >> URL: http://svn.freebsd.org/changeset/base/209130 >> >>

svn commit: r209232 - head/sys/arm/arm

2010-06-16 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 16 14:10:39 2010 New Revision: 209232 URL: http://svn.freebsd.org/changeset/base/209232 Log: Move ARM nexus rman initialization to attach routine. This fixes a panic, which started to trigger after r209129 cleanup. Submitted by: Andrew Turner Modified: head

Re: svn commit: r209129 - head/sys/arm/arm

2010-06-16 Thread Rafal Jaworowski
On 2010-06-16, at 11:03, Andrew Turner wrote: > On Sun, 13 Jun 2010 13:08:23 + (UTC) > Rafal Jaworowski wrote: > >> Author: raj >> Date: Sun Jun 13 13:08:23 2010 >> New Revision: 209129 >> URL: http://svn.freebsd.org/changeset/base/209129 >> >

svn commit: r209240 - head

2010-06-16 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 16 16:52:35 2010 New Revision: 209240 URL: http://svn.freebsd.org/changeset/base/209240 Log: Use awk alone for extracting FDT_DTS_FILE instead of grep/cut, which is simpler and more robust. Submitted by: Andrzej Tobola Modified: head/Makefile.inc1 Modified: h

svn commit: r209903 - head/sys/boot/fdt/dts

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 20:29:34 2010 New Revision: 209903 URL: http://svn.freebsd.org/changeset/base/209903 Log: Provide a missing interrupt-parent for the CPM / QUICC node in the DTS. Modified: head/sys/boot/fdt/dts/mpc8555cds.dts Modified: head/sys/boot/fdt/dts/mpc8555cds.dts ===

svn commit: r209904 - head/sys/dev/fdt

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 20:30:59 2010 New Revision: 209904 URL: http://svn.freebsd.org/changeset/base/209904 Log: Let simplebus(4) diagnostics be a bit more descriptive. Modified: head/sys/dev/fdt/simplebus.c Modified: head/sys/dev/fdt/simplebus.c ===

svn commit: r209905 - head/sys/dev/fdt

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 20:33:39 2010 New Revision: 209905 URL: http://svn.freebsd.org/changeset/base/209905 Log: Save fdtbus trigger / polarity data at their correct index. Modified: head/sys/dev/fdt/fdt_common.c Modified: head/sys/dev/fdt/fdt_common.c =

svn commit: r209906 - head/sys/dev/fdt

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 20:49:36 2010 New Revision: 209906 URL: http://svn.freebsd.org/changeset/base/209906 Log: Introduce PowerPC-specific helper routines for FDT. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/sys/dev/fdt/fdt_powerpc.c (contents, props cha

svn commit: r209907 - head/sys/dev/pci

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 20:55:39 2010 New Revision: 209907 URL: http://svn.freebsd.org/changeset/base/209907 Log: Provide more defines for PCI-Express device ctrl. Modified: head/sys/dev/pci/pcireg.h Modified: head/sys/dev/pci/pcireg.h ===

svn commit: r209908 - in head/sys: conf dev/cfi dev/fdt dev/quicc dev/sec dev/tsec dev/uart powerpc/booke powerpc/conf powerpc/include powerpc/mpc85xx powerpc/powerpc

2010-07-11 Thread Rafal Jaworowski
ondary_intr, "secondary"); + + if (error) + goto fail3; + } /* Alloc DMA memory for descriptors and link tables */ error = sec_alloc_dma_mem(sc, &(sc->sc_desc_dmem), Modified: head/sys/dev/tsec/if_tsec.c =====

svn commit: r209909 - in head/sys: arm/include boot/uboot/common

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 21:11:23 2010 New Revision: 209909 URL: http://svn.freebsd.org/changeset/base/209909 Log: Get rid of bootinfo for good in loader (U-Boot-based) and ARM. For FDT-enabled platforms the device tree is a modern replacement for bootinfo config data. Deleted: hea

svn commit: r209910 - head/sys/conf

2010-07-11 Thread Rafal Jaworowski
Author: raj Date: Sun Jul 11 21:12:42 2010 New Revision: 209910 URL: http://svn.freebsd.org/changeset/base/209910 Log: Sort platform options. Modified: head/sys/conf/options.powerpc Modified: head/sys/conf/options.powerpc ==

svn commit: r210053 - head/share/man/man4

2010-07-14 Thread Rafal Jaworowski
, +.Xr simplebus 4 , +.Sh STANDARDS +IEEE Std 1275: IEEE Standard for Boot (Initialization Configuration) Firmware: +Core Requirements and Practices +.Pq Vt Open Firmware . +.Pp +Power.org Standard for Embedded Power Architecture Platform Requirements +.Pq Vt ePAPR . +.Sh HISTORY +The +.Nm +support

svn commit: r210112 - head

2010-07-15 Thread Rafal Jaworowski
Author: raj Date: Thu Jul 15 10:49:07 2010 New Revision: 210112 URL: http://svn.freebsd.org/changeset/base/210112 Log: Fix FDT_DTS_FILE parsing to properly retrieve its value. This unbreaks the 'builddtb' target. Make the processing more robust against non-existent kernel config files (

svn commit: r210116 - head

2010-07-15 Thread Rafal Jaworowski
Author: raj Date: Thu Jul 15 13:21:25 2010 New Revision: 210116 URL: http://svn.freebsd.org/changeset/base/210116 Log: Relax FDT_DTS_FILE validation (and unbreak world build). Pointed out by: kib Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r186228 - in head/sys/powerpc: booke mpc85xx

2008-12-17 Thread Rafal Jaworowski
Author: raj Date: Wed Dec 17 15:31:15 2008 New Revision: 186228 URL: http://svn.freebsd.org/changeset/base/186228 Log: Minor clean up of BookE/MPC85XX: iprove naming and style(9). Modified: head/sys/powerpc/booke/interrupt.c head/sys/powerpc/booke/machdep.c head/sys/powerpc/mpc85xx/nexus.

svn commit: r186227 - in head/sys/powerpc: include mpc85xx

2008-12-17 Thread Rafal Jaworowski
iled...\n"); Added: head/sys/powerpc/mpc85xx/mpc85xx.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/mpc85xx/mpc85xx.h Wed Dec 17 15:27:49 2008 (r186227) @@ -0,0 +1,35 @@ +/*- + * Copyright (C) 2008 Semihalf, Rafa

svn commit: r186231 - in head/sys/boot: powerpc/uboot uboot/common uboot/lib

2008-12-17 Thread Rafal Jaworowski
Author: raj Date: Wed Dec 17 15:58:07 2008 New Revision: 186231 URL: http://svn.freebsd.org/changeset/base/186231 Log: Improve style(9) in PowerPC U-Boot support lib. Modified: head/sys/boot/powerpc/uboot/conf.c head/sys/boot/uboot/common/main.c head/sys/boot/uboot/lib/devicename.c Modif

svn commit: r186229 - head/sys/powerpc/booke

2008-12-17 Thread Rafal Jaworowski
) 2007-2008 Semihalf, Rafal Jaworowski * Copyright (C) 2006 Semihalf, Marian Balakowicz * All rights reserved. * @@ -10,8 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the

svn commit: r186230 - head/sys/powerpc/booke

2008-12-17 Thread Rafal Jaworowski
Author: raj Date: Wed Dec 17 15:54:25 2008 New Revision: 186230 URL: http://svn.freebsd.org/changeset/base/186230 Log: Fix E500 cache invalidation routines. When invalidating the i/d-cache we need to wait until the core complex is really finished with the operation. Obtained from:

svn commit: r186288 - head/sys/powerpc/mpc85xx

2008-12-18 Thread Rafal Jaworowski
Author: raj Date: Thu Dec 18 18:27:12 2008 New Revision: 186288 URL: http://svn.freebsd.org/changeset/base/186288 Log: Extend and improve MPC85XX Local Bus management. - Make LBC resources management self-contained: introduce explicit LBC resources definition (much like the OCP), provid

svn commit: r186289 - head/sys/powerpc/booke

2008-12-18 Thread Rafal Jaworowski
Author: raj Date: Thu Dec 18 18:28:03 2008 New Revision: 186289 URL: http://svn.freebsd.org/changeset/base/186289 Log: Minor spelling fix in E500 locore. Modified: head/sys/powerpc/booke/locore.S Modified: head/sys/powerpc/booke/locore.S ==

svn commit: r186891 - head/sys/cam

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 10:16:02 2009 New Revision: 186891 URL: http://svn.freebsd.org/changeset/base/186891 Log: cam: Retry TEST UNIT READY command if not successful. This fixes problems with discovering some USB devices that are very slow to respond during initialisation. When

svn commit: r186892 - head/sys/dev/mge

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 11:09:27 2009 New Revision: 186892 URL: http://svn.freebsd.org/changeset/base/186892 Log: Handle mge(4) chip revision differences at run-time rather then compile time, which is more flexible for future revisions, and lets eliminate some #defines and compile condi

svn commit: r186899 - in head/sys/arm/mv: . discovery kirkwood orion

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 13:20:28 2009 New Revision: 186899 URL: http://svn.freebsd.org/changeset/base/186899 Log: Adjust Marvell SOC support for A0 chip revision. - Clean up TCLK handling so that it's dynamically recognized depending on registers settings or chip version/revision.

svn commit: r186900 - head/sys/dev/uart

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 13:24:25 2009 New Revision: 186900 URL: http://svn.freebsd.org/changeset/base/186900 Log: De-hard code UART speed setting for Marvell SOCs when hw.uart.console is not specified. Instead, let uart(4) fall back to whatever speed firmware has set. Modified: head/sy

svn commit: r186901 - head/sys/arm/mv

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 13:25:22 2009 New Revision: 186901 URL: http://svn.freebsd.org/changeset/base/186901 Log: Minor style(9) corrections. Modified: head/sys/arm/mv/gpio.c Modified: head/sys/arm/mv/gpio.c ==

svn commit: r186902 - head/sys/dev/usb

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 13:32:08 2009 New Revision: 186902 URL: http://svn.freebsd.org/changeset/base/186902 Log: Provide handler for USB controller error interrupts for Marvell EHCI device. Obtained from:Semihalf Modified: head/sys/dev/usb/ehci_mbus.c Modified: head/sys/de

svn commit: r186909 - in head/sys/arm/mv: . discovery kirkwood orion

2009-01-08 Thread Rafal Jaworowski
Author: raj Date: Thu Jan 8 18:31:43 2009 New Revision: 186909 URL: http://svn.freebsd.org/changeset/base/186909 Log: Improve and extend Marvell SOCs platform code. - Allow for setting per platform MPP/GPIO configuration in the kernel, so that we can override all settings firmware migh

svn commit: r186932 - in head/sys/arm/mv: . orion

2009-01-09 Thread Rafal Jaworowski
Author: raj Date: Fri Jan 9 10:20:51 2009 New Revision: 186932 URL: http://svn.freebsd.org/changeset/base/186932 Log: Improve Marvell SOCs PCI/PCIE driver. - Provide dedicated rmans for MEM and IO resources. - Convert PCI IRQ routing info into a table (from callback approach), provide

svn commit: r186933 - in head/sys/arm: arm include

2009-01-09 Thread Rafal Jaworowski
Author: raj Date: Fri Jan 9 10:45:04 2009 New Revision: 186933 URL: http://svn.freebsd.org/changeset/base/186933 Log: Fix confusing naming of Marvell ARM CPU specific routines. - The contents of 'feroceon_cpufuncs' dispatch table was really dedicated for the new Sheeva CPU (in 88F6xxx

svn commit: r186934 - in head/sys: arm/arm arm/mv conf

2009-01-09 Thread Rafal Jaworowski
Author: raj Date: Fri Jan 9 10:55:33 2009 New Revision: 186934 URL: http://svn.freebsd.org/changeset/base/186934 Log: Rename Marvell ARM CPU specific file according to r186933. Added: head/sys/arm/arm/cpufunc_asm_sheeva.S (props changed) - copied unchanged from r186933, head/sys/arm/a

svn commit: r186947 - head/sys/arm/mv

2009-01-09 Thread Rafal Jaworowski
Author: raj Date: Fri Jan 9 12:38:41 2009 New Revision: 186947 URL: http://svn.freebsd.org/changeset/base/186947 Log: Check PCIE link status before accessing the bus. Some 88F5182-based systems (Linkstation) have problems when PCIE is accessed without any peripherals present. Modified:

svn commit: r187149 - in head/sys: conf powerpc/booke powerpc/include powerpc/powerpc

2009-01-13 Thread Rafal Jaworowski
:58 2009 (r187149) @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2007 Semihalf, Rafal Jaworowski + * Copyright (C) 2007-2008 Semihalf, Rafal Jaworowski * Copyright (C) 2006 Semihalf, Marian Balakowicz * All rights reserved. * @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include #include #

svn commit: r187151 - head/sys/powerpc/booke

2009-01-13 Thread Rafal Jaworowski
Author: raj Date: Tue Jan 13 16:15:49 2009 New Revision: 187151 URL: http://svn.freebsd.org/changeset/base/187151 Log: Clean up BookE pmap. Improve comments, eliminate redundant debug output, fix style(9) and other minor tweaks for code readability. Obtained from:Freescale, S

svn commit: r187153 - head/sys/powerpc/booke

2009-01-13 Thread Rafal Jaworowski
Author: raj Date: Tue Jan 13 16:19:58 2009 New Revision: 187153 URL: http://svn.freebsd.org/changeset/base/187153 Log: Clean up BookE low-level exceptions code. Improve comments, fix style(9) and typos, unify separators. Obtained from:Freescale, Semihalf Modified: head/sys/p

Re: svn commit: r187151 - head/sys/powerpc/booke

2009-01-13 Thread Rafal Jaworowski
Alan Cox wrote: > Both the BookE and MIPS pmap modules need to have their get_pv_entry() > functions updated. Their implementations of get_pv_entry() look like > what I would expect to find in FreeBSD 4. For example, the modern > equivalent of pmap_collect() is performed synchronously from > get_

svn commit: r187709 - in head: share/man/man4 sys/dev/iicbus

2009-01-26 Thread Rafal Jaworowski
Author: raj Date: Mon Jan 26 13:53:39 2009 New Revision: 187709 URL: http://svn.freebsd.org/changeset/base/187709 Log: Teach iic(4) the 'repeated start' I2C condition. This will be used by the upcoming i2c(8) diag utility. Reviewed by: bms, stas Obtained from:Semihalf Modified

svn commit: r187712 - in head/usr.sbin: . i2c

2009-01-26 Thread Rafal Jaworowski
Author: raj Date: Mon Jan 26 14:00:50 2009 New Revision: 187712 URL: http://svn.freebsd.org/changeset/base/187712 Log: Introduce the I2C diagnostic utility. It let's discover and inspect slave devices on the bus. Reviewed by: bms, stas Obtained from:Semihalf Added: head/usr.

svn commit: r194630 - in head/sys: conf powerpc/conf powerpc/mpc85xx

2009-06-22 Thread Rafal Jaworowski
Author: raj Date: Mon Jun 22 15:34:32 2009 New Revision: 194630 URL: http://svn.freebsd.org/changeset/base/194630 Log: Integrated I2C controller driver (found in MPC85xx and other SOC parts). Obtained from:Freescale, Semihalf Added: head/sys/powerpc/mpc85xx/i2c.c (contents, pro

svn commit: r194632 - in head/sys: conf powerpc/conf powerpc/mpc85xx

2009-06-22 Thread Rafal Jaworowski
Author: raj Date: Mon Jun 22 15:48:47 2009 New Revision: 194632 URL: http://svn.freebsd.org/changeset/base/194632 Log: DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. Obtained from:Semihalf Added: head/sys/powerpc/mpc85xx/ds1553_bus_lbc.c (conte

svn commit: r194633 - head/sys/conf

2009-06-22 Thread Rafal Jaworowski
Author: raj Date: Mon Jun 22 15:53:41 2009 New Revision: 194633 URL: http://svn.freebsd.org/changeset/base/194633 Log: Keep file list sorted. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc ==

svn commit: r194634 - head/sys/boot/powerpc/uboot

2009-06-22 Thread Rafal Jaworowski
Author: raj Date: Mon Jun 22 15:57:12 2009 New Revision: 194634 URL: http://svn.freebsd.org/changeset/base/194634 Log: Bump PowerPC loader(8) version to reflect extensions it has recently grown. Modified: head/sys/boot/powerpc/uboot/version Modified: head/sys/boot/powerpc/uboot/version =

svn commit: r194844 - in head/sys: conf dev/ata

2009-06-24 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 24 15:38:17 2009 New Revision: 194844 URL: http://svn.freebsd.org/changeset/base/194844 Log: Move non-PCI prototypes from ata-pci.h -> ata-all.h. This removes unnecessary PCI #includes dependency for systems with ATA controllers living at non-PCI buses. Subm

svn commit: r194845 - in head/sys/arm: conf mv mv/discovery mv/kirkwood mv/orion

2009-06-24 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 24 15:41:18 2009 New Revision: 194845 URL: http://svn.freebsd.org/changeset/base/194845 Log: Introduce ata(4) support for Marvell integrated SATA controllers (found on 88F5xxx, 88F6xxx and MV78xxx system on chip devices). Reviewed by: stas Obtained from:

svn commit: r194849 - head/sys/powerpc/mpc85xx

2009-06-24 Thread Rafal Jaworowski
Author: raj Date: Wed Jun 24 15:48:20 2009 New Revision: 194849 URL: http://svn.freebsd.org/changeset/base/194849 Log: More precise description of the DS1553 driver. Pointed out by: stas Modified: head/sys/powerpc/mpc85xx/ds1553_bus_lbc.c Modified: head/sys/powerpc/mpc85xx/ds1553_

svn commit: r194949 - in head/sys/arm/mv: . discovery kirkwood orion

2009-06-25 Thread Rafal Jaworowski
Author: raj Date: Thu Jun 25 10:03:51 2009 New Revision: 194949 URL: http://svn.freebsd.org/changeset/base/194949 Log: Enable all populated TWSI (I2C) controllers on Marvell SOCs. Obtained from:Semihalf Modified: head/sys/arm/mv/discovery/discovery.c head/sys/arm/mv/kirkwood/ki

svn commit: r194950 - head/sys/powerpc/conf

2009-06-25 Thread Rafal Jaworowski
Author: raj Date: Thu Jun 25 10:07:21 2009 New Revision: 194950 URL: http://svn.freebsd.org/changeset/base/194950 Log: Include SMP support in the MPC85XX kernel by default. Modified: head/sys/powerpc/conf/MPC85XX Modified: head/sys/powerpc/conf/MPC85XX ===

Re: svn commit: r194844 - in head/sys: conf dev/ata

2009-06-25 Thread Rafal Jaworowski
On 2009-06-25, at 12:19, Alexander Motin wrote: Rafal Jaworowski wrote: Modified: head/sys/conf/files = = = = = = = = = = --- head/sys/conf/files Wed Jun 24 15:33:33 2009(r194843) +++ head/sys/conf/files Wed Jun 24 15

svn commit: r194984 - head/sys/conf

2009-06-25 Thread Rafal Jaworowski
Author: raj Date: Thu Jun 25 18:09:23 2009 New Revision: 194984 URL: http://svn.freebsd.org/changeset/base/194984 Log: Make ata-{dma,sata}.c dependent on atacore build option. Discussed with: mav Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r195256 - in head/sys/arm: at91 mv sa11x0

2009-07-01 Thread Rafal Jaworowski
Author: raj Date: Wed Jul 1 20:07:44 2009 New Revision: 195256 URL: http://svn.freebsd.org/changeset/base/195256 Log: Map DPCPU pages into ARM kernel VA space. DPCPU area was not properly mapped into kernel VA space, which caused page fault on the first DPCPU access. This patch fixes the

svn commit: r195779 - head/sys/arm/arm

2009-07-20 Thread Rafal Jaworowski
Author: raj Date: Mon Jul 20 07:53:07 2009 New Revision: 195779 URL: http://svn.freebsd.org/changeset/base/195779 Log: ARM pmap fixes. a) nocache-remap problem When a page is remapped into a non-cacheable virtual memory region there was no associated write-back invalidate oper

svn commit: r195798 - head/sys/arm/arm

2009-07-21 Thread Rafal Jaworowski
Author: raj Date: Tue Jul 21 08:29:19 2009 New Revision: 195798 URL: http://svn.freebsd.org/changeset/base/195798 Log: Make dcache_inv_range() point to the proper routines on ARM9 and ARM9E/ARM10. On some ARM variations CPU func dispatcher has the D-cache invalidate method point to write-

svn commit: r195799 - head/sys/powerpc/mpc85xx

2009-07-21 Thread Rafal Jaworowski
Author: raj Date: Tue Jul 21 08:38:45 2009 New Revision: 195799 URL: http://svn.freebsd.org/changeset/base/195799 Log: Do not use OCP85XX_LBC_OFF twice when accessing LBC registers on MPC85XX. It turns LBC control registers were not programmed correctly on MPC85XX. We were accessing bogus

svn commit: r196193 - head/sys/arm/arm

2009-08-13 Thread Rafal Jaworowski
Author: raj Date: Thu Aug 13 15:56:09 2009 New Revision: 196193 URL: http://svn.freebsd.org/changeset/base/196193 Log: Use correct wbinv operation in pmap_l2cache_wbinv_range(). Submitted by: Michal Hajduk Reviewed by: stas Approved by: re (kib) Obtained from:Semihalf Modif

svn commit: r196194 - in stable/8/sys: . amd64/include/xen arm/arm cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/ata dev/cxgb dev/sound/usb dev/usb dev/usb/controller dev/usb/input dev...

2009-08-13 Thread Rafal Jaworowski
Author: raj Date: Thu Aug 13 16:01:19 2009 New Revision: 196194 URL: http://svn.freebsd.org/changeset/base/196194 Log: MFC r196193: Use correct wbinv operation in pmap_l2cache_wbinv_range(). Submitted by: Michal Hajduk Reviewed by: stas Approved by: re (kib) Obtained from:

svn commit: r196380 - head/sys/dev/usb

2009-08-19 Thread Rafal Jaworowski
Author: raj Date: Wed Aug 19 14:39:08 2009 New Revision: 196380 URL: http://svn.freebsd.org/changeset/base/196380 Log: Fix USB cache sync operations for platforms with non-coherent DMA. - usb_pc_cpu_invalidate() is called between [consecutive] reads from a device, so a sequence of BUS_D

svn commit: r196381 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/usb dev/xen/xenpci

2009-08-19 Thread Rafal Jaworowski
Author: raj Date: Wed Aug 19 14:48:59 2009 New Revision: 196381 URL: http://svn.freebsd.org/changeset/base/196381 Log: MFC r196380 Fix USB cache sync operations for platforms with non-coherent DMA. - usb_pc_cpu_invalidate() is called between [consecutive] reads from a device, so a

Re: svn commit: r196380 - head/sys/dev/usb

2009-08-19 Thread Rafal Jaworowski
On 2009-08-19, at 17:30, Sam Leffler wrote: Rafal Jaworowski wrote: Author: raj Date: Wed Aug 19 14:39:08 2009 New Revision: 196380 URL: http://svn.freebsd.org/changeset/base/196380 Log: Fix USB cache sync operations for platforms with non-coherent DMA. - usb_pc_cpu_invalidate() is called

Re: svn commit: r196380 - head/sys/dev/usb

2009-08-19 Thread Rafal Jaworowski
On 2009-08-19, at 17:48, Sam Leffler wrote: Is this different from the patch I tested on Gateworks 2358 boards which didn't completely resolve problems? Hm, not sure what patch you have tested with GW. There was an initial workaround for this problem from late June time frame, and this com

svn commit: r183835 - in head/sys/arm: arm include

2008-10-13 Thread Rafal Jaworowski
Author: raj Date: Mon Oct 13 18:16:54 2008 New Revision: 183835 URL: http://svn.freebsd.org/changeset/base/183835 Log: Introduce low-level support for new Marvell core CPUs: 88FR131, 88FR571. They are compliant with ARMv5TE and integrated on 88F6281 (Kirkwood) and MV78100 (Discovery) syst

svn commit: r183836 - head/sys/arm/arm

2008-10-13 Thread Rafal Jaworowski
Author: raj Date: Mon Oct 13 18:42:25 2008 New Revision: 183836 URL: http://svn.freebsd.org/changeset/base/183836 Log: Do not use cached page for temporary mapping in pmap_zero_page_generic() The physical page which we clear is accessed via additional temp kernel mapping for the period of

svn commit: r183838 - head/sys/arm/arm

2008-10-13 Thread Rafal Jaworowski
Author: raj Date: Mon Oct 13 18:59:59 2008 New Revision: 183838 URL: http://svn.freebsd.org/changeset/base/183838 Log: Provide L2 cache synchronization (write back + invalidation) on ARM. Note the cpu_l2cache_wbinv_* routines are no-ops on systems not populated with L2 caches. Obtain

svn commit: r183839 - head/sys/arm/arm

2008-10-13 Thread Rafal Jaworowski
Author: raj Date: Mon Oct 13 19:14:14 2008 New Revision: 183839 URL: http://svn.freebsd.org/changeset/base/183839 Log: One more L2 cache synchronization call that didn't make the previous commit. Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S

svn commit: r183840 - in head/sys: arm/arm arm/include arm/mv arm/mv/discovery arm/mv/kirkwood arm/mv/orion conf dev/uart

2008-10-13 Thread Rafal Jaworowski
Author: raj Date: Mon Oct 13 20:07:13 2008 New Revision: 183840 URL: http://svn.freebsd.org/changeset/base/183840 Log: Introduce basic support for Marvell families of system-on-chip ARM devices: * Orion - 88F5181 - 88F5182 - 88F5281 * Kirkwood - 88F6281

svn commit: r183866 - head/sys/dev/usb

2008-10-14 Thread Rafal Jaworowski
Author: raj Date: Tue Oct 14 07:05:20 2008 New Revision: 183866 URL: http://svn.freebsd.org/changeset/base/183866 Log: Mbus attachment for USB EHCI integrated controller on Marvell chips. This includes workarounds required for the ehci(4) to handle some non-standard behaviour of these dev

svn commit: r183867 - head/sys/dev/mge

2008-10-14 Thread Rafal Jaworowski
Author: raj Date: Tue Oct 14 07:24:18 2008 New Revision: 183867 URL: http://svn.freebsd.org/changeset/base/183867 Log: Marvell Gigabit Ethernet controller driver. This supports 1Gbps Ethernet engine found on ARM-based SOCs (Orion, Kirkwood, Discovery), as well as on system controllers for

svn commit: r183873 - head/sys/arm/conf

2008-10-14 Thread Rafal Jaworowski
Author: raj Date: Tue Oct 14 08:18:27 2008 New Revision: 183873 URL: http://svn.freebsd.org/changeset/base/183873 Log: Add kernel config files for Marvell development boards. FreeBSD 8-CURRENT was tested and run successfully on the following eval boards and devices : * DB-88F5182,

Re: svn commit: r183873 - head/sys/arm/conf

2008-10-14 Thread Rafal Jaworowski
Sam Leffler wrote: > Rafal Jaworowski wrote: >> Author: raj >> Date: Tue Oct 14 08:18:27 2008 >> New Revision: 183873 >> URL: http://svn.freebsd.org/changeset/base/183873 >> >> Log: >> Add kernel config files for Marvell development boards

svn commit: r183878 - in head/sys: arm/arm arm/include boot boot/arm boot/arm/uboot boot/common boot/ficl boot/uboot/lib

2008-10-14 Thread Rafal Jaworowski
{.CURDIR}/../../forth +FILES= ${PROG}.help + +.include Added: head/sys/boot/arm/uboot/conf.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/boot/arm/uboot/conf.c Tue Oct 14 10:

<    1   2   3   >