<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/platform/x86/mlx-platform.c, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-08-16T16:32:31Z</updated>
<entry>
<title>platform: mellanox: Fix order in exit flow</title>
<updated>2023-08-16T16:32:31Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-08-13T08:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cada3f116e8dbd232ff6380246849a393f100215'/>
<id>urn:sha1:cada3f116e8dbd232ff6380246849a393f100215</id>
<content type='text'>
commit 8e3938cff0191c810b2abd827313c090fe09d166 upstream.

Fix exit flow order: call mlxplat_post_exit() after
mlxplat_i2c_main_exit() in order to unregister main i2c driver before
to "mlxplat" driver.

Fixes: 0170f616f496 ("platform: mellanox: Split initialization procedure")
Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230813083735.39090-2-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: mlx-platform: Modify graceful shutdown callback and power down mask</title>
<updated>2023-08-16T16:32:31Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-08-13T08:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26cca33e5d2b0d9aaedbd6fee1dc32536ebeb89d'/>
<id>urn:sha1:26cca33e5d2b0d9aaedbd6fee1dc32536ebeb89d</id>
<content type='text'>
commit 9f8ccdb5088bd03062d9ad9c0f6abf600cbed8e8 upstream.

Use kernel_power_off() instead of kernel_halt() to pass through
machine_power_off() -&gt; pm_power_off(), otherwise axillary power does
not go off.

Change "power down" bitmask.

Fixes: dd635e33b5c9 ("platform: mellanox: Introduce support of new Nvidia L1 switch")
Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230813083735.39090-4-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: mlx-platform: Fix signals polarity and latch mask</title>
<updated>2023-08-16T16:32:31Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-08-13T08:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90516af4b63c078ee391bb9f5e4894a04bf6d836'/>
<id>urn:sha1:90516af4b63c078ee391bb9f5e4894a04bf6d836</id>
<content type='text'>
commit 3c91d7e8c64f75c63da3565d16d5780320bd5d76 upstream.

Change polarity of chassis health and power signals and fix latch reset
mask for L1 switch.

Fixes: dd635e33b5c9 ("platform: mellanox: Introduce support of new Nvidia L1 switch")
Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230813083735.39090-3-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: Change register offset addresses</title>
<updated>2023-08-16T16:32:31Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-08-13T08:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9005ce6ecd31f7a72e74e83d2f50eb3f73ad0a85'/>
<id>urn:sha1:9005ce6ecd31f7a72e74e83d2f50eb3f73ad0a85</id>
<content type='text'>
commit d66a8aab7dc36c975bbaa6aa74cf7445878e7c69 upstream.

Move debug register offsets to different location due to hardware changes.

Fixes: dd635e33b5c9 ("platform: mellanox: Introduce support of new Nvidia L1 switch")
Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230813083735.39090-5-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: mlx-platform: Initialize shift variable to 0</title>
<updated>2023-03-07T11:08:30Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-03-07T10:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a0009abfa7893b9cfcd3884658af1cbee6b26ce'/>
<id>urn:sha1:1a0009abfa7893b9cfcd3884658af1cbee6b26ce</id>
<content type='text'>
Initialize shift variable in mlxplat_mlxcpld_verify_bus_topology()
to 0 to avoid the following compile error:

drivers/platform/x86/mlx-platform.c:6013
 mlxplat_mlxcpld_verify_bus_topology() error: uninitialized symbol 'shift'.

Fixes: 50b823fdd357 ("platform: mellanox: mlx-platform: Move bus shift assignment out of the loop")
Cc: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Cc: Michael Shych &lt;michaelsh@nvidia.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20230307105842.286118-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform: mellanox: mlx-platform: Move bus shift assignment out of the loop</title>
<updated>2023-02-13T11:07:50Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-02-08T06:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50b823fdd357ec0f2fd0a1a0b5104704916fd620'/>
<id>urn:sha1:50b823fdd357ec0f2fd0a1a0b5104704916fd620</id>
<content type='text'>
Move assignment of bus shift setting out of the loop to avoid redundant
operation.

Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230208063331.15560-13-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: mlx-platform: Add mux selection register to regmap</title>
<updated>2023-02-13T11:07:50Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-02-08T06:33:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cefdbc7815660be4d0f2d290860dcfb0f9d285e4'/>
<id>urn:sha1:cefdbc7815660be4d0f2d290860dcfb0f9d285e4</id>
<content type='text'>
Extend writeable, readable, volatile registers of the 'regmap' object
with for I2C mux selector registers.

The motivation is to pass this object extended with selector registers
to I2C mux driver working over ‘regmap’.

Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230208063331.15560-12-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: Extend all systems with I2C notification callback</title>
<updated>2023-02-13T11:07:50Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-02-08T06:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=233fd7e44cd7363ede8025619291b98475024c30'/>
<id>urn:sha1:233fd7e44cd7363ede8025619291b98475024c30</id>
<content type='text'>
Motivation is to provide synchronization between I2C main bus and other
platform drivers using this notification callback.

Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230208063331.15560-9-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: Split logic in init and exit flow</title>
<updated>2023-02-13T11:07:49Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-02-08T06:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=158cd83207768abdba86e408fed3169bb3ad3e9f'/>
<id>urn:sha1:158cd83207768abdba86e408fed3169bb3ad3e9f</id>
<content type='text'>
Split logic in mlxplat_init()/mlxplat_exit() routines.
Separate initialization of I2C infrastructure and others platform
drivers.

Motivation is to provide synchronization between I2C bus and mux
drivers and other drivers using this infrastructure.
I2C main bus and MUX busses are implemented in FPGA logic. On some new
systems the numbers allocated for these busses could be variable
depending on order of initialization of I2C native busses. Since bus
numbers are passed to some other platform drivers during initialization
flow, it is necessary to synchronize completion of I2C infrastructure
drivers and activation of rest of drivers.

Thus initialization flow will be performed in synchronized order.

Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230208063331.15560-8-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform: mellanox: Split initialization procedure</title>
<updated>2023-02-10T16:43:33Z</updated>
<author>
<name>Vadim Pasternak</name>
</author>
<published>2023-02-08T06:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0170f616f496fcaf25dde0fea042880d4af3089a'/>
<id>urn:sha1:0170f616f496fcaf25dde0fea042880d4af3089a</id>
<content type='text'>
Split mlxplat_init() into two by adding mlxplat_pre_init().

Motivation is to prepare 'mlx-platform' driver to support systems
equipped PCIe based programming logic device.

Such systems are supposed to use different system resources, thus this
commit separates resources allocation related code.

Signed-off-by: Vadim Pasternak &lt;vadimp@nvidia.com&gt;
Reviewed-by: Michael Shych &lt;michaelsh@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230208063331.15560-7-vadimp@nvidia.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
</feed>
