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

CI:frdm_k64f: kernel.common.stack_protection test failure #54053

Closed
hakehuang opened this issue Jan 24, 2023 · 9 comments · Fixed by #54118
Closed

CI:frdm_k64f: kernel.common.stack_protection test failure #54053

hakehuang opened this issue Jan 24, 2023 · 9 comments · Fixed by #54118
Assignees
Labels
area: Memory Protection bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: high High impact/importance bug Release Blocker Use this label for justified release blockers

Comments

@hakehuang
Copy link
Collaborator

Describe the bug
kernel common stack protection test failure on frdm_k64f
initial found in v3.2.0-3560-g80f87b9480 and still exist in zephyr-v3.2.0-3758-g61f89b7b18a1

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=frdm_k64f
  3. make
  4. See error

Expected behavior
Test PASS

Impact
kernel stack protection

Logs and console output

*** Booting Zephyr OS build zephyr-v3.2.0-3758-g61f89b7b18a1 ***
Running TESTSUITE fatal_exception
===================================================================
START - test_fatal
test alt thread 1: generic CPU exception
E: ***** BUS FAULT *****
E:   Instruction bus error
E:   NXP MPU error, port 3
E:     Mode: Supervisor, Instruction Address: 0x20001aa4
E:     Type: Read, Master: 0, Regions: 0x8200
E: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000014
E: r3/a4:  0x20001aa4 r12/ip:  0x00000000 r14/lr:  0x000007fb
E:  xpsr:  0x40000000
E: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
E: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
E: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
E: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
E: fpscr:  0x20000388
E: Faulting instruction address (r15/pc): 0x20001aa4
E: >>> ZEPHYR FATAL ERROR 27: Unknown error on CPU 0
E: Current thread: 0x20000020 (unknown)
Caught system error -- reason 27
Wrong crash type got 27 expected 35 or 20

Environment (please complete the following information):

  • OS: (e.g. Linux)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: v3.2.0-3560-g80f87b9480
@hakehuang hakehuang added bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP labels Jan 24, 2023
@hakehuang
Copy link
Collaborator Author

@dleach02 , @mmahadevan108

@hakehuang
Copy link
Collaborator Author

all kinetis and rt10xx series has the same problem

@nashif nashif added Release Blocker Use this label for justified release blockers priority: high High impact/importance bug and removed priority: low Low impact/importance bug labels Jan 25, 2023
@microbuilder
Copy link
Member

@JordanYates Verified on FRDMK64F that this returns K_ERR_ARM_BUS_INSTRUCTION_BUS, though @hakehuang indicated this affects other NXP devices, so wondering what the best #ifdef flag is here to set the correct alternate reason, and if any other alternatives come up on other NXP chips, not having the entire catalog on my desk obviously. ;P

@microbuilder
Copy link
Member

microbuilder commented Jan 25, 2023

This catches the frdm_k64f reason code, but what other edge cases need to be handled in entry_cpu_exception, and this might become rather ungainly quickly:

#if defined(CONFIG_CPU_AARCH32_CORTEX_R) || defined(CONFIG_CPU_AARCH32_CORTEX_A)
	expected_reason = K_ERR_ARM_UNDEFINED_INSTRUCTION;
#elif defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
	/* The generated exception depends on whether address 0 is valid and it is executed.
	 * It is not feasible to generically check that here, so accept either faulting reason.
	 */
	expected_reason = K_ERR_ARM_USAGE_ILLEGAL_EPSR;
#if defined(CONFIG_SOC_SERIES_KINETIS_K6X)
	/* NXP Kinetis K6x returns K_ERR_ARM_BUS_INSTRUCTION_BUS error. */
	alternate_reason = K_ERR_ARM_BUS_INSTRUCTION_BUS;
#else
	alternate_reason = K_ERR_ARM_MEM_INSTRUCTION_ACCESS;
#endif

#else
	expected_reason = K_ERR_CPU_EXCEPTION;
#endif

@JordanYates
Copy link
Collaborator

I agree that code isn't great. The three options I can see are:

  1. Accept any code in the range K_ERR_ARM_MEM_GENERIC-K_ERR_ARM_SECURE_GENERIC
  2. Add alternate_reason_2 and associated logic.
  3. Turn the expected reasons into an array

@microbuilder
Copy link
Member

microbuilder commented Jan 25, 2023

3. Turn the expected reasons into an array

Makes the most sense to me to avoid alternate_reason_4 down the road.

Have time to make a PR quickly? I'll try to find some other NXP boards here to test with. I think I have an RT10x here somewhere as well.

Edit: Hopefully adding K_ERR_ARM_BUS_INSTRUCTION_BUS as a generic second alternate reason should cover all the NXP platforms, and we can drop the NXP check if we have an array of alt reasons.

@JordanYates
Copy link
Collaborator

Yea I'm writing something now

@dleach02
Copy link
Member

question, what introduced this bug/problem? We didn't have this before?

@microbuilder
Copy link
Member

question, what introduced this bug/problem? We didn't have this before?

There was a recent PR to return specific reason codes in Arm for exceptions. Until that PR, every exception generated basically the same reason code, which leads to a suboptimal debugging process when you hit a fault handler in your app.

This reason code now gives you specific details on what went wrong.

stephanosio pushed a commit that referenced this issue Jan 27, 2023
Add an option to generate simplified error codes instead of more
specific architecture specific error codes. Enable this by default in
tests to make exception tests more generic across hardware.

Fixes #54053.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
BartThoen pushed a commit to BartThoen/zephyr that referenced this issue Jan 31, 2023
commit e9a59518fcbd54f2ee27ea3f190a8fe7bd688f35
Author: Stephanos Ioannidis <root@stephanos.io>
Date:   Sat Jan 28 12:23:21 2023 +0900

    release: Zephyr 3.3.0-rc1

    This commit sets the Zephyr version to v3.3.0-rc1.

    Signed-off-by: Stephanos Ioannidis <root@stephanos.io>

commit 59130b11dc7da6242d68cd9f6e66df52fd6b74a6
Author: Siyuan Cheng <siyuanc@synopsys.com>
Date:   Mon Jan 2 00:25:43 2023 +0800

    driver: gpio: Add pin_configure api for creg_gpio driver

    Update pin_configure api for creg_gpio driver

    Signed-off-by: Siyuan Cheng <siyuanc@synopsys.com>

commit d1c0f18e50ed9d3c1e2dc62398b80aaec93b67c3
Author: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Date:   Wed Jan 18 07:43:55 2023 +0000

    doc: board porting: Add runner requirements note

    Add a note on requirements for runners that they be OS agnostic
    and not assume a specific device or udev rule determines one
    exact device.

    Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>

commit 62ab576a6a375baab27a4d51a86f0943e662cb7b
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Date:   Fri Jan 27 12:36:51 2023 +0200

    logging: shell: Fix using uninitialized variables

    Fixes using uninitialized variables using returns with correct return
    code.

    Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

commit f675cf13580cdf8a753b944540251645c52014a7
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Fri Jan 27 15:51:14 2023 +0100

    boards: arm: lpcxpresso55s36: add pyocd support

    Add support for flashing the NXP LPCXpresso55S36 Development Board via
    pyOCD.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit 8d4c6b96c472786920a20b6dcf0474a3d21893c8
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Wed Jan 25 16:43:38 2023 +0100

    tests: drivers: gpio: add GPIO hogs test

    Add test of the GPIO hog functionality using the optional GPIO APIs for
    getting pin direction and configuration.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit cb274e6a3cce8eb1aeddada156d2ac6e1113806e
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Wed Jan 25 12:06:38 2023 +0100

    drivers: gpio: add GPIO hog support

    Add support for automatically configuring GPIO hogs defined in the
    devicetree during system initialization.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit 0174e0b6c1f5a8df778522a990630348328769b6
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Wed Jan 18 10:22:47 2023 +0100

    tests: lib: devicetree: api: add tests for DT_GPIO_HOG_* macros

    Add tests for the DT_GPIO_HOG_* macros.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit ef61db0d29b8c8d240a10f4dee99150a8df376c3
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Wed Jan 18 10:20:20 2023 +0100

    devicetree: add DT_GPIO_HOG_* macros

    Add DT_GPIO_HOG_* macros for accessing special GPIO hog node properties
    from C code.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit fba6c7f210d5fcc0ced3f4ce0cd87ebac263cf08
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Wed Jan 18 17:43:02 2023 +0100

    scripts: kconfig: add function to determine if GPIO hogs are enabled

    Existence of enabled GPIO hog nodes cannot be determined using any of the
    existing kconfig functions. Add custom kconfig helper function to determine
    whether any GPIO hogs nodes are enabled.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit 28819152cb5acb6a0d5e2bc298903cdec8bf9a13
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Fri Jan 13 11:32:27 2023 +0100

    scripts: dts: add special tooling for handling GPIO hog nodes

    GPIO hog nodes contain a "gpios" property, but unlike other "*-gpios"
    properties, these are not phandle-arrays as they only carry the data part
    (e.g. pin, flags) but lack the phandles to the (parent) GPIO controller.

    Add special devicetree tooling to handle the "gpios" property of GPIO hog
    nodes and generate special devicetree helper macros as if they were phandle
    arrays.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit b208f4da989d47fdd96cf6b77d66a2fa2316c9db
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Tue Oct 25 12:21:31 2022 +0200

    dts: bindings: gpio: controller: add dts binding support for GPIO hogs

    Each GPIO controller may contain GPIO hog definitions. GPIO hogging is a
    mechanism for providing automatic GPIO configuration during system
    initialization.

    Each GPIO hog is represented as a child node of the GPIO controller.

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit 98112542c2059a0d0ec060bbe124487c1a9870df
Author: Hein Wessels <heinwessels93@gmail.com>
Date:   Fri Jan 27 10:42:24 2023 +0100

    include: Add a macro to check pointer alignment against boundary

    Add a new macro, IS_PTR_ALIGNED_BYTES() that verifies if a pointer
    is aligned against a specific byte boundary supplied as argument.

    Signed-off-by: Hein Wessels <heinwessels93@gmail.com>

commit 6b641c3483b3be3351c39c50d5c8aef685407ed9
Author: Conor Paxton <conor.paxton@microchip.com>
Date:   Mon Jan 16 14:20:41 2023 +0000

    drivers: timer: get mtime cmp reg by reading mhartid

    It is not guaranteed that a multi-core RISC-V hart numbering scheme
    will match Zephyr's sequential cpu numbering scheme. Read the hartid and
    use that value in calculation to get mtime_cmp reg, instead of the
    current_cpu id.

    Signed-off-by: Conor Paxton <conor.paxton@microchip.com>

commit 343d1919f165b6a1e652337dcab811566e42bc6f
Author: Jay Vasanth <jay.vasanth@microchip.com>
Date:   Thu Jan 26 18:35:43 2023 -0500

    uart: microchip: add low power & wake support

    changes to support low power and wake support in microchip xec uart
    driver. Add support for wakerx_gpio config in dts to select the wake gpio.
    Configure for wake in PM_DEVICE_ACTION_SUSPEND state and clear
    interrupt in wake isr. Also added support for
    CONFIG_UART_CONSOLE_INPUT_EXPIRED

    Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>

commit d3d80e8b33d66ad5274a22dc264f66a7e38a19fc
Author: Kevin Townsend <kevin.townsend@linaro.org>
Date:   Wed Jan 25 10:41:07 2023 +0100

    samples: tfm_ipc: Remove mps3_an547_ns support

    The AN547 no longer functions with this TF-M sample, and has been
    broken since TF-M 1.6.0 without CI catching the issue, since this sample
    wasn't modified to cause a CI run on the affected target.

    Removing this board from the sample until the board support can be
    reworked.

    Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit 8cfa0f40cb85fcca7e7ec98b619b5fd22a095893
Author: Joakim Andersson <joakim.andersson@nordicsemi.no>
Date:   Tue Jan 24 17:14:14 2023 +0100

    samples: tfm_secure_partition: Update sample for TF-M 1.7.0

    Update TF-M secure partition sample for TF-M 1.7.0.
    Removes the support for Library model in the sample.
    Updates to using PSA framework 1.1.

    Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit d9b6e58eb38a726bdbec58d46a20e2a8fa7a74c2
Author: Joakim Andersson <joakim.andersson@nordicsemi.no>
Date:   Tue Jan 24 17:03:55 2023 +0100

    modules: trusted-firmware-m: Add TF-M connection based NS API source

    Add TF-M connection based NCS API source file to build.
    This file is needed when a secure service is using connection
    based method.

    Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit dd12dfb5adb62c3e324c31c44542c742887f5fd5
Author: Kevin Townsend <kevin.townsend@linaro.org>
Date:   Mon Jan 23 19:16:33 2023 +0100

    samples: tfm_integration: Update tfm_ipc for 1.7.0

    Update the sample to be compatible with API changes introduced in
    TF-M 1.7.0, adding a new direct call to the PSA Crypto API to generate
    random data, and cleaning up existing functions for compatibility
    sake.

    Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit c63fb217601fb35903536db1c258571b8cd81b9b
Author: Kevin Townsend <kevin.townsend@linaro.org>
Date:   Mon Jan 23 14:48:57 2023 +0100

    samples: tfm_integration: Remove psa_crypto

    Removes the `psa_crypto` sample from the current release, due to
    PSA API conflicts that can not be immediately resolved between Zephyr's
    instance of MbedTLS in the NS environment, and the TF-M PSA APIs
    included when building with TF-M support.

    PSA API changes upstream in MbedTLS 3.2.1 (used by TF-M 1.7.0), and
    MbedTLS 3.1 (used in TF-M 1.6.0) need to be be resolved in both
    upstream projects before this sample can be reintroduced.

    Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit a50aafd938e79627ca33d194ef9a9f5f52a1106f
Author: Kevin Townsend <kevin.townsend@linaro.org>
Date:   Mon Jan 23 14:39:09 2023 +0100

    samples: tfm_integration: Remove psa_firmware

    Removes the `psa_firmware` sample, which is based on an older version
    (0.7) of the FWU service from TF-M 1.6.0. This sample needs to be
    refactored to use FWU 1.0, included in TF-M 1.7.0 and future releases.

    Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit 2ba39d8bf18b58034b0a8d582f873fc6b66ae6b0
Author: Joakim Andersson <joakim.andersson@nordicsemi.no>
Date:   Thu Jan 19 13:39:44 2023 +0100

    samples: Add SFN model configurations

    Add SFN model configurations to samples.

    Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit 186cd65160ed8eb3e74fad495862b90748344db9
Author: Kevin Townsend <kevin.townsend@linaro.org>
Date:   Mon Jan 23 15:41:49 2023 +0100

    manifest: Update to TF-M 1.7.0 and MBedTLS 3.2.1

    Update TF-M from 1.6.0 to 1.7.0
    Update MBedTLS from 3.1.0 to 3.2.1.

    Updates the cmake wrapper for changes introduced in TF-M 1.7.0.

    Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
    Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit 2572a53a45d6e240953cc84bccb008c09971c8e3
Author: Joakim Andersson <joakim.andersson@nordicsemi.no>
Date:   Thu Jan 19 13:34:59 2023 +0100

    tfm: Remove library model support

    In TF-M 1.7.0 release the Library model has been removed.
    Remove the library model support from zephyr before updating TF-M
    version.

    Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
    Signed-off-by: David Brown <david.brown@linaro.org>

commit d5e0fdafa1f8362814854887d1ada710ba35b3f7
Author: Goh Shun Jing <shun.jing.goh@intel.com>
Date:   Thu Jan 19 15:27:04 2023 +0800

    dts: nios2: intel: nios2-qemu: add jtag interrupt

    assign interrupt number 0 for jtag_uart.
    Number can be found in soc/nios2/nios2-qemu/include/system.h
    JTAG_UART_0_IRQ 0

    Signed-off-by: Goh Shun Jing <shun.jing.goh@intel.com>

commit ad5eda6383f12391455af8b8557f4b4befcc0f3e
Author: Goh Shun Jing <shun.jing.goh@intel.com>
Date:   Thu Jan 19 15:26:45 2023 +0800

    CODEOWNERS: Add code owener for uart_altera_jtag.c

    Add code owener for uart_altera_jtag.c

    Signed-off-by: Goh Shun Jing <shun.jing.goh@intel.com>

commit 5858cca8b803219a93fbd064ff3d544d4f6c30e8
Author: Goh Shun Jing <shun.jing.goh@intel.com>
Date:   Thu Jan 19 15:22:25 2023 +0800

    drivers: serial: uart_altera_jtag: enhancement

    implement uart poll in and interrupt driven api.

    Signed-off-by: Goh Shun Jing <shun.jing.goh@intel.com>

commit 712d682cf7f834f37f4a27ce078387cef17914d5
Author: Anas Nashif <anas.nashif@intel.com>
Date:   Fri Jan 27 17:14:38 2023 +0000

    twister: fix initialization of job server option

    Do not set default for jobserver variable.

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>

commit e4d48545a3223a4ad6c2897f7871beda2ef84472
Author: Anas Nashif <anas.nashif@intel.com>
Date:   Fri Jan 27 10:00:35 2023 -0500

    twister: make job server default only on Linux

    Job server only works on Linux, revert to original behaviour when
    running on Windows or MacOS.

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>

commit 2ff466b2255ae75d1ed5da3d5affde497e2b2564
Author: Anas Nashif <anas.nashif@intel.com>
Date:   Fri Jan 27 11:45:16 2023 -0500

    ci: use elasticsearch instead of opensource

    Set the right key for elasticsearch.

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>

commit ec8884d58f73e51b4e0e4f9f9b4826712858a411
Author: Seppo Takalo <seppo.takalo@nordicsemi.no>
Date:   Thu Jan 26 12:11:13 2023 +0200

    net: lwm2m: lwm2m_client: Fix fcntl header path

    We don't default to POSIX_API so use Zephyr's
    path for fcntl.h

    Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>

commit 8e72f117e378c03105354a100a49803b03c73c8f
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Date:   Wed Jan 25 12:01:47 2023 +0200

    net: ieee802154: Remove unneeded check

    Fixes dead code warning. At this point we have already checked for
    broadcast and it is set to false.

    Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

commit 3c8c903a2d1996034208a199112517930dda65d9
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Date:   Wed Jan 25 11:56:15 2023 +0200

    net: ieee802154: Fix dereference before NULL check

    Fixes dereference of sec_ctx->level before checking sec_ctx for NULL.

    Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

commit 9ea25d85cf2a0c0f42b10a104167d11d322c1657
Author: Johann Fischer <johann.fischer@nordicsemi.no>
Date:   Mon Jan 23 09:45:48 2023 +0100

    usb: device_next: update bMaxPacketSize0 based on controller capability

    Update bMaxPacketSize0 field of the device descriptor based on
    controller capability.

    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>

commit 2f310dc42497e975ac575a3f0996322251367b57
Author: Johann Fischer <johann.fischer@nordicsemi.no>
Date:   Mon Jan 23 09:38:14 2023 +0100

    drivers: udc: add capability for MPS of control endpoint

    New capability is to be used by the stack to adjust the corresponding
    field in the device descriptor.

    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>

commit 5c60209e7957e6ae63267f6560c4433294897968
Author: Johann Fischer <johann.fischer@nordicsemi.no>
Date:   Mon Jan 23 09:49:13 2023 +0100

    usb: device_next: trigger dequeue of control IN endpoint on reset event

    There might be pending data stage transfer not finished
    while host performs a bus reset.

    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>

commit 373d660d96d4ffc894a8a0f5a0960ff4fa75f35e
Author: Johann Fischer <johann.fischer@nordicsemi.no>
Date:   Wed Jan 25 16:31:34 2023 +0100

    drivers: udc: remove unused and unsupported udc_ep_flush()

    udc_ep_flush() is not implemented by the driver and is not
    used by the USB device stack. Remove it for less confusion
    when porting drivers.

    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>

commit e3c1747d80a5789a2e3668b6a7f2cc9297a12584
Author: Mario Jaun <mario.jaun@gmail.com>
Date:   Wed Jan 25 14:30:58 2023 +0100

    drivers: flash: stm32_qspi: handle 4-byte addressing only chips

    Correctly initialize driver if flash chip supports 4-byte addressing
    only.

    Signed-off-by: Mario Jaun <mario.jaun@gmail.com>

commit 08740ca7ef112a50409f42207d1735affa74ec9e
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sun Dec 27 11:24:52 2020 +0100

    samples: mgmt/osdp: Select ENTROPY_GENERATOR from prj.conf

    ENTROPY_GENERATOR is needed for OSDP Secure Channel capability. Now
    that Secure Channel patches are merged, enabling it by default.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 595860567b4c0a3467a2bae6d3abe212a359f7eb
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Fri Jan 27 11:01:52 2023 +0530

    Bluetooth: Controller: Workaround sequence number misalignment

    Workaround sequence number misalignment to ISO event count
    when ISO data is supplied in bursts, example through USB.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 6dfbf7c11032142586e410d32a9f05e7983260c5
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Jan 26 19:16:04 2023 +0530

    Bluetooth: Remove BT_HCI_DATAPATH_ID_DISABLED define

    Remove BT_HCI_DATAPATH_ID_DISABLED define as 0xFF, which is
    reserved for future value for Data_Path_Id parameter.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 3a37834aa7607dfe4d641dd8e4a2605b73aa18a2
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sun Jan 22 13:31:05 2023 +0530

    Bluetooth: Controller: Add ISO Broadcast and Receive ISR Profiling

    Add implementation to generate ISR profiling of Broadcast
    ISO and ISO Receive usecase.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 714f80d2253002dbcf1fea15df6ca95947d32e42
Author: Carl Stehle <droid@appception.com>
Date:   Mon Nov 7 11:17:37 2022 -0800

    Bluetooth: Controller: Integrate ISOAL for ISO Broadcast

    - Include ISO stream count in ISO streams definitions in
      controller.
    - Create ISOAL source on controller when ISO data path is
      setup.
    - Send broadcast data buffers transferred from host over
      HCI to ISOAL as ISO SDU fragments.
    - Allow bot conn and ISO data to use data_buf_overflow.
    - Store ISO interval during BIG create.
    - Remove ISO data path for each BIS during BIG terminate
      procedure.
    - Set value (temporarily) for ISOAL target_event enabling
      it to Tx data.
    - Check status of data fragment sent to ISOAL for memory
      allocation and other errors.
    - Destroy ISOAL source when ISO stream released.
    - Use ISO Advertising handle, not stream handle to destroy
      ISO data path.
    - Remove extra ISOAL sink destroy call when removing ISO
      data path.
    - Add FIXME comment as reminder to address LL_ASSERT on
      isoal_status error.

    Signed-off-by: Carl Stehle <droid@appception.com>
    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 532cf9ba2bc13f183288471dabc87664633ab8b8
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Fri Dec 2 06:25:21 2022 +0530

    Bluetooth: Controller: Fix ISO interval based on Max Transport Latency

    Fix calculation of ISO interval such that multiple bursts
    can be transmitted per ISO interval. This means we can now
    have SDU_Interval < ISO_Interval and more than one SDU will
    be transmitted in each ISO_Interval.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 5fbb3bf42b92b985cdbbd4989b1bbc332a382134
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sat Dec 17 06:44:39 2022 +0530

    Bluetooth: Controller: Fix BIS Control PDU being dispatched as ISO Data

    Fix missing jump to Rx ISR done that caused the Control PDU
    to be enqueued as ISO data PDU, causing the ISOAL to assert
    on receiving invalid LLID.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit c32ff9608b86af38372a3e4d842422cd1a3baa3d
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sun Jan 22 09:49:03 2023 +0530

    Bluetooth: Controller: Fix ISO timestamp wrap around

    Fix ISO timestamp wrap around which caused ISOAL to assert
    checking for valid timestamp.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 5e3117d44e3b5a710c67697637992134a54134ec
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Mon Dec 12 16:48:17 2022 +0530

    tests: Bluetooth: Enabled Controller Connected ISO support

    Enable Controller Connected ISO support in bsim_bt_audio
    test.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 7372870dd0337150a23e1a9957a8afc73af05e53
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Tue Nov 10 13:19:10 2020 +0530

    samples: Bluetooth: hci_rpmsg: Add DF, Broadcast and Connected ISO conf

    Add direction finding, Broadcast ISO and Connected ISO conf
    files for build coverage and user convenience to build
    respective binaries for nRF53 Series network core.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 27206e17af873c39edf34e7149fe14becbaff4c4
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 11:30:03 2022 +0530

    Bluetooth: Controller: Initial CIG with 1 CIS support in LLL

    Add initial support for CIG with 1 CIS in nRF5 SoC's LLL.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 9d01c16c47376b40fe6fe09241f0a3b2f08b4cde
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Jan 11 15:02:41 2023 +0530

    Bluetooth: Controller: Define a internal BT_CTLR_ISO_TX_BUFFERS

    Define a internal BT_CTLR_ISO_TX_BUFFERS to allocate ISO Tx
    buffers used for Broadcast and Connected ISO.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 479ba351d2385f95311ea088d8594f6472a163b5
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sun Jan 22 11:21:31 2023 +0530

    Bluetooth: Controller: Fix Ctrl to Host flow control assertion

    Fix Controller to Host flow control assertion handling ISO
    stream disconnection.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 069a7c0cbdc20d5cee6e4976a5849682eba80db7
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sun Jan 22 09:45:41 2023 +0530

    Bluetooth: Controller: Fix isoal_tx_pdu_emit/source_deallocate race

    Fix race between isoal_source_deallocate() and
    isoal_tx_pdu_emit(). Initiating a local initiated terminate
    triggers NULL pointer dereference.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit cd2796e0474ffcd001c70001bbf76ddb96b339b3
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Tue Dec 13 10:55:52 2022 +0530

    Bluetooth: Controller: Refactor ll_setup_iso_path

    Refactor ll_setup_iso_path to support Synchronous Receiver
    and Connected ISO to be built together.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 362826ea03407c1a8228d5a63814b180130449a8
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Jan 26 15:02:48 2023 +0530

    Bluetooth: Controller: Code review rework changes

    Assorted code review rework changes.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 4f36f95e5f6db27e07255f02fcfbe568af424845
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Dec 8 14:56:09 2022 +0530

    Bluetooth: Controller: Fix uninitialized CIG ULL reference count

    Fix uninitialized CIG ULL reference count when creating a
    CIG after a previous disconnection.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit ab89f7d1e6e9cec08b59df00cd37ae8b5de4d397
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Dec 8 14:51:23 2022 +0530

    Bluetooth: Controller: Fix CIS and CIG teardown

    Fix CIS and CIG teardown in Central and Peripheral Role.
    cig->lll.num_cis value is used in peripheral role to count
    active CISes, and cig->cis_count is used in central role.
    Both central and peripheral will stop ticker for CIG when
    num_cis and/or cis_count is zero, respectively, but only
    peripheral role will release a CIG context. The Central
    will keep the CIG context allocated and only mark it as
    not started. Remove CIG command will be used for central
    role to release a CIG context.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 19c80b1020f9edcdd7f7437b4746d7594dbfa71b
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Dec 8 14:47:41 2022 +0530

    Bluetooth: Controller: Fix CIS ISO Tx buffer leak on terminate

    Fix CIS ISO Tx buffer leak on terminate when the datapath
    has been deallocated.

    Add a FIXME comment regarding ll_tx_ack_put() being called
    from LLL execution context, while it is a ULL callable used
    by ACL connections to dispatch ack.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit c7724f00e5ee209f10a2b026a92d3dccb8c55cec
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sun Jan 22 09:42:51 2023 +0530

    Bluetooth: Controller: Fix k_is_in_isr() assert calling util_aa_le32()

    Do not call util_aa_le32() from ISR context as random number
    generation in entropy driver on nRF5x series invokes
    k_sem_take.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 93f9d9bc6d83a7cf72e66ea5acea551eba7e184c
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Dec 8 14:44:36 2022 +0530

    Bluetooth: Controller: Fix assertion on link_tx_free on CIS re-create

    Fix assertion check on link_tx_free when CIS is created a
    second time. The Tx mem queue has to be initialized on every
    new CIS create as CIS disconnect does the deinitialization.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit e5d9ad17bb33fbefd17823d62b142a58271bb3c0
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Thu Dec 8 14:42:13 2022 +0530

    Bluetooth: Controller: Reorder the functions in ull_central_iso file

    Reorder the functions in ull_central_iso file to match the
    order of HCI commands in the BT Spec.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 00e31f5e65146b38072e49d7e95afffaeb112074
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 11:25:47 2022 +0530

    Bluetooth: Controller: Workaround datapath field access after release

    Workaround the access that check if datapath is NULL when
    the stream has already been released. Memory Pool overwrites
    first 8 bytes to maintain the free list and free count. This
    causes the datapath fields if placed in the first 8 bytes to
    not be NULL after the memory is freed.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit bb92b018dd80536c1da7e0c7a7be8cdf6c3c2030
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 11:20:40 2022 +0530

    Bluetooth: Controller: Code to generate ISO data buffer overflow event

    Add code to generate ISO data buffer overflow event if more
    than allocated ISO data PDU buffers are tried to be
    requested by host or for SDU fragmentation.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 8cf58edb8ba671d9089958856e4ee753df201ab6
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sat Dec 10 17:52:56 2022 +0530

    Bluetooth: Controller: Use instant_latency to detect event skipped

    Use instant_latency at the CIG start event count to detect
    skipped connection event around the instant. In the future
    add implementation to compensate for skipped ACL connection
    event and adjust the CIS event count at CIG start.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 149f857f8a8038166224423946b40624dc3488f4
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sat Dec 10 11:44:09 2022 +0530

    Bluetooth: Controller: Reuse ull_conn_event_counter() in LLCP

    Reuse ull_conn_event_counter() function in LLCP
    implementation to get the current radio event counter value.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit aba517634034427927d691bc125d04da3cbe48d1
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 11:12:37 2022 +0530

    Bluetooth: Controller: Fix CIG offset and add time reservations

    Fix CIG offset such that it follows after the ACL connection
    time reservation to avoid overlapping.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit b16e5baf800481a18317c277992c663fc85401d1
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 10:48:43 2022 +0530

    Bluetooth: Controller: Rename to trx_performed_bitmap

    Rename trx_performed_mask to trx_performed_bitmap and add
    conditional compilation.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit a155b3b37d872199fcd3c465e9ff2379bdf77d4b
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 10:25:33 2022 +0530

    Bluetooth: Controller: Add LLL required ULL interfaces

    Add LLL interfaces implemented by ULL to get group by stream
    and to get stream by group iterator functions.
    Rename function to set CIS established to reflect that it is
    LLL accessible.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 53db4a0b1d16d5e3554e49bb21567ad3226c9ea0
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 10:20:09 2022 +0530

    Bluetooth: Controller: Fix channel indices calculaton cond compile

    Fix channel indices calculation implementations conditional
    compile so that it can be reused for Connection ISO events
    and subevents.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 6f0b6ec90b1872de3b8c16991f7b093e55c6a197
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 10:15:43 2022 +0530

    Bluetooth: Controller: Fix ISO Buffer allocation for SDU fragmentation

    Fix ISO Tx Buffer allocation counts considering required SDU
    fragmentations.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit a949fa7250d107e929f763a72512756046b5ace4
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 09:21:19 2022 +0530

    Bluetooth: Controller: Use define for packet timer capture

    Use the sample capture index define for capturing packet
    timer timestamp.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 9119e817fac9eb75c7cb97d0c6f413adf962034b
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Dec 7 09:18:12 2022 +0530

    Bluetooth: Controller: Separate Tx and Rx packet timer status reset

    Add interface to have separate Tx and Rx packet timer status
    reset, so that packet timer can be setup ahead in time for
    starting the Tx or Rx subevent and status reset only clears
    the respective PPI/DPPI that was used when Tx or Rx
    completes.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit bcc4fa4f4449cb79336d4e4f1cc4c9a667f054a4
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Sat Nov 5 18:36:54 2022 +0530

    Bluetooth: Controller: Use spec. defined abbrev. for nse, bn, and ft

    Use BT Spec. defined abbreviations for number of subevents
    (nse), burst number (bn), flush timeout (ft) etc.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 9456a0ecd924611277876f1b13635af8c47c3993
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Fri Nov 11 16:40:23 2022 +0530

    Bluetooth: Controller: List Central and Peripheral ISO supported

    Update Kconfig to list Central and Peripheral ISO as
    supported. Will continue to be listed as Experimental.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit efd80f4ec1af6b3603de1e33663b6d288fa55f16
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Nov 2 12:53:10 2022 +0530

    Bluetooth: Controller: Add conditional compiles for Peripheral ISO

    Add conditional compilation for Peripheral ISO support,
    use CONFIG_BT_CTLR_PERIPHERAL_ISO.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 863fc7373b23e3b940cebbd3be580cc591137664
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Nov 2 12:49:58 2022 +0530

    Bluetooth: Controller: Re-arrange include in ull_peripheral_iso file

    Re-arrange include in ull_peripheral_iso file to be
    consistent with other similar files (ull_central_iso).

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 5398ae0710e59bf965ccbb4e53a770f350ecaf02
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Nov 2 12:49:09 2022 +0530

    Bluetooth: Controller: Add LL_CIS_HANDLE_LAST, IDX_FROM_HANDLE define

    Rename LAST_VALID_CIS_HANDLE to LL_CIS_HANDLE_LAST, to be
    consistent naming with LL_CIS_HANDLE_BASE.
    Add IDX_FROM_HANDLE defines.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 8e48de8f58008e0eb8e22fe9bf4954f15c5828b0
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Nov 2 12:46:49 2022 +0530

    Bluetooth: Controller: Minor refactor of Connected ISO group and stream

    Refactor the Connected ISO group and Connected ISO stream
    context to be consistent in defining the bitfields and also
    rearrange structure members.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit 66834e98606f874ea0fdb128c10b7ba126e2a55c
Author: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Date:   Wed Jan 25 10:12:18 2023 +0530

    Bluetooth: Controller: Fix missing BT_LL_SW_LLCP_LEGACY cond compile

    Fix missing BT_LL_SW_LLCP_LEGACY cond compile causing
    compile error when building Peripheral ISO samples with
    legacy control procedure implementation.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

commit fd702ebb34b191a6f97c66da53aa5abb89b45e73
Author: Anas Nashif <anas.nashif@intel.com>
Date:   Wed Jan 25 19:20:03 2023 +0000

    ci: push test results to elasticsearch instance

    Move away from opensearch and switch to elasticsearch for reporting.
    The results will be available at https://kibana.zephyrproject.io/

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>

commit b63a3abeb8873ada0317ff08531b4869ccfd1b61
Author: Seppo Takalo <seppo.takalo@nordicsemi.no>
Date:   Fri Jan 27 12:37:15 2023 +0200

    net: lwm2m: Move LwM2M tests to tests/net/lib/lwm2m

    This directory has existing LwM2M tests and tests/net/lib
    has other protocols as well, so keep all in one place.

    Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>

commit 0de83109de16d438192d93c4ceb1ba2e416c1082
Author: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Date:   Fri Jan 27 11:34:04 2023 +0100

    drivers: ieee802154_nrf5: Fix warning in ISR prototype

    The ISR prototype was changed some time ago
    (6df8b3995e05d6348f8de9601379475a5455fedd)
    to (const void*) => fix the prototype used when
    CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT is not set
    to avoid a compile warning.

    Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>

commit a8a4df04760659c739cc49ccf6ebebe9b6fc30f1
Author: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Date:   Wed Jan 11 13:14:45 2023 +0100

    doc: document the Static Code Analysis (SCA) tool infrastructure

    This commit documents the new SCA tool infrastructure.

    The existing documentation for sparse are relocated into a dedicated
    documentation folder for SCA tools.

    Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>

commit 60196ca1126a03b14339e7a24709781fc5aa6818
Author: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Date:   Wed Nov 30 12:46:38 2022 +0100

    cmake: sparse: deprecate old sparse support

    Deprecate old sparse support as Zephyr now provides a proper
    infrastructure for SCA tools. Set ZEPHYR_SCA_VARIANT to sparse if user
    is using deprecated way.

    This allows to cleanup sparse code in various places and thus have a
    cleaner build system.

    Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>

commit 91902c5fd4db756f2805edb0ed0eb688e71e48f3
Author: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Date:   Wed Nov 30 12:22:49 2022 +0100

    cmake: add sparse support to the new SCA infrastructure

    Sparse support was original introduced in #43776.

    This commit introduces sparse support as part of Zephyr SCA tool
    infrastructure.

    The implementation in this commit has some benefits over existing
    support:
    - It does not required users to set `REAL_CC` in environment before
      invoking build command.
      This reduces risk of user mistakes, such as
      - REAL_CC being different from CMAKE_C_COMPILER.
      - User running CMake in one terminal / environment where REAL_CC is
        defined but invoking the build command in a different terminal /
        environment where REAL_CC is not defined or defined differently.
    - It improve user experience as the user no longer has to define /
      re-define REAL_CC when building for different architecture, like
      switching from arm to xtensa, as this is now handled in CMake.
    - CMAKE_C_COMPILER is not overwriting, this can be important for other
      tools which calls the C compiler for pre-processing purposes, such
      as devicetree and linker script generation.

    Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>

commit cb690ec56e9d66355c91a309a7bffa47aecb0671
Author: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Date:   Wed Nov 30 12:14:35 2022 +0100

    cmake: implement build infrastructure for supporting SCA tools.

    Static code analyser (SCA) tools are important in software development.

    CMake offers built-in support for some tools, such as cppcheck and
    clang-tidy.

    Other tools, such as sparse, are not directly supported.

    This commit provides a uniform way for users to specify a supported
    SCA using `ZEPHYR_SCA_VARIANT=<tool>` which is consistent with how
    toolchains are specified.
    ZEPHYR_SCA_VARIANT can be set using `-D` or in environment.

    Support for an SCA tool is done in `cmake/sca/<tool>/sca.cmake`.
    SCA_ROOT can be used to specify additional search paths when looking up
    implementation for a tool. SCA_ROOT can also be specified in
    `zephyr/module.yml` as setting. This makes it possible to provide SCA
    tool implementation as part of a Zephyr module.

    Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>

commit ac9510230bf7e0baa3ea34e62c901c562cbd4b50
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Mon Jan 16 21:14:18 2023 +0530

    mgmt/osdp: Use memcpy instead of raw loops in many places

    This patch replaces many instances where raw loops were used to copy bytes
    with memcpy calls.

    No functional change intended.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 4386dc355bce73f602eef9899e8d8765ab7e4424
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Fri Jan 13 11:49:28 2023 +0530

    mgmt/osdp: pd: Fix device capabilities report

    Do not check or send the first entry in the pd->cp[] device capability
    table which is for function code 0 which is not a defined function code.

    Signed-off-by: David Vucich <dave@alcatraz.ai>
    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 39bf1264e9508942700492b59d4bcf5a646fffd0
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Thu Jan 12 20:54:44 2023 +0530

    mgmt/osdp: pd: Fix error reply code for CMD_KEYSET

    By default, on errors, pd_decode_command replies with osdp_NAK with
    sub-error code set to OSDP_PD_NAK_CMD_LEN (achieved using the ret ==
    OSDP_PD_ERR_GENERIC check before return). This is works for all packet
    framing errors; but when a more specific error code needs to be sent, ret
    has to be set to something other than OSDP_PD_ERR_GENERIC (a suitable error
    code happens to be OSDP_PD_ERR_REPLY) to prevent the tail check from
    overwriting the error info.

    In CMD_KEYSET, we fill a more specific error code but do not set the ret to
    OSDP_PD_ERR_REPLY. It causes this error to be reported as a framing
    error hence loosing some extended info about the error. Fix this issue by
    reordering the checks a bit.

    Fixes: 7f4d2c741b06 "mgmt/osdp: Add support for Secure Channel"
    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 7f70d5e0e02ed61a4b0476924d9921c7d7c58cec
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Thu Jan 12 20:41:21 2023 +0530

    mgmt/osdp: Remove unused STR() macro

    Initially, subsys/mgmt had its own STR() macro for string pasting which was
    replaced with the zephry provided STRINGIFY(). The definition of this macro
    seems to have lingered on so remove it.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 514ccabc4491bc26538fcee5cadebb144b2cd70f
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sat May 28 22:24:26 2022 +0200

    mgmt/osdp: phy: Catch out-of-order SC packets and fail

    During handshake, only certain types of secure block types (<= SCS_14)
    are allowed. A rouge CP/PD can try to bypass the handshake by directly
    sending a secure block type ahead of the sequence and gain a secure
    channel. Fix this by adding a check in packet decode time.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit a233dea2852b459e7a0b0ad76d7c04d9727a1ef4
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sat May 28 22:11:38 2022 +0200

    mgmt/osdp: phy: Rework MARK byte handling

    OSDP specification section 5.7 states that a transmitting device has to
    drive the transmission line to a marking state for a period of one char
    in the current baud rate. This can be achieved by sending 0xFF. Since
    this is not mentioned in the packet structure definition, many commercial
    implementations of OSDP out in the wild do not send/expect this byte.

    To work with such non-conforming devices, we will try to be as flexible
    as possible in the PD: send mark byte only if the other side sent one. In
    case of CP, we have no option but to send the mark byte to be as close
    to the specification as possible. If a particular use case needs the CP
    to not send it, we will provide a Kconfig option to disable it.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit d44bdb50f07f045e45301290260b11567ad28017
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sat May 28 19:31:40 2022 +0200

    mgmt/osdp: pd: Add support for key press and card read events

    Now that we have the necessary infrastructure to collect events from PD
    apps, we can use them to translate it to OSDP packet sequence for card
    reads and key press events.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit c9e64e0dd91b7a4e3d3ee9c80ab9890ec1666ba3
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sat May 28 19:29:40 2022 +0200

    mgmt/osdp: pd: Add capability checks on incoming commands

    OSDP compliant devices communicate their capabilities and discover what
    their peer can and cannot do. Right now, PD advertises these capabilities
    and expects CP to honor them. Although this is not known to cause any
    issues, it is not desirable to allow such accesses.

    Add a check of incoming commands to to validate that the corresponding
    capability was enabled and advertised.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit a369bf7f0838320dc876eb980b8de4f660e3f70c
Author: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
Date:   Sat May 28 14:11:30 2022 +0200

    mgmt/osdp: Rename cmd_data as ephemeral_data

    Since cmd_data member is used by both commands and events to store the
    contents of current transaction, rename it to ephemeral_data which
    better reflects the purpose of the variable.

    Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>

commit 67ca25467b686003e564fc39501f81be04ad1ed7
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 12 11:48:26 2022 -0700

    libc: Add remaining picolibc-supported targets

    Picolibc now supports all of the Zephyr SDK target architectures for C.

    qemu_x86_tiny needs fixes to get the libc partition linked
    into the right spot. See issue #54148

    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1398a58bd1d6ee97f46727de5dfea6fa60ae9553
Author: Shawn Nematbakhsh <shawn@rivosinc.com>
Date:   Fri Jan 13 15:25:59 2023 -0800

    boards: riscv: Add initial support for OpenTitan Earl Grey

    This board is confirmed to build and run simple applications in
    RTL simulation as described in the included board documentation.

    Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>

commit cd0f54fb88e7c18bd310a5909f8f264328f7341d
Author: Shawn Nematbakhsh <shawn@rivosinc.com>
Date:   Fri Jan 13 15:22:57 2023 -0800

    drivers: timer: riscv_machine_timer: Add support for OpenTitan

    OpenTitan uses a timer compliant with the RISC-V privileged
    specification.

    Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>

commit 1d3fb5490fe0a7abbec8e9b78869eaf2d535cdaa
Author: Shawn Nematbakhsh <shawn@rivosinc.com>
Date:   Fri Jan 13 15:21:10 2023 -0800

    drivers: serial: Add support for OpenTitan serial UART

    UART output confirmed to work in simulation.

    Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>

commit f0e790c66b066129880a87de71b8639d2a7f9b13
Author: Shawn Nematbakhsh <shawn@rivosinc.com>
Date:   Fri Jan 13 15:18:32 2023 -0800

    soc: riscv: riscv-privilege: Add support for OpenTitan SOC

    Add support for OpenTitan, an open source silicon root of trust.

    Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>

commit 12899c6f4b28c6a75665a176a8f5d8467accb6e1
Author: Shawn Nematbakhsh <shawn@rivosinc.com>
Date:   Fri Jan 13 15:14:37 2023 -0800

    dts: vendor-prefixes: Add lowrisc prefix

    Add prefix for lowRISC CIC.

    Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>

commit 77824a1820d9643ccdd3b37a6ff4c04ce01ebd3e
Author: Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>
Date:   Fri Jan 27 09:21:31 2023 +0100

    drivers: display: ili9341: add 4th parameter in DISCTRL command

    As stated in the datasheet https://www.crystalfontz.com/controllers/Ilitek/ILI9341/142/
    there's a 4th parameter in DISCTRL command

    Signed-off-by: Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>

commit 4234e801b5449ce48304db38021111248211757b
Author: Robert Lubos <robert.lubos@nordicsemi.no>
Date:   Thu Jan 26 17:08:04 2023 +0100

    net: sockets: Fix TLS_HOSTNAME option length inconsistency

    The TLS_HOSTNAME socket option expects a NULL terminated string and
    doesn't really care about the optlen provided. However, as the option
    expects that the string is NULL terminated, the optlen value should take
    NULL character into account, for consistency across the codebase.

    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>

commit fb9cdee02dbd8487908d130836c1b3e48260b7ac
Author: David Reiss <dreiss@meta.com>
Date:   Wed Jan 18 11:37:17 2023 -0800

    riscv: Fix whitespace in ISR handler

    This one line was using spaces instead of tabs for indentation.

    Signed-off-by: David Reiss <dreiss@meta.com>

commit 7f9cd2481428ba8b8eaf78bb39353f2d258bae99
Author: Théo Battrel <theo.battrel@nordicsemi.no>
Date:   Tue Jan 17 08:18:00 2023 +0100

    Bluetooth: Stop sending SMP PDUs outside of pairing procedure

    Stop sending the unnecessary 'pairing failed' SMP PDUs outside of the
    pairing procedure.

    Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>

commit 8febac36276347f62cb3c07c0b69959f66565f3b
Author: Dominik Ermel <dominik.ermel@nordicsemi.no>
Date:   Thu Jan 12 16:13:55 2023 +0000

    samples/drivers/soc_flash_nrf: Add missing README.rst

    Missing documentation added.

    Fixes #53753

    Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>

commit 9f92dff3546cc81494b8f73b6c9b96e9ecf10bb8
Author: Troels Nilsson <trnn@demant.com>
Date:   Thu Jan 12 09:17:39 2023 +0100

    Bluetooth: controller: Fix issue with duration/max number of adverts

    When a maximum duration or number of advertisements has been set for an
    advertisement set, we will exceed that limit if the last advertisements
    happen to be overlapping (ie. we have two primary advertisements pointing
    to the same AUX_ADV_IND).

    We now have a check in the ticker_cb that will ignore the callback if the
    state is such that advertisement would have been stopped if ull_adv_done()
    had been allowed to run in the meantime.

    Signed-off-by: Troels Nilsson <trnn@demant.com>

commit a2e449b10a0b5b20ddfb0c1595b10af52c8c4a89
Author: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
Date:   Mon Jan 9 13:06:49 2023 +0100

    gpio: add `gpio_pin_is_input_dt` and `gpio_pin_is_output_dt` helpers

    Add helpers to allow providing a `struct gpio_dt_spec` directly
    to `gpio_pin_is_input` and `gpio_pin_is_output` functions.

    Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

commit bf10d0dd165126f089ee1c57e7e0766f243dc455
Author: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
Date:   Wed Nov 30 13:46:36 2022 +0100

    net: openthread: add gpio diag command implementation

    implemented ot diag gpio get, set and mode commands

    Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

commit 5ec1b4d1b233dcc91f96cda34d2d23d2ef2e5adb
Author: Brett Witherspoon <brett@witherspoon.engineering>
Date:   Fri Oct 21 06:06:40 2022 -0400

    samples: drivers: uart: Read until FIFO empty in echo_bot

    The RX ready condition is unspecified with regard to being level or edge
    triggered, so all available data should then be read once the RX ready
    condition is detected. This change brings the sample into agreement with
    the documentation and tests.

    Signed-off-by: Brett Witherspoon <brett@witherspoon.engineering>

commit 6708b139ab67fb208822f32b151600f35ac2efbd
Author: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Date:   Mon Jan 9 14:18:18 2023 +0100

    tests: drivers: i2s: Mark gpio_loopback cases as dependent on gpio

    Add dependency on gpio in test cases that require the gpio_looback
    fixture.

    Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>

commit 54648142f7dd726f653cf627e209f3cebb954ab6
Author: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Date:   Mon Jan 9 14:33:11 2023 +0100

    tests: drivers: i2s: Align nRF pinctrl with other gpio_loopback users

    For nRF boards and lines that need to be connected with an external
    loopback (SDOUT and SDIN), use the same pins as in other tests that
    use the gpio_loopback fixture (like uart_async_api or regulator/fixed)
    so that a common wiring can be used for all those cases.

    Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>

commit 0934f705ebc2dc9bd6d6e1ce712504ef7269c76d
Author: Wouter Cappelle <wouter.cappelle@crodeon.com>
Date:   Mon Jan 23 12:03:35 2023 +0100

    sensor: SHT3x: Fix low repeatability in single shot mode

    Fix the low readability read command which was swapped with high
    readability. This should fix an issue which caused a sensor fetch
    fail in low repeatability single shot mode (no data ready)

    Signed-off-by: Wouter Cappelle <wouter.cappelle@crodeon.com>

commit dcea17068db6f4d62cf5ce2813961e8583461922
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Date:   Fri Jan 20 17:06:00 2023 +0200

    tests: mem_blocks: Remove suspicious break statement

    Fixes dead code warnings form static tools.

    Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

commit 86f7d806000d50d1b7051ace1a020928ca46d90f
Author: Fabio Baltieri <fabiobaltieri@google.com>
Date:   Mon Jan 23 19:36:19 2023 +0000

    gitignore: update the list of compliance generated files

    Update the list of compliance generated txt files and sort the list
    while we are at it.

    $ ./scripts/ci/check_compliance.py -l | sort
    BinaryFiles
    Checkpatch
    DevicetreeBindings
    Gitlint
    Identity
    ImageSize
    Kconfig
    KconfigBasic
    MaintainersFormat
    Nits
    Pylint
    YAMLLint

    Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>

commit e5890fc7791d31cb861cfc6864792ab81405b6c8
Author: Emil Gydesen <emil.gydesen@nordicsemi.no>
Date:   Tue Jan 24 14:41:17 2023 +0100

    Bluetooth: Audio: Broadcast source reconfigure missing streaming QoS

    When executing the bt_audio_broadcast_source_reconfig the streams
    did not get assigned the new QoS, the ISO parameters were not
    properly updated and the codec was not set.

    Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>

commit 7b48d85dfe525c7bccd514f295378acdd4069b3b
Author: Jonathan Rico <jonathan.rico@nordicsemi.no>
Date:   Wed Jan 25 08:15:30 2023 +0100

    boards: nrf52_bsim: add parts of cmsis_compiler.h

    Add a replacement cmsis_compiler.h header for the nrf52_bsim target.
    Partial version for now, we can more of its contents when needed.

    Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>

commit 3f0487b725952ddad2481f5c7918d73abfed5a19
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Date:   Wed Jan 25 13:23:00 2023 +0200

    drivers: adc_ads1119: Fix using wrong status bit

    Fixes using wrong status bit for ADS1119_STATUS_MASK_ID. Moreover
    using BIT(8) does not make much sense for working with uint8_t.

    Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

commit e7324d1bf4ba29fce405994bb133e0223bb144f2
Author: Veijo Pesonen <veijo.pesonen@nordicsemi.no>
Date:   Wed Jan 25 13:24:18 2023 +0200

    doc: settings: Fixes custom backend sample

    Brings the example up to date with the implementation and fixes a typo.

    Signed-off-by: Veijo Pesonen <veijo.pesonen@nordicsemi.no>

commit 839ca44f809b957862521c457c7f2b96744faaa5
Author: Jordan Yates <jordan.yates@data61.csiro.au>
Date:   Thu Jan 26 10:14:14 2023 +1000

    Revert "tests: update expected exception codes"

    This reverts commit d8ac65857811eddb275e8c033e40838fead95deb.

    Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>

commit a3774fd51a716ffafeddfb017f9c25a046013132
Author: Jordan Yates <jordan.yates@data61.csiro.au>
Date:   Thu Jan 26 10:10:57 2023 +1000

    arch: option to generate simplified error codes

    Add an option to generate simplified error codes instead of more
    specific architecture specific error codes. Enable this by default in
    tests to make exception tests more generic across hardware.

    Fixes #54053.

    Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>

commit 817e41f9658fb247c557488bb8ddb6c2c5ea1083
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Mon Sep 13 13:31:59 2021 +0300

    boards: cc1352p1_launchxl: new board, support antenna switching

    Added new CC1352P1 LaunchXL board supporting 20dBm TX for its
    sub-GHz radio.

    Note that the board has a multiplexer circuit to switch between
    2.4GHz, High-Power TX and Sub1GHz states, for which a custom board
    module was implemented, together with board-specific device-tree
    bindings and pinctrl definitions for each of the RF states.

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit e41de9235a00d573455aa42cd7fe09caa2fdf7ff
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Mon Sep 13 17:06:02 2021 +0300

    drivers: ieee802154: cc13xx_cc26xx_subg: PA TX amplifier support

    Enhance IEEE802154 Sub-GHz driver to support CC13x2P's internal power
    amplifier (20dBm) for TX.

    Note: requires board-specific antenna switching for it to work
    properly.

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit 9f6d8c1c236bf2b8cbe03892593cc2e8b1c3963f
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Mon Sep 13 17:03:35 2021 +0300

    soc: cc13xx_cc26xx: add Kconfig option for custom radio hwattrs

    Useful for implementing board-specific antenna switching using the RF
    event callback.

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit 65039bf287459600cdb2421baf8ec4b256b65dbc
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Mon Sep 13 16:59:21 2021 +0300

    soc: cc13xx_cc26xx: add P chip variants to Kconfig

    Add SOC_CC1352P and SOC_CC2652P chip types to SoC's Kconfig
    (with integrated high power amplifiers).

    Also requires modifications to HAL TI's family conditions.

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit 200a0db01afae021865fef2dc1546af9dbad5510
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Thu Sep 9 12:22:49 2021 +0300

    soc: cc13xx_cc26xx: config option to enable boost mode

    New KConfig option to set `CCFG_FORCE_VDDR_HH` inside CC13xx/CC26xx
    customer configuration file, making it it possible to use 14dBm
    TX power (instead of the default 13 dBm limitation).

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit ae22c697b3dca9bf1f24a00f1ab0c0e4549cd7fd
Author: Stancu Florin <niflostancu@gmail.com>
Date:   Thu Aug 18 13:25:15 2022 +0300

    boards: cc1352r1_launchxl: fix echo samples

    Recent Zephyr changes (IEEE 802.15.4 config moved from KConfig
    to DeviceTree) left the TI CC1352r1_launchxl board's net examples in
    a non-working state, mainly due to the fact that CC13x2 has two
    IEEE802154 interfaces available (2.4GHz and sub-GHz) and none were
    enabled.

    This commit enables the 2.4GHz radio inside the board's DTS and also
    introduces a new devicetree overlay inside the echo* samples:
    'boards/boards/cc1352-enable-subg.overlay', enabling the sub-GHz
    interface.

    Signed-off-by: Stancu Florin <niflostancu@gmail.com>

commit d7f9e2643309b6f57de078edca84b05542c61f19
Author: Nicolas Pitre <npitre@baylibre.com>
Date:   Sat Jan 21 00:42:30 2023 -0500

    rand32_timer: make it more random-like for tests to pass

    I get a high failure rate for tests/kernel/mem_protect/stack_random
    because the default rand32_timer used with QEMU is just too mediocre.
    Make it more random looking.

    Reference: https://nuclear.llnl.gov/CNP/rng/rngman/node4.html

    Signed-off-by: Nicolas Pitre <npitre@baylibre.com>

commit 3ead1cfa2c9988f0fa54f3407caa5a844d59e1c9
Author: Emil Gydesen <emil.gydesen@nordicsemi.no>
Date:   Wed Jan 25 14:56:46 2023 +0100

    Bluetooth: Audio: Call stream released on ACL disconnect

    If the ACL disconnects, then the unicast server cannot send
    a notification to the client about the endpoint and
    stream being released. We now call the released callback
    if the stream's endpoint was not idle before the disconnection.

    Similarly the unicast server (ASCS) did also not call the
    released callback if the ACL disconnection causes a endpoint
    release.

    Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>

commit 67db251f140b2e2d876922005882231da367d6b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 25 15:26:45 2022 -0800

    modules: Update picolibc to 1.8

    Picolibc version 1.8 was recently released. This release includes
    a bunch of patches made to support Zephyr.

    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16d723ee1be9bcb07e44eefaeaa2d2e8786010ce
Author: Fabio Baltieri <fabiobaltieri@google.com>
Date:   Thu Jan 26 17:03:13 2023 +0000

    scripts: set_assignee: don't skip assignment on too many labels

    The set assignee script currently exits if there's too many labels
    associated with a PR. Change that to just skip the label assignment, but
    continue on to assign a maintainer based on the most relevant area.

    Tested with:

      ./scripts/set_assignees.py -v --dry-run -P 52716

    Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>

commit ac5d45a080694f450e274b85f16441a8499ff391
Author: Flavio Ceolin <flavio.ceolin@intel.com>
Date:   Sun Jan 22 12:47:36 2023 -0800

    build: userspace: No merge globals

    Add a compiler option to not merge globals. gen_kobject_list.py
    is not capable of distinguish addresses of merged objects. The script
    itself does not look wrong. The dward specification says that the
    attribute DW_AT_location with opcode DW_OP_addr encodes a machine
    address and whose size is the size of an address on the target machine
    but for merged objects the address is longer, not clear why.

    Disable global merge when userspace is enabled to avoid this problem.

    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>

commit 43781ba2a0a01fb5b8ce00ffb7d809cdc3f033ee
Author: Trent Piepho <trent.piepho@igorinstitute.com>
Date:   Wed Dec 21 06:14:45 2022 -0800

    i2c: Add an option to dump all I2C messages to the log

    When turned on, the existing i2c dump code is use to log every I2C
    transaction at debug level.

    This can be very useful for detecting problems with I2C peripherals.

    Signed-off-by: Trent Piepho <trent.piepho@igorinstitute.com>

commit 0c7ff3b7280364072b19d9dd857989622d4c7594
Author: Trent Piepho <trent.piepho@igorinstitute.com>
Date:   Wed Dec 21 02:52:59 2022 -0800

    i2c: Improve formatting of i2c dump function

    If an i2c message is for just one byte, instead of logging it with a
    hexdump after logging the other message info, just added the one byte to
    the same log message.

    Since most i2c messages are one byte, this significantly reduces the
    number of messages and lines needed to log i2c transactions, from three
    line per message to just one.  It's also a lot easier to read.

    Signed-off-by: Trent Piepho <trent.piepho@igorinstitute.com>

commit c09f6918faf1f78c3d820c73ba2554ca67ce4812
Author: Trent Piepho <trent.piepho@igorinstitute.com>
Date:   Wed Dec 21 02:52:59 2022 -0800

    i2c: Allow dumping the data of read messages

    Add an argument to i2c_dump_msgs() to log the data from reads too.  And
    then rename the function to i2c_dump_msgs_rw() so the API doesn't
    change.  If the dump is done after a transaction is processed, as
    opposed to before, then the read data is valid and can be very useful.

    Signed-off-by: Trent Piepho <trent.piepho@igorinstitute.com>

commit 4188329304cb7e0ac1de0112b30f32390241d176
Author: Anas Nashif <anas.nashif@intel.com>
Date:   Thu Jan 26 17:00:29 2023 +0000

    MAINTAINERS: update some area paths

    Update some missing area paths to increase maintainer review coverage.

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>

commit a06d9769ce4fd3e40309bb560142e9bb9d729b03
Author: Johann Fischer <johann.fischer@nordicsemi.no>
Date:   Wed Jan 25 00:09:47 2023 +0100

    usb: device_next: update IAD during CDC ACM initialization

    Set bFirstInterface of IAD and update CDC Union descriptor
    during class initialization.

    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>

commit bf384bf41a394e38b22132844691333320f109d6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 7 00:36:16 2023 -0800

    samples/modules/chre: Support picolibc %p for NULL pointers

    glibc and newlib print "(nil)" for NULL pointers while picolibc just prints
    "0". Allow either by replacing the exact "(nil)" match with ".*" instead

    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b72744694920bca31c5119de3acc7eabb6a182ea
Author: Henrik Brix Andersen <hebad@vestas.com>
Date:   Thu Jan 26 14:43:20 2023 +0100

    samples: canbus: isotp: add missing call to can_start()

    Add missing call to can_start().

    Fixes: #54078

    Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

commit 37665b5e958337b83d3f30eb1aeac7966da21229
Author: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Date:   Thu Jan 19 11:54:40 2023 +0100

    drivers: spi_context: Refactor spi_context_wait_for_completion()

    Refactor the code of this function to make it a bit easier to read.

    Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>

commit f36c15e2e3d6e6baffb3dc91f30c38b2f84a4f71
Author: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Date:   Thu Jan 19 11:40:42 2023 +0100

    drivers: spi_context: Use total transfer length in timeout calculation

    When estimating the time that a given SPI transfer will take, whole
    buffer sets for TX and RX need to be taken into account, not only their
    first parts. Correct `spi_context_wait_for_completion()` accordingly.

    Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>

commit 0267612305a25b612018f1717e2fc67c9bcffd3e
Author: Michael Larson <larson@whisper.ai>
Date:   Thu Jan 19 14:39:19 2023 -0800

    drivers: flash: spi_nor: Fix spi_nor_sfdp_read conditional

    spi_nor_sfdp_read is now called from spi_nor_process_sfdp for the
    CONFIG_SPI_NOR_SFDP_RUNTIME case and that could be defined without
    CONFIG_FLASH_JESD216_API being defined

    Signed-off-by: Michael Larson <larson@whisper.ai>

commit 05da8d7a7a493ed01a42b7e5c076ba8bf01092b4
Author: Francois Ramu <francois.ramu@st.com>
Date:   Thu Dec 22 15:13:47 2022 +0100

    drivers: flash: stm32 page layout size differs in stm32u5 or stm32l5

    Adjust the size of the stm32_flash_layout[] table depending on the
    bank configuration of the stm32u5 or stm32l5 devices.
    That will avoid div b…
asemjonovs pushed a commit to asemjonovs/zephyr that referenced this issue Feb 13, 2023
Add an option to generate simplified error codes instead of more
specific architecture specific error codes. Enable this by default in
tests to make exception tests more generic across hardware.

Fixes zephyrproject-rtos#54053.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Memory Protection bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: high High impact/importance bug Release Blocker Use this label for justified release blockers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants