Date: Sun, 18 Sep 2016 22:15:48 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Andriy Gapon <avg@FreeBSD.org> Cc: FreeBSD CURRENT <freebsd-current@FreeBSD.org> Subject: Re: CURRENT: SMBus controller driver for AMD APU GX-412TC SOC Message-ID: <20160918221548.012e9757.ohartman@zedat.fu-berlin.de> In-Reply-To: <7f1aa503-fe9b-279d-7c75-bde1432d406c@FreeBSD.org> References: <20160918160547.188cc061.ohartman@zedat.fu-berlin.de> <7f1aa503-fe9b-279d-7c75-bde1432d406c@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Am Sun, 18 Sep 2016 19:56:24 +0300 Andriy Gapon <avg@FreeBSD.org> schrieb: > On 18/09/2016 17:05, O. Hartmann wrote: > > Running a recent CURRENT (FreeBSD 12.0-CURRENT #11 r305903: Sat Sep 17 20:30:19 CEST > > 2016) on a PCengines APU 2C4, I see no driver adapted to the SMBus of the system, > > although I have the driver statically linked into the kernel via > > > > [...] > > # System Management Bus > > device smbus > > device smb # SMB generic I/O device driver > > device ichsmb # Intel ICH SMBus controller driver > > device amdsmb # AMD-8111 SMBus 2.0 controller driver > > device iicsmb # > > device iicbus > > device iicbb > > device iic > > device ic > > [...] > > > > pciconf -lvbp shows up this message: > > > > [...] > > none1@pci0:0:20:0: class=0x0c0500 card=0x780b1022 chip=0x780b1022 rev=0x42 > > hdr=0x00 vendor = 'Advanced Micro Devices, Inc. [AMD]' > > device = 'FCH SMBus Controller' > > class = serial bus > > subclass = SMBus > > > > So, I guess CURRENT doesn't have a driver covering this type of system? Or do I miss > > something here? > > First of all, as strange as it may seem, the correct driver in this case would > be intpm. See its manual page. > Second, the driver doesn't support your hardware yet. Some rather small changes > are required and I am working on that. First: thanks for the answer. Second: thanks for working on it. Third: As strange as it may sound, I would have expected it to reside in amdsmb(4) ;-) > > > > I also see a very strange, mysterious and interesting feature, also not attached with > > a driver: > > > > none0@pci0:0:8:0: class=0x108000 card=0x15371022 chip=0x15371022 rev=0x00 > > hdr=0x00 vendor = 'Advanced Micro Devices, Inc. [AMD]' > > class = encrypt/decrypt > > bar [10] = type Prefetchable Memory, range 64, base 0xfea00000, size 131072, > > enabled bar [18] = type Memory, range 32, base 0xfe800000, size 1048576, enabled > > bar [1c] = type Memory, range 32, base 0xfea24000, size 4096, enabled > > bar [20] = type Memory, range 32, base 0xfe900000, size 1048576, enabled > > bar [24] = type Memory, range 32, base 0xfea20000, size 8192, enabled > > cap 11[50] = MSI-X supports 2 messages > > Table in map 0x24[0x0], PBA in map 0x24[0x1000] > > cap 08[5c] = HT MSI fixed address window enabled at 0xfee00000 > > cap 01[60] = powerspec 3 supports D0 D3 current D0 > > > > > > Encrypt/decrypt? What is this? > > > > Thanks for your patience and enlighting me, > > I think that that's this hardware: > http://www.amd.com/en-us/innovations/software-technologies/security > http://www.anandtech.com/show/6007/amd-2013-apus-to-include-arm-cortexa5-processor-for-trustzone-capabilities > > Linux has a driver for it: > http://www.phoronix.com/scan.php?px=MTU4MTM&page=news_item > http://cateee.net/lkddb/web-lkddb/CRYPTO_DEV_CCP.html > I see ... Linux then ... Kind regards, Oliver [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJX3vX1AAoJEOgBcD7A/5N8U/QH/3JlwT/5GLBHy+WPVWz2FJq/ hLCffN3ezg0xij3Kq0n+FUL0v/JMOV52Iaw6vMLKOF/4N1110ttDk9Hq/0xwY6Cy aS4/9lnMdfNlbXE+nPPCt+mnvHLhtMUIagCkMHpd/2f9F4LBucRFRyb7EtcYXnj1 rASh1f8/mGR5f8pFwGZhuVoK5QziqKGs8Cgy995FIoM4cJ9oMVpL3zf8J0npwiBJ +1bGkOteysi534iw36zTOXwHEcP1wnYE7hg0VupD703JiahdhbAEjlqSHIROD0AM 0R4IyyNdUNhCRXQ8w/AzLslYPRkphRRq61EYGMl+NkFAvQ8baHrdbTOVYOr+Oe4= =L2aV -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160918221548.012e9757.ohartman>
