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

drivers: eSPI: Incorrect handling of OOB registers leads to report wrong OOB packet len #25091

Closed
albertofloyd opened this issue May 7, 2020 · 0 comments · Fixed by #25105
Closed
Assignees
Labels
area: eSPI eSPI bug The issue is a bug, or the PR is fixing a bug platform: Microchip MEC Microchip MEC Platform

Comments

@albertofloyd
Copy link
Collaborator

During eSPI sample OOB transactions are executed to retrieve temperature from eSPI host.
This occurs successfully in eSPI bus level and buffer with data is returned.
However, bytes received is always reported as 0, despite providing the right response data

To Reproduce
Steps to reproduce the behavior:

  1. cd samples/drivers/espi

  2. west build -c -b mec15xxevb_assy6853

  3. west flash

  4. see error on ouput

         - "espi: OOB transaction completed rcvd: **0 bytes**"
         - "espi: Postcode fe"
         - "espi: Postcode 7f"
         - "espi: eSPI sample completed"
    

Expected behavior
Apart from correct eSPI traffic, correct value should be there

Impact
Incorrect handling of eSPI host temperature for thermal operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: eSPI eSPI bug The issue is a bug, or the PR is fixing a bug platform: Microchip MEC Microchip MEC Platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants