lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201109281701.00129.arnd@arndb.de>
Date:	Wed, 28 Sep 2011 17:00:59 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	Mark Salter <msalter@...hat.com>
Cc:	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH v3 06/24] C6X: early boot code

On Wednesday 28 September 2011, Mark Salter wrote:
> c6x_silicon_rev is needed by drivers (though none in the current
> patch series) to deal with silicon errata.
> 
> c6x_devstat has pin-strap config info some drivers may need.

Ok, I guess these can be EXPORT_SYMBOL_GPL then, or you could
remove them entirely by evaluating them in the boot loader and
changing the device tree accordingly.

For device drivers, it's usually better to make decisions based
on the revision of the device they talk to, not the revision of
the entire SoC, since that requires knowledge of all SoCs that
contain each version of the hardware macro.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ