[MODERATED] Re: [PATCH v6 3/9] TAAv6 3
Greg KH <[email protected]>
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 09, 2019 at 04:24:56PM -0700, speck for Pawan Gupta wrote:
> + ret = cmdline_find_option(boot_command_line, "tsx", arg, sizeof(arg));
> + if (ret >= 0) {
> + if (!strcmp(arg, "on")) {
> + tsx_ctrl_state = TSX_CTRL_ENABLE;
> + } else if (!strcmp(arg, "off")) {
> + tsx_ctrl_state = TSX_CTRL_DISABLE;
> + } else {
> + tsx_ctrl_state = TSX_CTRL_DISABLE;
> + pr_info("tsx: invalid option, defaulting to off\n");
pr_err()?