-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update xuartlite_intr_example.c #249
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
Open
ChatterjeePracheta
wants to merge
594
commits into
Xilinx:master
Choose a base branch
from
ChatterjeePracheta:patch-3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…glitch attack Modified if check for XPuf_ChangeIroFreq to avoid returning XST_SUCCESS incase of glitch attack Signed-off-by: Praveen Teja Kundanala <praveen.teja.kundanala@xilinx.com> Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
This patch zeroizes the user key in XSecure_AesDecryptCmKat Signed-off-by: Praveen Teja Kundanala <praveen.teja.kundanala@xilinx.com> Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
This patch remvoes the logic of deleting source directories from the tcl. Signed-off-by: Harsha Harsha <harsha.harsha@xilinx.com> Acked-by: Kalyani Akula <Kalyani.akula@xilinx.com>
Update tcl to fix issues with versal net platform Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Acked-by: Mubin Sayyed <mubin.sayyed@amd.com>
Update arguments description for microblaze_register_exception_handler() to fix documentation issue with it. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Acked-by: Mubin Sayyed <mubin.sayyed@amd.com>
When ROW37 protection bit is set in eFUSE Page 0, Row 0 then ROM expects a non-zero value in EFUSE_CACHE_BOOT_ENV_CTRL and bit[31] should be set for all TRIM_2, TRIM_6, TRIM_7 & TRIM_12. So in xilnvm instead of checking for TRIM2, TRIM3 is being checked during Cache reload. Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com> Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
Change remote firmware to not change flag state based on APU message. Mimic convention of other vendors' OpenAMP Remote firmwares and have these remotes keep going in an infinite loop. Note that there are multiple options for RPU after shutdown signal. Among these can be to put RPU in deep sleep mode. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Acked-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Usage of const keyword to aviod accidental overwrite for function pointers in Versal psmfw. Signed-off-by: HariBabu Gattem <haribabu.gattem@xilinx.com> Acked-by: Ronak Jain <ronak.jain@xilinx.com>
Since PLD topology is now enabled through tools, PLPD and NPD housecleaning is triggered during PLD init_start by PLM. Thus, PLPD and NPD housecleaning commands from PL images are now redundant and soon will be removed. These prints are alarming to users but harmless overall, so reduce their level to INFO which will suppress them. Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com> Acked-by: Nicole Baze <nicole.baze@xilinx.com>
This patch adds the following, -Link training State Machine and its supported functions. -Callback function for XDPTXSS_HANDLER_DP_FFE_PRESET_ADJUST event, to configure/modify ffe preset values which is required for TX link training. -Enables constants and DP2.1 TX and RX specific hardware AUX registers and DPCD registers. -Removes the conditional protocol check of DP1.4 or DP2.1 in the driver wherever the logic is needed for both protocols. -Updates MST Payload calculation for DP2.1 TX, XDp_TxCalculateTs function gets updated to calculate pbn values for dp2.1 as per specification. -Updates Vfreq values specific for DP2.1 TX -Updates RX Payload allocation for DP2.1 RX in XDp_RxAllocatePayloadStream function -Removes unused variables -Removes DP2.1 TX Remote I2C sideband message writes as some of branch devices like UCD400 is not supporting. -Add initial default time delays required for DP2.1 RX Link training Signed-off-by: Lakshmi Prasanna Eachuri <lakshmi.prasanna.eachuri@xilinx.com> Acked-for-series: Rajesh Gugulothu <gugulot@xilinx.com>
…tocol This patch enables the following, -Enables XDPTXSS_HANDLER_DP_FFE_PRESET_ADJUST callback functionality to adjust FFE preset values for link training -Removes Protocol check for DP1.4/DP2.1 whereever the functionality needs for both protocols. -Adds DP2.1 specific link rates in all condition checks whereever checking for DP1.4 Link rates. -Changes MST topology discovery to happen after successful link training -Add new sideband MST message EnumPathRequest to get to know the available PBN bandwidth from downstream receiver Signed-off-by: Lakshmi Prasanna Eachuri <lakshmi.prasanna.eachuri@xilinx.com> Acked-for-series: Rajesh Gugulothu <gugulot@xilinx.com>
IPI tasks are set to low priority,to create room for creating high priority tasks. Signed-off-by: Sreedhar Kundella <sreedhar.kundella@xilinx.com> Acked-by: Bharath Mulagondla <Bharath.mulagondla@xilinx.com>
Add check to support backward compartibility for ddr4 memory ip Signed-off-by: Ashwini Lomate <ashwini.lomate@xilinx.com> Acked-by: Varalaxmi Bingi <Varalaxmi.bingi@xilinx.com>
Update the tcl and fix the interrupt ID's in the xparameters_ps.h file. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-for-series: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Update tcl to add support for VERSAL NET for interrupt wrapper code. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-for-series: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Commit adds support for versal net. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-for-series: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Commit adds support for cortexr52 processor. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-for-series: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Added doxygen tags for doxygen documentation. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-for-series: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Added support for gpio to monitor gtpowergood Signed-off-by: nishantd <nishant.dhonde@xilinx.com> Acked-by: Kapil Usgaonkar <kapil.usgaonkar@amd.com>
Currently PLM is not sending power up/down interrupts to PSM for request power up/down power islands. Add logic to send power up/down request to PSM. Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com> Acked-by: Trung Tran<trung.tran@xilinx.com>
Remove unused common xpm_device.c file from versal_net specific directory. Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com> Acked-by: Trung Tran<trung.tran@xilinx.com>
… API This patch corrects the END label position in the Xil_WaitForEventSet() API. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
LpdScanClear has missing update to status which could result in status returning false success. Set status to failure during check for ScanClear pass. Signed-off-by: Nicole Baze <nicole.baze@xilinx.com> Acked-by: Jyotheeswar Reddy Mutthareddyvari <jyotheeswar.reddy.mutthareddyvari@xilinx.com>
-This patch fixes Misra C violations in xilsem client Signed-off-by: HKRNV Gupta <hkrnv.gupta.vutukuru@xilinx.com> Acked-by: Rama devi Veggalam <rama.devi.veggalam@xilinx.com>
This patch corrects the NumOfMSTStreams variable usage in the Dp_Get_Topology function. It should be defined as NumOfMstStreams, but used as NumOfMSTStreams which is wrong. Now it is corrected. Signed-off-by: Lakshmi Prasanna Eachuri <lakshmi.prasanna.eachuri@xilinx.com> Acked-by: Venkateshwar Rao Gannavarapu <venkateshwar.rao.gannavarapu@xilinx.com>
DP14 drivers compilation is failing as timer driver is not getting pulled into bsp. This is because HDCP mdd file is not getting compiled instead it is just pulled into bsp. Adding tmrctr as dependent flag in DP14TXSS & DP14RXSS drivers resolved this issue. Signed-off-by: Prasad Gutti <prasad.gutti@amd.com> Acked-for-series: Sandip Kothari <sandipk@xilinx.com>
Updated addtogroup of DP14 drivers from older version to newer version in their respective files. Signed-off-by: Prasad Gutti <prasad.gutti@amd.com> Acked-for-series: Sandip Kothari <sandipk@xilinx.com>
This patch removes duplicate defintion of macros common for client and server code and moves them in common file. Signed-off-by: Harsha Harsha <harsha.harsha@xilinx.com> Acked-for-series: Kalyani Akula <Kalyani.akula@xilinx.com>
This patch adds support for PUF_RO_SWAP in examples. Signed-off-by: Harsha Harsha <harsha.harsha@xilinx.com> Acked-for-series: Kalyani Akula <Kalyani.akula@xilinx.com>
The start address of Syndrome data in eFUSE cache is changed for Versal Net. Hence this patch updates the definition of XPUF_EFUSE_SYN_ADD_INIT macro. Signed-off-by: Harsha Harsha <harsha.harsha@xilinx.com> Acked-for-series: Kalyani Akula <Kalyani.akula@xilinx.com>
…vice Security policy handling was based on incorrect assumptions during request and release node path. Update it to be as follows: |Slave = secure |Slave = non-secure Master = secure |Allowed, cmd = S |Not allowed Master = non-secure |Allowed, cmd = S/NS |Allowed, cmd = S/NS In addition, when adding peripheral requirements for default and pmc subsystems, add the slave security policy as REQ_ACCESS_SECURE. This helps because any device with a *master* port can then be requested in secure mode if the topology CDO has support for it. Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com> Acked-for-series: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com>
…and TCM banks PM_CAP_SECURE capability is applicable only for devices with a TrustZone configurable master port - such as boot devices among other few peripherals. Remove usage of this capability for non-applicable devices such as PSM, DDR and TCM banks. PSM has fixed TrustZone setting, DDR and TCM devices do not support configurable TrustZones. Note: For PSM TrustZone setting is configurable in versal_net but it is deprecated in HW. Nonetheless, xilpm doesn't model trustzone configuration registers for PSM so it can't be changed anyway. Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com> Acked-for-series: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com>
Updated for changelog Signed-off-by: Meena Paleti <meena.paleti@xilinx.com> Acked-by : Siva Addepalli<saddepal@xilinx.com>
…master Once the PLM to PLM communication is enabled, PLM uses SSIT sync event for synchronization between Master and Slave SLRs. While master is checking for the synchronization from Slave SLRs, it is not checking the SlavesMask and trying to read the memory of secondary SLR which is not present. This is causing the interconnect to hang and partial PDI load is failing. This patch fixes the same and checks for SlavesMask and reads the SSIT sync event pending status only from the required Slave SLRs. Signed-off-by: Mounika Akula <mounika.akula@xilinx.com> Acked-by: Sreedhar Kundella <sreedhar.k@xilinx.com>
Updated the onsemi R3 RX register values Signed-off-by: S Shreesh <s.shreesh@xilinx.com> Acked-for-series: Kapil Usgaonkar <kapil.usgaonkar@amd.com>
Updated the onsemi R3 RX register values Signed-off-by: S Shreesh <s.shreesh@xilinx.com> Acked-for-series: Kapil Usgaonkar <kapil.usgaonkar@amd.com>
This patch optimizes the library by changing u8 to u32 Signed-off-by: VNSL Durga Challa <vnsl.durga.challa@xilinx.com> Acked-for-series: Kalyani Akula <Kalyani.akula@xilinx.com>
This patch optimizes the code size by removing initializations Signed-off-by: VNSL Durga Challa <vnsl.durga.challa@xilinx.com> Acked-for-series: Kalyani Akula <Kalyani.akula@xilinx.com>
XPmDDRDevice_IsInSelfRefresh() would return success in the case where no DDRMCs are enabled in the design, tricking that DRAMs are in self refresh mode. This results in NoC Clock gating during PLPD power down and NoC being inaccessible as a result. This is not a desired behavior. Fix this by updating the function to return success when at least one DDRMC is enabled in the design and all the active DRAMs are in self-refresh mode. HandleDDRDeviceState() now only supports the state transitions which are explicitly defined in XPmDDRDevTransitions[]. Remove unnecessary error prints from XPmDDRDevice_EnterSelfRefresh() and XPmDDRDevice_ExitSelfRefresh(). Error codes on failure are already being printed in those functions. This will help with reducing the code size by a little bit. Add PmDbg() prints at entry/exit for PowerEvent() FSM handler since it helps in debugging because of the recursive nature of this handler. These are disabled by default, thus no impact on code size. Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com> Acked-by: Nicole Baze <nicole.baze@xilinx.com>
Version number needs to be updated. Signed-off-by: Conall O'Griofa <conall.o'griofa@xilinx.com> Acked-by: Kadamathikuttiyil Karthikeyan Pillai, Anish <anish.kadamathikuttiyil-karthikeyan-pillai@amd.com>
Fixed race condition in the interrupt mask and id generation in case multiple interrupt source port names having the same name (i.e interrupt-driven from the same source pin using multiple slices and concat blocks). Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
As per current implementation the XRAM device is getting released from PM_INIT_FINALIZE and because of that XRAM registers are not accessible from Linux space. Hence excluding the XRAM device from the PM_INIT_FINALIZE. Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Acked-by: Nicole Baze <nicole.baze@xilinx.com>
vprocss driver tcl file is not working properly when IP instances are greater than 10 in a system. It creates and issue in g.c file as subcore structure elements are not generated properly. Fixed this issue in tcl file resolve this g.c file issue, and did the following changes in driver. 1. TCL file is modified to resolve g.c issue 2. mdd file is modified to increase driver minor version. 3. addtogroup is updated from vprocss_v2_10 to vprocss_v2_11 Signed-off-by: Prasad Gutti <prasad.gutti@amd.com> Acked-by: Sandip Kothari <sandipk@xilinx.com>
Removed debug prints in a78 and r52 static files, which are generated from IPCores file. Signed-off-by: Ankush Mehtre <ankush.mehtre@xilinx.com> Acked-by: VNSL Durga Challa <vnsl.durga.challa@xilinx.com>
Updated for changelog Signed-off-by: Meena Paleti <meena.paleti@xilinx.com> Acked-by : Siva Addepalli<saddepal@xilinx.com>
updated changelog for mipicsiss_v1_8 and other components Signed-off-by: Meena Paleti <meena.paleti@xilinx.com> Acked-by : Siva Addepalli<saddepal@xilinx.com>
updating the license file Signed-off-by: Manikanta Sreeram <msreeram@xilinx.com> Acked-by: Shireesha Kothakonda <shireesha.kothakonda@xilinx.com>
Made unlock and lock of eFuse controller be taken care by the caller of the CacheReload function. Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com> Acked-by: Mohan Marutirao Dhanawade <mohan.dhanawade@xilinx.com>
Currently UCD400/UCD500 is not supporting remote i2c write side band messages, Our driver keep waiting for reply for remote i2c writes and later returns failure as it is not getting any reply from ucd. This leads to video failure. So this support is removed from drivers and it doesn't impact with any of other sink devices also. Signed-off-by: Lakshmi Prasanna Eachuri <lakshmi.prasanna.eachuri@amd.com> Acked-by: Rajesh Gugulothu <gugulot@amd.com>
Update changelog Signed-off-by: Meena Paleti <meena.paleti@xilinx.com> Acked-by : Siva Addepalli<saddepal@xilinx.com>
There is a bug in AIE2 zeriozation function when polling for memory zeroization complete. Currently the entire memory register is being checked against zero but instead we need to check the bits specific to the memory tiles. This patch updates the zeroization check by adding a mask so that only the desired bits are checked for zero. Signed-off-by: Nicole Baze <nicole.baze@xilinx.com> Acked-by: Jesus De Haro <jesus.de-haro@xilinx.com>
A lot of people are trying to send pull requests via github but this is not the right channel to use. Linux project is doing review over emails that's why use git@xilinx.com if you want to contribute changes to this repository. Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
In the previous code the Recv and Send commands were not placed properly but the code was running as uartlite ip is an rtos( it tries to execute tasks with same priority parallely). Also the ASCII values below 'A' are not printed properly in vitis serial terminal or tera term. So in this update Recv and Send commands are placed in proper sequential manner for better understanding and also documentation is also changed a bit keeping that in mind. The sendbuffer initial value now starts from A so that all the characters are printed properly.
e929ef8
to
51d9eed
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the previous code the Recv and Send commands were not placed properly but the code was running as uartlite ip is an rtos( it tries to execute tasks with same priority parallely). Also the ASCII values below 'A' are not printed properly in vitis serial terminal or tera term. So in this update Recv and Send commands are placed in proper sequential manner for better understanding and also documentation is also changed a bit keeping that in mind. The sendbuffer initial value now starts from A so that all the characters are printed properly.
Please do not submit a Pull Request via github. Our project makes use of mailing lists for patch submission and review. For more details please see https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842172/Create+and+Submit+a+Patch