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-next>] [day] [month] [year] [list]
Date:	Wed, 20 Jul 2016 18:21:14 +0100
From:	Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
To:	<gregkh@...uxfoundation.org>, <arnd@...db.de>
CC:	<jslaby@...e.com>, <linux-kernel@...r.kernel.org>,
	<linux-serial@...r.kernel.org>, <Zubair.Kakakhel@...tec.com>
Subject: [RFC 0/3] misc: pch_phub: Add quirks for MIPS Boston platform

Hi,

These are a few patches for using the EG20T UART on the Imagination
Technologies Boston development platform

2 quirks needed
- Pass a specific value for the prefetch register from DT instead of using
the hard-coded default.
- Add a quirk for using the internal 25MHz clock source for the UART block

The patches for Boston platform are inflight.
https://patchwork.kernel.org/patch/8200941/

So pasting a DT node snippet here.

+                                       eg20t_pch@2,0,0 {
+                                               compatible = "pci8086,8801";
+                                               reg = <0x00020000 0 0 0 0>;
+
+                                               intel,eg20t-prefetch = <0>;
+                                       };
+                                       eg20t_uart0@02,10,1 {
+                                               compatible = "pci8086,8811";
+                                               reg = <0x00025100 0 0 0 0>;
+
+                                               clock-frequency = <25000000>;
+                                       };

Marked as RFC due to the 2/3 patch for DT + PCI-E + board specific quirk
Suggestions and feedback welcome.

Based on v4.7-rc7

Regards,
ZubairLK

Zubair Lutfullah Kakakhel (3):
  misc: pch_phub: Read prefetch value from device tree if passed
  misc: pch_phub: Add UART_CLK quirk for Boston platform
  serial: pch_uart: Add support for reading clock-frequency from DT

 drivers/misc/pch_phub.c       | 19 ++++++++++++++++++-
 drivers/tty/serial/Kconfig    |  2 +-
 drivers/tty/serial/pch_uart.c |  4 ++++
 3 files changed, 23 insertions(+), 2 deletions(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ