Skip to content

Sync bf-dev-a branch with patches from gerrit master#1

Open
dwoods2 wants to merge 5 commits into
bf-dev-afrom
mystuff
Open

Sync bf-dev-a branch with patches from gerrit master#1
dwoods2 wants to merge 5 commits into
bf-dev-afrom
mystuff

Conversation

@dwoods2
Copy link
Copy Markdown
Contributor

@dwoods2 dwoods2 commented Nov 13, 2019

No description provided.

dwoods2 and others added 5 commits November 12, 2019 15:59
Issue: 1670250

Change-Id: Id19bae853db19a79bbe4a49676d40831175b0b71
Depends-On: ezchip~master~I3c26d96c9a02df76c3bbc26bc7c51a4bdeed3cd3
Depends-On: linux~master~Id19bae853db19a79bbe4a49676d40831175b0b71
Otherwise, external mlx5_core driver cannot be loaded due to dependencies.
This is needed as CONFIG_MLX5_CORE is not set.

Change-Id: I0389c9a80720a33d2153c1b55faac6648d287bc3
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
During the safe removal procedure, a Data Link Layer State Changed event
may occur after pciehp_power_off_slot(), and it is handled when the slot is
already set to OFF_STATE.  This results in re-enabling the device and makes
it impossible to actually safely remove it.

Clear out the Presence Detect Changed and Data Link Layer State Changed
events when the disabled slot has settled down.

It is still possible to re-enable the device if it remains in the slot
after pressing the Attention Button by pressing it again.

Signed-off-by: Sergey Miroshnichenko <s.miroshnichenko@yadro.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Spencer Lingard <spencer@mellanox.com>

RM #1730197

Change-Id: I5e51babd47dfb3252a870e84d0c284c40da71dba
This commit has the following robust changes for the 2nd eMMC card
bring-up.

- Add two second delay between the detection of the two cards to
  avoid race since they share the same controller registers.

- Use 1000ms instead of 500ms timeout value in mci_send_cmd()
  since there are two cards and once card could be interruptted by
  the other card and causes extra delay.

- Check and wait for pending commands in dw_mci_setup_bus() before
  programming the clock.

RM #1753075

Change-Id: I1285548ed73c2b399d8522e82770c0fca77b15a4
If user adds two same filters using skip_sw, the second command will
succeed. To fix it, if the matches are the same, we will compare the
filter handles. If the handles are the same, we consider it as
a replace command and continue. If the handles are not the same,
we consider it as a duplicate add and fail the command.

Change-Id: Ibe42dcf6d225678240ffd19adbe5a0c2a1158ac4
Signed-off-by: Bodong Wang <bodong@mellanox.com>
@dwoods2 dwoods2 self-assigned this Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants