Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 14:50:36 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Zbigniew Bodek <zbb@semihalf.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, br@freebsd.org, Olivier Houchard <cognet@FreeBSD.org>
Subject:   Re: RFC: ARM related fixes - GIC, cache line size, PCI FDT & AHCI
Message-ID:  <F9108B73-5293-4118-8281-6140A7658C1A@bsdimp.com>
In-Reply-To: <52AF3D06.2000004@semihalf.com>
References:  <52AF3D06.2000004@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 16, 2013, at 10:48 AM, Zbigniew Bodek wrote:

> Hello Everyone.
>=20
> We would like to submit some new patches recently developed by =
Semihalf.

Thanks for your efforts here. Would there be a need to MFC these patches =
to 10 and/or 9?

> You can find them here:
> http://people.freebsd.org/~zbb/Semihalf/12.2013/
>=20
> Detailed description is available in the commit logs but in general:
>=20
> -- 0001-Resolve-cache-line-size-using-CP15.patch
>   - use cache line size acquired in runtime

This looks good (assuming the register definitions are good, I didn't =
verify them). Might be useful to publish these values to userland =
somehow, maybe via a sysctl. This is option, but would be nice to have.

Would also be good to have USB_ALIGN kassert if using USB and this value =
is < that macro.

Do other, older CPUs need similar decoding, or are the hard-wired values =
good?

> -- 0002-GIC-polarity-and-level-support.patch
>   - suport for setting trigger level and polarity in GIC

This one seems to be OK, but is complicated enough that more eyeballs =
and testing would be good....

> -- 0003-Add-PCI-FDT-interrupt-trigger-polarity-parsing.patch
>   - trigger and polarity parsing for PCI FDT interrupts

This patch might conflict.

+		if (trig)
+			*trig =3D tmp_trig;
+		if (pol)
+			*pol =3D tmp_pol;

Are not zero values also valid?

> -- 0004-Do-not-attach-to-bridges-in-AHCI-driver.patch

I'd add the word 'PCI' before bridge in the comment, otherwise this =
looks good.

> -- 0005-Use-only-mapped-BIOs-on-ARM.patch

A comment about what MVA is would be useful.. Otherwise does what it =
says.

>  - Two patches enabling the AHCI driver on ARM chips

I didn't see these. Did I miss something? Or is the unmapped stuff all =
it takes?

> We will appreciate if you could post your comments and/or remarks by =
the
> end of this week when we plan to commit the changes.
>=20
> Best regards
> zbb
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9108B73-5293-4118-8281-6140A7658C1A>