Commit graph

95 commits

Author SHA1 Message Date
Charles E. Youse eaf1c3b8a6 drivers/pci: stop using LOG_DBG()
When the console UART is a PCI device, and PCI debug logging is enabled,
the system crashes because the UART is initialized before logging, but
the UART initialization invokes the PCI subsystem which invokes logging.
Reordering the initialization sequence will not fix this chicken/egg.

Luckily, the LOG_DBG() calls in the PCI subsystem appear to be bitrot
leftovers from early development, so they are simply removed.

Also mark myself as the owner of the PCI subsystem.

Fixes: #14763

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
2019-03-26 23:56:02 +01:00
Ioannis Glaropoulos eb82bdd419 CODEOWNERS: add code-owner for cortex-m/cmse module
Code-owner for the ARM/Cortex-M/CMSE module (source
and include directories).

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-03-18 11:40:09 -05:00
Ramakrishna Pallala d910aa6029 samples: power: Add test for device Idle PM
Added test for Device Idle Power Management to invoke
device_pm_get/put API's.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2019-03-14 14:26:15 +01:00
Ramakrishna Pallala 6b21e1b7a7 power: Add device idle power management support
Add framework for device Idle Power Management(IPM)
for suspending devices based on device idle. This will
help in saving power even while system(CPU) is active.

The framework uses device_set_power_state() API set the
device power state accordingly based on the usage count.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2019-03-14 14:26:15 +01:00
Daniel Leung 212ec9a29a linker: sort app shared mem partition by alignment
If CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT is enabled,
the app shared memory partition may cause waste of memory
due to the need for padding.

For example, tests/subsys/jwt and board mps2_an385:

  z_test_mem_partition: addr 0x20000000, size 52
  z_libc_partition    : addr 0x20000040, size 4
  k_mbedtls_partition : addr 0x20008000, size 32736

    ending at 0x2000ffff, taking up 65536 bytes

With power-of-two size and alignment requirement,
k_mbedtls_partition takes up 32KB memory and needs to be
aligned on 32KB boundary. If the above partitions are
ordered as shown, there needs to be a lot of padding
after z_libc_partition before k_mbedtls_partition can
start. In order to minimize padding, these partitions
need to be sort by size in descending order.

After the changes here,	the partitions are:

  k_mbedtls_partition : addr 0x20000000, size 32736
  z_test_mem_partition: addr 0x20008000, size 52
  z_libc_partition    : addr 0x20008040, size 4

    ending at 0x2000805f, taking up 32864 bytes

With the above example, sorting results in a saving
of 32672 bytes of saving.

Fixes #14121

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-03-13 18:26:51 +01:00
Gaute Gamnes baa1a62310 samples: servo_motor: Fix servo_motor sample to use new DT options
1. Remove microbit Kconfig conf file.
2. Include microbit DT overlay with prescaler setting.
3. Set codeowner of servo_motor bbc_microbit to @jhe

Signed-off-by: Gaute Gamnes <gaute.gamnes@nordicsemi.no>
2019-03-12 13:34:01 +01:00
Gaute Gamnes 281e251690 dts: nrf: Temp device node added to nRF5 devices with yaml binding
1. Temp device node added to all nRF5 DTSI files.
2. Added yaml binding for Nordic Temp node.
3. Set codeowner of nordic dts bindings to @anangl

Signed-off-by: Gaute Gamnes <gaute.gamnes@nordicsemi.no>
2019-03-12 13:33:36 +01:00
Kumar Gala 11cedc6c49 ext: libmetal: Update libmetal to snapshot for bug fixes
Pull in libmetal SHA 59a10acbb0bb684c1a75488f11878cb984170c81 to get
some build fixes related to newlib.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-03-11 14:37:57 -05:00
Erwan Gouriou 7d168db9aa CODEOWNERS: Add codeowner to boards/shields
Following new shield introduction in #14057, it has been highlighted
there was no codeowner for boards/shields/.
Assign erwango as codeowner.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-03-11 12:07:01 -04:00
Erwan Gouriou 831fbed3a7 scripts: Add hook calllable series-push-hook script
Running checkpatch in pre-commit hook could be a constraint
for day to day work. Though, running it before pushing to
zephyr repo is highly recommended.
Add a  series push script callable from pre-push hook.
Document how to use it in contribute section.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-03-08 16:43:06 -05:00
Maureen Helm 8624797dc9 CODEOWNERS: Add code owner for nxp dts
Adds @MaureenHelm as code owner for nxp device tree bindings.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-03-08 04:37:56 -06:00
Vincent Wan 794c18932e CODEOWNERS: Update code ownership for TI SimpleLink code
Updated for SimpleLink-related code in ext, board and soc.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2019-03-05 11:37:10 -05:00
Andrew Boie e686aefe09 mbedtls: provide user mode access
The mbedtls library has some globals which results in faults
when user mode tries to access them.

Instantiate a memory partition for mbedtls's globals.
The linker will place all globals found by building this
library into this partition.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-03-05 08:27:20 -05:00
Andrzej Puzdrowski b7a20d1ae5 CODEOWNERS: Add owners for tests of settings subsystems
The settings tests was not properly covered in terms of maintainership,
add maintainers for the corresponding subystems.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2019-03-04 16:51:19 +01:00
Michael Scott 3f400e4d9a CODEOWNERS: add modem ownership
Add @mike-scott as modem drivers maintainer

Signed-off-by: Michael Scott <mike@foundries.io>
2019-03-03 23:42:39 -05:00
Marc Herbert c78be1bb7b CODEOWNERS: fix 3 check-compliance.py issues not reported by github
- PR #13722 moved 3 gen_*.py to /arch/x86/ without updating CODEOWNERS
- PR #13745 forgot a trailing slash in /dts/bindings/can
- PR #13675 forgot a trailing slash in /samples/boards/intel_s1000_crb

No idea why github doesn't keep reporting these every time and
impossible to tell as CI hides most of its logs.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-03-01 09:16:25 +01:00
Erwan Gouriou 4fe3aea774 codeowner: add codeowner for ST stm32 development boards
Add codeowner for STM32 based ST development boards

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-02-26 00:40:43 -06:00
Alexander Wachter bcfe86b76b CODEOWNERS: Add hwinfo ownership
Add @alexanderwachter as hwinfo maintainer.

Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
2019-02-26 02:08:28 +01:00
Alexander Wachter 89ddc391fd CODEOWNERS: CAN ownership
Add @alexanderwachter as CAN maintainer

Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
2019-02-26 02:08:28 +01:00
Anas Nashif 7352d2b0c1 CODEOWNERS: update owners and added xcc/s1000 related lines
Updated for board and toolchain and a few minor fixes.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-02-24 17:48:10 -05:00
Ulf Magnusson 406e942949 CODEOWNERS: Add missing trailing / on some directories
Gets rid of some warnings from check_compliance.py:

  Wrong syntax: /home/ulf/z/subsys/fs/fcb
  Wrong syntax: /home/ulf/z/subsys/fs/nvs
  Wrong syntax: /home/ulf/z/subsys/storage

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-02-24 15:09:50 -05:00
Carles Cufi f897215289 CODEOWNERS: Add owners for storage-related subsystems
Storage was not properly covered in terms of maintainership, add
maintainers for the corresponding subystems.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-02-20 09:14:22 -06:00
Anas Nashif cda614562c CODEOWNERS: fix syntax for directories
Add trailing "/" to signify directories.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-02-19 20:21:02 -05:00
Anas Nashif 6a86c551dd CODEOWNERS: prepend / to all entries
This will avoid globbing on files named the same deeper in the tree.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-02-19 20:21:02 -05:00
Anas Nashif d140e481f5 CODEOWNERS: fix path and remove outdated
Few directories and files have moved around, so update CODEOWNERS
accrodingly.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-02-19 20:21:02 -05:00
Anas Nashif 504855c8a3 CODEOWNERS: cleanup owners
Few people not working on those components anymore.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-02-19 20:21:02 -05:00
Paul Sokolovsky 834c50f00c CODEOWNERS: Add @pfalcon for POSIX-related things
I already did a bunch of POSIX API related work, and integration of
BSD Sockets API, etc. with full POSIX subsystem will require further
more work.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-02-01 05:28:55 -06:00
Anas Nashif a93651085e boards: remove pulpino board
This board is unmaintained and unsupported. It is not known to work and
has lots of conditional code across the tree that makes code
unmaintainable.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-01-31 22:47:18 -05:00
Marti Bolivar 5bb07d61d0 CODEOWNERS: add myself as maintainer for west commands
I forgot to do this when creating these files.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2019-01-30 13:31:51 -05:00
Thomas Ebert Hansen ff0f0e4899 CODEOWNERS: Add @thoh-ot for subsys/bluetooth/controller
Add @thoh-ot as co-codeowner for subsys/bluetooth/controller

Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
2019-01-30 08:24:36 -05:00
Ioannis Glaropoulos 94f8f4c09d CODEOWNERS: Code-owner for nRF9160 Board
Assigning code-owner for Nordic Semiconductor nRF9160_pca10090
development board, featuring nRF9160 and ARMv8-M core with
ARM TrustZone-M.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-01-25 22:16:49 +01:00
Jan Van Winkel 188643e054 CODEOWNERS: Added code owner for GUI related code
Added myself as code owner for GUI related code (lib/gui &
samples/gui)

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
2019-01-07 18:17:00 -05:00
Manivannan Sadhasivam a26fe1e2f4 CODEOWNERS: Add myself as the code owner for 96b_stm32_sensor_mez
Add myself as the code owner for 96b_stm32_sensor_mez board.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-01-07 14:30:12 -06:00
Anas Nashif 4be3515c53 CODEOWNERS: update code owners
Both @pswarnak and @lpereira do not work on Zephyr any more.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-01-03 15:09:57 -05:00
Paul Sokolovsky dcf824b1d8 CODEOWNERS: Add for drivers/wifi same reviewers as for drivers/ethernet
drivers/wifi/ is closely related to the (IP) network stack, so
shouldn't be left without owners, so use the same as for Ethernet.

Also, extend, don't replace reviewers for drivers/wifi/eswifi based
on the above change and CODEOWNERS processing order.

Also, add a reminder about this processing order at the top of file.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-12-27 19:22:44 -05:00
Andrew Boie 0bf3e38be1 CODEOWNERS: add owners to mem protection scripts
Based on original author/organization.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-12-03 11:32:22 -08:00
Armando Visconti a33474673d CODEOWNERS: Add @avisconti as maintainer
Add @avisconti as maintainer for following stuff:

- ArgonKey board
- STM32 I2S driver
- ST motion sensor drivers

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2018-11-22 12:16:57 -05:00
Himanshu Jha 39c3c4e020 CODEOWNERS: Update list to add scripts/coccinelle/ directory
Add missing directory `scripts/coccinelle/` to the maintainer
list of Coccinelle Infrastructure, which was assigned
recently in commit d88421db37

This directory is used to add new coccinelle scripts.

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-11-07 08:19:14 -05:00
Himanshu Jha d88421db37 CODEOWNERS: Assign maintainer of Coccinelle Infrastructure
Add myself and Julia Lawall as the maintainer of Coccinelle
Infrastructure.

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-11-06 12:41:49 -05:00
Anas Nashif 91159849a1 CODEOWNERS: maintainer updates
- Updated maintainers for riscv32: Added @nategraff-sifive
- Removed @tarunkum who is not working on the project anymore

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-11-02 10:44:21 -04:00
Loic Poulain 2255199234 CODEOWNERS: Assign maintainer for eswifi driver
Assign to myself.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
2018-10-29 16:38:02 +02:00
Jan Van Winkel 8bf31eb2fb CODEOWNERS: Assign maintainer for display API & drivers
Assign vanwinkeljan as maintainer for display API and display drivers.

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
2018-10-27 15:47:43 -04:00
Jakub Rzeszutko a58eddb84f CODEOWNERS: update logging and shell code owners
Logging system and shell did not have code owners. Since shell
and logger has been replaced by me and Krzysztof hence I've added
us as a code owners.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2018-10-15 09:15:44 -04:00
Alberto Escolar Piedras 5458f9e2a7 CODEOWNERS: assign maintainer for include/arch/posix
include/arch/posix was orphan. Assign aescolar as maintainer
for it.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2018-10-10 14:24:37 +02:00
Alberto Escolar Piedras 30d04578cd CODEOWNERS: Assing maintainer for all native_posix backends
Assign aescolar as maintainer for all native_posix subsys
backends/components/modules

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2018-09-24 06:52:27 -05:00
Ioannis Glaropoulos 4ed481b07e CODEOWNERS: Assign maintainers for Nordic SoC .dtsi files
Assign a list of maintainers for Nordic SoC Device Tree include
headers.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2018-09-16 19:52:47 -04:00
Carles Cufi a75dfe35a0 CODEOWNERS: Assign missing nRF boards and SoC
List the correct maintainers for Nordic Semiconductor boards and SoCs.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2018-09-15 11:23:35 -04:00
Maureen Helm b7fdc2397a CODEOWNERS: Add @MeganHansen to review nxp board docs
Adds @MeganHansen as a code owner to review nxp board documents.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2018-09-13 12:17:57 -04:00
Anas Nashif d7f7324d60 CODEOWNERS: adapt to new location of soc code
soc code is now under ZEPHYR_BASE/soc

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-09-13 00:56:48 -04:00
Anas Nashif a06f091bad CODEOWNERS: fix syntax
According to https://help.github.com/articles/about-codeowners/:

The `docs/*` pattern will match files like
`docs/getting-started.md` but not further nested files like
`docs/build-app/troubleshooting.md`.

	docs/*  docs@example.com

In this example, @octocat owns any file in an apps directory
anywhere in your repository.

	apps/ @octocat

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-09-11 23:21:11 -05:00