Portenta H7 and I2C pull-up resistors

It's the "pull up resistor to" part that creates questions in a mixed power system. If you connect it to 5V then it will probably draw parasitic power from the other 3.3V device via the input protection diodes. If you connect it to 3.3V, in theory it should be okay but then sometimes the threshold voltages are too close to false readings on the 5V input side.