LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-12-2021, 11:04 PM   #1
gglq000
Member
 
Registered: Mar 2012
Posts: 69

Rep: Reputation: Disabled
how to display atomic bits


Summarizing from bits of information I gathered from here and there, i found that atomics are supported and added as one of the ECN to pci-sig.

Now I am trying to display the graphics cards atomic support by lspci s <pci_address> -vv command. Someone else is able to get atomic status displayed from verbose output (-vv) of lspci (1) but in my case, I just could not after trynig several servers(2)

(1)

DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-

... EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-
AtomicOpsCap: 32bit+ 64bit+ 128bitCAS-

(2)
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR+, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-


How do I cause the lspci to display? I am using ubuntu1804 with linux kernel 5.4.xx.
Do I have build the kernel with specific options?
Thanks.,
 
Old 05-13-2021, 07:55 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,515

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
I would like links for your 'here and there.'
 
Old 05-21-2021, 10:47 AM   #3
gglq000
Member
 
Registered: Mar 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
It is available in pci-sig but for members only.

PCI-SIG ENGINEERING CHANGE NOTICE
TITLE: Atomic Operations

Part I
1. Summary of the Functional Changes
This optional normative ECN defines 3 new PCIe transactions, each of which carries out a specific
Atomic Operation (“AtomicOp”) on a target location in Memory Space. The 3 AtomicOps are FetchAdd
(Fetch and Add), Swap (Unconditional Swap), and CAS (Compare and Swap). FetchAdd and Swap
support operand sizes of 32 and 64 bits. CAS supports operand sizes of 32, 64, and 128 bits.
Endpoints and Root Ports may serve as Requesters for AtomicOps. PCIe Functions with Memory Space
BARs as well as all Root Ports may serve as Completers for AtomicOp Requests. Routing elements
(Switches, as well as Root Complexes supporting peer-to-peer access between Root Ports) require
modification in order to route AtomicOp Requests. AtomicOps are architected for device-to-host, deviceto-device, and host-to-device transactions.
Four new bits in the Device Capabilities 2 register enable software to discover specific AtomicOp
Completer capabilities in arbitrary PCIe Functions, and AtomicOp routing capability in routing elements.
Software discovery of AtomicOp Requester capabilities is not architected, but a new AtomicOp Requester
Enable bit in the Device Control 2 register must be set by software in order for a Function to initiate
AtomicOp Requests. Software can set a new AtomicOp Egress Blocking bit in routing element Ports as
needed to avoid forwarding (“block”) AtomicOp Requests to components that shouldn’t receive them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login to any buster desktop manager emulated with qemu 'cause this error : broken atomic modeset userspace detected, disabling atomic marietto Debian 2 04-28-2021 04:28 AM
cryptography... what's difference between 8bits / 16 bits / 32 bits/ 64 bits/128bits? ybpark81 Linux - Security 4 02-19-2012 08:38 AM
Atomic variable Vs. Atomic operation sinu_nayak2001 Programming 2 05-19-2010 07:46 AM
32 bits version distros running 64 bits CPU javb Linux - General 4 04-02-2006 07:21 AM
Java 64 bits and applications of 32 bits RGB_mdk Linux - Software 3 06-13-2005 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration