sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
X-Scale has quit [Ping timeout: 246 seconds]
X-Scale` is now known as X-Scale
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
jrtc27 has joined #riscv
jrtc27 has quit [Ping timeout: 246 seconds]
dobson has quit [Ping timeout: 252 seconds]
paulk has quit [Ping timeout: 248 seconds]
paulk has joined #riscv
dobson has joined #riscv
Trifton has joined #riscv
pecastro has quit [Ping timeout: 246 seconds]
prabhakarlad has joined #riscv
Trifton_ has joined #riscv
Trifton has quit [Ping timeout: 252 seconds]
loggervicky has joined #riscv
jrtc27 has joined #riscv
jrtc27 has quit [Ping timeout: 272 seconds]
freakazoid332 has joined #riscv
frkazoid333 has joined #riscv
frkzoid has quit [Ping timeout: 255 seconds]
freakazoid332 has quit [Ping timeout: 255 seconds]
jrtc27 has joined #riscv
epony has quit [Ping timeout: 272 seconds]
jacklsw has joined #riscv
paulk has quit [Ping timeout: 255 seconds]
paulk has joined #riscv
paulk has quit [Ping timeout: 252 seconds]
paulk has joined #riscv
paulk has quit [Ping timeout: 255 seconds]
paulk has joined #riscv
loggervicky has quit [Ping timeout: 255 seconds]
loggervicky has joined #riscv
mz___ has joined #riscv
loggervicky has quit [Quit: loggervicky]
Trifton2 has joined #riscv
Trifton_ has quit [Ping timeout: 252 seconds]
bjoto has joined #riscv
Gravis has quit [Ping timeout: 248 seconds]
mz__ has joined #riscv
mz___ has quit [Ping timeout: 252 seconds]
BootLayer has joined #riscv
Gravis has joined #riscv
epony has joined #riscv
nelnire has quit [Ping timeout: 268 seconds]
nelnire has joined #riscv
vagrantc has joined #riscv
dor has joined #riscv
qwer has quit [Ping timeout: 248 seconds]
jacklsw has quit [Quit: Back to the real world]
elastic_dog is now known as Guest5715
elastic_dog has joined #riscv
jacklsw has joined #riscv
bjoto has quit [Ping timeout: 252 seconds]
bjoto has joined #riscv
BootLayer_ has joined #riscv
dor has quit [Remote host closed the connection]
BootLayer has quit [Ping timeout: 252 seconds]
vagrantc has quit [Quit: leaving]
elastic_dog has quit [Quit: elastic_dog]
elastic_dog has joined #riscv
reda has quit [Read error: Software caused connection abort]
loggervicky has joined #riscv
loggervicky has quit [Client Quit]
reda has joined #riscv
radu24275 has quit [Quit: Ping timeout (120 seconds)]
radu24275 has joined #riscv
bauruine has joined #riscv
Reinhilde is now known as Ellenor
pecastro has joined #riscv
radu242756 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242756 is now known as radu24275
jjido has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
jacklsw has quit [Quit: Back to the real world]
JanC has quit [Quit: 'k zien d'r mee weh zi]
JanC has joined #riscv
BootLayer_ has quit [Read error: Connection reset by peer]
BootLayer__ has joined #riscv
The_Decryptor has quit [Read error: Software caused connection abort]
The_Decryptor has joined #riscv
aerkiaga has joined #riscv
pecastro has quit [Ping timeout: 252 seconds]
pecastro has joined #riscv
prabhakarlad has quit [*.net *.split]
crabbedhaloablut has quit [*.net *.split]
tusko has quit [*.net *.split]
drmpeg has quit [Ping timeout: 250 seconds]
drmpeg has joined #riscv
hrberg has quit [Ping timeout: 276 seconds]
qwer has joined #riscv
radu242759 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242759 is now known as radu24275
bjoto has quit [Ping timeout: 255 seconds]
wingsorc has quit [Ping timeout: 246 seconds]
EchelonX has joined #riscv
aerkiaga has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 255 seconds]
qwer has quit [Quit: Leaving]
mz__ has quit [Ping timeout: 272 seconds]
ldevulder has quit [Ping timeout: 250 seconds]
mz__ has joined #riscv
Andre_H has joined #riscv
awita has joined #riscv
qwer has joined #riscv
Andre_H has quit [Read error: Connection reset by peer]
Trifton2 has quit [Quit: Error: no route to host]
catern has quit [Remote host closed the connection]
josuah has quit [Ping timeout: 272 seconds]
josuah has joined #riscv
ldevulder has joined #riscv
dor has joined #riscv
awita has quit [Ping timeout: 246 seconds]
indy_ is now known as indy
la_mettrie has quit [Read error: Software caused connection abort]
la_mettrie has joined #riscv
quantum_ has joined #riscv
EchelonX has quit [Ping timeout: 252 seconds]
catern has joined #riscv
mz__ has quit [Ping timeout: 252 seconds]
tusko has joined #riscv
prabhakarlad has joined #riscv
hb9fxx has joined #riscv
sauce has quit [Read error: Software caused connection abort]
pedja has joined #riscv
sauce has joined #riscv
radu242757 has joined #riscv
mz__ has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242757 is now known as radu24275
another is now known as another|
mz__ has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Ping timeout: 260 seconds]
bauruine has quit [Remote host closed the connection]
prabhakarlad has joined #riscv
frkzoid has joined #riscv
rneese has joined #riscv
frkazoid333 has quit [Ping timeout: 255 seconds]
stefanct has quit [Read error: Software caused connection abort]
eroux has quit [Ping timeout: 272 seconds]
prabhakarlad has quit [Ping timeout: 260 seconds]
prabhakarlad has joined #riscv
stefanct has joined #riscv
<drewfustini> For those using RISC-V systems with PCIe, does Linux directly handle enumeration of devices and BAR assignment?
<drewfustini> Most documentation I can find is very x86 centric. I am uncertain if firmware has to handle this on non x86 platforms too or if Linux can just do it itself
eroux has joined #riscv
eroux has quit [Remote host closed the connection]
<bjdooks> drewfustini: the unmatched, you can either get uboot to do it or just ignore pcie in uboot and have linux scan the bus
<bjdooks> i think in both cases linux will assign pcie bus nd addressing
<drewfustini> Great, thank you
<drewfustini> conchuod: does PolarFire SoC work similarly?
<conchuod> yeah, we ignore it in u-boot and then linux picks stuff up during boot.
<conchuod> the dt only gets the root port address & the things on the bus are discoverable
bjoto has joined #riscv
<drewfustini> Good to hear. I had the misconception that Linux expected from where to handle the enumeration and BAR assignment
<drewfustini> s/from where/firmware/
<bjdooks> linux has had comprehensive pci/pcie bus init code for a long time
<bjdooks> there might be a cmdline flag to force it to use the firmware setup values already
<drewfustini> Thank you
<drewfustini> The context is I'm working with a new SoC with DesignWare PCIe dual mode controller. the vendor's firmware currently only handles PCIe end point functionality.
<drewfustini> I've been trying to figure out what needs to be added to the firmware for Root Complex mode. It's good to know the firmware can skip dealing with enumeration and BAR assignment as Linux can handle this
loggervicky has joined #riscv
<jrtc27> same is true for FreeBSD
<muurkha> cool
loggervicky has quit [Quit: loggervicky]
<drewfustini> Good to know, thanks
<bjdooks> yeah, linux will need a dw-pcie wrapper and the appropriate phy setup
Maylay has quit [Read error: Software caused connection abort]
Maylay has joined #riscv
bjoto has quit [Ping timeout: 248 seconds]
bjoto has joined #riscv
___nick___ has joined #riscv
jacklsw has joined #riscv
koolazer has quit [Read error: Software caused connection abort]
koolazer has joined #riscv
awita has joined #riscv
Ellenor has quit [Read error: Software caused connection abort]
prabhakarlad has quit [Quit: Client closed]
<palmer> drewfustini bjdooks there's also usually some bits near the DW IPs that you need to set up, there's a bunch of examples upstream
<bjdooks> yeah, the glue should basically ensure phy and core are ready before the dw-core gets called
<palmer> yep
<palmer> so stuff like interrupts/clocks are almost certainly necessary, maybe stuff like pinmux/power/mmio/DMO
<palmer> *DMA
<palmer> the SiFive stuff has the bare minimum, but if you're working something more production-targeted then it's probably better to find a similar arm64 design
<bjdooks> some of that comes from the dt, a bit will be the phy
<palmer> ya, but last time I was messing with this there was vendor-specific glue to get those phy control bits plumbed through -- maybe something changed, though?
Ellenor has joined #riscv
<bjdooks> yeah, that's the wrapper code that gets the bits like the phy sorted, and maybe power/reset/etc
aerkiaga has joined #riscv
Andre_H has joined #riscv
kgz has quit [Read error: Software caused connection abort]
radu242758 has joined #riscv
awita has quit [Remote host closed the connection]
bjoto has quit [Ping timeout: 248 seconds]
awita has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242758 is now known as radu24275
prabhakarlad has joined #riscv
bjoto has joined #riscv
dor has quit [Remote host closed the connection]
hb9fxx has quit [Quit: Client closed]
dor has joined #riscv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
jacklsw has quit [Quit: Back to the real life]
kgz has joined #riscv
vagrantc has joined #riscv
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #riscv
aerkiaga has quit [Remote host closed the connection]
Andre_H has quit [Quit: Leaving.]
crabbedhaloablut has joined #riscv
Maylay has quit [Ping timeout: 252 seconds]
Maylay has joined #riscv
jjido has joined #riscv
Narrat has joined #riscv
radu242759 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242759 is now known as radu24275
BootLayer__ has quit [Quit: Leaving]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
rneese has quit []
radu242753 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242753 is now known as radu24275
awita has quit [Ping timeout: 248 seconds]
aerkiaga has joined #riscv
s1b1 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
pedja has quit [Quit: Leaving]
s1b1 has joined #riscv
___nick___ has quit [Ping timeout: 248 seconds]
dor has quit [Remote host closed the connection]
<drewfustini> I was hoping to be able to use the "snps,dw-pcie" compatible in pcie-designware-plat.c but I need to get more into the specifics.
<drewfustini> It seems though that many vendors end up creating their own driver even though they seem to be licensing the same DWC IP
tusko has quit [Remote host closed the connection]
tusko has joined #riscv
radu242752 has joined #riscv
radu24275 has quit [Ping timeout: 276 seconds]
radu242752 is now known as radu24275
_whitelogger has joined #riscv
wingsorc has joined #riscv
rodrgz has joined #riscv
rodrgz has quit [Quit: WeeChat 3.7.1]
jmdaemon has joined #riscv
hrberg has joined #riscv
hrberg has quit [Client Quit]
hrberg has joined #riscv
hrberg has quit [Client Quit]
hrberg has joined #riscv
hrberg has quit [Client Quit]
hrberg has joined #riscv
hrberg has quit [Client Quit]
hrberg has joined #riscv
hrberg has quit [Client Quit]
hrberg has joined #riscv
Andre_H has joined #riscv
bjoto has quit [Ping timeout: 246 seconds]
motherfsck has quit [Quit: quit]
<palmer> drewfustini: the DW stuff is a bit of a mess, are you even allow to publicly say it's DW?
<drewfustini> Not sure about what's allowed to be said publicly. I have access to all the docs but I need to figure out if what is already in the kernel is a good match for the DesignWare IP that is the SoC I'm working on
<drewfustini> I was hoping so but I am guess there is a lot glue and quirks I'll need to add
<palmer> the docs I had were very-NDA
<palmer> you should probably check with some folks before posting stuff publicly ;)
<drewfustini> Similar situation with getting eMMC working with the DWC MSHC in this SoC. There was a generic compatible for it but I had to make several tweaks and enable lots of quirks to get it to work
<palmer> yep, it's always a mess
<palmer> every time I've had to deal with this before there's months of silly "can we post this" discussions, and then it's just some little quirk that a handful of other folks forked the driver for to avoid calling out
<drewfustini> Oh yes I mean I have access to all the NDA docs that a SoC vendor would. I'm trying to assess how much new code will need to be written. It seems lots of vendors use this IP but unfortunately it seems most create their own driver to account for the glue
<palmer> yep, and that makes it super hard to figure out which flavor of the IP each one supports and whether you can use it ;)
<drewfustini> My experience so far with the support from snps has been very poor :)
<drewfustini> Yeah, in a perfect world, people could list the exact IP version in the kernel driver along with the configuration parameters they used in the IP generator :)
aerkiaga has quit [Remote host closed the connection]
awita has joined #riscv
<jrtc27> yeah I don't understand why the glue for dw pci stuff can't be standardised...
awita has quit [Remote host closed the connection]
awita has joined #riscv
<muurkha> jrtc27: might be hard to standardize it if DesignWare gags the people who would have to agree on the standard so they can't talk to each other
Andre_H has quit [Quit: Leaving.]
awita has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
matoro has quit [Read error: Software caused connection abort]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
matoro has joined #riscv
matoro has quit [Changing host]
matoro has joined #riscv
prabhakarlad has joined #riscv
conchuod has quit [Read error: Software caused connection abort]
ConorDooley has joined #riscv
hrberg has quit [Ping timeout: 252 seconds]
hrberg has joined #riscv
shoragan has quit [Read error: Software caused connection abort]