Dear Kukjin, How would you like to proceed? You did not respond to my email nor to Bartlomiej's questions. You questioned the "soc_is_exynos()". I replied but there was no answer from you. My last reply: 2015-03-18 9:57 GMT+01:00 Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>: > Probably of_machine_is_compatible() could be used here but such change > should be done in separate patch. This is fix for wrong usage of > use_delayed_assertion so it should not mix with other changes in the > code. This fixes one thing at a time. Fixing many things in one patch > often leads to new errors or difficulties in debugging. Bartlomiej's justification for it: 2015-03-18 11:29 GMT+01:00 Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>: >> > >> > Please use another way something like check ARM core rather than use >> > 'soc_is_xxx()', as you know it is not acceptable now even it is just >> > moving/modifying exist function though. > > Kukjin, could you please explain why 'soc_is_xxx()' usage inside > arch/arm/mach-exynos/ code is not acceptable? I know that it should > not be used outisde of this directory because of multiplatform support > but what is wrong with using it for arch/arm/mach-exynos/ code? > > I'm also not sure if -rc4 is a desirable time to be doing such changes > (especially given that the patch in question is moving an existing code, > not adding new 'soc_is_xxx()' users). > > [ Moreover of_machine_is_compatible() can be sometimes harmful as could > have been seen in commit ca489c58ef0b81 ("ARM: EXYNOS: Don't use LDREX > and STREX after disabling cache coherency" fix. ] ... and more. As for the checking in LSI, I did not receive any answer. To summarize: Fixing this with this patch is an optimal way in my humble opinion because: 1. Fixes the problem. 2. Does not introduce regression. 3. Does not remove other features (reverting commits would do). 4. It was tested. 5. We are in late RC and second suspend-to-RAM still does not work. Reverting commits or developing some kind of new patch (which details you did not propose) is asking for some other troubles. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html