Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo in xpciepsu.c #188

Open
wants to merge 3,734 commits into
base: master
Choose a base branch
from
Open

Fixed typo in xpciepsu.c #188

wants to merge 3,734 commits into from

Conversation

nbstrong
Copy link

@nbstrong nbstrong commented Mar 8, 2022

No description provided.

Alex Kiani and others added 30 commits August 23, 2021 16:03
intialize EventVal to zero for safety when launching

Signed-off-by: Alex Kiani <alex.kiani@xilinx.com>
Acked-by: Wendy Liang <wendy.liang@xilinx.com>
Add support to register notifier for CPU idle before force power down.

Register notifier for EVENT_CPU_IDLE_FORCE_PWRDWN to enable CPU
idle before force power down.

XilPM sends CPU idle callback to the core which registers notifier
for CPU idle callbacks.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
Core registers for CPU idle callback using register notifier.
Add support to send CPU idle callback to core which registered
for CPU idle callback.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
Subsystem registers for CPU idle callback for each core using
register notifier. Add support to send CPU idle callback to each
core in subsystem which registered for CPU idle callback.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
XilPM sends CPU idle callback before force power down core/subsystem
if CPU idle is supported and changes subsystem and core state to
pending power down. On receiving CPU idle callback, core executes
idling sequence and goes to WFI state. This commit adds support to
process pending force power down event on receiving power down event
from PSM.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
…t done

Create scheduler task to power down core if not powered down from
cpu idle.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
Currently PLM provides acknowledgement to all IPI commands
irrespective of its acknowledgement type. Because of that during
force power down if CPU idle is supported, PLM sends CPU idle
callback to target subsystem/core and provides acknowledgement to
initiator. But actual power down doesn't happen and initiator of
force power down don't have idea of whether subsystem/core is
power down or not. So add support for blocking force power down
API to provide ack on actual power down of core/subsystem.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
IPI Ack for force power down command is handled by xilpm. So skip
providing IPI ack for force power down command.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
Add support to send acknowledgement callback for non blocking APIs.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
PLM should idle all transactions of subsystem before calling
subsystem restart. This commit adds support to send notification to
subsystem to idle all transaction and to call subsystem restart
after idling all cores in subsystem.

If subsystem is not responding to the restart callback then subsystem
restart will not happen. Need to add support for recovery handling to
handle this.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>

Acked-for-series: Nicole Baze <nicole.baze@xilinx.com>
This patch fixes logical error in XPlmi_MemSetBytes API.

Signed-off-by: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
Acked-by: Kalyani Akula <Kalyani.akula@xilinx.com>
- Added validation check for NPI table command comming from PLM

Signed-off-by: Hariharan Baskaran <hariharan.baskaran@xilinx.com>

Acked-by: Rama devi Veggalam <rama.devi.veggalam@xilinx.com>
Remove license text for aiengine driver.

Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Acked-by: Tejus Siddagangaiah <tejus.siddagangaiah@xilinx.com>
…maCfgAndXfer

This patch renames XSecure_AesPmcDmaCfgByteSwap API with more
appropriate name XSecure_AesPmcDmaCfgAndXfer

Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com>

Acked-for-series: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
This patch updates doxygen function description for
client XSecure_Sha3Initialize to match the functionality

Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com>

Acked-for-series: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
This patch fixes the below c++ compilation issue in dfxasm example by
typecasting the variable properly.

../src/xdfxasm_example.c:153:29: error: invalid conversion from 'u8'
{aka 'unsigned char'} to 'XDfxasm_State' [-fpermissive]
   XDfxasm_SetState(&Dfxasm, ShutdownMode);

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Acked-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com>
The interrupts are already being disabled in the function
low_level_output that calls emacps_sgsend.

Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com>

Acked-for-series: Harini Katakam <harini.katakam@xilinx.com>
This barrier can degrade performance without providing any added
advantage. There is already a barrier present after the while loop.

Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com>

Acked-for-series: Harini Katakam <harini.katakam@xilinx.com>
…l the corresponding packet is txed

In lwip, udp send is a zero copy operation where the same user buffer is
used in the adapter BD to send out the packet. However, the send routine
returns immediately after queing the packet. This can create a false
impression with the  user space applications where they can reuse the
same buffer and there by corrupt the previous transmit.
The patch adds support for the same. It supports use cases where
multiple applications and threads do udp send with one wanting to block
till Tx is complete and the other wanting a faster udp send without
blocking for buffer to be txed out.
All changes are done under a flag and that flag is disabled by default
so that there is no impact to any of the existing use cases.

Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com>

Acked-for-series: Harini Katakam <harini.katakam@xilinx.com>
This patch adds support for use case where the user intends to wait till
a udp send is complete so that it can reuse the buffer safely.

Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com>

Acked-for-series: Harini Katakam <harini.katakam@xilinx.com>
…lications to 1

Having them as 2 does not result in increased performance. In future
the applications should be updated so that the parallel clients are
operated through separate threads.

Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com>

Acked-for-series: Harini Katakam <harini.katakam@xilinx.com>
…tions.

This patch adds EXPORT CONTROL eFuse check in all crypto init
functions to avoid further processing of crypto operations in
case if the silicon is programmed with EXPORT CONTROL eFuse.

Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com>
Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
Error Node ID and Event ID defines are confusing to use while registering and un-registering an error. This is because errors are events which come under the list of Node Class. This patch renames these defines for better understanding of error node and event IDs.

Signed-off-by: Mounika Akula <mounika.akula@xilinx.com>
Acked-by: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
Updated function prototypes to fix warnings reported
with -Wstrict-prototypes compiler flag.

Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
… definition

Previously, RPU trustzone setting could be set to non-secure after boot.

Enable RPU trustzone security setting after boot to be preserved for default
subsystem by adding PM_CAP_SECURE to RPU0 in prealloc for default subsystem.

Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Acked-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com>
Currently TTC is not added as pre-alloc device for default subsystem.
Because of that if sleep timer is using TTC device for timer and
tries to access TTC registers without requesting TTC device, then
application might be hang or crashed. So add TTC devices in pre-alloc
device list.

Note: We can remove TTC devices from pre-alloc device if different
timer can be used by sleep timer instead of TTC timer.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Acked-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com>
Acked-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com>
-This patch adds fixes for Doxygen warnings in xilsem client files

Signed-off-by: HKRNV Gupta <hkrnv.gupta.vutukuru@xilinx.com>
Acked-by: Rama devi Veggalam <rama.devi.veggalam@xilinx.com>
This patch fix the doxygen warnings in sdps driver.

Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Acked-by: Srinivas Goud <srinivas.goud@xilinx.com>
Replace switch case with ifelse and added redundancy to XLoader_checkIpiAccess

Signed-off-by: Praveen Teja Kundanala <praveen.teja.kundanala@xilinx.com>
Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
…functions to happen as soon as PLM starts

Move XPlmi_InitDebugLogBuffer and XPlm_InitProc functions before DMA initialization to happen as soon as PLM starts. This will make sure that Debug log structure is initialized so that no prints would get missed and processor initialization happens as early as PLM starts.

Signed-off-by: Mounika Akula <mounika.akula@xilinx.com>
Acked-by: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
msreeram and others added 23 commits September 30, 2021 20:22
Signed-off-by: Manikanta Sreeram <msreeram@xilinx.com>

Acked-by: Ashok Madugula  <ashokku@xilinx.com>
This patch updates changelog for recent changes in cframe and cfupmc

Signed-off-by: Gaurav Mahajan <gaurav.mahajan@xilinx.com>
Acked-by: Vikram Sreenivasa Batchali <b.vikram@xilinx.com>
Updated standalone.mss with copyright.

Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
This reverts commit 8ce908a.

We observed that baremetal domU guest interrupts are not
working with this update. Though this change is not affecting functionality
directly, the way compiler generating str instruction
(with post indexing) while writing to GICD_PRIORITY register
in for loop is causing failure. Reverting this commit
till we get proper fix.

Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Factor in half bandwidth when using MTS in IMR modes

Signed-off-by: Conall O'Griofa <conall.o'griofa@xilinx.com>
Acked-by: Anand Ashok Dumbre <anandash@xilinx.com>
License update in .props file for usbpsu.

Signed-off-by: Piyush Mehta <piyush.mehta@xilinx.com>
Acked-by: Srinivas Goud <srinivas.goud@xilinx.com>
Add license information in srec_spi_bootloader.mss file

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Acked-by: Srinivas Goud <srinivas.goud@xilinx.com>
Add the license information for the data.c file.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Srinivas Goud <srinivas.goud@xilinx.com>
Add license information to dependencies.props file

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Acked-by: Srinivas Goud <srinivas.goud@xilinx.com>
Add libmetal_v2_2 change list

Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com>
Acked-by: Arun Kannan <arunbala@xilinx.com>
The interrupt example would fail because of no interrupt.
Now OT threshold is set lower to trigger OT alarm.

Signed-off-by: Anand Ashok Dumbre <anand.ashok.dumbre@xilinx.com>
Acked-by: Conall O'Griofa <conallo@xilinx.com>
A rounding error was being caused by a cast operation

Signed-off-by: Conall O'Griofa <conall.o'griofa@xilinx.com>
Acked-by: Anand Ashok Dumbre <anandash@xilinx.com>
…420 10bpc format.

The color format and stream format for 10 bpc for 420 are corrected.

Signed-off-by: nishantd <nishant.dhonde@xilinx.com>
Acked-by: Kapil Usgaonkar <kapil.usgaonkar@xilinx.com>
Signed-off-by: Meena Paleti <meena.paleti@xilinx.com>
Signed-off-by: Meena Paleti <meena.paleti@xilinx.com>
Added copyright message to depedencies.props

Signed-off-by: Conall O'Griofa <conall.o'griofa@xilinx.com>
Acked-by: Anand Ashok Dumbre <anandash@xilinx.com>
Signed-off-by: Meena Paleti <meena.paleti@xilinx.com>
BISR trigger bit does not need to un write after BISR PASS as
per GTYP initialization sequence. So remove code to un write BISR trigger bit.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Acked-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com>
Block outbound error broadcast from PL columns in NoC tile. In the NoC
tile's event broadcast switch B, these signal must be blocked in all
directions. Blocking these signal avoids any possible broadcast network
pollution in the tiles beyond the NoC tile.

Signed-off-by: Nishad Saraf <nishad.saraf@xilinx.com>
Acked-by: Wendy Liang <wendy.liang@xilinx.com>
Signed-off-by: Manikanta Sreeram <msreeram@xilinx.com>

Acked-by  : Ashok Kumar Madugula <ashok.kumar.madugula@xilinx.com>
…libraries

Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
@vsrik
Copy link
Contributor

vsrik commented May 9, 2022

thanks @nbstrong - we donot accept PRs. Can you send a path to git@amd.com. Or can you give your signed by info so that we can include in our next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.