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

Extern "C" closure should not include "extern c", but only the curly brackets #115

Open
wants to merge 4,898 commits into
base: master
Choose a base branch
from

Conversation

annieherram
Copy link

No description provided.

Pamela Singh and others added 30 commits November 29, 2019 01:18
This patch fixes below violation:
        Implicit conversion: actual to formal param (MR).
        MISRA-C:2012 R.10.3

Signed-off-by: Pamela Singh <[email protected]>

Acked-for-series: VNSL Durga Challa <[email protected]>
This patch fixes below violation:
        Attempt to change parameter passed by value.
        MISRA-C:2012 R.17.8

Signed-off-by: Pamela Singh <[email protected]>

Acked-for-series: VNSL Durga Challa <[email protected]>
This patch fixes below violation:
	Potentially infinite loop found.
 	MISRA-C:2012 R.2.1

Signed-off-by: Pamela Singh <[email protected]>

Acked-for-series: VNSL Durga Challa <[email protected]>
In the function implementation for XPmDevice_IsClockActive, a function
call is made to check if clock of gate is enabled. However if, for the
clock topology, gate does not exist, failure is returned. Hence, handle
the case where gate is not part of topology by adding error code and
handle it in XPm_IsClockActive.

For eg., WDT implements custom topology and does not have gate. When,
linux is halted, there are checks to see if device's clocks are active.
During this check whether WDT is active, it returns Error message during
check for clock gating

Signed-off-by: Amit Sunil Dhamne <[email protected]>
Acked-by: Jolly Shah <[email protected]>

Acked-by: Jolly Shah <[email protected]>
… CDO

Store base addresses belongs to different power domains
passed from CDO, in respective power domain structure.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
…_GSW_ERR

Instead of using hard coded address of PMC_GLOBAL_PMC_GSW_ERR
use address passed from topology.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Instead of using hard coded address of PMC_GLOBAL_PL_STATUS,
use address passed from topology.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
PMC_ANALOG related macros are not used in xillibpm.
Removed unused macro related to PMC_ANALOG.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Instead of using hard coded register CPM_SLCR_SECURE, use
address of CPM_SLCR_SECURE passed from topology.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of FPD_SLCR passed from topology instead of
hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of LPD_SLCR_SECURE passed from topology instead of
hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of CPM_SLCR passed from topology instead
of hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of CFU_APB passed from topology cdo
instead of hard coded macro whereever possible.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Instead of using hard coded macro of CFRAME0 base address,
use register address passed by topology.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of CPM_PCSR passed from topology instead of
using hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Instead of using hard coded macro of LPD_SLCR base address,
use register address passed by topology.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Instead of using hard coded macro of EFUSE_CACHE base address,
use register address passed by topology.

Also, corrects node indexes of AMS ROOT and EFUSE.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of AMS_ROOT passed from topology instead of
using hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Use base address of PSM_GLOBAL passed from topology instead of
using hard coded macro.

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Organize register macros module wise in xpm_regs.h

Signed-off-by: Tejas Patel <[email protected]>

Acked-for-series: Rajan Vaja <[email protected]>
Updated examples for versal platform.
Added interrupt example support.
Updated gpio pin numbers for versal.

Signed-off-by: Srinivas Neeli <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
This patch fixes below violation:
        Procedure contains UR data flow anomalies.
        MISRA-C:2012 R.9.1

Signed-off-by: Pamela Singh <[email protected]>
Updated error codes and clearing secure buffers upon
authentication/decryption failure

Signed-off-by: VNSL Durga Challa <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
This patch adds different key sources support

Signed-off-by: VNSL Durga Challa <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
Added support for reading headers from buffer
based on the flag.

Signed-off-by: VNSL Durga Challa <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
If headers are in encrypted format xilloader decrypts the
headers and copies to structures.

Signed-off-by: VNSL Durga Challa <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
This patch sets SHA engine into reset upon failure.
Removed reset hardcoded values to functions for ECDSA.
Modified prints as they are generic functions even header
authentication uses the same API for authentication.

Signed-off-by: VNSL Durga Challa <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
Use below directory structure of xilpm to add support for versal
and move existing xilpm zynqmp code to client_zynqmp directory.
- data
- src
   |- client_zynqmp
   |        |- common
   |        |- apu
   |        |- rpu
   |
   |- client_versal
   |- server_versal

Update xilpm.tcl and copy_bsp.sh accordingly to copy platform
and processor specific code.

Signed-off-by: Ravi Patel <[email protected]>

Acked-for-series: Jolly Shah <[email protected]>
Move xillibpm client specific code to client_versal directory of
xilpm library.

Also update Makefile of xilpm versal_client to generate xilpm library
instead of xillibpm.

Signed-off-by: Ravi Patel <[email protected]>

Acked-for-series: Jolly Shah <[email protected]>
Harsha and others added 20 commits November 29, 2019 04:44
This patch fixes below MISRA-C violation:
   Function call with no prior declaration.
   MISRA-C:2012/AMD1 R.17.3

Signed-off-by: Harsha <[email protected]>

Acked-for-series: Kalyani Akula <[email protected]>
…er to multiple files

Signed-off-by: nishantd <[email protected]>

Acked by : Pankaj Kumbhare <[email protected]>
There is a silicon problem where on 2-4% of Versal ES1 S80 devices you
can get 12A of VCCINT_PL current before CFI housecleaning is run. It is not
possible to screen for this issue since it is dependent on silicon,
temperature, and voltage conditions.  The problem is eliminated when PL Vgg
frame housecleaning is run so we need to do that ASAP after PLM is loaded

Signed-off-by: Jolly Shah <[email protected]>
This reverts commit 1db0146.

Because of this commit MMC error observed during Linux boot. Need
to debug this issue. So revert this commit for temporary solution.

Signed-off-by: Rajan Vaja <[email protected]>
Acked-by: Tejas Patel <[email protected]>

Acked-by: Tejas Patel <[email protected]>
Resolved Greenish Hue seen in HDMI

Signed-off-by: Niharika S <[email protected]>

Acked by : Pankaj Kumbhare <[email protected]>
…oaded from SMAP

This is accomplished by reading SBI_CTRL register in the interrupt handler
for SBI_DATA_RDY interrupt. The register value is used to ascertain if the
pdi was sent through SMAP or SBI jtag mode.

Signed-off-by: Vikram Sreenivasa Batchali <[email protected]>
Acked-by: Rajababu Mailapalli<[email protected]>

Acked-by: Rajababu Mailapalli<[email protected]>
Updated the application to rectify data misalignment for 12G-SDI

Signed-off-by: S Shreesh <[email protected]>

Acked by : Shruti Gupta <[email protected]>
The commit enables assertion logic for linux and simulation platforms.
This enables the driver to assert when the input arguments are invalid.

Signed-off-by: Tejus Siddagangaiah <[email protected]>

Acked-for-series: Hyun Kwon <[email protected]>
The commit removes unwanted assertion in the api. Without this change,
call to the api will always assert.

Signed-off-by: Tejus Siddagangaiah <[email protected]>

Acked-for-series: Hyun Kwon <[email protected]>
This reverts commit d3ce626.

In MST mode, application getting crashed because of this fix. Revert
needed to retain the MST mode working.

Signed-off-by: Jagadeesh Banisetti <[email protected]>

Acked-for-series: Sandip Kothari <[email protected]>
This reverts commit 0717fc0.

For MST mode, generation of xdptxss_g.c file is not correct, and causing
no display for streams 2, 3 and 4.

Signed-off-by: Jagadeesh Banisetti <[email protected]>

Acked-for-series: Sandip Kothari <[email protected]>
This patch will add support for version less ZynqMP Fsbl builds for 2019.2
Changes:
	Removed xipipsu_g.c file from misc folder.
	Added separate xipipsu_g.c files in a53 and r5 folders.
	Based on 2019.2 daily latest ZynqMP Fsbl, changed pm_cfg_obj.c file
	Changed copy_bsp.h to read xipipsu_g.c file from misc/zcu102/a53 or r5.

Signed-off-by: Sivaji Boddupilli <[email protected]>
Acked-by: Vikram Sreenivasa Batchali <[email protected]>

Acked-by: Vikram Sreenivasa Batchali <[email protected]>
Signed-off-by: Siva Addepalli <[email protected]>
This patch adds support for versionless build for PLM for 2019.2
release.

Signed-off-by: Mounika Akula <[email protected]>
Acked-by: Sarat Chand Savitala <[email protected]>
This patch does the following updates to the PLM versionless build:
1. It removes the unwanted changes in Makefile and copy_bsp.sh file
2. It changes the executable.elf to plm.elf
3. It adds Readme.txt for versionless build

Signed-off-by: Mounika Akula <[email protected]>
Acked-by: Vikram Sreenivasa Batchali <[email protected]>

Acked-by: Vikram Sreenivasa Batchali <[email protected]>
This patch adds support for versionless build support for PSMFW for
2019.2 release.

Signed-off-by: Mounika Akula <[email protected]>
Acked-by: Sarat Chand Savitala <[email protected]>

Acked-by: Sarat Chand Savitala <[email protected]>
This patch updates the PMU versionless build for 2019.2 release.

Signed-off-by: Mounika Akula <[email protected]>
Acked-by: Sarat Chand Savitala <[email protected]>

Acked-by: Sarat Chand Savitala <[email protected]>
This patch fixed the XilPuf examples compilation on R5.

Signed-off-by: Kalyani Akula <[email protected]>

Acked-by: VNSL Durga Challa <[email protected]>
@vsrik
Copy link
Contributor

vsrik commented Feb 24, 2020

hi @annieherram - thanks for finding this, we donot take pull requests. Can you send a patch to [email protected] so that we can acknowledge that this issue was reported by you

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.