1. 03 Dec, 2019 1 commit
    • Justin Chadwell's avatar
      Remove -Wunused-const-variable warning · 4960ef30
      Justin Chadwell authored
      
      
      -Wunused-const-variable=1 is already included by -Wunused-variable,
      which is part of -Wall. -Wunused-const-variable=2, which is what we have
      been using as part of W=1, warns for unused static const variables in
      headers, which will likely produce a lot of false positives that will
      take a large effort to fix.
      
      Additionally, some of these issues may be caused by different builds of
      TF-A where some features are used in some builds and ignored in others.
      
      Change-Id: Ifa0b16a75344cc1f6240e8d5745005f8f2046d34
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      4960ef30
  2. 19 Nov, 2019 5 commits
    • Justin Chadwell's avatar
      Enable -Wlogical-op always · d7b4cd41
      Justin Chadwell authored
      
      
      -Wlogical-op prevents common errors with using numerical constants where
      a boolean one is expected as well as when the operands of a logical
      operator are the same. While these are perfectly valid behavior, they
      can be a sign that something is slightly off.
      
      This patch adds this warning to gcc and it's closest equivalent to
      clang, while also fixing any warnings that enabling them causes.
      
      Change-Id: Iabadfc1e6ee0c44eef6685a23b0aed8abef8ce89
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      d7b4cd41
    • Justin Chadwell's avatar
      Enable -Wshadow always · b7f6525d
      Justin Chadwell authored
      
      
      Variable shadowing is, according to the C standard, permitted and valid
      behaviour. However, allowing a local variable to take the same name as a
      global one can cause confusion and can make refactoring and bug hunting
      more difficult.
      
      This patch moves -Wshadow from WARNING2 into the general warning group
      so it is always used. It also fixes all warnings that this introduces
      by simply renaming the local variable to a new name
      
      Change-Id: I6b71bdce6580c6e58b5e0b41e4704ab0aa38576e
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      b7f6525d
    • Justin Chadwell's avatar
      Remove unnecessary warning options · b8baa934
      Justin Chadwell authored
      
      
      Both -Wmissing-field-initializers and -Wsign-compare are both covered by
      -Wextra which is enabled at W=1 anyway. Therefore, the explicit options
      are not required.
      
      Change-Id: I2e7d95b5fc14af7c70895859a7ebbeac5bc0d2a4
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      b8baa934
    • Justin Chadwell's avatar
      Refactor the warning flags · 9ab81b5e
      Justin Chadwell authored
      
      
      This patch keeps the same warnings, and simply reorders them to keep all
      the warning options together in one place.
      
      Change-Id: Ibb655dcabc84f3af01a0d7f71f5af7e0479c2521
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      9ab81b5e
    • Sandrine Bailleux's avatar
      Merge changes from topic "tegra-downstream-092319" into integration · af1ac83e
      Sandrine Bailleux authored
      * changes:
        Tegra194: remove L2 ECC parity protection setting
        Tegra194: sip_calls: mark unused parameter as const
        Tegra194: implement handler to retrieve power domain tree
        Tegra194: mce: fix function declaration conflicts
        Tegra194: add macros to read GPU reset status
        Tegra194: skip notifying MCE in fake system suspend
        Tegra194: Enable system suspend
      af1ac83e
  3. 18 Nov, 2019 4 commits
  4. 15 Nov, 2019 4 commits
  5. 14 Nov, 2019 4 commits
  6. 13 Nov, 2019 11 commits
  7. 12 Nov, 2019 6 commits
  8. 11 Nov, 2019 2 commits
    • Manish Pandey's avatar
      n1sdp: setup multichip gic routing table · 6799a370
      Manish Pandey authored
      
      
      N1SDP supports multichip configuration wherein n1sdp boards are
      connected over high speed coherent CCIX link, for now only dual-chip
      is supported.
      
      Whether or not multiple chips are present is dynamically probed by
      SCP firmware and passed on to TF-A, routing table will be set up
      only if multiple chips are present.
      
      Initialize GIC-600 multichip operation by overriding the default GICR
      frames with array of GICR frames and setting the chip 0 as routing
      table owner.
      
      Change-Id: Ida35672be4bbf4c517469a5b330548d75e593ff2
      Signed-off-by: default avatarManish Pandey <manish.pandey2@arm.com>
      6799a370
    • Vijayenthiran Subramaniam's avatar
      gic/gic600: add support for multichip configuration · fcc337cf
      Vijayenthiran Subramaniam authored
      
      
      Add support to configure GIC-600's multichip routing table registers.
      Introduce a new gic600 multichip structure in order to support platforms
      to pass their GIC-600 multichip information such as routing table owner,
      SPI blocks ownership.
      
      This driver is currently experimental and the driver api may change in
      the future.
      
      Change-Id: Id409d0bc07843e271ead3fc2f6e3cb38b317878d
      Signed-off-by: default avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
      fcc337cf
  9. 07 Nov, 2019 1 commit
  10. 05 Nov, 2019 1 commit
  11. 04 Nov, 2019 1 commit