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]
Message-ID: <LV8PR11MB84634960758E20E781DB638F8B7D2@LV8PR11MB8463.namprd11.prod.outlook.com>
Date: Tue, 30 Jan 2024 23:32:14 +0000
From: "Corona, Ernesto" <ernesto.corona@...el.com>
To: "linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "linux-aspeed@...ts.ozlabs.org"
	<linux-aspeed@...ts.ozlabs.org>
CC: "Corona, Ernesto" <ernesto.corona@...el.com>, "'oleksandrs@...lanox.com'"
	<oleksandrs@...lanox.com>, "Castro, Omar Eduardo"
	<omar.eduardo.castro@...el.com>, "'omar.eduardo.castro@...ux.intel.com'"
	<omar.eduardo.castro@...ux.intel.com>, "'pombredanne@...b.com'"
	<pombredanne@...b.com>, "'corbet@....net'" <corbet@....net>,
	"'gregkh@...uxfoundation.org'" <gregkh@...uxfoundation.org>,
	"'gustavo.pimentel@...opsys.com'" <gustavo.pimentel@...opsys.com>,
	"'lorenzo.pieralisi@....com'" <lorenzo.pieralisi@....com>, "'kishon@...com'"
	<kishon@...com>, "'darrick.wong@...cle.com'" <darrick.wong@...cle.com>,
	"'bryantly@...ux.vnet.ibm.com'" <bryantly@...ux.vnet.ibm.com>,
	"'sandeen@...hat.com'" <sandeen@...hat.com>, "'rdunlap@...radead.org'"
	<rdunlap@...radead.org>, "'kusumi.tomohiro@...il.com'"
	<kusumi.tomohiro@...il.com>, "'arnd@...db.de'" <arnd@...db.de>,
	"'mchehab+samsung@...nel.org'" <mchehab+samsung@...nel.org>,
	"'alexandre.belloni@...tlin.com'" <alexandre.belloni@...tlin.com>,
	"'tytso@....edu'" <tytso@....edu>, "'ebiggers@...gle.com'"
	<ebiggers@...gle.com>, "Filary, Steven A" <steven.a.filary@...el.com>,
	"'jiri@...dia.com'" <jiri@...dia.com>, "'vadimp@...lanox.com'"
	<vadimp@...lanox.com>, "'amithash@...com'" <amithash@...com>,
	"'patrickw3@...com'" <patrickw3@...com>, "Chen, Luke"
	<luke_chen@...eedtech.com>, "'billy_tsai@...eedtech.com'"
	<billy_tsai@...eedtech.com>, "'rgrs@...tonmail.com'" <rgrs@...tonmail.com>
Subject: [PATCH 30 5/7] Add JTAG core driver ioctl number

JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions.

Driver exposes set of IOCTL to user space for:
- XFER:
  SIR (Scan Instruction Register, IEEE 1149.1 Data Register scan);
  SDR (Scan Data Register, IEEE 1149.1 Instruction Register scan);
- GIOCSTATUS read the current TAPC state of the JTAG controller
- SIOCSTATE Forces the JTAG TAPC to go into a particular state.
- SIOCFREQ/GIOCFREQ for setting and reading JTAG frequency.
- IOCBITBANG for low level control of JTAG signals.

Signed-off-by: Oleksandr Shamray <oleksandrs@...lanox.com>
Signed-off-by: Ernesto Corona <ernesto.corona@...el.com>
Signed-off-by: Omar Castro <omar.eduardo.castro@...ux.intel.com>
Acked-by: Philippe Ombredanne <pombredanne@...b.com>
Cc: Jonathan Corbet <corbet@....net>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Gustavo Pimentel <gustavo.pimentel@...opsys.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
Cc: Kishon Vijay Abraham I <kishon@...com>
Cc: Darrick J. Wong <darrick.wong@...cle.com>
Cc: Bryant G. Ly <bryantly@...ux.vnet.ibm.com>
Cc: Eric Sandeen <sandeen@...hat.com>
Cc: Randy Dunlap <rdunlap@...radead.org>
Cc: Tomohiro Kusumi <kusumi.tomohiro@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: "Theodore Ts'o" <tytso@....edu>
Cc: Eric Biggers <ebiggers@...gle.com>
Cc: Steven Filary <steven.a.filary@...el.com>
Cc: Jiri Pirko <jiri@...dia.com>
Cc: Vadim Pasternak <vadimp@...lanox.com>
Cc: Amithash Prasad <amithash@...com>
Cc: Patrick Williams <patrickw3@...com>
Cc: Luke Chen <luke_chen@...eedtech.com>
Cc: Billy Tsai <billy_tsai@...eedtech.com>
Cc: Rgrs <rgrs@...tonmail.com>

v29->v30
Update Ioctl number to 0xB9 due conflicts.
Change email contact.

v28->v29
Move ioctl number to userspace-api/ioctl/ioctl-number.rst
---
 Documentation/userspace-api/ioctl/ioctl-number.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst
index 457e16f06e04..cf602aa3a853 100644
--- a/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -358,6 +358,8 @@ Code  Seq#    Include File                                           Comments
 0xB6  all    linux/fpga-dfl.h
 0xB7  all    uapi/linux/remoteproc_cdev.h                            <mailto:linux-remoteproc@...r.kernel.org>
 0xB7  all    uapi/linux/nsfs.h                                       <mailto:Andrei Vagin <avagin@...nvz.org>>
+0xB9  00-0F  linux/jtag.h                                            JTAG driver
+                                                                     <mailto:ernesto.corona@...el.com>
 0xC0  00-0F  linux/usb/iowarrior.h
 0xCA  00-0F  uapi/misc/cxl.h
 0xCA  10-2F  uapi/misc/ocxl.h
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ